]> Creatis software - gdcm.git/commit
add std::string Orientation::GetOrientation ( File *f ) method, that
authorjpr <jpr>
Wed, 21 Sep 2005 16:39:53 +0000 (16:39 +0000)
committerjpr <jpr>
Wed, 21 Sep 2005 16:39:53 +0000 (16:39 +0000)
commitab9b96bb7b0c77c1beaee820985debe75f04b831
treebc408563d25efab44a0686ec2db2609aba4c61f0
parentebbbfdba2841d733f3ac30a2861e1d66daa2ba81
add std::string Orientation::GetOrientation ( File *f ) method, that
computes the Patient Orientation relative to the image plane
from the 'Image Orientation (Patient)' :

           The first entry is the direction of the rows, given by the
           direction of the last pixel in the first row from the first
           pixel in that row.
           The second entry is the direction of the columns, given by
           the direction of the last pixel in the first column from the
           first pixel in that column.
           Anatomical direction is designated by the capital
           letters: A (anterior), P (posterior), R (right),L (left),
           H (head), F (foot).
           Refinements in the orientation descriptions are designated
           by one or two additional letters in each value.
src/gdcmOrientation.cxx
src/gdcmOrientation.h