<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Tianquan,</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 04/06/2019 07:03, 王天泉 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7b1d62eb.6a72.16b20dea869.Coremail.wangtq17@lzu.edu.cn">
<pre class="moz-quote-pre" wrap="">Dear CasTor users,
I had a problem when I used the castor to reconstruct image. here are the steps.
1. define the system and simulation, cylindricalPET, Root files.
2. a) by "castor-PetScannerLutEx -alias ini.mac", generating the "ini.mac.lut" and "ini.mac.hscan" files;
b) by "castor-GATEMacToGeom -m ini.mac -o out", generating the "out.geom" file.</pre>
</blockquote>
<p> You don't really need to use these two binaries in your case.
You can just use <i>castor-GATERootToCastor</i> (see below)<br>
</p>
<p> - <i>castor-PetScannerLutEx</i> is just an example code to help
generating a LUT for castor for a specific system. The geometrical
characteristics of the new system must be implemented directly in
the code. For GATE you have more automatic tools.<br>
</p>
<p>- <i>castor-GATEMacToGeom</i> does generate the castor geometry
file (.geom) for your GATE simulation, but you can do it directly
with <i>castor-GATERootToCastor</i> as described below.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:7b1d62eb.6a72.16b20dea869.Coremail.wangtq17@lzu.edu.cn">
<pre class="moz-quote-pre" wrap="">
3. by "castor-GATERootToCastor -i ../output/out.root -o ../output/w -m ini.mac -s ~/progs/Castor/castor_v2.0.3/config/scanner/ini.mac.lut" to generate files, but I always got the problem, which were
"0 : ini.mac
***** sScannerManager::FindScannerSystem() -> Scanner '/home/jack/progs/Castor/castor_v2.0.3/config/scanner/ini.mac.lut' is not known in the scanner repository. Please provide a LUT/generic file for this scanner in the scanner repository in: /home/jack/progs/Castor/castor_v2.0.3/config/scanner/"
Then I also tried the '.geom' files, but I also had the same problem.
What should I do to solve it? Thanks for your help!
Your Sincerely
Tianquan
_______________________________________________
Castor-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org">Castor-users@lists.castor-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users">http://lists.castor-project.org/listinfo/castor-users</a>
</pre>
</blockquote>
<br>
<p>You should add the <i>-geo</i> option to your command-line which
will automatically generate the geometry file in the scanner
repository (basically doing the same as castor-GATEMacToGeom). You
should not provide the path to your system file to the <i>-s </i>option,
but the alias of the system (the file name). It will look for this
file in the scanner repository (config/scanner). So you can
either:</p>
<p>- Just use "<i>-s my_scan</i>" in your command-line, it will look
for a file called "<i>my_scan.geom</i>" or "<i>my_scan.hscan</i>"
in the scanner repository. In your case, you already have an <i>out.geom</i>
file corresponding to your geometry, so you can use "<i>-s out</i>"<br>
</p>
<p>- (recommended) Add <i>-geo </i> to your command-line, it will
generate the geometry file using the name provided with the <i>-s
</i>option.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Thibaut<br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Thibaut MERLIN -- PhD
Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Institut Brestois de recherche en Bio-Santé (IBRBS)
12 Avenue Foch, 29200 Brest, FRANCE
Tel: 06.75.12.24.90</pre>
</body>
</html>