irtkConvolutionWithPadding_3D< VoxelType > Class Template Reference

#include <irtkConvolutionWithPadding_3D.h>

Inheritance diagram for irtkConvolutionWithPadding_3D< VoxelType >:

Inheritance graph
[legend]
Collaboration diagram for irtkConvolutionWithPadding_3D< VoxelType >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class VoxelType>
class irtkConvolutionWithPadding_3D< VoxelType >

Class for three-dimensional convolution of padded images.

This class defines and implements three-dimensional convolutions of a padded image with a filter kernel. The convolution is computed along all axis. The filter ignores any padded values in the image.

Definition at line 25 of file irtkConvolutionWithPadding_3D.h.


Public Member Functions

 irtkConvolutionWithPadding_3D (VoxelType, Bool=False)
 Constructor.
void PutPaddingValue (VoxelType)
 Put the padding value.
VoxelType GetPaddingValue ()
 Get the padding value.

Protected Member Functions

virtual const char * NameOfClass ()
 Returns the name of the class.
virtual double Run (int, int, int, int)
 Run the convolution filter.

Protected Attributes

VoxelType _padding
 Padding value.

Member Function Documentation

template<class VoxelType>
virtual double irtkConvolutionWithPadding_3D< 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(). This method also overrides the member function Run() of the base class and ignores any padded values during the convolution. If more than 50% of the voxels are padded, it returns the padding value, otherwise it returns the result of the convolution.

Reimplemented from irtkConvolution_3D< VoxelType >.


Member Data Documentation

template<class VoxelType>
VoxelType irtkConvolutionWithPadding_3D< VoxelType >::_padding [protected]

Padding value.

The padding value defines which voxels are ignored during the calculation of the convolution. All voxels whose value is smaller or equal to the padding value are ignored.

Definition at line 34 of file irtkConvolutionWithPadding_3D.h.


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