[vtkusers] Closed Surface from Marching Cubes

Simon ESNEAULT simon.esneault at gmail.com
Mon May 18 09:48:03 EDT 2015


Hello Andrew,

One simple solution can be to "Pad" the image by one pixel in every
direction, using the vtkImageConstantPad filter before the Marching Cubes.
Hence the generated mesh shall be closed.

Simon

2015-05-18 14:56 GMT+02:00 Andrew Crozier <andrew.crozier at medunigraz.at>:

> Hi,
>
> I am using vtkDiscreteMarchingCubes to generate a surface mesh from a
> segmented image volume, prior to applying a custom smoothing algorithm and
> finally rendering a new image volume.
>
> The rendering step has problems when the surface mesh is not closed, which
> occurs when the segmented object meets a side of the image volume. Is there
> some way that I can generate a closed surface from the marching cubes
> algorithm, or postprocess the open surface (or contours generated from it
> by vtkCutter) to close it?
>
> Many thanks,
> Andrew
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150518/1a84bdb0/attachment.html>


More information about the vtkusers mailing list