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

Luca Picello luca.picello at libero.it
Fri Sep 30 22:21:04 CEST 2005


Hello everybody.
I see you are playing with orientation....
I have some new datasets to test...
Some are total-body and I can see something strange (to me at least):
in the same dicomdir images are oriented differently.
thus, the reader return only few slices when I have many and many of 
them....
does it suggest to you something?

luca



Mathieu Malaterre wrote:

> Mathieu Malaterre wrote:
>
>> 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 ?
>
>
> Ok forget that mail, I have a strong headache and I don't understand 
> what I am saying anymore (Position != Orientation). I'll play with 
> Orientation a little more after resting.
>
> sorry for the noise
> Mathieu
> _______________________________________________
> 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