<div dir="ltr"><div><div><div><div><div><div>Dear Albert,<br></div>We have not implemented anything in this direction so far. But it would be useful to have it and I know there is a mechanism to do that in ITK Have you ever used it on your side?<br></div>I think the idea is:<br></div>- in the reconstruction filter, to create and regularly call a <a href="https://itk.org/Doxygen/html/classitk_1_1ProgressReporter.html">ProgressReporter</a>,<br></div>- where you want to observe the progress, you add an observer.<br></div>There are many examples in ITK. If you want to do it, feel free to give it a try. If you need help, I'm happy to support your. I have created an <a href="https://github.com/SimonRit/RTK/issues/114">issue</a> in github to keep it in mind.<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 9, 2017 at 1:27 PM, MURIENNE Albert <span dir="ltr"><<a href="mailto:albert.murienne@thalesgroup.com" target="_blank">albert.murienne@thalesgroup.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" link="blue" vlink="purple" lang="FR"><div class="m_6924748700372247096WordSection1"><p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">Cyril, to be more precise : if I run a long time reconstruction, I want to be available to track progression of the computation (ie 0 to 1 floating index), to have an idea of how fast it is running, if we are close to the end and so on…<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">Albert<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Cyril Mory [mailto:<a href="mailto:cyril.mory@creatis.insa-lyon.fr" target="_blank">cyril.mory@creatis.<wbr>insa-lyon.fr</a>] <br><b>Envoyé :</b> jeudi 9 novembre 2017 13:25<br><b>À :</b> MURIENNE Albert; <a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a><br><b>Objet :</b> Re: [Rtk-users] Reconstruction filter progress observer<u></u><u></u></span></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p>Hello,<u></u><u></u></p><p>I am not sure I understand. Are you trying to know, during runtime, which filter is currently being updated ? <u></u><u></u></p><p>Otherwise, can you reformulate your question (possibly with more context) ? <u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Best,<br>Cyril<u></u><u></u></p><div><p class="MsoNormal">On 09/11/2017 13:11, MURIENNE Albert wrote:<u></u><u></u></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><p class="MsoNormal"><span lang="EN-US">Hello,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Is there a simple code example available to illustrate the registration of an observer to be notified with the progression of rtk’s reconstruction filters?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Thanks in advance for your help,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Regards</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal">--<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Albert Murienne<u></u><u></u></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br><br><br><u></u><u></u></span></p><pre>______________________________<wbr>_________________<u></u><u></u></pre><pre>Rtk-users mailing list<u></u><u></u></pre><pre><a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><u></u><u></u></pre><pre><a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/rtk-users</a><u></u><u></u></pre></blockquote><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p></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="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>