<div dir="ltr">You should either use the filter Hans mentioned or the one I did to transform your VTK data object to an ITK image so that you can use ITK's segmentation filter.<br><br>JON HAITZ<br><br><br><div><div class="gmail_extra">
<br><div class="gmail_quote">On 15 November 2013 10:19, azmagillian <span dir="ltr"><<a href="mailto:xrysafenia.malliastolidou@gmail.com" target="_blank">xrysafenia.malliastolidou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you all again !<br>
<br>
As i figured the first step would be to apply the Conncted Threshold Image<br>
Filter to 3d input<br>
<br>
what changes should i make to the code?<br>
can i use as an input .vtk file (i converted .obj file to .vtk ) ?<br>
<br>
<br>
2013/11/14 Jon Haitz Legarreta Gorroņo [via ITK Insight Users] <<br>
<a href="mailto:ml-node%2Bs2283740n7584364h15@n2.nabble.com">ml-node+s2283740n7584364h15@n2.nabble.com</a>><br>
<div class="im"><br>
> Hi there,<br>
> you can find ITK's region growing segmentation filters here:<br>
> <a href="http://www.itk.org/Doxygen/html/group__RegionGrowingSegmentation.html" target="_blank">http://www.itk.org/Doxygen/html/group__RegionGrowingSegmentation.html</a><br>
><br>
> You will find some guidelines to use them in the ITK SW guide:<br>
> <a href="http://www.itk.org/ItkSoftwareGuide.pdf" target="_blank">http://www.itk.org/ItkSoftwareGuide.pdf</a> (not up-to-date, but there is an<br>
> ongoing effort to make it again).<br>
><br>
> HTH,<br>
> JON HAITZ<br>
><br>
><br>
</div>> On 14 November 2013 15:09, azmagillian <[hidden email]<<a href="http://user/SendEmail.jtp?type=node&node=7584364&i=0" target="_blank">http://user/SendEmail.jtp?type=node&node=7584364&i=0</a>><br>

<div class="im">> > wrote:<br>
><br>
>> Hans thanks for replying!<br>
>><br>
>> right now i have successfully read and display my .obj with vtk<br>
>><br>
>> for next step what should i do to use on this an itk filter ?<br>
>><br>
>> also is there code for seeded 3D region growing segmentation ?<br>
>><br>
>> i didn't get how to use this code<br>
>> <a href="http://insight-journal.org/browse/publication/178" target="_blank">http://insight-journal.org/browse/publication/178</a><br>
>><br>
>><br>
>> 2013/11/14 Johnson, Hans J [via ITK Insight Users] <<br>
</div>>> [hidden email] <<a href="http://user/SendEmail.jtp?type=node&node=7584364&i=1" target="_blank">http://user/SendEmail.jtp?type=node&node=7584364&i=1</a>>><br>
<div><div class="h5">>><br>
>><br>
>> > There is some code that can allow conversion.  It is not fully<br>
>> documented,<br>
>> > but last time I tried, it worked well.<br>
>> ><br>
>> > <a href="http://insight-journal.org/browse/publication/178" target="_blank">http://insight-journal.org/browse/publication/178</a><br>
>> ><br>
>> ><br>
>> > Hans<br>
>> ><br>
>> ><br>
>> ><br>
>> > On 11/14/13, 6:06 AM, "azmagillian" <[hidden email]<<br>
>> <a href="http://user/SendEmail.jtp?type=node&node=7584358&i=0" target="_blank">http://user/SendEmail.jtp?type=node&node=7584358&i=0</a>>><br>
>><br>
>> ><br>
>> > wrote:<br>
>> ><br>
>> > >Dear, ITK users , thanks in advance for your help<br>
>> > ><br>
>> > >I want to perform 3d segmentation of a .obj file<br>
>> > >my thought was to use connectedthreshold but there is not an example<br>
>> for<br>
>> > >3d<br>
>> > >then i tried to use confidenceconnected threshold but i can't give a.<br>
>> obj<br>
>> > >as<br>
>> > >input<br>
>> > ><br>
>> > >any ideas ?<br>
>> > >is there a way to convert .obj to a format suitable for itk filters?<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > >--<br>
>> > >View this message in context:<br>
>> > ><br>
>> ><br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE</a><br>
>> > >-tp7584357.html<br>
>> > >Sent from the ITK Insight Users mailing list archive at Nabble.com.<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
>> ><br>
>> ><br>
>> > ________________________________<br>
>> > Notice: This UI Health Care e-mail (including attachments) is covered by<br>
>> > the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is<br>
>> > confidential and may be legally privileged.  If you are not the intended<br>
>> > recipient, you are hereby notified that any retention, dissemination,<br>
>> > distribution, or copying of this communication is strictly prohibited.<br>
>> >  Please reply to the sender that you have received the message in error,<br>
>> > then delete it.  Thank you.<br>
>> > ________________________________<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
>> ><br>
>> > ------------------------------<br>
>><br>
>> >  If you reply to this email, your message will be added to the<br>
>> discussion<br>
>> > below:<br>
>> ><br>
>> ><br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584358.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584358.html</a><br>

>> >  To unsubscribe from 3d SEGMENTATION OF .OBJ FILE, click here<<br>
</div></div><div class="im">>> > .<br>
>> > NAML<<br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a><br>

>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584363.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584363.html</a><br>

>><br>
>> Sent from the ITK Insight Users mailing list archive at Nabble.com.<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
>> Community mailing list<br>
</div>>> [hidden email] <<a href="http://user/SendEmail.jtp?type=node&node=7584364&i=2" target="_blank">http://user/SendEmail.jtp?type=node&node=7584364&i=2</a>><br>
>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<div class="im">>><br>
><br>
><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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
><br>
> ------------------------------<br>
>  If you reply to this email, your message will be added to the discussion<br>
> below:<br>
><br>
</div>> <a href="http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584364.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584364.html</a><br>

<div class="im">>  To unsubscribe from 3d SEGMENTATION OF .OBJ FILE, click here<<a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7584357&code=eHJ5c2FmZW5pYS5tYWxsaWFzdG9saWRvdUBnbWFpbC5jb218NzU4NDM1N3wtMzkxNjk0NjEy" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7584357&code=eHJ5c2FmZW5pYS5tYWxsaWFzdG9saWRvdUBnbWFpbC5jb218NzU4NDM1N3wtMzkxNjk0NjEy</a>><br>

> .<br>
> NAML<<a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>><br>

><br>
<br>
<br>
<br>
<br>
--<br>
</div>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584383.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584383.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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></div></div></div>