[Rtk-users] rtk.cxx imports real projection data
Simon Rit
simon.rit at creatis.insa-lyon.fr
Thu Jan 20 03:33:14 EST 2022
Hi,
The idea of the the applications like rtkfdk.cxx is to use gengetopt, a
command line parser, to pass options. See for example
https://wiki.openrtk.org/index.php/RTK/Scripts/FDK
What is actually done for the projections reader is here
https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L176-L270
but you don't have to use ggo, you can do it your own way.
Simon
On Thu, Jan 20, 2022 at 7:29 AM cong xu <xucongim at gmail.com> wrote:
> Hello!
>
> I am trying to use rtkfdk.cxx for CT reconstruction. The first step is to
> import my real projection image through rtkprojectionreader. Since I am a
> beginner, I am not familiar with this part of the code (below). Excuse me,
> where should I enter the file address of the real projected image (720 tif
> images) to be imported? Is it entered in the ggo file?
>
> -------------------------------------------------- --------------------
>
> // Projections reader
>
> using ReaderType = rtk::ProjectionsReader<OutputImageType>;
>
> ReaderType::Pointer reader = ReaderType::New();
>
> rtk::SetProjectionsReaderFromGgo<ReaderType, args_info_rtkfdk>(reader,
> args_info);
>
> -------------------------------------------------- ----------------------
>
> I sincerely hope that you can give me the following help, thank you!
>
> _______________________________________________
> 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/20220120/a51516bc/attachment.htm>
More information about the Rtk-users
mailing list