<div dir="ltr">Agree, sdd==sid=700*cos(theta_in_the_picture). Another suspicious thing may be the projection shift (-isox,0). If the input projection are plain images from a real system without origin definition in its format, then the projection shift may be (0,-isoy) instead, with projection origin at the corner pixel.</div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-04 17:55 GMT+01:00 Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>When the source moves, along which axis of the detector is it? I would have expected it to move along the X axis.<br></div>There is another option to set the geometry that might be easier for you, <a href="http://www.openrtk.org/Doxygen/classrtk_1_1Reg23ProjectionGeometry.html" target="_blank">Reg23ProjectionGeometry</a>.<br></div>In any case, your scheme is wrong and I agree with Louie, you should think of the source parameters as the coordinates if all angles are set to 0 so in your case sdd==sid.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Simon<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 5:17 PM, louie L <span dir="ltr"><<a href="mailto:ghostcz@hotmail.com" target="_blank">ghostcz@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Andria,</div><div><br></div><div>Can you explain the setup with some more details? Which is the axis of rotation?</div><div>I think if the isocenter is on the detector, the sid should be set equal to the sdd.</div><div><br></div><div>Best regards,</div><div>Louie<br><br>Greetings from my iOS!</div><div><div><div><br>On 04 Nov 2014, at 17:04, Hadjipanteli Andria (ROYAL SURREY COUNTY HOSPITAL NHS FOUNDATION TRUST) <<a href="mailto:andria.hadjipanteli@nhs.net" target="_blank">andria.hadjipanteli@nhs.net</a>> wrote:<br><br></div><blockquote type="cite"><div>
<blockquote type="cite">
<p style="color:rgb(0,0,0);font-family:Calibri;font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<font face="Courier,serif"><font style="font-size:10pt"><br>
</font></font></p>
<p style="color:rgb(0,0,0);font-family:Calibri;font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<font face="Courier,serif"><font style="font-size:10pt">Dear all,</font></font></p>
<p style="color:rgb(0,0,0);font-family:Calibri;font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<font face="Courier,serif"><font style="font-size:10pt">We used the FirstReconstruction.cxx code with minor changes to reconstruct a digital breast tomosynthesis stack of projections acquired using a Hologic Selenia Dimenions system. Unfortunately, the reconstructed
image does not look as expected.</font></font></p>
<p style="color:rgb(0,0,0);font-family:Calibri;font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<span style="font-size:10pt;font-family:Courier,serif">The characteristics of the geometry of the system are that the detector remains stationary while the x-ray tube moves around a centre of rotation located at the detector (see attached diagram). The
changes </span><span style="font-size:10pt;font-family:Courier,serif">we made to FirstReconstruction.cxx so that it represents the Hologic Geometry are that the sdd and sourceOffesetY both vary as a function of the rotation of the source (sid*sin(angleTheta)
and sid*cos(angleTheta) respectively) while in all cases gantryAngle</span><span style="font-size:10pt;font-family:Courier,serif">= 0, sid = 700 mm and isox = -detectorWidth/2. Our geometry definition is:
</span></p>
<p style="color:rgb(0,0,0);font-family:Calibri;font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<font face="Courier, serif"><font style="font-size:10pt"><font color="#000000">geometry->AddProjection(700,sdd,</font><font color="#000080">0</font><font color="#000000">,-isox,0,</font><font color="#000080">0</font><font color="#000000">,</font><font color="#000080">0</font><font color="#000000">,</font><font color="#000080">0</font><font color="#000000">,sourceOffsetY);</font></font></font></p>
<p style="margin-bottom:0cm;direction:ltr"><font face="Courier"><span style="color:rgb(0,0,0);font-size:10pt;line-height:14px;white-space:pre-wrap">Please let me know if you have any ideas on what we might be d</span><span style="font-size:13px;line-height:14px;white-space:pre-wrap">oing
wrong. </span></font></p>
<p style="color:rgb(0,0,0);font-size:medium;margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<span style="font-family:Courier;font-size:13px">Thank you for your help.</span></p>
<p style="margin-bottom:0cm;direction:ltr"><font style="font-size:13px" face="Courier">Kind regards,</font></p>
<p style="margin-bottom:0cm;direction:ltr"><span style="font-family:Courier;font-size:13px">Andria</span></p>
<p style="margin-bottom:0cm;direction:ltr"><br>
</p>
<p style="margin-bottom:0cm;direction:ltr"><br>
</p>
</blockquote>
<blockquote type="cite" style="color:rgb(0,0,0);font-family:Calibri;font-size:medium">
<p style="margin-bottom:0cm;direction:ltr;line-height:14px;white-space:pre-wrap">
<font face="Courier, serif"><font style="font-size:10pt"><font color="#000000"><br>
</font></font></font></p>
</blockquote>
<br>
<font color="Black" face="Courier New">********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:<br>
to do so is strictly prohibited and may be unlawful.<br>
<br>
Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland<br>
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients<br>
NHSmail provides an email address for your career in the NHS and can be accessed anywhere<br>
<br>
********************************************************************************************************************<br>
</font>
</div></blockquote></div></div><blockquote type="cite"><div><NCCPM_TomoGeometry.pdf></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Rtk-users mailing list</span><br><span><a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a></span><br><span><a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a></span><br></div></blockquote></div><br>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>