[Insight-users] AnalyzeIO and TIFFIO for 2D images (ITK 3.0)

Julien Jomier julien.jomier at kitware.com
Tue Dec 26 13:28:30 EST 2006


Hi Tom,

> For the TIFF IO, it seems that it always considers the images to be
> 3D. Indeed in Code/IO/itkTIFFImageIO.cxx on lines 1418 we test for
> if(m_InternalImage->NumberOfPages>0)
> to decide if the image is 3D. But a 2D image has one page not zero...
> A similar problem could arise with the NumberOfTiles test.
>

Well you need to know at compile time if the image you are going to read 
is 2D or 3D. Can you give me an example where the logic is not correct?

Thanks,

Julien



More information about the Insight-users mailing list