[Gate-users] example of visualization with ImageRegularParametrisedVolume
Miller, Michael
Michael.a.Miller at philips.com
Thu Jan 24 20:30:31 CET 2019
Hi All,
Can anyone provide an example of how to visualize a ImageRegularParametrisedVolume phantom?
I'm creating the phantom like this:
/gate/world/daughters/name patient
/gate/world/daughters/insert ImageRegularParametrisedVolume
/gate/patient/geometry/setImage image.hdr
/gate/patient/geometry/setRangeToMaterialFile CT_range_file.dat
/gate/patient/attachPhantomSD
The image file, image.hdr, is in analyze format. The range file looks like this:
4
-1024 -950 Air false 0.0 0.0 0.0 0.2
-949 -200 Lung false 1.0 0.0 0.0 0.2
-199 200 Body false 0.0 1.0 0.0 0.2
201 4000 SpineBone true 0.0 0.0 1.0 1.0
When I visualize this with a heprep file, there are just lines at the voxel boundaries.
Mike
________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190124/a8e2a088/attachment.html>
More information about the Gate-users
mailing list