<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Johannes,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The problem is that some data that are required to reconstruct an image are missing in the ECAT7 header. An example is the ring diameter. It is
not possible to store the ring diameter in a ECAT7 file (neither the number of detectors per ring).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As STIR requires this information, it has a database for each known scanner model. What is printed at the end of your email is not the content
of the ECAT7 header, but the content of STIR database:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">WARNING: ECAT7 IO: Bin size from header.x_resolution (2.00714) does not agree with expected value 2.25<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">for scanner ECAT 962. Using bin size from header...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Info for file yourSinogram.S<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">ProjDataInfoCylindricalNoArcCorr :=
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Scanner parameters:=
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Scanner type := ECAT 962<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of rings := 32<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of detectors per ring := 576<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Inner ring diameter (cm) := 82.4<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Average depth of interaction (cm) := 0.7<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Distance between rings (cm) := 0.485<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Default bin size (cm) := 0.200714<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">View offset (degrees) := 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Maximum number of non-arc-corrected bins := 288<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Default number of arc-corrected bins := 288<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of blocks per bucket in transaxial direction := 3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of blocks per bucket in axial direction := 4<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of crystals per block in axial direction := 8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of crystals per block in transaxial direction := 8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of detector layers := 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of crystals per singles unit in axial direction := 8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Number of crystals per singles unit in transaxial direction := 24<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">end scanner parameters:=<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As you set the scanner model to zero in your ECAT7 file (#/gate/output/ecat7/system 962 ), STIR does not recognize it. As a consequence, STIR
assumes it is an HR+ (default scanner):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">WARNING: ECAT7 IO: Couldn't determine the scanner
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">(Main_header.system_type=0), defaulting to 962.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This might give dramatic problems.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You should define a new scanner model ID in GATE, like /gate/output/ecat7/system 492, and create in STIR the corresponding database. I do not
know how to create your own database in STIR.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Claude<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gate-users-bounces@lists.opengatecollaboration.org [mailto:gate-users-bounces@lists.opengatecollaboration.org]
<b>De la part de</b> Johannes Anderl<br>
<b>Envoyé :</b> mercredi 2 octobre 2013 10:49<br>
<b>À :</b> gate-users@lists.opengatecollaboration.org<br>
<b>Objet :</b> [Gate-users] ECAT7 output with user defined scanner<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">Dear all,<br>
<br>
I have a problem concerning the ECAT7 Output. <br>
I would like to simulate a user defined scanner and not the E962 scanner type. <br>
The created yourSinogram.S file still contains the default values (ring diameter, detectors per ring,...) for the E962 scanner model.<br>
Is there a possbility to get this ECAT7 *.S output with the user defined scanner values?<br>
<br>
The code for the user defined scanner type can be seen below:<br>
<br>
/gate/world/daughters/name ecat<br>
/gate/world/daughters/insert cylinder<br>
/gate/ecat/setMaterial Air<br>
/gate/ecat/geometry/setRmax 44.1 cm<br>
/gate/ecat/geometry/setRmin 42.1 cm<br>
/gate/ecat/geometry/setHeight 21.7685 cm<br>
/gate/ecat/vis/forceWireframe<br>
<br>
# B L O C K<br>
/gate/ecat/daughters/name block<br>
/gate/ecat/daughters/insert box<br>
/gate/block/placement/setTranslation 431.0 0.0 0.0 mm <br>
/gate/block/geometry/setXLength 20.0 mm <br>
/gate/block/geometry/setYLength 52.17127 mm<br>
/gate/block/geometry/setZLength 52.17127 mm<br>
/gate/block/setMaterial Air<br>
/gate/block/vis/forceWireframe<br>
<br>
# C R Y S T A L<br>
/gate/block/daughters/name crystal<br>
/gate/block/daughters/insert box<br>
/gate/crystal/geometry/setXLength 20.0 mm<br>
/gate/crystal/geometry/setYLength 4 mm<br>
/gate/crystal/geometry/setZLength 4 mm<br>
/gate/crystal/setMaterial LSO<br>
/gate/crystal/vis/setColor yellow<br>
<br>
# R E P E A T C R Y S T A L<br>
/gate/crystal/repeaters/insert cubicArray<br>
/gate/crystal/cubicArray/setRepeatNumberX 1<br>
/gate/crystal/cubicArray/setRepeatNumberY 13<br>
/gate/crystal/cubicArray/setRepeatNumberZ 13<br>
/gate/crystal/cubicArray/setRepeatVector 0. 4.0142725 4.0142725 mm<br>
<br>
# R E P E A T BLOCK (reproduziert die Box entlang eines Rings)<br>
/gate/block/repeaters/insert linear<br>
/gate/block/linear/setRepeatNumber 4<br>
/gate/block/linear/setRepeatVector 0. 0. 55.17127 mm<br>
/gate/block/repeaters/insert ring<br>
/gate/block/ring/setRepeatNumber 48<br>
<br>
The ecat7 code can be seen below:<br>
<br>
/gate/output/ecat7/enable<br>
/gate/output/ecat7/verbose 2<br>
/gate/output/ecat7/setFileName yourSinogram<br>
/gate/output/ecat7/describe<br>
/gate/output/ecat7/mashing 2<br>
/gate/output/ecat7/span 103<br>
/gate/output/ecat7/maxringdiff 51<br>
#/gate/output/ecat7/system 962 <br>
<br>
Looking at the values from the yoursinogram.S using list_projdata_info from STIR shows:<br>
<br>
<br>
WARNING: ECAT7 IO: Couldn't determine the scanner <br>
(Main_header.system_type=0), defaulting to 962.<br>
This might give dramatic problems.<br>
<br>
<br>
WARNING: ECAT7 IO: Bin size from header.x_resolution (2.00714) does not agree with expected value 2.25<br>
for scanner ECAT 962. Using bin size from header...<br>
Info for file yourSinogram.S<br>
ProjDataInfoCylindricalNoArcCorr := <br>
Scanner parameters:= <br>
Scanner type := ECAT 962<br>
Number of rings := 32<br>
Number of detectors per ring := 576<br>
Inner ring diameter (cm) := 82.4<br>
Average depth of interaction (cm) := 0.7<br>
Distance between rings (cm) := 0.485<br>
Default bin size (cm) := 0.200714<br>
View offset (degrees) := 0<br>
Maximum number of non-arc-corrected bins := 288<br>
Default number of arc-corrected bins := 288<br>
Number of blocks per bucket in transaxial direction := 3<br>
Number of blocks per bucket in axial direction := 4<br>
Number of crystals per block in axial direction := 8<br>
Number of crystals per block in transaxial direction := 8<br>
Number of detector layers := 1<br>
Number of crystals per singles unit in axial direction := 8<br>
Number of crystals per singles unit in transaxial direction := 24<br>
end scanner parameters:=<br>
<br>
<br>
Thanks in advance,<br>
<br>
Johannes <br>
<o:p></o:p></span></p>
</div>
</div>
</body>
</html>