<div dir="ltr"><div><div><div>Hi,Dženan,<br><br>Thanks very much for your reply. I also spent a lot of time to build it. Attached is my CMakeLists.txt.<br></div>I contacted with <i>Aurelien Lucchi last week, but haven't get any answer yet.<br><br></i></div><i>Best Regards<br></i></div><i>Le<br></i></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 October 2016 at 06:48, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Le,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">the first paragraph of the readme says:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><i>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. If you find any bug, please contact Aurelien Lucchi <<a href="mailto:aurelien.lucchi@gmail.com" target="_blank">aurelien.lucchi@gmail.com</a>> or Kevin Smith <<a href="mailto:kevin.smith@epfl.ch" target="_blank">kevin.smith@epfl.ch</a>>.</i><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Have you done so?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I tried building the mentioned library, after commenting out the hard-coded paths in CMakeLists, I could still not build it. Errors are unrelated to ITK, e.g.:</div><div class="gmail_default"><font face="monospace, monospace">2>c:\misc\rays3d\Display.h(23)<wbr>: fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory<br></font></div><div class="gmail_default"><font face="monospace, monospace">2>C:\Misc\rays3d\rays3d_utils.<wbr>cpp(20): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory</font><br></div><div class="gmail_default"><font face="verdana, sans-serif">(I have given a path to GLUT and OpenCV).</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Can you create a minimum working <a href="http://sscce.org/" target="_blank">example</a>? Attached are my modifications to the </font><font face="monospace, monospace">CMakeListst.txt</font><font face="verdana, sans-serif">.</font></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Oct 8, 2016 at 4:36 AM, Le Sun <span dir="ltr"><<a href="mailto:sunle2009@gmail.com" target="_blank">sunle2009@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am running the code of '<a href="http://people.inf.ethz.ch/alucchi/code/rays3d.zip" target="_blank">Segmentation code for the 3D ray features described in our</a>' on page <a href="http://people.inf.ethz.ch/alucchi/code.php" target="_blank">http://people.inf.ethz.ch/aluc<wbr>chi/code.php</a>.<br><br></div>When run the first example in the readme.txt in the code package:test3dRays /home/le/Documents/rays3d/data<wbr>/sphere 1 2 8 16<br><br></div>I got the following error:<br>******************************<wbr>*************************<br>Error while running this filter.<br>itk::InvalidRequestedRegionErr<wbr>or (0x2e7ebc0)<br>Location: "void itk::NeighborhoodOperatorImage<wbr>Filter<TInputImage, TOutputImage, TOperatorValueType>::GenerateI<wbr>nputRequestedRegion() [with TInputImage = itk::Image<float, 3u>; TOutputImage = itk::Image<float, 3u>; TOperatorValueType = double]" <br>File: /usr/local/include/ITK-4.10/it<wbr>kNeighborhoodOperatorImageFilt<wbr>er.hxx<br>Line: 72<br>Description: Requested region is (at least partially) outside the largest possible region.<br>******************************<wbr>*************************<br><br></div>I added ' -> UpdateLargestPossibleRegion()' for each Filter in the .cpp and .cxx files. However, couldn't solve this problem.<br><br><div>Thank you for your help.<br><br></div><div>Best Regards<span class="m_874568581217818094HOEnZb"><font color="#888888"><br></font></span></div><span class="m_874568581217818094HOEnZb"><font color="#888888"><div>Le<br></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/community</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>