[Gate-users] GateHounsfieldToMaterialsBuilder active by default?
Boersma David
david.boersma at medaustron.at
Mon Apr 16 10:53:45 CEST 2018
Hi Clemens,
The HU builder is only “active” if you explicitly add it in your macro AND you actually use its output.
The only thing the HU builder does is to compute new conversion tables (HU to material, and a corresponding material database) and to store these into text files. The builder does *not* load the built material database file into “the” Gate material database. See e.g. GateContrib/dosimetry/Radiotherapy/example3/mac/target-CT.mac:
- the “generator” lines are “activating” the HU builder, which writes the two specified text files.
- with the “setMaterialDatabase” and the “setHUToMaterialFile” the user actively uses HU builder output.
So, no the builder is not active by default. It sounds like that in your case you should just write your own “materials.db” and “HU2-mat.txt” text files, do not use the HU builder for that.
HTH,
DavidB
From: Gate-users [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of C S
Sent: Monday, April 16, 2018 10:32 AM
To: gate-users <gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] GateHounsfieldToMaterialsBuilder active by default?
Dear fellow Gate users,
I only recently stumbled upon the GateHounsfieldToMaterialsBuilder when looking through github issues:
https://github.com/OpenGATE/Gate/issues/37<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenGATE%2FGate%2Fissues%2F37&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C89051d1a12254d937c7e08d5a374cd87%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C0%7C636594644424873518&sdata=AxJ5MeRrhzlTEr3yjeq9lLFQNSQj6dK3P2iWx4k1gc8%3D&reserved=0>
Is this builder active by default?
Context:
I use FixedForcedDetection in Gate7.2 with discrete materials. I segment my volumes outside of Gate and with one number per material for encoding them. So my hu2mat.txt looks like
-5 5 Air
5 15 Adipose
15 25 Bone
and my volume only has three discrete values 0, 10 or 20 representing the materials. In short, I don't want the builder to be active. (as far as I understand it)
Thank you for your help!
Best
Clemens
Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180416/6bd67a0d/attachment.html>
More information about the Gate-users
mailing list