[vtkusers] vtkImageAccumulate with regions
David Gobbi
dgobbi at imaging.robarts.ca
Fri Jul 2 14:32:06 EDT 2004
Hi Glenn,
If the region is rectangular, then it might be easiest to pass the
image through vtkImageClip to extract the rectangular region before
passing it to vtkImageAccumulate.
The SetStencil function is meant for specifying irregularly-shaped
regions based on implicit functions or image masks. Nobody has yet
contributed a stencil source for simple rectangular regions.
- David
On Fri, 2 Jul 2004, Glenn Pierce wrote:
>
> Hi
>
> Does anyone know of any examples of using
> vtkImageAccumulate with a particular rectangular region of an image ?
>
> I think it involves the SetStencil function of vtkImageAccumulate
> but I am not sure and I can find no example of using vtkImageStencilData
> at all.
>
> Thanks for any help.
>
>
> Glenn
>
>
More information about the vtkusers
mailing list