[vtkusers] Re: MarchingCubes rgba

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Jun 7 09:54:43 EDT 2005


"Rodolfo Palacios" <rpalacios75 at hotmail.com> wrote in message
news:BAY104-F356CCAED9E2BAB2F935211B5FB0 at phx.gbl...
> Hello everyone!
>
> I've been searching the net and kitware archives and I haven't find an
> answer... maybe you can help me.
>
> I want to know if it is possible to create a volume with vtkMarchingCubes
> from an rgba (four scalar components) image volume, or maybe there is
> another filter that can achieve this task.
>
> Thank you.
> Rodolfo Palacios.
>

Hi Rodolfo,

You need to segment your color images into grayscale "label maps". Each
structure in your color volume is mapped to a constant gray color region in
the grayscale volume. You can then use vtkDiscreteMarchingCubes
(http://www.vtk.org/doc/nightly/html/classvtkDiscreteMarchingCubes.html) on
the grayscale volume.

hth

Goodwin






More information about the vtkusers mailing list