26 #ifndef CORE_RWTIFF_H_ 27 #define CORE_RWTIFF_H_ 48 bitsPerSample=samplesPerPixel=0;
49 imageWidth=imageLength=subFileType=0;
61 unsigned int x,
unsigned int y,
63 unsigned int tileWidth,
unsigned int tileLength,
85 int readTIFF(
size_t select_img,
bool isStack=
false);
void castTiffTile2T(size_t offset, char *tif_buf, unsigned int x, unsigned int y, unsigned int imageWidth, unsigned int imageLength, unsigned int tileWidth, unsigned int tileLength, unsigned short samplesPerPixel, DataType datatype)
void castTiffLine2T(size_t offset, char *tif_buf, unsigned int y, unsigned int imageWidth, unsigned int imageLength, unsigned short samplesPerPixel, DataType datatype)
unsigned short samplesPerPixel
DataType datatypeTIFF(TIFFDirHead dHead)
int readTIFF(size_t select_img, bool isStack=false)
unsigned short bitsPerSample
uint16_t imageSampleFormat
int writeTIFF(size_t select_img, bool isStack=false, int mode=WRITE_OVERWRITE, String bitDepth="", CastWriteMode castMode=CW_CAST)