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

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Sep 30 20:23:42 CEST 2005


Jean-Pierre Roux wrote:
> 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 )

I have to say I am clueless. How exactly does this thing works. For 
instance, SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm

I get:
V 0018|5100 [CS]                       [Patient Position] [HFS ]


but gdcm returns:
Orientation [LHP\PF]

What does LHP stand for ? How about PF ?

Thanks
Mathieu



More information about the Dcmlib mailing list