#include <irtkConvolutionWithPadding_3D.h>
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. |
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 >.
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.