Public Member Functions | List of all members
mirtk::GaussianBlurring2D< TVoxel > Class Template Reference

#include <GaussianBlurring2D.h>

Inheritance diagram for mirtk::GaussianBlurring2D< TVoxel >:
Inheritance graph
Collaboration diagram for mirtk::GaussianBlurring2D< TVoxel >:
Collaboration graph

Public Member Functions

 GaussianBlurring2D (double=1.0)
 Constructor.
 
 GaussianBlurring2D (double, double)
 Constructor.
 
 ~GaussianBlurring2D ()
 Destructor.
 
- Public Member Functions inherited from mirtk::GaussianBlurring< TVoxel >
 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.
 
- Public Member Functions inherited from mirtk::SeparableConvolution< TVoxel >
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.
 
- Public Member Functions inherited from mirtk::ImageToImage< TVoxel >
 ImageToImage ()
 Constructor.
 
virtual bool RequiresBuffering () const
 
virtual double Run (int, int, int, int=0)
 Run filter on single voxel.
 
virtual ~ImageToImage ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
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

- Public Types inherited from mirtk::SeparableConvolution< TVoxel >
typedef GenericImage< RealPixel > KernelType
 Type of convolution kernel.
 
- Public Types inherited from mirtk::ImageToImage< TVoxel >
typedef GenericImage< VoxelTypeImageType
 Input/output image type.
 
typedef TVoxel VoxelType
 Input/output image voxel type.
 
- Static Public Member Functions inherited from mirtk::GaussianBlurring< TVoxel >
static int KernelSize (double)
 Kernel size used for a given sigma (divided by voxel size)
 
- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Protected Types inherited from mirtk::GaussianBlurring< TVoxel >
typedef SeparableConvolution< TVoxel >::KernelType KernelType
 Type of convolution kernels.
 
- Protected Member Functions inherited from mirtk::GaussianBlurring< TVoxel >
virtual void Initialize ()
 Initialize filter.
 
UniquePtr< KernelTypeInitializeKernel (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.
 
- Protected Member Functions inherited from mirtk::SeparableConvolution< TVoxel >
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)
 
- Protected Member Functions inherited from mirtk::ImageToImage< TVoxel >
void Initialize (bool)
 
 mirtkAggregateMacro (ImageType, Buffer)
 Buffer.
 
 mirtkPublicAggregateMacro (const ImageType, Input)
 Input image for filter.
 
 mirtkPublicAggregateMacro (ImageType, Output)
 Output image for filter.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

template<class TVoxel>
class mirtk::GaussianBlurring2D< TVoxel >

Class for Gaussian blurring of images

This class defines and implements the Gaussian blurring of images. It takes 2D and 3D images but blurs only in the x and y direction. The blurring is implemented by two successive 1D convolutions with a 1D Gaussian kernel.

Definition at line 39 of file GaussianBlurring2D.h.


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