<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hello Simon,<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;mso-fareast-language:EN-US"><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;mso-fareast-language:EN-US">Glad to hear you’re still actively maintaining RTK
</span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D;mso-fareast-language:EN-US">J</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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;mso-fareast-language:EN-US">I made some tests following your advices, and everything is now working fine!<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;mso-fareast-language:EN-US">I had already started playing with the projections origin, but I was missing the point about the rotation convention.<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;mso-fareast-language:EN-US">I guess the xxx.75 origin coordinates are related to the origin being at the “center” of the pixel?<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;mso-fareast-language:EN-US"><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;mso-fareast-language:EN-US">Regards,<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;mso-fareast-language:EN-US"><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;mso-fareast-language:EN-US">Albert
<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;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">De :</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Simon Rit [mailto:simon.rit@creatis.insa-lyon.fr]
<br>
<b>Envoyé :</b> jeudi 22 juin 2023 11:47<br>
<b>À :</b> Albert MURIENNE <Albert.MURIENNE@b-com.com><br>
<b>Cc :</b> rtk-users@openrtk.org<br>
<b>Objet :</b> Re: [Rtk-users] Problem reconstructing from synthetic data<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Albert,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Nice to hear that you are still working on CT. There are two things that must be accounted for<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">- there is a difference in convention for the rotation angle between gVirtualXRay and RTK,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">- the projections are not centered if the origin is 0.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The following command lines work for me:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">rtksimulatedgeometry -n 360 -a -360 -o g  --sdd 1000 --sid 500<br>
rtkfdk -p . -r 'projection([0-9]*).tif' -o fdk.mha --neworigin -159.75,-119.75,0 --newspacing 0.5 --nsort --submatch 1 --hardware cuda -g g</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">Let me know if something is unclear,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Simon<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Wed, Jun 21, 2023 at 10:04 AM Albert MURIENNE <</span><a href="mailto:Albert.MURIENNE@b-com.com"><span lang="EN-US">Albert.MURIENNE@b-com.com</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hello,<br>
<br>
I'm struggling to reconstruct properly a synthetic projection images sequence using RTK.<br>
The sequence was generated using gVirtualXRay (</span><a href="https://gvirtualxray.fpvidal.net/" target="_blank"><span lang="EN-US">https://gvirtualxray.fpvidal.net/</span></a><span lang="EN-US">) and a dragon 3D model, and represents a full 360 degrees CBCT
 tomographic sequence, with a 500mm SID and 1000mm SDD, 0.5mm pixel size with a 640x480 image resolution, and without any offsets (perfect circular geometry). I tried reconstructions with the simplest FDK and SART implementations, inspired by RTK provided code
 examples, using rtk::ProjectionsReader to read the images and rtk::ThreeDCircularProjectionGeometry to read the geometry, but the results are not good, and I don't really know if the problem comes from the data or from my reconstruction implementation.<br>
<br>
The images data, as well as the xml geometry I generated, are available for download at this link:<br>
<br>
</span><a href="https://filesender.renater.fr/?s=download&token=bc8f87b4-989c-46d7-8c4b-dac39a4df0e1" target="_blank"><span lang="EN-US">https://filesender.renater.fr/?s=download&token=bc8f87b4-989c-46d7-8c4b-dac39a4df0e1</span></a><span lang="EN-US"><br>
<br>
Could you help me pinpoint the origin of my problem? Does it come from the data itself?<br>
<br>
Thanks,<br>
<br>
Albert<br>
Murienne <br>
<br>
_______________________________________________<br>
Rtk-users mailing list<br>
</span><a href="mailto:rtk-users@openrtk.org" target="_blank"><span lang="EN-US">rtk-users@openrtk.org</span></a><span lang="EN-US"><br>
</span><a href="https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users" target="_blank"><span lang="EN-US">https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users</span></a><span lang="EN-US"><o:p></o:p></span></p>
</blockquote>
</div>
</div>
</body>
</html>