[Insight-users] ITK 3.2 png read/write problem

David Doria daviddoria at gmail.com
Wed Mar 16 10:57:27 EDT 2011


On Wed, Mar 16, 2011 at 10:55 AM, robert tamburo
<robert.tamburo at gmail.com>wrote:

> Your image produces a blank image on my system. Actually, reads 255 pixels
> as 0 (I printed out pixel at index [0, 0]).
>
> The output has a non-zero output with pixel type:
> -  unsigned short  (values of 0 and 65025)
> - RGBPixel<unsigned char> (values of 0, 0, 0 and 255, 255, 255)
> - RGBPixel<unsigned short> (values of 0, 0, 0 and 255, 255, 255)
>
> If I open the image in ImageJ and re-save it as a PNG (32-bit, RGB), it
> works fine (values of 0 and 255) with pixel type unsigned char.
>
> Could it be the image itself being the issue?
>

Can you explain why would it work in recent versions of ITK?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110316/d9f79db4/attachment.htm>


More information about the Insight-users mailing list