[vtkusers] Sub sample a volume using a 3D surface generated from contours
David Gobbi
david.gobbi at gmail.com
Mon Jun 13 16:56:46 EDT 2011
Step 3 can be done with vtkImageBlend. Give it two volumes and the
stencil as input, and its output will be the original image with
everything inside of the stencil replaced by the second image.
- David
On Mon, Jun 13, 2011 at 2:01 PM, jimham008
<jim.hamilton at revealimaging.com> wrote:
> I need to sub sample a volume based on a contour constructed from polydata.
> I would like to create a uniform color sub volume from the contour and
> insert it back into the original volume. I am thinking of using the
> following approach:
>
> 1. Create 3D surface from contours (using vtkVoxelContoursToSurfaceFilter
> to construct a 3D surface)
> 2. Use vtkPolyDataToImageStencil to get uniform sub volume
> 3. Insert sub volume back into original volume (not sure what the best
> method is for this step)
>
> Any advice would be appreciated.
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Sub-sample-a-volume-using-a-3D-surface-generated-from-contours-tp4485519p4485519.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list