[Insight-users] tiff image flipped problem

Julien Jomier jjomier at cs.unc.edu
Thu Jul 1 15:17:47 EDT 2004


Hi Karl,

I suppose you are using ITK 1.6.
There was a bug in the 1.6 release when reading 16-bit TIFF images. This has
been fixed on January 31 (after the 1.6 release), so if you update your ITK
to use the CVS version your problem should be fixed. Otherwise let us know.

best regards,

Julien

-----Original Message-----
From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org]
On Behalf Of Karl Baum
Sent: Thursday, July 01, 2004 2:56 PM
To: insight-users at itk.org
Subject: [Insight-users] tiff image flipped problem


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



More information about the Insight-users mailing list