Hi Cagatay,<br><br>If you are interesting in estimating normals, I would recommend the following pipeline<br><br>1- BinaryMask3DMeshSource<br>2- NormalQuadEdgeMeshFilter <br><div style="margin-left:40px"><a href="http://www.itk.org/Doxygen/html/classitk_1_1NormalQuadEdgeMeshFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1NormalQuadEdgeMeshFilter.html</a><br>

You can have a look at ITK/Modules/Filtering/QuadEdgeMeshFiltering/test/itkNormalQuadEdgeMeshFilterTest.cxx<br></div><br>If you are interesting in estimating curvature, I would recommend using curvature estimators which are in ITK:<br>

<br><div style="margin-left:40px">DiscreteGaussianCurvatureQuadEdgeMeshFilter<br>DiscreteMeanCurvatureQuadEdgeMeshFilter<br><br></div>Best,<br>Arnaud<br><br><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 7:36 PM, cagatay bilgin <span dir="ltr">&lt;<a href="mailto:bilgincc@gmail.com">bilgincc@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I am trying to find the best way to convert </div><div>a binary image to a mesh that I can use to</div><div>calculate the normals, delete a couple of </div>

<div>these points based on the normals/curvature</div><div>and then convert the mesh back to a binary </div>
<div>image.  </div><div><br></div><div>From what I have seen the following pipeline</div><div>should work in this case:</div><div><br></div>i) itkBinaryMask3DMeshSource.h<br><div>ii) itkTriangularMeshToSimplexMeshFilter</div>


<div><br></div><div>iii)some processing based on the normals of the simplex mesh.</div><div>based on these calculations I will delete some of the nodes </div><div>and hopefully disconnect the mesh </div><div><br></div><div>


iv) itkSimplexMeshToTriangleMeshFilter</div><div>v) itkTriangleMeshToBinaryImageFilter</div><div><br></div><div>The process I will be performing in the thrid step is this:</div><div><a href="http://pointclouds.org/documentation/tutorials/pfh_estimation.php" target="_blank">http://pointclouds.org/documentation/tutorials/pfh_estimation.php</a></div>


<div><br></div><div>I am curious if there is a better/shorter pipeline I can </div><div>use. I have seen quad meshes for normal calculations. </div><div>Is there a reason to use one or the other ?</div><span class="HOEnZb"><font color="#888888"><div>

<br></div><div>
Cagatay</div>
</font></span><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><br clear="all"><br>-- <br><span><font color="#888888">Arnaud Gelas, Ph. D.<br>Avenue Beauregard 30<br>CH-1700 Fribourg<br>Switzerland<br>cellphone: (+41) 76-635-08-66<br>phone: (+41) 26-535-44-36<br>


<a href="mailto:arnaudgelas@gmail.com" target="_blank">arnaudgelas@gmail.com</a></font></span><br>