2018.11.13 14:14 "[Tiff] TIFF image has depth 0, bits per sample value 16 and samples per pixel value of 1", by Olumide
Dear List,
I'm trying to analyze an image that has:
depth 0
bits per sample value 16
samples per pixel value 1
... see below. What sort of image is this? It does not fit the mould of any of the image types here http://www.mit.edu/afs.new/sipb/project/scanner/arch/i386_rhel3/bin/html/vuesc13.htm
uint32 depth = 0;
uint16 bitsPerSample, samplesPerPixel;
// Returns 0
TIFFGetField( tif, TIFFTAG_IMAGEDEPTH, &depth );
// Returns 16
TIFFGetField( tif, TIFFTAG_BITSPERSAMPLE, &bitsPerSample );
// Returns 1
TIFFGetField( tif, TIFFTAG_SAMPLESPERPIXEL, &samplesPerPixel );
Regards,
- Olumide