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

REUZE SYLVAIN SYLVAIN.REUZE at gustaveroussy.fr
Tue Apr 14 15:10:13 CEST 2015


No, I only tried with Gate 7.0 ; I have an issue with Gate v7.1 and the last version of Geant4 (problem with the patch 01, already mentioned in another thread).
I will try your suggestion as soon I will be able to install Gate 7.1
Do you know where I could download Geant4 10.1 without the last patch ?

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<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D076C5.1B2A8270]
________________________________
De : david.sarrut at gmail.com [mailto:david.sarrut at gmail.com] De la part de David Sarrut
Envoyé : mardi 14 avril 2015 09:00
À : REUZE SYLVAIN
Cc : gate-users at lists.opengatecollaboration.org; ROBERT CHARLOTTE
Objet : Re: [Gate-users] Issue with GateHounsfieldMaterialTable (CT import)


On Tue, Apr 14, 2015 at 8:40 AM, REUZE SYLVAIN <SYLVAIN.REUZE at gustaveroussy.fr<mailto: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<tel:01%2042%2011%2054%2006>
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D076C5.1B2A8270]
________________________________
De : david.sarrut at gmail.com<mailto:david.sarrut at gmail.com> [mailto: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<mailto: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<mailto: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<tel:01%2042%2011%2054%2006>
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D076C5.1B2A8270]


_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto: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<tel:04%2078%2078%2051%2051> / 06 74 72 05 42<tel:06%2074%2072%2005%2042>
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<mailto: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"
_________________________________
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/f3eab6b5/attachment-0001.html>
-------------- section suivante --------------
Une pi?ce jointe autre que texte a ?t? nettoy?e...
Nom: image001.gif
Type: image/gif
Taille: 6696 octets
Desc: image001.gif
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150414/f3eab6b5/attachment-0001.gif>


More information about the Gate-users mailing list