<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 14, 2015 at 8:40 AM, REUZE SYLVAIN <span dir="ltr"><<a href="mailto:SYLVAIN.REUZE@gustaveroussy.fr" target="_blank">SYLVAIN.REUZE@gustaveroussy.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="FR" link="blue" vlink="blue">
<div>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">Hello,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">Thanks for your answer. Yes, ranges are contiguous in my file :<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-1050 -950 Air_0<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-950 -850.906 Lung_1<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-850.906 -751.812 Lung_2<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-751.812 -652.718 Lung_3<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-652.718 -553.624 Lung_4<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-553.624 -454.531 Lung_5<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">-454.531 -355.437 Lung_6 …<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">I only tried with the example 2 from Gate website, to learn how to include CT images in my simulation. Do you think there
 could be an issue with the format ? For example, spaces instead of tabulations ?</span></font></p></div></div></blockquote><div><br></div><div>maybe. Please ensure that this is Gate 7.1 (or the develop branch of the git) and try to run examples/example_Radiotherapy/example2 from the source code to see if it happens ?</div><div><br></div><div>David</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="FR" link="blue" vlink="blue"><div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy"><u></u><u></u></span></font></p><span class="">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy">Best regards,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal" style="text-indent:35.4pt"><b><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy;font-weight:bold">Sylvain Reuzé
</span></font></b><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="text-indent:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy">Stagiaire physicien</span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy">Département de Radiothérapie</span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy">Service de physique médicale</span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy">Tél. : <a href="tel:01%2042%2011%2054%2006" value="+33142115406" target="_blank">01 42 11 54 06</a></span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy"><a href="http://www.gustaveroussy.fr" target="_blank">www.gustaveroussy.fr</a></span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>
<p class="MsoNormal" style="margin-left:35.4pt"><font size="2" color="navy" face="Arial"><span style="font-size:10pt;font-family:Arial;color:navy"><img border="0" width="300" height="155" src="cid:image001.gif@01D0768E.40B87B50" align="baseline"></span></font><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"><u></u><u></u></span></font></p>
</div>
</span><div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10pt;font-family:Tahoma;font-weight:bold">De :</span></font></b><font size="2" face="Tahoma"><span style="font-size:10pt;font-family:Tahoma"> <a href="mailto:david.sarrut@gmail.com" target="_blank">david.sarrut@gmail.com</a> [mailto:<a href="mailto:david.sarrut@gmail.com" target="_blank">david.sarrut@gmail.com</a>]
<b><span style="font-weight:bold">De la part de</span></b> David Sarrut<br>
<b><span style="font-weight:bold">Envoyé :</span></b> mardi 14 avril 2015 08:26<br>
<b><span style="font-weight:bold">À :</span></b> REUZE SYLVAIN<br>
<b><span style="font-weight:bold">Cc :</span></b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<b><span style="font-weight:bold">Objet :</span></b> Re: [Gate-users] Issue with GateHounsfieldMaterialTable (CT import)</span></font><u></u><u></u></p>
</div><div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Hello, <u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">when converting HU to material, Gate read a txt file with the setHUToMaterialFile function. This file (sometimes named patient-HU2mat.txt in some examples) is made with
 several lines, each line start with a range of HU [a:b] -> material . It requires that the ranges are contiguous, so a is equal to previous b. <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Just check this file in your case<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Sincerely,<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">David<u></u><u></u></span></font></p>
</div>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">On Tue, Apr 7, 2015 at 4:13 PM, REUZE SYLVAIN <<a href="mailto:SYLVAIN.REUZE@gustaveroussy.fr" target="_blank">SYLVAIN.REUZE@gustaveroussy.fr</a>> wrote:<u></u><u></u></span></font></p>
<div link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Dear all,</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial">I still have an issue while opening CT images, with the example 2. I get this error message:</span></font><u></u><u></u></p>
<pre><font size="2" face="Courier New"><span lang="EN-GB" style="font-size:10pt">GateHounsfieldMaterialTable.cc (l.124): Current H1=-1050 is different from previous H2=-950. Abort.</span><u></u><u></u></font></pre>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial">This is a well-known issue, and according to some older threads in the mailing list, there
 is a patch to solve it. This patch has been created for an older version of Gate (6.0), can I use it with Gate 7.0 ?</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial">It doesn’t seem to change anything when I replace my GateHounsfieldMaterialTable file with
 the file from the patch.</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial">Does anyone have another solution ?</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB" style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Thanks in advance.</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Best regards,</span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal" style="text-indent:35.4pt">
<b><font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial;font-weight:bold">Sylvain Reuzé
</span></font></b><u></u><u></u></p>
<p class="MsoNormal" style="text-indent:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Stagiaire physicien</span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Département de Radiothérapie</span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Service de physique médicale</span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"> </span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial">Tél. :
<a href="tel:01%2042%2011%2054%2006" value="+33142115406" target="_blank">01 42 11 54 06</a></span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"><a href="http://www.gustaveroussy.fr" target="_blank">www.gustaveroussy.fr</a></span></font><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:35.4pt">
<font size="2" face="Arial"><span style="font-size:10pt;font-family:Arial"><img border="0" width="300" height="155" src="cid:image001.gif@01D0768E.40B87B50" align="baseline"></span></font><u></u><u></u></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"> <u></u><u></u></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><u></u><u></u></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><br>
<br clear="all">
<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">--
<u></u><u></u></span></font></p>
<div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">David Sarrut, Phd<br>
Directeur de recherche CNRS<br>
CREATIS, UMR CNRS 5220, Inserm U 1044<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt">Centre de lutte contre le cancer Léon Bérard<br>
28 rue Laënnec, 69373 Lyon cedex 08<br>
Tel : <a href="tel:04%2078%2078%2051%2051" value="+33478785151" target="_blank">04 78 78 51 51</a> / <a href="tel:06%2074%2072%2005%2042" value="+33674720542" target="_blank">06 74 72 05 42</a><br>
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>
_________________________________<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12pt"> "2 + 2 = 5,  for extremely large values of 2"<br>
_________________________________<u></u><u></u></span></font></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5,  for extremely large values of 2"<br>_________________________________</div></div></div>
</div></div>