[Gate-users] how to add voxel source transformation matrix (if needed)

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Wed Mar 28 13:23:51 CEST 2018


Hello Alex & Seb,

sure it is possible ! You can "attach" the source to a volume and rotate
the volume, the source will rotate as well.

/gate/source/mysource/*attachTo* phantom

It is up to you to translate the source according to the coordinate system
of the "phantom" volume (by default, it is centered).

HTH,
David



On Wed, Mar 28, 2018 at 1:12 PM, JAN Sebastien <sebastien.jan at cea.fr> wrote:

> Hi,
>
> You can only translate a voxelized source.
>
> Ex command line :
>
> /gate/source/hof_brain/setPosition                                -128.
> -128. 0. mm
>
> Cheers
>
> Seb
>
>
>
> *De :* Gate-users <gate-users-bounces at lists.opengatecollaboration.org> *De
> la part de* Alex Vergara Gil
> *Envoyé :* mercredi 28 mars 2018 12:12
> *À :* gate-users at lists.opengatecollaboration.org
> *Objet :* [Gate-users] how to add voxel source transformation matrix (if
> needed)
>
>
>
> Hello gate users
>
> I have a SPECT/CT hybrid images that are non registered automatically by
> the system, I used Slicer3D to make the spatial registration and I already
> have the transformation matrix that I can write in the mhd header of the
> SPECT (MHD header example: TransformMatrix = 1 0 0 0 1 0 0 0 1 \n Offset =
> 0 0 0).
>
> My question: Is Gate capable of translate (and rotate) the voxelized
> source accordingly? In case this is no, How can I say Gate to translate
> (and rotate the voxelized source image)?
>
> Best Regards
>
> Alex
>
> _______________________________________________
> Gate-users mailing list
> 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 U1206
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"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180328/7ee1ea4d/attachment.html>


More information about the Gate-users mailing list