10#ifndef __vtkImageNeighborhoodFilter_h
11#define __vtkImageNeighborhoodFilter_h
13#include <vtkImageSpatialAlgorithm.h>
15#include "vtkMRMLLogicExport.h"
43 vtkGetMacro(Neighbor,
int);
50 int &hoodMax1,
int &hoodMin2,
int &hoodMax2);
Augments vtkImageSpatialFilter with a mask to allow neighborhoods of any shape.
static vtkImageNeighborhoodFilter * New()
void SetKernelSize(int size0, int size1, int size2)
set size of neighborhood of each pixel
void GetMaskIncrements(vtkIdType &maskInc0, vtkIdType &maskInc1, vtkIdType &maskInc2)
Get the increments to use when looping through the mask.
void GetRelativeHoodExtent(int &hoodMin0, int &hoodMax0, int &hoodMin1, int &hoodMax1, int &hoodMin2, int &hoodMax2)
~vtkImageNeighborhoodFilter() override
unsigned char * GetMaskPointer()
vtkImageNeighborhoodFilter()