<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ryma,<br>
<br>
OBJ and OFF are 3D surface mesh file format...<br>
To use level-sets, you should first generate a binary image from
these meshes.<br>
<br>
Assuming your meshes are triangular meshes, you can use the
following class: TriangleMeshToBinaryImageFilter<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.itk.org/Doxygen/html/classitk_1_1TriangleMeshToBinaryImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1TriangleMeshToBinaryImageFilter.html</a><br>
<br>
Then you can try using / following the examples I mentioned
previously.<br>
<br>
Best,<br>
Arnaud<br>
<br>
On 02/16/2012 04:10 AM, rima sb wrote:
<blockquote
cite="mid:CAGhzWn5sBmmOhDUSGQCebDvePr1=UR_g8BgKEErwtuJtpO8j3w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Arnaud,
<div>This is what i've already done, but i have
more stupid question, those examples support 3D image like
.OBJ or .OFF files?</div>
<div><br>
</div>
<div>Ryma <br>
<br>
<div class="gmail_quote">2012/2/16 Arnaud Gelas <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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">
<div class="im">
On Wed, Feb 15, 2012 at 8:24 AM, Ryma <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rima.sb4@gmail.com" target="_blank">rima.sb4@gmail.com</a>></span>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<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>
</div>
Ryma,
<div>
<div class="h5"><br>
<div>
<div><br>
<br>
Arnaud Gelas-2 wrote:<br>
><br>
> Ryma,<br>
><br>
> The level sets framework may help you in
this task.<br>
><br>
> However, the choice of the "terms" to be
used and / or "functional" to<br>
> be minimized depends on your image.<br>
> It is really difficult to tell you which
method would work for your<br>
> image with this little information and
without the images.<br>
><br>
> First, I would recommend you having a
look at the examples based on ITKv3:<br>
><br>
>
Examples/Segmentation/GeodesicActiveContourImageFilter.cxx<br>
>
Examples/Segmentation/ThresholdSegmentationLevelSetImageFilter.cxx<br>
>
Examples/Segmentation/LaplacianSegmentationLevelSetImageFilter.cxx<br>
><br>
> and<br>
><br>
><br>
>
Modules/Segmentation/LevelSetsv4Visualization/test/vtkVisualize2DCellsLevelSetTest.cxx<br>
><br>
> You can run these tests and examples from
your build directory if you<br>
> have enabled BUILD_EXAMPLES and
BUILD_TESTING by running<br>
><br>
> ctest -R ${TheNameOfTheExample|Test}<br>
><br>
> Best,<br>
> Arnaud<br>
><br>
> On 02/14/2012 11:57 AM, Ryma wrote:<br>
>> Hi Arnaud,<br>
>> Thanks for reply, what i'm trying to
do exactly is extracting a part from<br>
>> a<br>
>> 3D image and want to see the surface
evolving.<br>
>> Ryma<br>
>><br>
>><br>
>> Arnaud Gelas-2 wrote:<br>
>>> Hi Ryma,<br>
>>><br>
>>> Can you provide more details,
please?<br>
>>><br>
>>> Are you trying to segment meshes
based on their geometry, additional<br>
>>> data?<br>
>>><br>
>>> or<br>
>>><br>
>>> Are you trying to extract some
shape of interest in a 3D image and you<br>
>>> would like to see the surface
evolves through the iteration?<br>
>>><br>
>>> Thanks,<br>
>>> Arnaud<br>
>>><br>
>>> On 02/14/2012 11:48 AM, Ryma
wrote:<br>
>>>> Hi itkUsers,<br>
>>>> I'm beginner to ITK, i'm
working on 3D meshes segmentation. What i'm<br>
>>>> trying<br>
>>>> to do is using the method of
Level Sets for segmentation. My meshes are<br>
>>>> .OBJ<br>
>>>> files, it's possible to use
the classes of ITK to see a surface<br>
>>>> evolving?<br>
>>>> Ryma<br>
>>>
_____________________________________<br>
>>> Powered by <a
moz-do-not-send="true"
href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source
projects at<br>
>>> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>>><br>
>>><br>
><br>
> _____________________________________<br>
> Powered by <a moz-do-not-send="true"
href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects
at<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</div>
</div>
</div>
</div>
<span><font color="#888888">--<br>
View this message in context: <a
moz-do-not-send="true"
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>Sent from the ITK - Users mailing list archive at
Nabble.com.<br>
<br>
</div>
<div class="im">
<div>
<div>_____________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div>
</div>
</div>
</blockquote>
</div>
<font color="#888888"><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: <a moz-do-not-send="true"
href="tel:%28%2B41%29%2076-635-08-66"
value="+41766350866" target="_blank">(+41)
76-635-08-66</a><br>
phone: <a moz-do-not-send="true"
href="tel:%28%2B41%29%2026-535-44-36"
value="+41265354436" target="_blank">(+41)
26-535-44-36</a><br>
<a moz-do-not-send="true"
href="mailto:arnaudgelas@gmail.com"
target="_blank">arnaudgelas@gmail.com</a></font></span><br>
</font></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>