[Dcmlib] GetPatSliceOrient(gdcm::File &h) (BIS)

Jean-Pierre Roux jpr at creatis.insa-lyon.fr
Fri Sep 30 19:40:22 CEST 2005


Jean-Pierre Roux wrote:

> Mathieu Malaterre wrote:
>
>
> I had a look a Xmedcon's code a few years ago.
> I gave it up, since they use :
> Patient Orientation (0020,0020),  (Optional Tag for MR, CT,, etc)


--> Sorry : actually they use PatientPosition (0x0010,0x5100)
assumed to be equal to "HF" or "FF".

In *all* the images I have, it "HFS " or "FFS "  (S for supine -the guy 
is lying on his back- , You can also have P, for Prone).


Moreover, on MR, you can have *any* value -1< <+1 for the cosines  :

ImageOrientationPatient (0x0020,0x0037)= [ 
-0.002378\0.999985\0.004852\0.030516\0.004923\-0.999522]

an other image shows me :

 ImageOrientationPatient (0x0020,0x0037)= 
[0.569486\0.822001\0.000000\-0.000000\0.000000\-1.000000 ]

JP


> and the suppose the only values for cosines inside "Image Orientation 
> (Patient)" (0020,0037) are -1, 0, +1 !
>
> Have a look  at :
> http://www.dclunie.com/medical-image-faq/html/part2.html#DICOMOrientation
>
> It *computes* the "Patient Orientation" from "Image Orientation 
> (Patient)" ...
>
> gdcm uses David Clunie's code in the method :
> std::string Orientation::GetOrientation ( File *f )
>
> JPRx
>
>
>>
>>
>> HTH
>> Mathieu
>> _______________________________________________
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>



More information about the Dcmlib mailing list