<HTML>
<HEAD>
<TITLE>Re: [Gate-users] Ask for help about voxellized phantom</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana">Hi Sheng ye,<BR>
<BR>
You need a translation table to associate the voxel values with a material. You’ll find an example on page 84 of the GATE User’s Guide V3.0.0.<BR>
<BR>
Richard<BR>
On 2/12/07 7:52 PM, "sheng ye" <beyond071@gmail.com> wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">Hi Richard<BR>
<BR>
I have a problem on making a phantom.dat. I have put the nx, ny, nz ,dx ,dy ,dz on the first line, then put the pixel numbers. I write a C program to do this, i use "\n" to separate each number, and the number is store as a unsigned integer(2 bytes).But when i put this phantom.dat in the mac file, it requests me to make a table.dat to be the translator.Can you help me for giving an example for this table.dat, how can i make the materials to relate with the pixel numbers? Thanks, i am look forward to your reply. <BR>
<BR>
<BR>
<BR>
yours, Sheng ye<BR>
<BR>
2007.2.13<BR>
<BR>
2007/2/13, Richard Taschereau <RTaschereau@mednet.ucla.edu>: <BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">The "parameterizedBoxMatrix" is not available with Gate 1.0.2. <BR>
<BR>
Richard <BR>
<BR>
<BR>
On 2/9/07 10:44 PM, "sheng ye" <beyond071@gmail.com <mailto:beyond071@gmail.com> > wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">Hi all,<BR>
<BR>
I got a problem while making a voxellized phantom. It could be<BR>
found in chapter 7 of Users Guide, which about how to write a voxellized<BR>
phantom. It says that parameterized volume method is now <BR>
available in GATE for voxellized phantoms. And it gives the keyword<BR>
"parameterizedBoxMatrix" in the insert command: <BR>
<BR>
/gate/world/daughters/name anyname <BR>
/gate/world/daughters/insert parameterizedBoxMatrix. <BR>
<BR>
I followed the guide,but error occurs during GATE running.The<BR>
error is "parameter value is not listed in the candidate list", now i <BR>
don't know how to deal with it. Thanks for anyone who can help me. <BR>
I am looking forward to the reply.<BR>
<BR>
In addition, My OS platform is Linux Redhat 9.0, Gate version is<BR>
1.0.2, Geant4 version is 4.5.2.<BR>
<BR>
The follows is my phantom.mac:<BR>
<BR>
#VOXELIZED MATRIX ZUBAL PHANTOM <BR>
#Create a zubal lung phantom <BR>
/gate/world/daughters/name phantom<BR>
/gate/world/daughters/insert parameterizedBoxMatrix<BR>
<BR>
#Read the file: a 420*420*1 array<BR>
/gate/phantom/geometry/insertReader image<BR>
/gate/ phantom/imageReader/insertTranslator tabulated <BR>
/gate/phantom/imageReader/tabulated Translator/readTable zubalTable.dat<BR>
/gate/phantom/imageReader/readFile zubal420phantom.dat<BR>
<BR>
#Place the phantom and rotate it so that it is in the XYplane<BR>
/gate/phantom/placement/setTranslation 0 - 0 mm <BR>
<BR>
#Attach the phantom SD<BR>
/gate/phantom/attachVoxelPhantomSD<BR>
<BR>
<BR>
sincerely,<BR>
beyond071@gmail.com <mailto:beyond071@gmail.com> <BR>
2007.2.10<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT><FONT FACE="Monaco"><TT>_______________________________________________<BR>
Gate-users mailing list<BR>
Gate-users@lists.healthgrid.org<BR>
http://lists.healthgrid.org/mailman/listinfo/gate-users <http://lists.healthgrid.org/mailman/listinfo/gate-users> <BR>
<BR>
</TT></FONT></BLOCKQUOTE><FONT FACE="Monaco"><TT><BR>
</TT></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Verdana"><BR>
<BR>
-- <BR>
<FONT COLOR="#0000FF"><I>Richard Taschereau, Ph.D.<BR>
CRUMP Institute for Molecular Imaging<BR>
University of California Los Angeles<BR>
700 Westwood Plaza A222<BR>
Los Angeles, CA 90095-1770<BR>
Phone: (310) 825-0697<BR>
Fax: (310) 206-8975<BR>
email: RTaschereau@mednet.ucla.edu<BR>
</I></FONT><BR>
</FONT>
<br>----------------------------------------------------------<br>IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the recipient, please immediately notify us by return email, and delete this message from your computer.<br>----------------------------------------------------------</BODY>
</HTML>