<div dir="ltr"><div>Hi,</div><div>Thanks for the report, see modifications to the <a href="https://github.com/RTKConsortium/RTK/pull/669">pull request</a>. No need to post on the mailing list as there is a PR opened now.</div><div>Simon<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jan 13, 2025 at 12:23 PM 王治阵 <<a href="mailto:2023200830@mail.buct.edu.cn">2023200830@mail.buct.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="font-size:14px">
        Thanks for the python example,
</p>
<p style="font-size:14px">
        I run inline.py and find that the code is to save all the projection file name first, and then initializes the <span style="text-decoration:underline"><strong><span style="font-size:16px">reader</span></strong></span> variables, and then each traversal time to execute the <span style="text-decoration:underline"><strong>reader.UpdateOutputInformation()</strong></span>. This results in an error:
</p>
RuntimeError: /work/include/rtkProjectionsReader.hxx:163:<br>
<p style="font-size:14px">
        ITK ERROR: Cannot create ImageIOFactory for file ./output/projection_063.mha
</p>
<p>
        I thought that <span style="font-size:14px;text-decoration:underline"><strong>UpdateOutputInformation()</strong></span> would update all the projection files. But in fact, only a small number of projections were obtained at first stage, so there was no way to update them all. <span>Therefore, it seems more appropriate to update the projection file names progressively as the traversal proceeds.</span>
</p>
<p>
        Lang zhizhen
</p></div>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:rtk-users@openrtk.org" target="_blank">rtk-users@openrtk.org</a><br>
<a href="https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users</a><br>
</blockquote></div>