[Insight-users] DicomSeries Reader

Luis Ibanez luis.ibanez at kitware.com
Wed, 07 Apr 2004 12:51:19 -0400


Hi Yan,

Probably your best fileformant
options for managing 3D images
in ITK are the following:

    Format       Extension

1) Analyze      .hdr
2) MetaImage    .mhd
3) GIPL         .gipl


Regards,


    Luis


----------------
Yan Yang wrote:
> Hi Luis,
> 
> Thanks for your message!
> 
> There are many file formats included in the following website, would like to
> tell me which one supports 3 dimenstional images, including its extenstion?
> Because the output files of "DicomSeriesReadImageWrite" and
> "itkDICOMImageIO2" should be 3 dimensional images.
> http://www.itk.org/cgi-bin/InsightFAQ/InsightFAQ?req=show&file=faq01.007.htp
> 
> Kind Regards,
> 
> Yan
> 
> 
> 
> ----- Original Message ----- 
> From: "Luis Ibanez" <luis.ibanez at kitware.com>
> To: "Yan Yang" <y.yang at apu.ac.uk>
> Cc: <Insight-users at itk.org>
> Sent: Tuesday, April 06, 2004 8:45 PM
> Subject: Re: [Insight-users] DicomSeries Reader
> 
> 
> 
>>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
>>
>>
>>
> 
>