AW: [Insight-users] probably a buf in ITK writers??

Luis Ibanez luis.ibanez@kitware.com
Thu, 16 Jan 2003 10:12:37 -0500


Hi Zein,

If you don't use any extension the
factory will not be able to make a
decision about what ImageIO object
to use and will respond by throwing
and exception.  Double check the
date/time of the files that you see,
It is unlikely that the ImageFileReader
is producing any thing on disk.

Please use the standard extensions
or add an explicit type of ImageIO
to your code.(e.g. Meta, PNG, Dicom, VTK)

If your images are 2D, you can rapidly
test the extension mechanism by trying
with .png and .dcm (dicom).

If files are being produced event though
no extension is provided, we may be dealing
with a bug in ImageFileWriter....

Please let us know what you find,


  Thanks


   Luis


----------------------------------------
salah wrote:

> Thanks Luis,
> 
> in fact, I do not give any extentions. I don not use MetaImageIO either.


 I rely only on the standard mechanism. Eventhough, the Writer produces two 


files. The raw file always has the name of the first given file name,i.e. 


it is overwritten eveytime during program execution.
> 
> Does this have some meaning??
> 
> Zein
> 
>