]> Creatis software - gdcm.git/commit
==> Add File::TypeOrientation( ) method
authorjpr <jpr>
Thu, 21 Jul 2005 14:01:49 +0000 (14:01 +0000)
committerjpr <jpr>
Thu, 21 Jul 2005 14:01:49 +0000 (14:01 +0000)
commit78862d87820021177071181631c6218db14b3fd4
tree1c24e61b45ce2ad4cbe13b703adfd52fa1ab0ba9
parent5d557d945d4f08ffd440254ee4241aafc747c9d5
==> Add File::TypeOrientation( ) method
/**
 * \brief  THERALYS' Algorithm to determine the most similar basic orientation
   (Axial, Coronal, Sagital) of the image
 * \note Should be run on the first gdcm::File of a 'coherent' Serie
 * @return orientation code
 *   #   0 :   Not Applicable (neither 0020,0037 Image Orientation Patient
 *   #                         nor     0020,0032Image Position     found )
 *   #   1 :   Axial
 *   #  -1 :   Axial invert
 *   #   2 :   Coronal
 *   #  -2 :   Coronal invert
 *   #   3 :   Sagital
 *   #  -3 :   Sagital invert
 *   #   4 :   Heart Axial
 *   #  -4 :   Heart Axial invert
 *   #   5 :   Heart Coronal
 *   #  -5 :   Heart Coronal invert
 *   #   6 :   Heart Sagital
 *   #  -6 :   Heart Sagital invert
 */

==>  File::GetImageOrientationPatient returns now a bool (no longer a void)
     to allow user to check the 'not applicable case'.
src/gdcmFile.cxx
src/gdcmFile.h