X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fimagefile.h;fp=include%2Fimagefile.h;h=6dd8fe7cb84527168f2910ec7b5d419a8dcaf803;hp=56c255b45d1125513ae792882fa351182a0d1998;hb=bd1d464294e037da19ccc80d8cc60475768eb2ca;hpb=f6e50ad4a0a618ebe0fc868d106745d17b53be27 diff --git a/include/imagefile.h b/include/imagefile.h index 56c255b..6dd8fe7 100644 --- a/include/imagefile.h +++ b/include/imagefile.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: imagefile.h,v 1.35 2001/03/21 21:45:31 kevin Exp $ +** $Id: imagefile.h,v 1.36 2001/09/24 09:40:42 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -149,6 +149,7 @@ public: static const int EXPORT_FORMAT_DICOM; static const int IMPORT_FORMAT_DICOM; #endif + static const int EXPORT_FORMAT_RAW; static const int getExportFormatCount() {return s_iExportFormatCount;} static const char** getExportFormatNameArray() {return s_aszExportFormatName;} @@ -231,6 +232,7 @@ public: bool writeImagePGM (const char* const outfile, int nxcell, int nycell, double densmin, double densmax); bool writeImagePGMASCII (const char* const outfile, int nxcell, int nycell, double densmin, double densmax); bool readImagePPM (const char* const pszFile); + bool writeImageRaw(const char* const outfile, int nxcell, int nycell); bool writeImageText (const char* const outfile); static double redGrayscaleFactor() {return s_dRedGrayscaleFactor;}