[Insight-users] DicomSeries Reader

Luis Ibanez luis.ibanez at kitware.com
Tue, 06 Apr 2004 15:45:03 -0400


Hi Yan,

What filename did you used for the output image ?

The fileformat used for writing is selected from
the extension of the filename. The error that you
got is typical of the case when the file extension
has not been recognized.

Please look at the FAQ for a complete list of the
fileformats and file extensions supported in ITK.

http://www.itk.org/cgi-bin/InsightFAQ/

In particular, look at
http://www.itk.org/cgi-bin/InsightFAQ/InsightFAQ?req=show&file=faq01.007.htp



Regards,


    Luis


-------------------
Yan Yang wrote:

> Dear all,
>  
> I use DicomSeriesReadImageWrite.cxx to read a DICOM series into a 
> volume, but there is an error when running the program, I would be very 
> grateful if you could tell me how to fix the following error.
>  
> Running result:
> ----------------------------------------------------------------------------------------------
> The directory:
>  
> ..\dicom
>  
> Contains the following DICOM Series:
>  
> 1.3.46.670589.5.2.14.2200547205.1071677218.207305
>  
> 
> Now reading series:
>  
> 101
>  
> 
> Writing the image as
>  
> output
>  
> 
> itk::ExceptionObject (00F3F84C)
> Location: "Unknown"
> File: C:\Yan\ITK1.6\InsightToolkit-1.6.0\Code\IO\itkImageFileWriter.txx
> Line: 143
> Description: itk::ERROR: ImageFileWriter(01267780): No ImageIO set, or 
> none could be created.
> ----------------------------------------------------------------------------------------------------------------------------------------------
>  
> Thanks again!
>  
>  
> Yan