[Gate-users] Issue with GateHounsfieldMaterialTable (CT import)

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Tue Apr 14 09:00:21 CEST 2015


On Tue, Apr 14, 2015 at 8:40 AM, REUZE SYLVAIN <
SYLVAIN.REUZE at gustaveroussy.fr> wrote:

>  Hello,
>
>
>
> Thanks for your answer. Yes, ranges are contiguous in my file :
>
> -1050 -950 Air_0
>
> -950 -850.906 Lung_1
>
> -850.906 -751.812 Lung_2
>
> -751.812 -652.718 Lung_3
>
> -652.718 -553.624 Lung_4
>
> -553.624 -454.531 Lung_5
>
> -454.531 -355.437 Lung_6 …
>
>
>
> 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 ?
>

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 ?

David


>
>
> Best regards,
>
>
>
> *Sylvain Reuzé *
>
> Stagiaire physicien
>
> Département de Radiothérapie
>
> Service de physique médicale
>
>
>
> Tél. : 01 42 11 54 06
>
> www.gustaveroussy.fr
>
>   ------------------------------
>
> *De :* david.sarrut at gmail.com [mailto:david.sarrut at gmail.com] *De la part
> de* David Sarrut
> *Envoyé :* mardi 14 avril 2015 08:26
> *À :* REUZE SYLVAIN
> *Cc :* gate-users at lists.opengatecollaboration.org
> *Objet :* Re: [Gate-users] Issue with GateHounsfieldMaterialTable (CT
> import)
>
>
>
> Hello,
>
>
>
> 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.
>
>
>
> Just check this file in your case
>
>
>
> Sincerely,
>
> David
>
>
>
> On Tue, Apr 7, 2015 at 4:13 PM, REUZE SYLVAIN <
> SYLVAIN.REUZE at gustaveroussy.fr> wrote:
>
> Dear all,
>
>
>
> I still have an issue while opening CT images, with the example 2. I get
> this error message:
>
> GateHounsfieldMaterialTable.cc (l.124): Current H1=-1050 is different from previous H2=-950. Abort.
>
>
>
> 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 ?
>
> It doesn’t seem to change anything when I replace my
> GateHounsfieldMaterialTable file with the file from the patch.
>
> Does anyone have another solution ?
>
>
>
> Thanks in advance.
>
>
>
> Best regards,
>
>
>
> *Sylvain Reuzé *
>
> Stagiaire physicien
>
> Département de Radiothérapie
>
> Service de physique médicale
>
>
>
> Tél. : 01 42 11 54 06
>
> www.gustaveroussy.fr
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
>
>
> --
>
> David Sarrut, Phd
> Directeur de recherche CNRS
> CREATIS, UMR CNRS 5220, Inserm U 1044
>
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://www.creatis.insa-lyon.fr/~dsarrut
> _________________________________
>
>  "2 + 2 = 5,  for extremely large values of 2"
> _________________________________
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>



-- 
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/2d1a329a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 6696 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/2d1a329a/attachment-0001.gif>


More information about the Gate-users mailing list