[vtkusers] how does vtkImageStencil interpolate?
David Gobbi
david.gobbi at gmail.com
Mon Jul 26 15:00:09 EDT 2010
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
>
>
More information about the vtkusers
mailing list