[Insight-developers] TIFF Spacing Units
Luis Ibanez
luis.ibanez at kitware.com
Wed Aug 10 19:03:40 EDT 2011
Karthik,
When applying the fix from:
http://www.itk.org/Bug/bug_relationship_graph.php?bug_id=11455&graph=dependency
in the Gerrit patch
http://review.source.kitware.com/#change,2431
Brad pointed out correctly that ITK itself doesn't have a
notion of specific units.
The code here "assumes" that ITK units are millimeters.
It actually exposes a deficiency in the metadata of
the ITK image.
Note that one option is to tell TIFF that the Units
are Unknown...
http://www.awaresystems.be/imaging/tiff/tifftags/resolutionunit.html
but then TIFF assumes the X and Y spacing to be the same...
Any suggestions ?
Thanks
Luis
More information about the Insight-developers
mailing list