[Rtk-users] Running the WaterPreCorrection Example
Simon Rit
simon.rit at creatis.insa-lyon.fr
Thu Jan 17 08:06:37 EST 2019
Hi,
The second input of FDK is the projection stack. This stack is a 3D image
and the last dimension must equal the number of projections in the geometry
file. So maybe you are reading 6 projections?
I hope this helps,
Simon
On Thu, Jan 17, 2019 at 1:57 PM Amarnath S <amarnaths161 at gmail.com> wrote:
> Hi Simon,
>
> Thanks for your reply. I am in the process of converting the Python
> program to C++, and have done more than half the file. Since I am new to
> RTK, there is some amount of trial/ experimentation in coding. I am now in
> the place where the Update() method of the FDKConeBeamReconstructionFilter
> object is first called. This line is throwing an exception, which is:
>
> itk::ERROR: FDKBackProjectionImageFilter(00000263E25240A0): Mismatch
> between the number of projections and the geometry entries. Geometry has 5
> entries, which is less than the last index of the projections stack, i.e.,
> 6.
>
> Now, I know for sure that there are 5 entries in the Geometry file, which
> I downloaded from the site mentioned. earlier. What I am not seeing is
> where is it getting the last index of the projections stack, which is shown
> as 6.
>
> Any help in this regard would be highly appreciated.
>
> Thanks and regards
> - Amarnath
>
> On Mon, Jan 14, 2019 at 7:36 PM Simon Rit <simon.rit at creatis.insa-lyon.fr>
> wrote:
>
>> Hi,
>> Have you checked that it's not in a subfolder? I remember that it got in
>> a subfolder for some versions. To be honest, we are not using SimpleRTK
>> anymore, we are gradually switching to a python package for RTK as an
>> external module of ITK. I will update the examples when we release it.
>> Best regards,
>> Simon
>>
>> On Fri, Jan 11, 2019 at 12:45 PM Amarnath S <amarnaths161 at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Requesting you to please help me in running the WaterPreCorrection
>>> example found here: http://wiki.openrtk.org/index.php/WaterPreCorrection
>>>
>>> I have built RTK using the WRAP_PYTHON flag set as On in CMake,
>>> However, I am not getting the file setup.py as output within the
>>> folder \SimpleRTK-build\Wrapping\Python\Packaging. It is creating a file
>>> called setupegg.py, which in turn calls setup.py. I followed the
>>> instructions mentioned on top of this page -
>>> http://wiki.openrtk.org/index.php/SimpleRTK. But the file setup.py is
>>> not generated.
>>>
>>> Consequently, I am not able to run this example on my machine.
>>> Requesting you to please help me with this.
>>>
>>> Thanks and Regards
>>> - Amarnath
>>> _______________________________________________
>>> 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/20190117/56019a4c/attachment.html>
More information about the Rtk-users
mailing list