<div dir="ltr"><div>Hi,</div><div>Input projections are selected with a path (-p) and a regular expression (-r) which are passed to an itk::RegularExpressionSeriesFileNames, see <a href="https://github.com/SimonRit/RTK/blob/master/include/rtkGgoFunctions.h#L100-L174">here</a>.</div><div>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. <a href="http://wiki.openrtk.org/index.php/FanBeam">here</a> (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.</div><div>I would suggest to check what RTK sinograms look like from the <a href="http://wiki.openrtk.org">wiki</a> examples and adapt your input accordingly.</div><div>Best regards,</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 6:17 AM 나윤호 <<a href="mailto:yoonho94.na@gmail.com">yoonho94.na@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">Hi, I've been asking many questions recently, and I think I'm almost there.<div><br></div><div>finally I could get an output image, but It is not good at all.</div><div><br></div><div><div>The reconstructed image should be a round image but it doesn't look round.<br><br></div></div><div>I uploaded my code on <a href="https://github.com/yolkandwhite/fdk" target="_blank">github</a> in python language, but for the actual computation I just used rtkfdk in C++ </div><div><br></div><div>what I'm guessing is in the command line script setting the dimension was wrong.</div><div><br></div><div>I have explained the situations in the code with annotations and markdowns and few screenshots.</div><div><br></div><div>how can I fix it??</div><div><br></div><div>and I have another question.</div><div><br></div><div>in the <a href="http://wiki.openrtk.org/index.php/RTK/Scripts/FDK" target="_blank">rtkfdk 2D example</a>,</div><div><pre style="font-family:monospace,monospace;color:rgb(0,0,0);background-color:rgb(248,249,250);border:1px solid rgb(234,236,240);padding:1em;white-space:pre-wrap;line-height:1.3em;font-size:14px">rtkfdk -p . -r projections.mha -o fdk.mha -g geometry.xml --spacing <span style="color:rgb(102,102,102)">2</span> --dimension <span style="color:rgb(102,102,102)">256</span>,1,256</pre></div><div><div>I don't understand what <font color="#0000ff" size="6">-p</font> and<font color="#0000ff" size="6"> . </font>and<font size="6"> <font color="#0000ff">-r</font> </font>is.</div><div><br></div><div>I cannot find one in rtkfdk.ggo.</div></div><div><br></div><div>Best regards.</div><div><br></div><div>Yoonho.</div><img alt="" style="display: flex;" src="https://mailtrack.io/trace/mail/a030f0492e0c8e03ec39eb9fc9c40b7817f83194.png?u=4672561" height="0" width="0"></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>