[Insight-users] Clarification on itkOrientImageFilter orientationcodes

Miller, James V (Research) millerjv at crd.ge.com
Thu Apr 21 10:04:19 EDT 2005


For DICOM files, you would need to calculate codes from the 
ImageOrientationPatient and not the ImagePositionPatient.

The codes in the OrientImageFilter label the "start" of the
row, column, slices.  So in that nomenclature, your Desired
orientation would probably be ASL.

Bill Lorensen has been working on some changes to the OrientImageFilter
so that it will automatically set the Given orientation from the
direction cosines of the image (ImageOrientationPatient), so the user
would only have to specify the Desired orientation.  He is also
adding convenience methods so that the user can simply request
Axials, Coronals, or Sagittals instead of having to specify 
the codes.

It doesn't look as though his changes to the OrientImageFilter
have been checked in yet.  But he is close to having it ready 
for committing to the repository.

Jim


-----Original Message-----
From: insight-users-bounces at itk.org
[mailto:insight-users-bounces at itk.org]On Behalf Of Mark Wyszomierski
Sent: Thursday, April 21, 2005 9:45 AM
To: insight-users at itk.org
Subject: [Insight-users] Clarification on itkOrientImageFilter
orientationcodes


Hello all,

I implemented the itkOrientImageFilter so I can snap all my volumes to
a particular orientation.The input/output is working, I am just unsure
of what the orientation codes mean. For instance, I would like all my
images to have their rows going towards the Posterior, columns going
towards the Feet, and the Z (slice direction) going towards the Right
side of the patient. How do I translate that into the codes provided
by the filter?

Also, since my input are DICOM files, can I translate the
ImagePositionPatient tag directly to one of the filter codes?

Thanks for any clues,
Mark
_______________________________________________
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