<div dir="ltr"><div><div>Hi,<br><br></div>How to properly read 32-bit TIFF? I need to
get itk::Image<unsigned short> on output. If I use it as ImageType
for ImageFileReader, it is read as fully black (checked contrast with
Image Watch and it is for sure completely empty). If I read it with
pixel type RGBPixel<unsigned char> or RGBAPixel<unsigned
char>, it is read properly. But I need to convert it manually to
unsigned short after this. So what is the proper way of reading it? Do I
need to create templated methods for every pixeltype with conversions
to unsigned short?<br>
<br></div><div>Best regards,<br></div>Marian</div>