2006.01.11 02:01 "[Tiff] help on reading a 16bits grayscle TIFF image", by NGUYEN QUANG BANG

2006.01.11 02:01 "[Tiff] help on reading a 16bits grayscle TIFF image", by NGUYEN QUANG BANG

I have a problem while reading a 16 bits grayscale TIFF image. when i use the function TIFFReadRGBAImage and TiffReadEncodedStrip, they give different results.

When i read this image using MatLab, it gives the image with the pixels have value RGB as result of TIFFReadRGBAImage,and the corresponding index as the result of TiffReadEncodedStrip function.

Anyone could help me?

Thanks.