[Rtk-users] Trouble on the FirstReconstruction example
Zhang, Zhehao
zhehao.zhang at wustl.edu
Wed May 6 19:30:47 EDT 2020
Hi, thank you so much for your kind help. Now I can run the example successfully after reinstalling itk-rtk with the given wheel.
Best,
Zhehao
From: Simon Rit <simon.rit at creatis.insa-lyon.fr>
Sent: Wednesday, May 6, 2020 3:11:38 AM
To: Aurélien Coussat <aurelien.coussat at creatis.insa-lyon.fr>
Cc: Zhang, Zhehao <zhehao.zhang at wustl.edu>; rtk-users at public.kitware.com <rtk-users at public.kitware.com>
Subject: Re: [Rtk-users] Trouble on the FirstReconstruction example
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<mailto: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 list
Rtk-users at public.kitware.com<mailto:Rtk-users at public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users
_______________________________________________
Rtk-users mailing list
Rtk-users at public.kitware.com<mailto:Rtk-users at public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users
From: Simon Rit<mailto:simon.rit at creatis.insa-lyon.fr>
Sent: Wednesday, May 6, 2020 3:10 AM
Subject: Re: [Rtk-users] Trouble on the FirstReconstruction example
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<mailto: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 list
Rtk-users at public.kitware.com<mailto:Rtk-users at public.kitware.com>
https://public.kitware.com/mailman/listinfo/rtk-users
_______________________________________________
Rtk-users mailing list
Rtk-users at public.kitware.com<mailto: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/67d1bb2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FFC5EAA3D8CE4B95A2F42B05276E3605.png
Type: image/png
Size: 143 bytes
Desc: FFC5EAA3D8CE4B95A2F42B05276E3605.png
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200506/67d1bb2c/attachment.png>
More information about the Rtk-users
mailing list