The 16bit tiff image always shows white regardless of the pixel value.

Hi all.

I have a question about the 16bit tiff image.
sample.tif (144.7 KB)

If I load it on the ImageJ, the image shows from black to white value depends on the pixel value.

But if I load it on the VTK sample code, the image shows white regardless of the pixel value.

Sample code: https://lorensen.github.io/VTKExamples/site/Cxx/IO/ReadTIFF/

Did I miss something on the code?

Could you give me an advice?

Thank you :slight_smile:

Hi, Kim,

Have you tried other TIFs? For example the ColorCells.tif of the example?

regards,

Paulo