[Insight-users] tiff image flipped problem

Luis Ibanez luis.ibanez at kitware.com
Thu Jul 1 16:43:42 EDT 2004


Hi Karl,

What version of ITK are you using ?

Please post the code that you are using.
Note that for color images you need to
use RGBPixel<> as pixel type.

Just for the record: Saving grayscales TIFF
images in 16 bits if working fine with the
CVS version of ITK.



   Regards,


     Luis


-----------------
Karl Baum wrote:

> Hi,
> 
> I am new to itk and am having a problem with tiffs.  I wrote a program 
> that reads in a tiff and then writes it out.  The only filters are the 
> reader and writer.  The problem is that the tiff written out is 
> different from the tiff that was given as input.  The image is flipped 
> vertically and the coloring is messed up.  The original image is a 
> 16-bit grayscale uncompressed tiff and the output is a 16-bit grayscale 
> uncompressed tiff.  Internally I am using unsigned short to represent 
> the pixels.
> 
> Any help would be appreciated,
> Karl
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list