#include <irtkConvolution_2D.h>
This class defines and implements two-dimensional convolutions of an image with a filter kernel. The convolution is computed along the x- and y-axis. This class assumes that the filter kernel is two-dimensional and its size along the z-axis must be 1.
Definition at line 26 of file irtkConvolution_2D.h.
Public Member Functions | |
irtkConvolution_2D (Bool=False) | |
Constructor. | |
virtual void | SetInput2 (irtkGenericImage< irtkRealPixel > *) |
Set second input, i.e. the filter kernel. | |
virtual void | Initialize () |
Initialize the convolution filter. | |
Protected Member Functions | |
virtual Bool | RequiresBuffering () |
Returns whether the filter requires buffering. | |
virtual const char * | NameOfClass () |
Returns the name of the class. | |
virtual double | Run (int, int, int, int) |
Run the convolution filter. | |
Protected Attributes | |
irtkGenericImage< irtkRealPixel > * | _input2 |
Second input, i.e. the filter kernel. |
virtual Bool irtkConvolution_2D< VoxelType >::RequiresBuffering | ( | ) | [protected, virtual] |
Returns whether the filter requires buffering.
This filter requires buffering and returns 0.
virtual double irtkConvolution_2D< VoxelType >::Run | ( | int | , | |
int | , | |||
int | , | |||
int | ||||
) | [protected, virtual] |
Run the convolution filter.
This method is protected and should only be called from within public member function Run().
Reimplemented in irtkConvolutionWithPadding_2D< VoxelType >.