<div dir="ltr"><div><div><div><div><div>Hi,<br></div>Yes ! I have actually added that functionality recently from <a href="https://github.com/gnthibault/RTK">Thibault Notargiacomo's code</a> see <br><a href="http://www.openrtk.org/Doxygen/classrtk_1_1ThreeDCircularProjectionGeometry.html">bool rtk::ThreeDCircularProjectionGeometry::AddProjection           (          const HomogeneousProjectionMatrixType &           pMat)          </a><br></div>Note that the projection matrix must be for a 3D position in mm to a 2D position in mm. You can add pre-/post-matrices to go from mm to voxel. There is no command line tool to do it but you can easily create your command line tool to do it. This is tested in testing/rtkgeometryfrommatrixtest.cxx.<br></div></div>Let me know if you need more info,<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 11:08 AM, Freislederer, Philipp <span dir="ltr"><<a href="mailto:Philipp.Freislederer@med.uni-muenchen.de" target="_blank">Philipp.Freislederer@med.uni-muenchen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="DE">
<div class="m_-3485080472070858868WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I currently have some issues in generating off-plane projections where I think rtk might be helpful.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to generate projections from an Brainlab ExacTrac geometry.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">What I am getting is a projection matrix generated by the system itself. Using only this information I am able to project any voxel value in a CT onto a panel.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Now, in order to speed everything up a little and not re-implement everything that has been done sufficiently already I am hoping to use ‘rtkforwardprojections’.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The problem is I am not able to reproduce the Brainlab geometry using ‘rtksimulatedgeometry’ from the projection matrix directly.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I could calculate the room angle of the source to the panel from the projection matrix but I am getting weird results when applying these on something like plastimatch, so I think I have an error in there.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way of creating a geometry simply from the projection matrix or do I have to work around and calculate every parameter needed specifically?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Maybe someone has some experience with this type of issue.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance!<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Philipp <u></u><u></u></span></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>