[Insight-users] What is a good image format for ITK?

Mathieu Malaterre Mathieu . Malaterre at creatis . insa-lyon . fr
Mon, 26 May 2003 13:39:35 +0200


Hideaki Hiraki,

There has been quite a lot of bug fix since ITK1.2 in all of the ImageIO 
you are talking about:

http://public . kitware . com/cgi-bin/cvsweb . cgi/Insight/Code/IO/itkVTKImageIO . cxx?cvsroot=Insight
http://public . kitware . com/cgi-bin/cvsweb . cgi/Insight/Code/IO/itkAnalyzeImageIO . cxx?cvsroot=Insight
http://public . kitware . com/cgi-bin/cvsweb . cgi/Insight/Code/IO/itkMetaImageIO . cxx?cvsroot=Insight

Could you please try a CVS version of ITK ? And if this is still not 
working could you give us a short example on how to reproduce each bugs, 
thanks ?

> By the way, what is a good image format to store intermediate image 
> data? Here "good" means possible to support all concrete image types 
> that the ITK filters treat and hopefully compressable, streamable, 
> and extendable to store some application specific data.

What do you mean exactly by 'application specific data' ? A medical 
image doesn't usually contains these sort of things ?

BTW, did you had a look at MetaDataDictionary
http://www . itk . org/Doxygen/html/classitk_1_1MetaDataDictionary . html
Otherwise you might have a look at some VTK files such as:
http://www . vtk . org/doc/nightly/html/classvtkXMLPImageDataWriter . html

HTH
mathieu