Thank you for replying. but there are no options about dimension and spacing in that ggo file <https://github.com/SimonRit/RTK/blob/master/applications/rtkprojectgeometricphantom/rtkprojectgeometricphantom.ggo> .
I can find other options though. for example there's an script like this. rtkprojectgeometricphantom -g geometry.xml -o projections.mha --spacing 2 --dimension=512,3,512 --phantomfile SheppLogan-2d.txt --phantomscale=256,1,256 and there's no options about spacing and dimension in the ggo file. Yoonho. 2020년 5월 18일 (월) 오후 4:38, Andreas Andersen <andreasg...@gmail.com>님이 작성: > argv is an array of \0 terminated char arrays from the commandline -> i.e. > or an array of strings. > E.g. "rtksimulatedgeometry -n 180 -o geometry.xml" > would give *argv = "rtksimulatedgeometry\0-n\0180\0-o\0geometry.xml\0" > such that argv[2] = "180" and argv[4] = "geometry.xml" > argc is the number of strings in the array. > > Gengetopt (GGO) handles the arguments for you and binds them to the > args_info struct based on the *.ggo file. > > I hope this makes it somewhat understandable. > > /Andreas > > __________________________________ > > Andreas Gravgaard Andersen > > Danish Center for Particle Therapy, > > Aarhus University Hospital > > Palle Juul-Jensens Blvd. 99, > > 8200, Aarhus > > Mail: agravga...@protonmail.com > > Cell: +45 3165 8140 > > > On Mon, 18 May 2020 at 08:43, 나윤호 <yoonho94...@gmail.com> wrote: > >> Hi, rtk-users. >> >> first I'm not really a C++ user >> >> I'm looking on this link >> <http://wiki.openrtk.org/index.php/RTK/Scripts/FDK> and I'm curious >> about argv for dimension and spacing. >> >> where does the spacing and dimension value go? >> >> in the rtkprojectgeometricphantom.cxx, I don't see any variables related >> to spacing and dimension argv. >> >> I think there should be something like args_info.spacing or >> args_info.dimension. >> >> where does argv for spacing and dimension goes to? >> _______________________________________________ >> 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