Hi Stefan,<br><br>Another class that you may want <br>to consider is the KdTree.<br><br>See for example:<br><a href="http://svn.na-mic.org/NAMICSandBox/trunk/QuadEdgeMeshRigidRegistration/Source/itkPointLocator2.h">http://svn.na-mic.org/NAMICSandBox/trunk/QuadEdgeMeshRigidRegistration/Source/itkPointLocator2.h</a><br>
<a href="http://svn.na-mic.org/NAMICSandBox/trunk/QuadEdgeMeshRigidRegistration/Source/itkPointLocator2.txx">http://svn.na-mic.org/NAMICSandBox/trunk/QuadEdgeMeshRigidRegistration/Source/itkPointLocator2.txx</a><br><br><br>
     Regards,<br><br><br>           Luis<br><br>----------------------------------------------<br><div class="gmail_quote">On Mon, Jun 14, 2010 at 4:54 AM, Stefan Dänzer <span dir="ltr">&lt;<a href="mailto:stefan.daenzer@gmail.com">stefan.daenzer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><p>Dear list, </p>
<p>I would like to compute the n-nearest neighbors of voxels on several images in my scene. An octree looks like a favorable datastructure to compute the nearest neighbours efficiently, but I&#39;m not sure how to use the given itk class for this task. does anyone have some experience with it?</p>


<p>Stefan</p>
<p>sent from Android</p>
</div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>