[Insight-users] [ITK Community] 3d SEGMENTATION OF .OBJ FILE

Matt McCormick matt.mccormick at kitware.com
Mon Nov 18 12:11:02 EST 2013


Hi,

Code to convert a VTK ImageData to an ITK Image can be found in the
ITKVtkGlue module [1].

Hope this helps,
Matt

[1] http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Bridge/VtkGlue/test/itkVTKImageToImageFilterTest.cxx;h=b22c9e8685cf26290249554d58232d3d14b24a97;hb=HEAD

On Mon, Nov 18, 2013 at 5:14 AM, azmagillian
<xrysafenia.malliastolidou at gmail.com> wrote:
> Jon you said you made a filter to  "transform your VTK data object to an
> ITK image so that you can use ITK's segmentation filter."
>
> Where can i find it?
>
>  Thanks!!!
>
>
> 2013/11/15 Jon Haitz Legarreta Gorroño [via ITK Insight Users] <
> ml-node+s2283740n7584387h28 at n2.nabble.com>
>
>> 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.
>>
>> JON HAITZ
>>
>>
>>
>> On 15 November 2013 10:19, azmagillian <[hidden email]<http://user/SendEmail.jtp?type=node&node=7584387&i=0>
>> > wrote:
>>
>>> Thank you all again !
>>>
>>> As i figured the first step would be to apply the Conncted Threshold Image
>>> Filter to 3d input
>>>
>>> what changes should i make to the code?
>>> can i use as an input .vtk file (i converted .obj file to .vtk ) ?
>>>
>>>
>>> 2013/11/14 Jon Haitz Legarreta Gorroño [via ITK Insight Users] <
>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=7584387&i=1>>
>>>
>>>
>>> > Hi there,
>>> > you can find ITK's region growing segmentation filters here:
>>> > http://www.itk.org/Doxygen/html/group__RegionGrowingSegmentation.html
>>> >
>>> > You will find some guidelines to use them in the ITK SW guide:
>>> > http://www.itk.org/ItkSoftwareGuide.pdf (not up-to-date, but there is
>>> an
>>> > ongoing effort to make it again).
>>> >
>>> > HTH,
>>> > JON HAITZ
>>> >
>>> >
>>> > On 14 November 2013 15:09, azmagillian <[hidden email]<
>>> http://user/SendEmail.jtp?type=node&node=7584364&i=0>
>>>
>>> > > wrote:
>>> >
>>> >> Hans thanks for replying!
>>> >>
>>> >> right now i have successfully read and display my .obj with vtk
>>> >>
>>> >> for next step what should i do to use on this an itk filter ?
>>> >>
>>> >> also is there code for seeded 3D region growing segmentation ?
>>> >>
>>> >> i didn't get how to use this code
>>> >> http://insight-journal.org/browse/publication/178
>>> >>
>>> >>
>>> >> 2013/11/14 Johnson, Hans J [via ITK Insight Users] <
>>> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=7584364&i=1>>
>>>
>>> >>
>>> >>
>>> >> > There is some code that can allow conversion.  It is not fully
>>> >> documented,
>>> >> > but last time I tried, it worked well.
>>> >> >
>>> >> > http://insight-journal.org/browse/publication/178
>>> >> >
>>> >> >
>>> >> > Hans
>>> >> >
>>> >> >
>>> >> >
>>> >> > On 11/14/13, 6:06 AM, "azmagillian" <[hidden email]<
>>> >> http://user/SendEmail.jtp?type=node&node=7584358&i=0>>
>>> >>
>>> >> >
>>> >> > wrote:
>>> >> >
>>> >> > >Dear, ITK users , thanks in advance for your help
>>> >> > >
>>> >> > >I want to perform 3d segmentation of a .obj file
>>> >> > >my thought was to use connectedthreshold but there is not an example
>>> >> for
>>> >> > >3d
>>> >> > >then i tried to use confidenceconnected threshold but i can't give
>>> a.
>>> >> obj
>>> >> > >as
>>> >> > >input
>>> >> > >
>>> >> > >any ideas ?
>>> >> > >is there a way to convert .obj to a format suitable for itk filters?
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> > >--
>>> >> > >View this message in context:
>>> >> > >
>>> >> >
>>> >>
>>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE
>>> >> > >-tp7584357.html
>>> >> > >Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> >> > >_____________________________________
>>> >> > >Powered by www.kitware.com
>>> >> > >
>>> >> > >Visit other Kitware open-source projects at
>>> >> > >http://www.kitware.com/opensource/opensource.html
>>> >> > >
>>> >> > >Kitware offers ITK Training Courses, for more information visit:
>>> >> > >http://www.kitware.com/products/protraining.php
>>> >> > >
>>> >> > >Please keep messages on-topic and check the ITK FAQ at:
>>> >> > >http://www.itk.org/Wiki/ITK_FAQ
>>> >> > >
>>> >> > >Follow this link to subscribe/unsubscribe:
>>> >> > >http://www.itk.org/mailman/listinfo/insight-users
>>> >> >
>>> >> >
>>> >> >
>>> >> > ________________________________
>>> >> > Notice: This UI Health Care e-mail (including attachments) is
>>> covered by
>>> >> > the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
>>> >> > confidential and may be legally privileged.  If you are not the
>>> intended
>>> >> > recipient, you are hereby notified that any retention, dissemination,
>>> >> > distribution, or copying of this communication is strictly
>>> prohibited.
>>> >> >  Please reply to the sender that you have received the message in
>>> error,
>>> >> > then delete it.  Thank you.
>>> >> > ________________________________
>>> >> > _____________________________________
>>> >> > Powered by www.kitware.com
>>> >> >
>>> >> > Visit other Kitware open-source projects at
>>> >> > http://www.kitware.com/opensource/opensource.html
>>> >> >
>>> >> > Kitware offers ITK Training Courses, for more information visit:
>>> >> > http://www.kitware.com/products/protraining.php
>>> >> >
>>> >> > Please keep messages on-topic and check the ITK FAQ at:
>>> >> > http://www.itk.org/Wiki/ITK_FAQ
>>> >> >
>>> >> > Follow this link to subscribe/unsubscribe:
>>> >> > http://www.itk.org/mailman/listinfo/insight-users
>>> >> >
>>> >> >
>>> >> > ------------------------------
>>> >>
>>> >> >  If you reply to this email, your message will be added to the
>>> >> discussion
>>> >> > below:
>>> >> >
>>> >> >
>>> >>
>>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584358.html
>>> >> >  To unsubscribe from 3d SEGMENTATION OF .OBJ FILE, click here<
>>> >> > .
>>> >> > NAML<
>>> >>
>>> 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
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584363.html
>>> >>
>>> >> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> >> _____________________________________
>>> >> Powered by www.kitware.com
>>> >>
>>> >> Visit other Kitware open-source projects at
>>> >> http://www.kitware.com/opensource/opensource.html
>>> >>
>>> >> Kitware offers ITK Training Courses, for more information visit:
>>> >> http://www.kitware.com/products/protraining.php
>>> >>
>>> >> Please keep messages on-topic and check the ITK FAQ at:
>>> >> http://www.itk.org/Wiki/ITK_FAQ
>>> >>
>>> >> Follow this link to subscribe/unsubscribe:
>>> >> http://www.itk.org/mailman/listinfo/insight-users
>>> >> _______________________________________________
>>> >> Community mailing list
>>> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=7584364&i=2>
>>> >> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>> >>
>>> >
>>> >
>>> > _____________________________________
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Kitware offers ITK Training Courses, for more information visit:
>>> > http://www.kitware.com/products/protraining.php
>>> >
>>> > Please keep messages on-topic and check the ITK FAQ at:
>>> > http://www.itk.org/Wiki/ITK_FAQ
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.itk.org/mailman/listinfo/insight-users
>>> >
>>> >
>>> > ------------------------------
>>> >  If you reply to this email, your message will be added to the
>>> discussion
>>> > below:
>>> >
>>> >
>>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584364.html
>>>
>>> >  To unsubscribe from 3d SEGMENTATION OF .OBJ FILE, click here< > .
>>> > NAML<
>>> 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
>>> >
>>> >
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584383.html
>>>
>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584387.html
>>  To unsubscribe from 3d SEGMENTATION OF .OBJ FILE, click here<http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7584357&code=eHJ5c2FmZW5pYS5tYWxsaWFzdG9saWRvdUBnbWFpbC5jb218NzU4NDM1N3wtMzkxNjk0NjEy>
>> .
>> NAML<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.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-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>
>>
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/3d-SEGMENTATION-OF-OBJ-FILE-tp7584357p7584398.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community


More information about the Insight-users mailing list