[Insight-users] TIFF images
Miller, James V (Research)
millerjv at crd.ge.com
Thu Nov 4 08:47:17 EST 2004
Charlene,
What version of the TIFF code are you using? TIFF allows the first pixel in
the file to be upper left corner or the lower left corner or the upper right
corner or the lower right corner. Your TIFF file may be using a "corner"
that is not properly implemented in ITK.
It looks like itkTIFFImageIO.cxx (version 1.15) was committed on
August 6 to fix an orientation problem. Then there are changes
on October 14 and 15 (versions 1.22 and 1.23) that appear to fix an
orientation problem.
What version of Code/IO/itkTIFFImageIO.cxx do you have? The problem
may have been fixed or there still may be an issue.
What we try to is reformat the data coming out of the TIFF file to be
in an ITK consistent orientation.
Jim
-----Original Message-----
From: Charlene Tsai [mailto:tsaicharlene at hotmail.com]
Sent: Wednesday, November 03, 2004 6:46 PM
To: insight-users at itk.org
Subject: [Insight-users] TIFF images
I have one very weird tif image that produces a gradient magnitude image
with a flipped y co-ordinate. With the same code, other tif images are doing
fine. If I convert the image to png format, the output is correct. Any
suggestions?
Thanks.
Charlene
_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and
more! http://special.msn.com/msn/election2004.armx
_______________________________________________
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