[Gate-users] Voxelized phantom and source voxel number issues
Simon Stute
gate.stute at gmail.com
Fri Jun 17 15:58:21 CEST 2011
Hi,
I think that GATE simply ignores the zero-value voxels, and thus does not
count them.
It speeds up then the calculation of where a new particle will born during
the simulation.
So everything is fine I think.
Cheers,
Simon
On Thu, Jun 16, 2011 at 3:30 PM, Emmanuel BRARD <emmanuel.brard at iphc.cnrs.fr
> wrote:
> Dear all,
>
>
>
> I am trying to load a voxellized phantom and a voxellized source in a Gate
> simulation. The phantom part seems to work properly with the ascii reader
> but I have issues with the source. I tried two ways to load it. First with
> an ascii file containing the three dimensions on the first line and the
> three sizes on the second line :
>
>
>
> 256 256 174
>
> 0.145 0.145 0.145
>
> 0 0 0 0 0 0 0 0 0 0 1 2 32 1 1 1 0 .
>
> .
>
>
>
> The remaining lines contain the voxel values as integers. When I start Gate
> the voxel reader tells that it read 4371267 voxels only, yet the total
> activity seems to be right.
>
>
>
> I also tried with interfile files. But here again the total number of voxel
> is wrong whereas the activity seems right again. I use a linear translator
> for the time begin for both method.
>
>
>
> I tried a hexdump on the binary file and I get the correct number of voxels
> :
>
>
>
> > hexdump -ve '1/2 "%u\t" "\n"' source.i33 | wc -l
>
> 11403264
>
>
>
> The only way all these can be true is if there is a variable voxel size
> which might implies a clustering of equal-valued voxels. But according to
> the online documentation this is not yet implemented (Gate 6.0).
>
>
>
> I cannot see where I am wrong here.
>
>
>
> Thank you,
>
>
>
> Emmanuel BRARD
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list