<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=349514512-29072004><FONT face=Verdana color=#0000ff size=2>The
origin calculate by DICOMImageIO2 is the ImagePositionPatient for "one" of the
slices in the volume. The class looks at all the ImagePositionPatient
fields and sorts them with respect to the ImageOrientationPatient coordinate
frame in either ascending or descending order. So the -35.29999... value is
probably the ImagePositionPatient for one of the images in the series (the most
inferior?)</FONT></SPAN></DIV>
<DIV><SPAN class=349514512-29072004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=349514512-29072004><FONT face=Verdana color=#0000ff
size=2>Jim</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Yixun Liu
[mailto:yxliu@fudan.edu.cn]<BR><B>Sent:</B> Wednesday, July 28, 2004 10:09
PM<BR><B>To:</B> insight-users@itk.org; millerjv@crd.ge.com<BR><B>Subject:</B>
Re:Re: about about the DicomImageIO<BR><BR></FONT></DIV>
<DIV><FONT face=Arial>Hi Miller,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Thank your help!</FONT></DIV>
<DIV><FONT face=Arial>Like you said, I change the itk::DicomimageIO to the
itk::DICOMImageIO2 then obtain the correct spacing between the two slices.
However, the origin is -124.500000\ -116.099998\-35.299999237060 instead of
the 0\0\0 obtained by the itk::DicomimageIO. In my opinion, the 0\0\0 may be
the default value of the itk::DicomImageIO. What I can not be sure is that can
I use the patient Position as the origin? Why I can not found the Z
coordinate "-35.299999237060" in all the tag?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> Image Position (Patient)
(0020,0032) 3 DS
[-124.500000\ -116.099998\ 18.700001]<BR> Image Orientation
(Patient) (0020,0037) 6 DS
[1.000000\0.000000\0.000000\0.000000\1.000000\0.000000]</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Best regards,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Yixun Liu</FONT></DIV></BLOCKQUOTE></BODY></HTML>