<div dir="ltr"><div><div><div><div>Hi,<br></div>1. Yes, this is correct. You have to know some information about your geometry to be able to do the Parker weighting: the first angle after the large angular gap and the delta, i.e., the size of the gap. Currently, this is computed from the geometry. Two solutions to be able to do it online: pass the full geometry if you know in advance or set these parameters (needs a modification of Parker weighting class).<br></div>2. Correct. BTW, this is done for convenience but some people have suggested to correct this.<br></div>Contributions are welcome. The best is to fork RTK on github and do a pull request when your code is ready.<br></div>Simon<br><div><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 24, 2018 at 7:21 PM, Fredrik Hellman <span dir="ltr"><<a href="mailto:fredrik.hellman@gmail.com" target="_blank">fredrik.hellman@gmail.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="ltr">Thank you for your quick replies!<div><br></div><div>The rtkinlinefdk application is very interesting. I have read it and have two observations:</div><div><br></div><div>1. The Parker short scan code is currently disabled in that application. I guess the reason is that it cannot compute the overscan angle without the full geometry, and that it has to be provided in some other way than through the geometry object.</div><div><br></div><div>2. The reconstruction processing starts when there are at least 3 projections available (line 281), and it then starts with the second projection. The reason for this (I suppose) is that the angular gaps are computed based on adjacent projection angles, so projection angles 0 and 2 needs to be available to properly weight projection 1. Finally (line 343), the first (0) and last (N) projection are backprojected, which I suppose is because the angular gap between projection N and 0 should be available to the angular gap weighting of projections 0 and N. Typically the RTK Parker weighting puts 0 weight for first and last projection so that the very large angular gap weighting (e.g. for half scans) for first and last projection has no effect. (Line numbers relates to commit 4198eb3 of <a href="https://github.com/SimonRit/RTK" target="_blank">https://github.com/SimonRit/RT<wbr>K</a>)<br><br class="m_-2956914189071631402m_8240068989614314373gmail-Apple-interchange-newline"></div><div>Are there any current plans or ideas on how to add support for inline Parker weighting (and allow e.g. half scans)? If not, what is the procedure for contributing to the RTK project with such a Parker weighting implementation?</div><div><br></div><div>Best regards,<br></div><div>Fredrik</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">343<div><div class="h5"><br><div class="gmail_quote">2018-02-22 15:36 GMT+01:00 Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</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>Hi,<br></div>Yes, you can even if you don't know the geometry in advance. The application rtkinlinefdk and its code rtkinlinefdk.cxx illustrates this.<br></div>Best regards,<br></div>Simon<br></div><div class="m_-2956914189071631402m_8240068989614314373m_4467215489156321730HOEnZb"><div class="m_-2956914189071631402m_8240068989614314373m_4467215489156321730h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 2:05 PM, Chao Wu <span dir="ltr"><<a href="mailto:wuchao04@gmail.com" target="_blank">wuchao04@gmail.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="ltr">Hi Fredrik, If the geometry and projection angles are known in advance, I think it is possible to perform FDK online.<div>Regards, Chao</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-2956914189071631402m_8240068989614314373m_4467215489156321730m_6291168522981618095h5">2018-02-22 11:11 GMT+01:00 Fredrik Hellman <span dir="ltr"><<a href="mailto:fredrik.hellman@gmail.com" target="_blank">fredrik.hellman@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2956914189071631402m_8240068989614314373m_4467215489156321730m_6291168522981618095h5"><div dir="ltr">Hi,<div><br></div><div>I am wondering if it is possible to do "online" reconstruction with RTK using FDK backprojection, i.e. that you populate the geometry object angle by angle and backproject only one or a few projections at a time with the geometry object not fully populated initially.</div><div><br></div><div>I have seen that the backprojection can be done projection by projection, but it seems that the geometry object must be populated with all angles before starting. For example in the code for parker weighting, it seems that the overscan angle is estimated based on the actual angles in the geometry object. Also, computing the angular gap weighting done in the 2D weighting depends on adjacent angles.</div><div><br></div><div>Best regards,<br>Fredrik Hellman</div></div>
<br></div></div>______________________________<wbr>_________________<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="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></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="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div></div></div></div></div>