<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Consolas",serif;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle21
        {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 bgcolor="white" lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Thank you for your response.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">So, cdf file format doesn’t need to be time sorted ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">That means that I can treat each projection sequentially and fill the binary cdf file according to the format provided in the documentation, doesn’it ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">I am not sure what ‘un-normalised scatter intensity’ is about and how to compute this value. This relates to the question : “how do we deal with projections centered in scatter windows ?”.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">I guess also that the normalization factor embedded in 4<sup>th</sup> position is a way of calibrating images in terms of what suits your need. But just a bet.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Ludovic<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext;mso-fareast-language:FR">De :</span></b><span style="color:windowtext;mso-fareast-language:FR"> Castor-users <castor-users-bounces@lists.castor-project.org>
<b>De la part de</b> Simon Stute<br>
<b>Envoyé :</b> mercredi 15 mai 2019 10:39<br>
<b>À :</b> castor-users@lists.castor-project.org<br>
<b>Objet :</b> Re: [Castor-users] SPECT reconstruction<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Ludovic,<br>
<br>
This datafile converter from CASToR is indeed related to ROOT and is adapted to GATE simulated data only.<br>
<br>
So you will have to build your own converter.<br>
<br>
To do so, you will have to decode the format of the original SPECT data. It is usually DICOM, so easy to do, but you have to search through the many DICOM header entries to get all you need.<br>
Then, all relevant information about the SPECT castor datafile format is included in the documentation, for both binary cdf and ascii header cdh files.<br>
You will have to create a program to do the reading, convertion and writing.<br>
<br>
Cheers<br>
Simon<br>
<br>
Le 14/05/2019 à 23:12, Ferrer Ludovic a écrit :<span style="font-size:12.0pt;mso-fareast-language:FR"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-GB">Dear castors,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I would like to use castor to reconstruct SPECT images.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I understand from the documentation that you should provide a cdh file along with a bunch of options. But, how this cdh file is related to my acquired SPECT images is not clear.
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Is this cdf file created by castor-DataFileConverter ? If yes,  this application is absent from the binary distribution I got from internet (windows x64 version). I also compiled from sources but it was also absent as
 a binary file. Is it related to the fact that I don’t have ROOT installed in my system (windows 10) ?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Could you shed lights on this please ?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Ludovic</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Castor-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Castor-users@lists.castor-project.org">Castor-users@lists.castor-project.org</a><o:p></o:p></pre>
<pre><a href="https://smex12-5-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.castor%2dproject.org%2flistinfo%2fcastor%2dusers&umid=9f95c945-b8c1-4b5d-a0c0-ac9a42a15b4c&auth=5e43a6c06f9b1310984b164e6a5e1f834764f5a0-7117dbebff5bbbc7deaf473692f83a7e86369b21">http://lists.castor-project.org/listinfo/castor-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
</body>
</html>