<div dir="ltr"><font size="3">Hi.</font><div><font size="3">I'm a newbie to ITK and RTK.</font></div><div><font size="3">I'm currently using python not C++</font></div><div><font size="3"><br></font></div><div><font size="3">so I installed ITK package and RTK package using</font></div><div><br></div><div>pip install itk</div><div>pip install itk-rtk</div><div><br></div><div>using ITK seems OK,  but I'm having difficulties with RTK.</div><div><br></div><div>When I run the ITK example code, It worked well. </div><div>but when I tried to run the FirstReconstruction.py in the github,</div><div>error occurrs.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre style="box-sizing:border-box;overflow:auto;font-size:14px;padding:1px 0px;margin-top:0px;margin-bottom:0px;line-height:inherit;color:rgb(0,0,0);word-break:break-all;border:0px;border-radius:0px;white-space:pre-wrap;vertical-align:baseline"><pre style="box-sizing:border-box;overflow:auto;padding:1px 0px;margin-top:0px;margin-bottom:0px;line-height:inherit;word-break:break-all;border:0px;border-radius:0px;white-space:pre-wrap;vertical-align:baseline"><span class="gmail-ansi-red-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,43,49);font-weight:bold">---------------------------------------------------------------------------</span>
<span class="gmail-ansi-red-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,43,49);font-weight:bold">AttributeError</span>                            Traceback (most recent call last)
<span class="gmail-ansi-green-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(0,116,39);font-weight:bold"><ipython-input-1-be2ee9c70d3d></span> in <span class="gmail-ansi-cyan-fg" style="box-sizing:border-box;color:rgb(96,198,200)"><module></span>
<span class="gmail-ansi-green-fg" style="box-sizing:border-box;color:rgb(0,162,80)">     19</span> <span class="gmail-ansi-green-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(0,116,39);font-weight:bold">for</span> x <span class="gmail-ansi-green-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(0,116,39);font-weight:bold">in</span> range<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">(</span><span class="gmail-ansi-cyan-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(37,143,143);font-weight:bold">0</span><span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">,</span>numberOfProjections<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">)</span><span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">:</span>
<span class="gmail-ansi-green-fg" style="box-sizing:border-box;color:rgb(0,162,80)">     20</span>   angle <span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">=</span> firstAngle <span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">+</span> x <span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">*</span> angularArc <span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">/</span> numberOfProjections
<span class="gmail-ansi-green-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(0,116,39);font-weight:bold">---> 21</span><span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">   </span>geometry<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">.</span>AddProjection<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">(</span>sid<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">,</span>sdd<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">,</span>angle<span class="gmail-ansi-yellow-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,125,18);font-weight:bold">)</span>
<span class="gmail-ansi-green-fg" style="box-sizing:border-box;color:rgb(0,162,80)">     22</span> 
<span class="gmail-ansi-green-fg" style="box-sizing:border-box;color:rgb(0,162,80)">     23</span> <span class="gmail-ansi-red-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,43,49);font-weight:bold"># Writing the geometry to disk</span>

<span class="gmail-ansi-red-intense-fg gmail-ansi-bold" style="box-sizing:border-box;color:rgb(178,43,49);font-weight:bold">AttributeError</span>: 'rtkFDKConeBeamReconstructionFilterIF3' object has no attribute 'AddProjection'</pre></pre></blockquote><div> </div><div>How can I fix this problem?</div><div><br></div><div>and I have another question.</div><div>I want the reconstruct the sinogram image to phantom.</div><div><br></div><div>usually what I did was using skimage.transform.iradon().</div><div>what should I use in RTK to do Inverse radon transform or Filtered back projection method?</div><div> </div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/4be322cde9e1d4a7560cf8e2cb5c0aa1bf774ea6.png?u=4672561"></div>