[vtkusers] how does vtkImageStencil interpolate?

Prathamesh Kulkarni prathameshmkulkarni at gmail.com
Mon Jul 26 15:11:13 EDT 2010


Oh okay.

Then I guess my question should have been: how does vtkImplicitSelectionLoop
interpolate, if at all? and whether the default behavior can be changed?

On Mon, Jul 26, 2010 at 2:00 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> There isn't any interpolation, really.  For each pixel (or voxel) in
> the stencil, vtkImplicitFunctionToImageStencil evaluates the implicit
> function at the (x,y,z) coordinate that corresponds to the center of
> the pixel.  Depending on whether the implicit function is greater than
> zero or less than zero at that point, the stencil stores either an
> "on" or "off" value for that pixel.
>
>   David
>
>
> On Mon, Jul 26, 2010 at 12:48 PM, Prathamesh Kulkarni
> <prathameshmkulkarni at gmail.com> wrote:
> >
> > Hello all,
> >
> > I would like to know the internal methods used by vtkImageStencil to
> > interpolate. For example, then I create a stencil using
> > vtkImplicitFunctionToImageStencil and apply it to vtkImageStencil, how
> will
> > vtkImageStencil get the intermediate points? Is there a way to change
> this
> > default behavior?
> >
> > Thanks,
> > Prathamesh
> >
> > _______________________________________________
> > 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/20100726/8522f412/attachment.htm>


More information about the vtkusers mailing list