[vtkusers] Morphological operations on 3D mesh (vtkPolyData)

Arthur Porat arthur.porat at gmail.com
Thu Dec 8 04:07:52 EST 2011


Is there any implementation of such algorithm somewhere? (even outside VTK)

Best.

2011/12/7 Julien Lamy <lamy at unistra.fr>

> Hi Arthur,
>
> Le 07/12/2011 17:12, Arthur Porat a écrit :
> > Hi vtk users,
> >
> > I would like to apply morphological operations such as
> > open/erode/dilate/... on a VTK 3D mesh (ie a vtkPolyData).
> >
> > Is there any filter/api for this kind of processing? I failed to find
> > classes working with vtkPolyData.
> > I heard about vtkImageDilateErode3D but it is designed to work with 3D
> > volumes and not meshes.
>
> As far as I know, there are no such operations in VTK. They are however
> quite easy to implement : you just have to define a ring neighborhood of
> desired radius (the equivalent of a structuring element on images) on
> each point of your vtkPolyData (based on the topology of the cells), and
> then simply compute the minimum (for erosion) or maximum (for dilation)
> of the points values on this neighborhood and assign it to the "center"
> point.
>
> HTH,
> --
> Julien
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111208/72890ee6/attachment.htm>


More information about the vtkusers mailing list