Ryma,<br><br>You could copy these sources files and create the appropriate CMakeLists.txt to run these examples.<br>Like this, it will save you some time to build all tests and examples...<br><br>Arnaud<br><br><div class="gmail_quote">

On Wed, Feb 15, 2012 at 8:24 AM, Ryma <span dir="ltr">&lt;<a href="mailto:rima.sb4@gmail.com">rima.sb4@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">

<br>
Hi Arnaud,<br>
When i compiled ITK, i disabled  BUILD_EXAMPLES and BUILD_TESTING because i<br>
found this in all installation guides and tutorials.<br>
is this right in this case?<br>
Ryma,<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Arnaud Gelas-2 wrote:<br>
&gt;<br>
&gt; Ryma,<br>
&gt;<br>
&gt; The level sets framework may help you in this task.<br>
&gt;<br>
&gt; However, the choice of the &quot;terms&quot; to be used and / or &quot;functional&quot; to<br>
&gt; be minimized depends on your image.<br>
&gt; It is really difficult to tell you which method would work for your<br>
&gt; image with this little information and without the images.<br>
&gt;<br>
&gt; First, I would recommend you having a look at the examples based on ITKv3:<br>
&gt;<br>
&gt;      Examples/Segmentation/GeodesicActiveContourImageFilter.cxx<br>
&gt;      Examples/Segmentation/ThresholdSegmentationLevelSetImageFilter.cxx<br>
&gt;      Examples/Segmentation/LaplacianSegmentationLevelSetImageFilter.cxx<br>
&gt;<br>
&gt; and<br>
&gt;<br>
&gt;<br>
&gt; Modules/Segmentation/LevelSetsv4Visualization/test/vtkVisualize2DCellsLevelSetTest.cxx<br>
&gt;<br>
&gt; You can run these tests and examples from your build directory if you<br>
&gt; have enabled BUILD_EXAMPLES and BUILD_TESTING by running<br>
&gt;<br>
&gt;      ctest -R ${TheNameOfTheExample|Test}<br>
&gt;<br>
&gt; Best,<br>
&gt; Arnaud<br>
&gt;<br>
&gt; On 02/14/2012 11:57 AM, Ryma wrote:<br>
&gt;&gt; Hi Arnaud,<br>
&gt;&gt; Thanks for reply, what i&#39;m trying to do exactly is extracting a part from<br>
&gt;&gt; a<br>
&gt;&gt; 3D image and want to see the surface evolving.<br>
&gt;&gt; Ryma<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Arnaud Gelas-2 wrote:<br>
&gt;&gt;&gt; Hi Ryma,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Can you provide more details, please?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Are you trying to segment meshes based on their geometry, additional<br>
&gt;&gt;&gt; data?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; or<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Are you trying to extract some shape of interest in a 3D image and you<br>
&gt;&gt;&gt; would like to see the surface evolves through the iteration?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt; Arnaud<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 02/14/2012 11:48 AM, Ryma wrote:<br>
&gt;&gt;&gt;&gt; Hi itkUsers,<br>
&gt;&gt;&gt;&gt; I&#39;m beginner to ITK, i&#39;m working on 3D meshes segmentation. What i&#39;m<br>
&gt;&gt;&gt;&gt; trying<br>
&gt;&gt;&gt;&gt; to do is using the method of Level Sets for segmentation. My meshes are<br>
&gt;&gt;&gt;&gt; .OBJ<br>
&gt;&gt;&gt;&gt; files, it&#39;s possible to use the classes of ITK to see a surface<br>
&gt;&gt;&gt;&gt; evolving?<br>
&gt;&gt;&gt;&gt; Ryma<br>
&gt;&gt;&gt; _____________________________________<br>
&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;<br>
&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/Segmentation-of-3D-object-with-Level-sets-tp33323288p33328785.html" target="_blank">http://old.nabble.com/Segmentation-of-3D-object-with-Level-sets-tp33323288p33328785.html</a><br>


</font></span><div class="im HOEnZb">Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
</div><div class="HOEnZb"><div class="h5">_____________________________________<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>
</div></div></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>