[Insight-users] DICOM to analyze format--showing erros

Bill Lorensen bill.lorensen at gmail.com
Sun Feb 8 14:09:28 EST 2009


You could use OrientImageFilter to select an orientation that analyze
can process.

On Tue, Jan 20, 2009 at 5:52 PM, Baoyun Li <baoyun_li123 at yahoo.com> wrote:
> Dear All:
>
> I am trying to read DICOM slices and convert them to 3D image volume. The
> code I used is from example/ITKIO/DicomSeriesReadImageWrite2.cxx.
>
> The dataset I have is clinical CT data.
>
> The Dicom folder only contain data from one image volume.
>
> I run the the program as following and and try to convert it to analyse
> format
>
> ./DicomSeriesReadImageWrite2  /home/test/data/Rdata/CT/DICOM/PA1/ST1/SE1
> /home/test/data/Rdata/vol_CT/PA1_ST1_SE1_1.hdr
>
>
>
> ////////////////////////////////////////////////////////////////////
>
> I got the below output
>
> Contains the following DICOM Series:
>
> 1.2.840.113619.2.55.3.4195011332.477.1229083954.378.332.50000051251220081212
>
>
>
> Now reading series:
>
> 1.2.840.113619.2.55.3.4195011332.477.1229083954.378.332.50000051251220081212
>
>
>
> Writing the image as
>
> /home/gtao/test/data/Rdata/vol_CT/PA1_ST1_SE1_1.hdr
>
> WARNING: In /home/gtao/tools/ITK/Source/Code/IO/itkAnalyzeImageIO.cxx, line
> 1345
>
> AnalyzeImageIO (0x1a80d770): ERROR: Analyze 7.5 File Format Only Allows RPI,
> PIR, and RIP Orientation
>
> /////////////////////////////////////////////////////////////////////
>
>
>
> If I tried to save the output file as mha format, now warning and error
> message.
>
> but I can view the written analyze image using MRICRO.
>
> Can anybody tell me what will be the problem? How to solve it.
>
>
>
> If
>
>
>
> Thanks
>
> Baoyun
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list