[Rtk-users] Trouble on the FirstReconstruction example

Simon Rit simon.rit at creatis.insa-lyon.fr
Wed May 6 04:11:38 EDT 2020


Hi,
Thanks for the report, I can reproduce the problem. Actually, ITK recently
updated their packages and it seems that our old packages are not
compatible with the new ones. We will release new ones soon but in the mean
time, you should use an older version of ITK packages (5.0.1) or use a
package built by our CI, e.g. one those available here:
https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts
Best regards,
Simon

On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat <
aurelien.coussat at creatis.insa-lyon.fr> wrote:

> Hi,
>
> I cannot reproduce the problem. Are you sure you haven't altered
> FirstReconstruction.py in any way? Could you provide the exact content of
> the file?
>
> Thank you!
>
> Aurélien.
>
> On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:
>
> Dear all,
>
>
>
> Hi! I am new to RTK and want to use it on Python. So I installed RTK
> through pip, like
>
> pip install itk
>
> pip install itk-rtk
>
>
>
> I think the examples for ITK work well. However, when I tried to run the
> FirstReconstruction example for RTK, some trouble have stopped me for a
> while.
>
> I used the order “python FirstReconstruction.py test.mha geometry.xml” to
> run the given Python code, but I continued to get the error
>
>
>
> Traceback (most recent call last):
>
>   File "FirstReconstruction.py", line 88, in <module>
>
>     writer.Update()
>
> RuntimeError:
> C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:
>
> itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is
> required but not set.
>
>
>
> Additionally, this ‘Input Primary is required but not set’ error also
> occurred in some other examples, on both Windows and Ubuntu systems. I have
> no idea how to solve it. Could you please help me out?
>
>
>
> Thank you very much.
>
>
>
> Sincerely,
>
> Zhehao
>
>
>
> _______________________________________________
> Rtk-users mailing listRtk-users at public.kitware.comhttps://public.kitware.com/mailman/listinfo/rtk-users
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200506/a77a720e/attachment.html>


More information about the Rtk-users mailing list