<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=GB2312" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Guifen,<br>
<br>
the activity maps you created using STIR are of float 32bit data format.<br>
GATE so far accepts activity or attenuation maps (voxelised sources or
phantoms ) of unsigned integer 16 bit data format.<br>
So you need a simple script that will convert the STIR generated maps
to an unisgned integer 16bit data format without modifying any
information, so that GATE would be able to read it.<br>
<br>
<br>
Best regards<br>
Nicolas<br>
<br>
<br>
<br>
<br>
Guifen Lin wrote:
<blockquote cite="mid682045.60348.qm@web15702.mail.cnb.yahoo.com"
type="cite">
<div>Dear all gate-users</div>
<div>I want to read the voxellized sources in an IneterFile image.<br>
Here is my steps:<br>
1)using STIR to generate an 3D image<br>
/STIR/bin/generate_image generate_image.par<br>
the results are image.hv,image.ahv,image.v<br>
2)using AMIDE to transform these files into IneterFile image files<br>
the results are my.i33,my.h33<br>
3)using GATE to simulate the voxellized sources</div>
<div>The screen shows the error.(see "Voxel_error")<br>
Could you tell me how to generate an 3D image that can be used for the
voxellized sources by GATE.</div>
<div>Best wishes!<br>
</div>
<p> </p>
<hr size="1"><a href="http://cn.mail.yahoo.com" target="blank">ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊ
Ïä3.5GÈÝÁ¿£¬20M¸½¼þ£¡</a>
<pre wrap="">
<hr size="4" width="90%">
2
50 50 20
150 150 200
__________ NOD32 2277 (20070518) Information __________
This message was checked by NOD32 antivirus system.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
<pre wrap="">
<hr size="4" width="90%">
physicsList->Construct() start.
physicsList->Construct() start.
G4ProcessManager::GetAttribute(): particle[GenericIon]
index out of range
#processes[3] index [-1]
G4ProcessManager::GetAttribute(): particle[GenericIon]
index out of range
#processes[3] index [-1]
physicsList->setCut() start.
WARNING !
SetCutValueForOthers became obsolete.
It is harmless to remove this invokation without any side effects.
This dummy method implementation will be removed soon.
Warning: the selected insertion name ('adder') was already in use.
Name 'adder2' will be used instead.
Nof Higher level 2
Range Translator
Range 0 : imageValue in [ 5.000e+01 , 5.000e+01 ] ---> activity (Bq) 1.000e+02
Range 1 : imageValue in [ 1.500e+02 , 1.500e+02 ] ---> activity (Bq) 1.000e+03
GateSourceVoxelImageReader::ReadFile : fileName: my.h33
'nrecognised type name 'short float
Header read from 'my.h33'
'Data file name '/usr/local/gate/Gate_Reconstruction/my.i33
Nb of planes: 35
Nb of pixels per plane: 56 56
Pixel size: 1.000e+00 1.000e+00
Slice thickness: 1.500e+00
Matrix size: 5.600e+01 5.600e+01
Data type:
'!ror: Could not open header file '/usr/local/gate/Gate_Reconstruction/my.i33
Ignoring confine condition
Source ---------------> voxel_brain
ID : 0
type : backtoback
startTime (s) : 0.000e+00
time (s) : 0.000e+00
forcedUnstable : 1
forcedLifetime (s) : 9.502e+03
verboseLevel : 0
-----------------------
Voxel reader ----------> number of voxels : 0
total activity (Bq) : 0.000e+00
position (mm) : 0.000e+00 0.000e+00 0.000e+00
voxel size (mm) : 1.000e+00 1.000e+00 1.000e+00
GPS info ---------------->
particle : gamma
SourcePosType : Point
Shape : NULL
Positron Range : NULL
halfx,halfy,halfz (mm) : 0.000e+00 0.000e+00 0.000e+00
Radius (mm) : 0.000e+00
Radius0 (mm) : 0.000e+00
CentreCoords (mm) : 0.000e+00 0.000e+00 0.000e+00
Direction : (1.000e+00,0.000e+00,0.000e+00)
Confine : 0
VolName : NULL
EnergyDisType : Mono
MonoEnergy (MeV) : 5.110e-01
MinTheta, MaxTheta (deg) : 0.000e+00 1.800e+02
MinPhi, MaxPhi (deg) : 0.000e+00 3.600e+02
--------------------------
GateSourceMgr::ListSources: List of the sources in the source managaer
Source ---------------> voxel_brain
ID : 0
type : backtoback
startTime (s) : 0.000e+00
time (s) : 0.000e+00
forcedUnstable : 1
forcedLifetime (s) : 9.502e+03
verboseLevel : 0
-----------------------
Volume of the same name and copy number ("world_P", copy 0) still exists and is being used.
Be warned that this does not necessarily guarantee it's the same
volume you originally specified in /vis/scene/add/.
__________ NOD32 2277 (20070518) Information __________
This message was checked by NOD32 antivirus system.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a>
<a class="moz-txt-link-freetext" href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a>
__________ NOD32 2277 (20070518) Information __________
This message was checked by NOD32 antivirus system.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
</blockquote>
<br>
</body>
</html>