<div dir="ltr">I wonder why it compiles on Linux... but anyway, sorry, it's been fixed.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 10:39 AM, Rune Slot Thing <span dir="ltr"><<a href="mailto:Rune.Slot.Thing@rsyd.dk" target="_blank">Rune.Slot.Thing@rsyd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DA">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi Simon,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I asked our IT-guy to recompile the new commit, but unfortunately he was unsuccessful. Here is what he writes:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US">I've downloaded the master from git today and compiled in the VS 2008 pro 64bit on Win7 with itk 4.3.0 and fftw.<u></u><u></u></span></p>
<p><span lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US">The new fix does not compile because of issues on line 92-99 in rtkParkerShortScanImageFilter.txx<u></u><u></u></span></p>
<p><span lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US">error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::_Tree<_Traits>::const_iterator' (or there is no acceptable conversion)<u></u><u></u></span></p>
<p><span lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US">and on line 73<u></u><u></u></span></p>
<p><span lang="EN-US"><u></u> <u></u></span></p>
<p><span lang="EN-US">error C2923: 'itk::Vector' : 'rtk::DaubechiesWaveletsConvolutionImageFilter<TImage>::Pass' is not a valid template type argument for parameter 'T' f:\programmering\cxx\lib\rtk\master-2014-09-10\code\rtkDaubechiesWaveletsConvolutionImageFilter.h
73 rtkadmmwavelets<u></u><u></u></span></p>
<p><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US">Is it a typo with to identical lines (LINE 93 = 94)?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Thanks again for your prompt help.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Rune<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Rune Slot Thing</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">PhD Student</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Institute of Clinical Research, University of Southern Denmark</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Laboratory of Radiation Physics, Odense University Hospital</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="mailto:rune.slot.thing@rsyd.dk" target="_blank">rune.slot.thing@rsyd.dk</a></span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Fra:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:simon.rit@gmail.com" target="_blank">simon.rit@gmail.com</a> [mailto:<a href="mailto:simon.rit@gmail.com" target="_blank">simon.rit@gmail.com</a>]
<b>På vegne af </b>Simon Rit<br>
<b>Sendt:</b> 9. september 2014 14:41<br>
<b>Til:</b> Rune Slot Thing<br>
<b>Cc:</b> Yang Kyun Park; <a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a></span></p><div><div class="h5"><br>
<b>Emne:</b> Re: [Rtk-users] Short scan reconstruction problem - real projection images from Elekta XVI<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thank you Rune, this was very helpful. The pattern is that several projections have the same gantry angle on one side of the gantry angle gap. Something that happens with Elekta Synergy... I think that the bug has been fixed:<br>
<a href="https://github.com/SimonRit/RTK/commit/c5b1647eee34ca6fb76d067ff2f5c67f7477495f" target="_blank">https://github.com/SimonRit/RTK/commit/c5b1647eee34ca6fb76d067ff2f5c67f7477495f</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Sep 9, 2014 at 12:04 PM, Rune Slot Thing <<a href="mailto:Rune.Slot.Thing@rsyd.dk" target="_blank">Rune.Slot.Thing@rsyd.dk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi all,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">We have experienced the same problem as YangKyun in our institution. Find attached a
screendump of a short scan, and the ElektaGeometry file. We are reconstructing on CPU using RTK 1.0.0, and have encountered the strange behavior a couple of times without being able to find any patterns. Our images are 512x512 pixels of 0.8 mm pitch, and acquired
in a 200 degree scan with the S20 filter on an Elekta XVI machine.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope this helps in tracking down the problem.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Rune Slot Thing</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">PhD Student</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Institute of Clinical Research, University of Southern Denmark</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Laboratory of Radiation Physics, Odense University Hospital</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="mailto:rune.slot.thing@rsyd.dk" target="_blank">rune.slot.thing@rsyd.dk</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Fra:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Rtk-users [mailto:<a href="mailto:rtk-users-bounces@public.kitware.com" target="_blank">rtk-users-bounces@public.kitware.com</a>]
<b>På vegne af </b>Simon Rit<br>
<b>Sendt:</b> 9. september 2014 07:24<br>
<b>Til:</b> Yang Kyun Park<br>
<b>Cc:</b> <a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a><br>
<b>Emne:</b> Re: [Rtk-users] Short scan reconstruction problem - real projection images from Elekta XVI</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal">Everything looks correct in what you did. What version of RTK did you use?<br>
It looks like a bug in the angular weighting of the projections coming from the discretization of the integral on the gantry angle. Could you send us a copy of ElektaGeometry.xml and tell us what was the dimension of the projections? We will look into it.<br>
Thanks for the report,<br>
Simon<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Tue, Sep 9, 2014 at 5:22 AM, Yang Kyun Park <<a href="mailto:theday79@gmail.com" target="_blank">theday79@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi all,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I’ve been using RTK for a year and I appreciate for all the efforts being made by the developers.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Even though I haven’t had any problem with full scan images (360 degree scan), I found that rtkfdk doesn’t work well with my short scan images obtained from our
Elekta XVI system.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I’ve used a command line such as:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">--geometry ElektaGeometry.xml --path his_file_dir --regexp ".*.his" --output rtkfdk_short_scan.mha --spacing 0.5,0.5,0.5 --dimension 512,200,512 --origin -127.9,29.5,-127.9
--hardware cuda</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">The reconstructed image looked very weird, like a distorted 3D volume with very noisy patterns<span style="color:#1f497d"> (as attached).</span></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Note that I didn’t change anything in the rtkfdk code and I believe that the software is automatically recognize the short scan when it is loading the geometry
file(xml). (Please correct me if I was wrong.)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for your help in advance.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">YangKyun</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>