43#ifndef vtkImageConvolve_h
44#define vtkImageConvolve_h
46#include "vtkImagingGeneralModule.h"
65 vtkGetVector3Macro(KernelSize,
int);
83 void GetKernel3x3(
double kernel[9]);
85 void GetKernel5x5(
double kernel[25]);
89 void GetKernel7x7(
double kernel[49]);
94 void SetKernel3x3x3(const
double kernel[27]);
96 void SetKernel5x5x5(const
double kernel[125]);
97 void SetKernel7x7x7(const
double kernel[343]);
104 void GetKernel3x3x3(
double kernel[27]);
108 void GetKernel5x5x5(
double kernel[125]);
110 void GetKernel7x7x7(
double kernel[343]);
118 int outExt[6],
int id) override;
120 void GetKernel(
double* kernel);
122 void SetKernel(const
double* kernel,
int sizeX,
int sizeY,
int sizeZ);
Convolution of an image with a kernel.
static vtkImageConvolve * New()
Construct an instance of vtkImageConvolve filter.
void SetKernel3x3(const double kernel[9])
Set the kernel to be a given 3x3 or 5x5 or 7x7 kernel.
void SetKernel7x7(const double kernel[49])
void SetKernel5x5(const double kernel[25])
Set the kernel to be a given 3x3 or 5x5 or 7x7 kernel.
double * GetKernel3x3()
Return an array that contains the kernel.
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageConvolve filter.
topologically and geometrically regular array of data
a simple class to control print indentation
Generic filter that has one input.
#define VTK_SIZEHINT(...)