<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV><FONT size=2>
<P>Dear All:</P>
<P>I am trying to read DICOM slices and convert them to 3D image volume. The code I used is from example/ITKIO/DicomSeriesReadImageWrite2.cxx.</P>
<P>The dataset I have is clinical CT data.</P>
<P>The Dicom folder only contain data from one image volume.</P>
<P>I run the the program as following and&nbsp;and try to convert it to analyse format</P>
<P>./DicomSeriesReadImageWrite2&nbsp; /home/test/data/Rdata/CT/DICOM/PA1/ST1/SE1&nbsp; /home/test/data/Rdata/vol_CT/PA1_ST1_SE1_1.hdr</P>
<P>&nbsp;</P>
<P>////////////////////////////////////////////////////////////////////</P>
<P>I got the below output</P>
<P>Contains the following DICOM Series: </P>
<P>1.2.840.113619.2.55.3.4195011332.477.1229083954.378.332.50000051251220081212</P>
<P>&nbsp;</P>
<P>Now reading series: </P>
<P>1.2.840.113619.2.55.3.4195011332.477.1229083954.378.332.50000051251220081212</P>
<P>&nbsp;</P>
<P>Writing the image as </P>
<P>/home/gtao/test/data/Rdata/vol_CT/PA1_ST1_SE1_1.hdr</P>
<P>WARNING: In /home/gtao/tools/ITK/Source/Code/IO/itkAnalyzeImageIO.cxx, line 1345</P>
<P>AnalyzeImageIO (0x1a80d770): ERROR: Analyze 7.5 File Format Only Allows RPI, PIR, and RIP Orientation </P>
<P>/////////////////////////////////////////////////////////////////////</P>
<P>&nbsp;</P>
<P>If I tried to save the output file as mha format, now warning and error message.</P>
<P>but I can view the written analyze image using MRICRO.</P>
<P>Can anybody tell me what will be the problem? How to solve it.</P>
<P>&nbsp;</P>
<P>If </P>
<P>&nbsp;</P>
<P>Thanks</P>
<P>Baoyun</P></FONT></DIV></div><br>



      </body></html>