[vtkusers] Build 3D Mesh from vtkImageData using vtkMarchingCubes - holes filling ?

Jothybasu Selvaraj jothybasu at gmail.com
Wed Dec 7 05:13:40 EST 2011


Since you said "2D binary slices" vtkDiscreteMarchingCubes may be more
appropriate than vtkMarchingCubes.

What do you think Bill?

Jothy

On Tue, Dec 6, 2011 at 5:03 PM, Malsoaz James <jmalsoaz at yahoo.fr> wrote:

> Dear VTK users
>
> I'm trying to build a 3D mesh from a vtkImageData using vtkMarchingCubes.
> The vtkImageData is build from a list of 2D binary slices.
>
> vtkMarchingCubes works great. But when a slice(s) is(are) missing, it
> creates a hole in the 3D mesh (see image in attachment).
>
> 1 - How can I fill this kind of hole ? Ideally, I would like to link the
> two parts of the mesh
>
> 2 - I found a solution in the use of a resampler (vtkImageResample,
> vtkImageShrink3D, don't know which one is recommanded). Unfortunately, it
> sometimes produces ugly mesh with "stair effect" when the spacing is too
> big (still there after decimate and smooth). Is it a good solution ? How
> to solve the stair problem ?
>
> 3 - Browsing the mailing list brings me to the notion of "repair hole" for
> marching cubes. I don't know a lot about it. But should I look into this ?
> Some solutions exist for this such as http://www.opentopology.org/
>
> 4 - Is vtkMarchingCubes the class I should use for my purpose or should I
> look at vtkVoxelContoursSurfaceFilter or any other filter ?
>
>
> Thank you for you help.
> Best.
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111207/8db22745/attachment.htm>


More information about the vtkusers mailing list