[Gate-users] DICOM READER

Thomas DESCHLER Thomas.Deschler at iphc.cnrs.fr
Tue Nov 21 17:59:32 CET 2017


Hi Luc,

For an example of DICOM reading you can have a look here
<https://github.com/OpenGATE/GateContrib/tree/master/imaging/DICOM/mhd-dcm-comparison>
.

To input all your DICOM CT files into Gate, you only need to give the path
of one DICOM file with the command *setImage* and Gate will automatically
find all the other DICOM files.

In your case just put in your macro : /gate/patient/geometry/*setImage
 data/CT.1487916943.746.1.dcm *and remove all the other setImage lines.

I hope these tips will help you !

Sincerely,

Thomas

*Thomas DESCHLER*
Doctorant en Radiophysique médicale
Institut Pluridisciplinaire Hubert Curien <http://www.iphc.cnrs.fr/>
Département Recherches Subatomiques
<http://www.iphc.cnrs.fr/spip.php?page=rubrique&id_rubrique=143> - Groupe
DeSis
Bâtiment 35, Bureau 208

Thomas.Deschler at iphc.cnrs.fr
<https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=Thomas.Deschler@iphc.cnrs.fr>
(+33) 03 88 10 63 95 <+33388106395>
(+33) 06 20 96 07 49 <+33620960749>

2017-11-21 17:20 GMT+01:00 Luc SIMON <uhqd75 at gmail.com>:

> Dear Gaters
>
> In the Release notes of GATE v8.0 we found  a DICOM reader possibility.
> It is written :
> - DICOM Reader
> #For details:
> #http://wiki.opengatecollaboration.org/index.php/Users_Guide_V8.0:
> Voxelized_Source_
> and_Phantom#Examples
>
>
> When I go to this link I do not really find any DICOM reader example. I
> found some old .mhd reading examples.
> My question is simple : do you have any simple exemples of a macro
> including a DICOM CT reading.
> As DICOM images are not a single file, but a file for each slice, should I
> include in my macro something like
>
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.1.dcm
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.2.dcm
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.3.dcm
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.4.dcm
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.5.dcm
> /gate/patient/geometry/setImage
> data/CT.1487916943.746.6.dcm
> ... (etc, ... one line per image)
>
> Thank you for any help.
>
> Luc
>
>
> --
> ___________________
>
> SIMON Luc, Physicien Médical, PhD
> Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole -
> Toulouse, FRANCE
> INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20171121/93a4892e/attachment.html>


More information about the Gate-users mailing list