[ITK Community] Exception caught from itkImageFileReader.hxx
Girish, Gavaskar Ruturaj
gavaskar.ruturaj.girish at philips.com
Thu Feb 27 05:04:27 EST 2014
Hello all.
I have compiled a program which uses ITK (version 4.6). When I run the program I immediately get the following error and it aborts:
Exception caught when reading data image. The error is:
itk::ImageFileReaderException (000000000018CDA8)
Location: "void __cdecl itk::ImageFileReader<class itk::Image<float,3>,class itk
::DefaultConvertPixelTraits<float> >::GenerateOutputInformation(void)"
File: c:\program files\itk\include\itk-4.6\itkImageFileReader.hxx
Line: 143
Description: Could not create IO object for file ..\..\image.dcm
Tried to create one of the following:
You probably failed to set a file suffix, or
set the suffix to an unsupported type.
I have tried this many times with (3D) .dcm and (multipage) .tif input files, and I get the same error every time. I can surely say that I am giving the file extension correctly.
What could be the cause of this error?
Thanks.
Regards
Ruturaj
P.S.: I haven't written the program. It is freely available here<http://mosaic.mpi-cbg.de/?q=downloads/RCITK>. I am not familiar with the source code. I just want to know which different scenarios could give rise to this error (e.g. unsupported suffix & any others) which might help me know what is going wrong.
________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140227/b7988a1e/attachment-0002.html>
More information about the Community
mailing list