[Gate-users] GATE 7.0 GPU PET example; incomplete phantom?

肖期德 xiao7760091 at gmail.com
Wed May 14 14:52:44 CEST 2014


Hello everyone,

I did as Patay Gergely said,and had no problems


on 2014年05月14日 19:07, Patay Gergely wrote:
> Hello everyone,
>
> I encountered this bug too.
> Actually, even the main-cpu.mac won't work out-of-the-box, because the
> Gate[Geometry|Source]VoxelInterfileReader::ReadData function assumes 
> that the
> binary data has the extension ".i33" regardless of the "name of data 
> file" row
> in the .hdr file.
> This can easily circumvent by renaming 'thorax_phantom.bin' to
> 'throrax_phantom.i33' (or alternatively, not overwriting the 
> m_dataFileName
> variable with a hardcoded one).
>
> A more serious issue is that the GPU version does not seem to respect the
> /gate/source/srcvoxel/setPosition command (and the voxel size 
> information from
> the interfile header), so the phantom is out of the FOV.
> See the attached plot where red (CPU) and blue (GPU) dots represent 
> the source
> positions from Singles.dat files.
>
> cheers,
>   Gergely
>
> ---
>
> Gergely Patay
>   physicist
> Mediso Medical Imaging Systems Ltd.
> Hungary
>
>
>
> On 2014-05-14 10:11, JAN Sebastien wrote:
>> Hi Bryan,
>>
>> In the ccmake interface, did you set ON the following variable:
>>
>> GATE_DOWNLOAD_EXAMPLES_DATA
>>
>> ?
>>
>> Cheers
>>
>> Seb
>>
>> *De :*gate-users-bounces at lists.opengatecollaboration.org
>> [mailto:gate-users-bounces at lists.opengatecollaboration.org] *De la 
>> part de*
>> Bryan McIntosh
>> *Envoyé :* mardi 13 mai 2014 17:12
>> *À :* gate-users at lists.opengatecollaboration.org
>> *Objet :* [Gate-users] GATE 7.0 GPU PET example; incomplete phantom?
>>
>> Hi everyone,
>>
>> I successfully installed GATE 7.0 and the Nvidia CUDA tools 
>> yesterday, and am
>> eager to try out one of the GPU examples on my workstation. However, 
>> when I
>> attempt to run the PET example it looks like there may be a problem 
>> with the
>> thorax_phantom.bin that was downloaded during the installation. The 
>> exact error
>> message is:
>>
>> *** G4Exception : GeomSolids0002
>>
>>        issued by : G4Box::G4Box()
>>
>> Dimensions too small for Solid: ncat_solid!
>>
>>       hX, hY, hZ = 0, 0, 0
>>
>> Has anyone else run into this? is there a different phantom file that 
>> I should
>> be using? The MD5 hash on the file seems to match with the
>> thorax_phantom.bin.md5 file that was provided in the example folder.
>>
>> Thanks for your time,
>>
>> -Bryan
>>
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140514/bf6b09c5/attachment.html>


More information about the Gate-users mailing list