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 <xucon...@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@public.kitware.com > https://public.kitware.com/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list Rtk-users@public.kitware.com https://public.kitware.com/mailman/listinfo/rtk-users