[Gate-users] Voxelized phantom and source (tahereh zare)

Sophia Pells sophia.pells at manchester.ac.uk
Fri Oct 8 13:31:06 CEST 2021


Hi Tahereh,

Have you included a file to convert between the voxel values in your image and the materials?  I get the same error message if I miss the line

/gate/patient/PHANTOM_NAME/setHUToMaterialFile PhantomHU2mat.txt,

or if there is a problem with the HU2mat file. The HU2mat file should be a list of voxel value ranges and their corresponding material in your material file. There are some examples on the GATE  Github, e.g. in https://github.com/OpenGATE/GateContrib/tree/master/dosimetry/doseactor/voxelized-phantom

Best wishes,

Sophia


----------------------------------------------------------------------
From: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> on behalf of gate-users-request at lists.opengatecollaboration.org <gate-users-request at lists.opengatecollaboration.org>
Sent: Friday, October 8, 2021 11:00
To: gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Subject: Gate-users Digest, Vol 185, Issue 7

Send Gate-users mailing list submissions to
        gate-users at lists.opengatecollaboration.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
        gate-users-request at lists.opengatecollaboration.org

You can reach the person managing the list at
        gate-users-owner at lists.opengatecollaboration.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."


Today's Topics:

   1. Voxelized phantom and source (tahereh zare)


----------------------------------------------------------------------

Message: 1
Date: Fri, 8 Oct 2021 07:29:40 +0200
From: tahereh zare <taherehzare.2965 at gmail.com>
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Voxelized phantom and source
Message-ID:
        <CACgif-eXFBo82_jLc0S=BiT8qOE+3b-ivt+jz1G9WUsrMDEkqg at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Dear Gate users;

I'm using Gate version 7.2 on an Oracle VM virtual box machine and I
am trying to simulate a PET scan. I have followed the user's guide
instructions to define the voxelized phantom and source.  But I get
this error when running the mac file:
since the release 9.5 - Need to be fixed
 Header read from       'hoffman_phantom.h33'
 Data file name         'hoffman_phantom.i33'
 Nb of planes:           19
 Nb of pixels per plane: 196 196
 Pixel size:             1.25 1.25
 Slice thickness:        10
 Matrix size:            245 245
 Data type:              UNSIGNED INTEGER
 Bytes per pixel:        2
 Data byte order:        LITTLEENDIAN
 Machine byte order:     LITTLEENDIAN

[Core-0] "LoadImageMaterialsFromRangeTable" = [
LoadImageMaterialsFromRangeTable ]
GateVImageVolume.cc (l.637):  I find R=0 in the image, while range stop at -1

Error opening file.
     LITTLEENDIAN

Can anyone help me?
Thanks so much
T. Zare


------------------------------

Subject: Digest Footer

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

------------------------------

End of Gate-users Digest, Vol 185, Issue 7
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20211008/f983290b/attachment.html>


More information about the Gate-users mailing list