VTK
|
Convolution of an image with a kernel. More...
#include <vtkImageConvolve.h>
Convolution of an image with a kernel.
vtkImageConvolve convolves the image with a 3D NxNxN kernel or a 2D NxN kernal. The output image is cropped to the same size as the input.
Definition at line 32 of file vtkImageConvolve.h.
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 38 of file vtkImageConvolve.h.
vtkImageConvolve::vtkImageConvolve | ( | ) | [protected] |
vtkImageConvolve::~vtkImageConvolve | ( | ) | [protected] |
static vtkImageConvolve* vtkImageConvolve::New | ( | ) | [static] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkAlgorithm.
static int vtkImageConvolve::IsTypeOf | ( | const char * | type | ) | [static] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageConvolve::IsA | ( | const char * | type | ) | [virtual] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageConvolve* vtkImageConvolve::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageConvolve::NewInstanceInternal | ( | ) | const [protected, virtual] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageConvolve* vtkImageConvolve::NewInstance | ( | ) | const |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageConvolve::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Construct an instance of vtkImageConvolve filter.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int* vtkImageConvolve::GetKernelSize | ( | ) | [virtual] |
Get the kernel size
virtual void vtkImageConvolve::GetKernelSize | ( | int & | , |
int & | , | ||
int & | |||
) | [virtual] |
Get the kernel size
virtual void vtkImageConvolve::GetKernelSize | ( | int | [3] | ) | [virtual] |
Get the kernel size
void vtkImageConvolve::SetKernel3x3 | ( | const double | kernel[9] | ) |
Set the kernel to be a given 3x3 or 5x5 or 7x7 kernel.
void vtkImageConvolve::SetKernel5x5 | ( | const double | kernel[25] | ) |
Set the kernel to be a given 3x3 or 5x5 or 7x7 kernel.
void vtkImageConvolve::SetKernel7x7 | ( | double | kernel[49] | ) |
Set the kernel to be a given 3x3 or 5x5 or 7x7 kernel.
Return an array that contains the kernel.
void vtkImageConvolve::GetKernel3x3 | ( | double | kernel[9] | ) |
Return an array that contains the kernel.
Return an array that contains the kernel.
void vtkImageConvolve::GetKernel5x5 | ( | double | kernel[25] | ) |
Return an array that contains the kernel.
Return an array that contains the kernel.
void vtkImageConvolve::GetKernel7x7 | ( | double | kernel[49] | ) |
Return an array that contains the kernel.
void vtkImageConvolve::SetKernel3x3x3 | ( | const double | kernel[27] | ) |
Set the kernel to be a 3x3x3 or 5x5x5 or 7x7x7 kernel.
void vtkImageConvolve::SetKernel5x5x5 | ( | double | kernel[125] | ) |
Set the kernel to be a 3x3x3 or 5x5x5 or 7x7x7 kernel.
void vtkImageConvolve::SetKernel7x7x7 | ( | double | kernel[343] | ) |
Set the kernel to be a 3x3x3 or 5x5x5 or 7x7x7 kernel.
Return an array that contains the kernel
void vtkImageConvolve::GetKernel3x3x3 | ( | double | kernel[27] | ) |
Return an array that contains the kernel
Return an array that contains the kernel
void vtkImageConvolve::GetKernel5x5x5 | ( | double | kernel[125] | ) |
Return an array that contains the kernel
Return an array that contains the kernel
void vtkImageConvolve::GetKernel7x7x7 | ( | double | kernel[343] | ) |
Return an array that contains the kernel
void vtkImageConvolve::ThreadedRequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector, | ||
vtkImageData *** | inData, | ||
vtkImageData ** | outData, | ||
int | extent[6], | ||
int | threadId | ||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageConvolve::GetKernel | ( | double * | kernel | ) | [protected] |
double* vtkImageConvolve::GetKernel | ( | ) | [protected] |
void vtkImageConvolve::SetKernel | ( | const double * | kernel, |
int | sizeX, | ||
int | sizeY, | ||
int | sizeZ | ||
) | [protected] |
int vtkImageConvolve::KernelSize[3] [protected] |
Definition at line 105 of file vtkImageConvolve.h.
double vtkImageConvolve::Kernel[343] [protected] |
Definition at line 106 of file vtkImageConvolve.h.