<div dir="ltr"><div>Hi,</div><div>The idea of the the applications like rtkfdk.cxx is to use gengetopt, a command line parser, to pass options. See for example</div><div><a href="https://wiki.openrtk.org/index.php/RTK/Scripts/FDK">https://wiki.openrtk.org/index.php/RTK/Scripts/FDK</a></div><div>What is actually done for the projections reader is here</div><div><a href="https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L176-L270">https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L176-L270</a></div><div>but you don't have to use ggo, you can do it your own way.</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022 at 7:29 AM cong xu <<a href="mailto:xucongim@gmail.com">xucongim@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">Hello!</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">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?</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">-------------------------------------------------- --------------------</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">  // Projections reader</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">   using ReaderType = rtk::ProjectionsReader<OutputImageType>;</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">   ReaderType::Pointer reader = ReaderType::New();</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">   rtk::SetProjectionsReaderFromGgo<ReaderType, args_info_rtkfdk>(reader, args_info);</span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">-------------------------------------------------- ----------------------</span><span style="font-size:12pt" lang="EN-US"></span></p><p class="MsoNormal" style="line-height:23.8px;font-size:10.5pt;margin:0cm 0cm 0.0001pt;text-align:justify;font-family:DengXian"><span lang="EN-US">I sincerely hope that you can give me the following help, thank you!</span></p><div><span lang="EN-US"><br></span></div></div></div>
_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>