[Insight-users] Re: another error! : lines commented out in ImageIOFactory.cxx

Luis Ibanez luis.ibanez@kitware.com
Thu, 27 Mar 2003 21:19:14 -0500


Hi Zhuo,

It looks like when you edited the file
in the Insight/Code/IO directory

   itkImageIOFactory.cxx


the lines corresponding to the MetaImage
reader was commented out.

Please check this file and verify that
line 96 containing:

ObjectFactoryBase::RegisterFactory( MetaImageIOFactory::New() );

is *not* commented.

--

For some reason the IO factory for
the MetaImage format is not being found...



Regards,


Luis


-----------------------------

zhuo Chen wrote:
> D:\>ImageReadWrite DicomtoVtk.mhd DicomtoVtkTest.vtk
> ExceptionObject caught!
> 
> itk::ExceptionObject <00E6F684>
> Location: "Unknown"
> File:D:\cz\research\cztask\VHP\ITK
> Install<3.19>\InsightToolkit-1.2.0\InsightToolkit-1.2.0
> \Code\IO\itkImageFileReader.txx
> Line:94
> Description: Could not create IO object for file
> DicomtoVtk.mhd
> 
> Please help me!I am very worry about it!
> 
> _________________________________________________________
> Do You Yahoo!? 
> 雅虎通网络KTV, 随时随地免费卡拉OK~~
> http://rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com//chat/index.html
>