irtkConvolution_2D< VoxelType > Class Template Reference

#include <irtkConvolution_2D.h>

Inheritance diagram for irtkConvolution_2D< VoxelType >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class VoxelType>
class irtkConvolution_2D< VoxelType >

Class for two-dimensional convolution.

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.

Member Function Documentation

template<class VoxelType>
virtual Bool irtkConvolution_2D< VoxelType >::RequiresBuffering (  )  [protected, virtual]

Returns whether the filter requires buffering.

This filter requires buffering and returns 0.

template<class VoxelType>
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 >.


The documentation for this class was generated from the following file: