#include <GaussianBlurringWithPadding.h>
Public Member Functions | |
GaussianBlurringWithPadding (double, VoxelType) | |
Constructor. | |
GaussianBlurringWithPadding (double, double, VoxelType) | |
Constructor. | |
GaussianBlurringWithPadding (double, double, double, VoxelType) | |
Constructor. | |
GaussianBlurringWithPadding (double, double, double, double, VoxelType) | |
Constructor. | |
![]() | |
GaussianBlurring (double=1.) | |
Constructor. | |
GaussianBlurring (double, double, double=0., double=0.) | |
Constructor. | |
virtual void | SetSigma (double) |
Set sigma. | |
virtual void | SetSigma (double, double, double=0., double=0.) |
Set sigma. | |
~GaussianBlurring () | |
Destructor. | |
![]() | |
bool | CheckKernel (const KernelType *) const |
Check if given kernel is valid. | |
void | Kernel (const KernelType *) |
Set isotropic convolution kernel for all dimensions. | |
virtual void | Run () |
Convolve image. | |
virtual void | RunT () |
Convolve image along t only. | |
virtual void | RunX () |
Convolve image along x only. | |
virtual void | RunY () |
Convolve image along y only. | |
virtual void | RunZ () |
Convolve image along z only. | |
SeparableConvolution (const KernelType *k=nullptr) | |
SeparableConvolution (const KernelType *kx, const KernelType *ky, const KernelType *kz=nullptr, const KernelType *kt=nullptr) | |
~SeparableConvolution () | |
Destructor. | |
![]() | |
ImageToImage () | |
Constructor. | |
virtual bool | RequiresBuffering () const |
virtual double | Run (int, int, int, int=0) |
Run filter on single voxel. | |
virtual | ~ImageToImage () |
Destructor. | |
![]() | |
virtual const char * | NameOfClass () const =0 |
Get name of class, which this object is an instance of. | |
virtual ParameterList | Parameter () const |
Get parameter name/value pairs. | |
bool | Parameter (const ParameterList &) |
Set parameters from name/value pairs. | |
virtual bool | Set (const char *name, const char *value) |
virtual | ~Object () |
Destructor. | |
Additional Inherited Members | |
![]() | |
typedef GenericImage< RealPixel > | KernelType |
Type of convolution kernel. | |
![]() | |
typedef GenericImage< VoxelType > | ImageType |
Input/output image type. | |
typedef TVoxel | VoxelType |
Input/output image voxel type. | |
![]() | |
static int | KernelSize (double) |
Kernel size used for a given sigma (divided by voxel size) | |
![]() | |
static const char * | NameOfType () |
Get name of this class type. | |
![]() | |
typedef SeparableConvolution< TVoxel >::KernelType | KernelType |
Type of convolution kernels. | |
![]() | |
virtual void | Initialize () |
Initialize filter. | |
UniquePtr< KernelType > | InitializeKernel (double) |
Initialize 1D Gaussian kernel with sigma given in voxel units. | |
mirtkAttributeMacro (double, SigmaX) | |
Standard deviation of Gaussian kernel in x. | |
mirtkAttributeMacro (double, SigmaY) | |
Standard deviation of Gaussian kernel in y. | |
mirtkAttributeMacro (double, SigmaZ) | |
Standard deviation of Gaussian kernel in z. | |
mirtkAttributeMacro (double, SigmaT) | |
Standard deviation of Gaussian kernel in t. | |
![]() | |
virtual void | Finalize () |
Finalize filter. | |
mirtkPublicAggregateMacro (const KernelType, KernelX) | |
Convolution kernel along x axis. | |
mirtkPublicAggregateMacro (const KernelType, KernelY) | |
Convolution kernel along y axis. | |
mirtkPublicAggregateMacro (const KernelType, KernelZ) | |
Convolution kernel along z axis. | |
mirtkPublicAggregateMacro (const KernelType, KernelT) | |
Convolution kernel along t axis. | |
mirtkPublicAttributeMacro (bool, Normalize) | |
Whether to normalize kernels. | |
mirtkPublicAttributeMacro (bool, UseBackgroundMask) | |
mirtkPublicAttributeMacro (bool, UseBackgroundValue) | |
mirtkPublicAttributeMacro (bool, UsePaddingValue) | |
mirtkPublicAttributeMacro (double, PaddingValue) | |
Padding value. | |
mirtkPublicAttributeMacro (int, Components) | |
![]() | |
void | Initialize (bool) |
mirtkAggregateMacro (ImageType, Buffer) | |
Buffer. | |
mirtkPublicAggregateMacro (const ImageType, Input) | |
Input image for filter. | |
mirtkPublicAggregateMacro (ImageType, Output) | |
Output image for filter. | |
![]() | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
![]() | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
Class for Gaussian blurring of padded images
This class defines and implements the Gaussian blurring of padded images. The blurring is implemented by three successive 1D convolutions with a 1D Gaussian kernel. If more than 50% of the voxels used for the convolution have intensities smaller or equal to the padding value, the blurred voxel will be filled with the padding value.
Definition at line 40 of file GaussianBlurringWithPadding.h.