<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It works well!!!<br>
I'll do my best to correctly interpret the output string ;-)<br>
Thanks again JP,<br>
<br>
Luca<br>
<br>
<br>
Jean-Pierre Roux wrote:
<blockquote cite="mid4337BDAD.8010903@creatis.univ-lyon1.fr" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Luca Picello wrote:
<blockquote cite="mid433465F7.5000205@libero.it" type="cite">Errata!!!!<br>
<br>
the new RMs are read perfectly!!!<br>
it was my fault: I selected the wrong directory :-)<br>
<br>
the only (still) problem that is missing is on orientation.<br>
however... thank you developers for your fantastic work!!! :-)<br>
</blockquote>
Hi, Luca !<br>
<br>
Sorry for responding so late ...<br>
The method <br>
<b>double Orientation::TypeOrientation( File *f )</b><br>
still doesn't work.<br>
I transated it from a code (written in Python language)n supplied by
our friends from Theralys<br>
Probabely I'm not clever enough about Python!<br>
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'.<br>
<br>
I added an other method (that works)<br>
<b>std::string Orientation::GetOrientation ( File *f )<br>
</b><br>
that returns a string thats looks like the "Patient Orientation"
attribute (0020,0020).<br>
(This attribute is mandatory for CR images, not for MR or CT images.)<br>
<br>
the result - computed from "Image Orientation (Patient)" (0020,0037) -
is composed of 2 parts, separated by a "\\".<br>
The first one gives an information on the anatomical direction of the X
axis ;<br>
The second one gives an information on the anatomical direction of the
Y axis ;<br>
<br>
Anatomical directions are designated by the capital letters: A
(anterior), P (posterior), R (right),L (left), H (head), F (foot).<br>
<br>
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)<br>
<br>
There can be some refinements, if the images are not exactly along the
axis (for MR images):<br>
a second letter may be added (but the first one gives the main
orientation)<br>
<br>
Tell me if this method can help you.<br>
<br>
Thx.<br>
JP<br>
<br>
<br>
<br>
<br>
<br>
<b><br>
</b>
<blockquote cite="mid433465F7.5000205@libero.it" type="cite">Luca<br>
<br>
<br>
<br>
<br>
-------- Original Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>[Dcmlib] new RM</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Fri, 23 Sep 2005 21:45:40 +0200</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td>Luca Picello <a class="moz-txt-link-rfc2396E"
href="mailto:luca.picello@libero.it"><luca.picello@libero.it></a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td><a class="moz-txt-link-abbreviated"
href="mailto:dcmlib@creatis.insa-lyon.fr">dcmlib@creatis.insa-lyon.fr</a>
<a class="moz-txt-link-rfc2396E"
href="mailto:dcmlib@creatis.insa-lyon.fr"><dcmlib@creatis.insa-lyon.fr></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>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
<a class="moz-txt-link-abbreviated"
href="mailto:Dcmlib@creatis.insa-lyon.fr">Dcmlib@creatis.insa-lyon.fr</a>
<a class="moz-txt-link-freetext"
href="http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib">http://www.creatis.isa-lyon.fr/mailman/listinfo/dcmlib</a>
.
</pre>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
Dcmlib mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Dcmlib@creatis.insa-lyon.fr">Dcmlib@creatis.insa-lyon.fr</a>
<a class="moz-txt-link-freetext"
href="http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib">http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib</a></pre>
</blockquote>
</blockquote>
<br>
</body>
</html>