[Insight-users] RE: Re: about about the DicomImageIO
Miller, James V (Research)
millerjv at crd.ge.com
Thu Jul 29 08:49:51 EDT 2004
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?)
Jim
-----Original Message-----
From: Yixun Liu [mailto:yxliu at fudan.edu.cn]
Sent: Wednesday, July 28, 2004 10:09 PM
To: insight-users at itk.org; millerjv at crd.ge.com
Subject: Re:Re: about about the DicomImageIO
Hi Miller,
Thank your help!
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?
Image Position (Patient) (0020,0032) 3 DS [-124.500000\
-116.099998\ 18.700001]
Image Orientation (Patient) (0020,0037) 6 DS
[1.000000\0.000000\0.000000\0.000000\1.000000\0.000000]
Best regards,
Yixun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20040729/a3c2c75f/attachment.html
More information about the Insight-users
mailing list