Hi, Input projections are selected with a path (-p) and a regular expression (-r) which are passed to an itk::RegularExpressionSeriesFileNames, see here <https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L100-L174> . Your sinogram.mha file is 2D and RTK is meant for 3D. There are tricks to reconstruct in 2D but you need to modify your input, see e.g. here <http://wiki.openrtk.org/index.php/FanBeam> (with our old wrappings but that should not be difficult to convert). Then the y dimension should be the second coordinate, it's the first in the data you sent. I would suggest to check what RTK sinograms look like from the wiki <http://wiki.openrtk.org> examples and adapt your input accordingly. Best regards, Simon
On Tue, Jun 2, 2020 at 6:17 AM 나윤호 <[email protected]> wrote: > Hi, I've been asking many questions recently, and I think I'm almost there. > > finally I could get an output image, but It is not good at all. > > The reconstructed image should be a round image but it doesn't look round. > > I uploaded my code on github <https://github.com/yolkandwhite/fdk> in > python language, but for the actual computation I just used rtkfdk in C++ > > what I'm guessing is in the command line script setting the dimension was > wrong. > > I have explained the situations in the code with annotations and markdowns > and few screenshots. > > how can I fix it?? > > and I have another question. > > in the rtkfdk 2D example > <http://wiki.openrtk.org/index.php/RTK/Scripts/FDK>, > > rtkfdk -p . -r projections.mha -o fdk.mha -g geometry.xml --spacing 2 > --dimension 256,1,256 > > I don't understand what -p and . and -r is. > > I cannot find one in rtkfdk.ggo. > > Best regards. > > Yoonho. > _______________________________________________ > Rtk-users mailing list > [email protected] > https://public.kitware.com/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list [email protected] https://public.kitware.com/mailman/listinfo/rtk-users
