[Fwd: [Dcmlib] new RM]

Luca Picello luca.picello at libero.it
Thu Sep 29 01:20:22 CEST 2005


It works well!!!
I'll do my best to correctly interpret the output string ;-)
Thanks again JP,

Luca


Jean-Pierre Roux wrote:

> Luca Picello wrote:
>
>> Errata!!!!
>>
>> the new RMs are read perfectly!!!
>> it was my fault: I selected the wrong directory :-)
>>
>> the only (still) problem that is missing is on orientation.
>> however... thank you developers for your fantastic work!!! :-)
>
> Hi, Luca !
>
> Sorry for responding so late ...
> The method
> *double Orientation::TypeOrientation( File *f )*
> still doesn't work.
> I transated it from a code  (written in Python language)n supplied by 
> our friends from Theralys
> Probabely I'm not clever enough about Python!
> This code should (will ?) give information on the main basic 
> orientation (Axial/ Axial invert, Coronal/ Coronal invert, Sagital, 
> etc) of the image, returned as a 'double'.
>
> I added an other method (that works)
> *std::string Orientation::GetOrientation ( File *f )
> *
> that returns a string thats looks like the "Patient Orientation" 
> attribute (0020,0020).
> (This attribute is mandatory for CR images, not for MR or CT images.)
>
> the result - computed from "Image Orientation (Patient)" (0020,0037) - 
> is composed of 2 parts, separated by a "\\".
> The first one gives an information on the anatomical direction of the 
> X axis ;
> The second one gives an information on the anatomical direction of the 
> Y axis ;
>
> Anatomical directions are designated by the capital  letters: A 
> (anterior), P (posterior), R (right),L (left),  H (head), F (foot).
>
> For instance, if you get  L\P, it means that the "end column" is the 
> left (L) of the Patient, and the 'end line' is the back of the Patient 
> (Posterior)
>
> There can be some refinements, if the images are not exactly along the 
> axis (for MR images):
> a second letter may be added (but the first one gives the main 
> orientation)
>
> Tell me if this method can help you.
>
> Thx.
> JP
>
>
>
>
>
> *
> *
>
>> Luca
>>
>>
>>
>>
>> -------- Original Message --------
>> Subject: 	[Dcmlib] new RM
>> Date: 	Fri, 23 Sep 2005 21:45:40 +0200
>> From: 	Luca Picello <luca.picello at libero.it>
>> To: 	dcmlib at creatis.insa-lyon.fr <dcmlib at creatis.insa-lyon.fr>
>>
>>
>>
>>Hello folks,
>>I've got new RM datasets I'd like to read with gdcm but it seems we have 
>>something similar to the old order issue.
>>I can forward the entire dataset or if you need some information to 
>>debug I can check them as my proof of good will :-)
>>
>>Are there any news on typeOrientation ?
>>I downloaded the todays's cvs and I continue to have Orientation = 0 
>>(not allowed!), as described in my last email.
>>
>>please let me know,
>>
>>thank you all,
>>Luca
>>
>>_______________________________________________
>>Dcmlib miling list
>>Dcmlib at creatis.insa-lyon.fr
>>http://www.creatis.isa-lyon.fr/mailman/listinfo/dcmlib
>>.
>>
>>  
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Dcmlib mailing list
>>Dcmlib at creatis.insa-lyon.fr
>>http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050929/5153f328/attachment.html>


More information about the Dcmlib mailing list