12 #ifndef mitkBilateralFilter_h
13 #define mitkBilateralFilter_h
47 itkFactorylessNewMacro(Self);
57 itkSetMacro(DomainSigma,
float);
66 itkSetMacro(RangeSigma,
float);
75 itkSetMacro(AutoKernel,
bool);
83 itkSetMacro(KernelRadius,
unsigned int);
86 itkGetMacro(DomainSigma,
float);
88 itkGetMacro(RangeSigma,
float);
90 itkGetMacro(AutoKernel,
bool);
92 itkGetMacro(KernelRadius,
unsigned int);
117 template <
typename TPixel,
unsigned int VImageDimension>
#define MITKIMAGEDENOISING_EXPORT
Edge-preserving smoothing filter using bilateral filtering.
bool m_AutoKernel
If true, kernel size is computed from DomainSigma; if false, m_KernelRadius is used.
mitkClassMacro(BilateralFilter, ImageToImageFilter)
~BilateralFilter() override
standard destructor
BilateralFilter()
standard constructor
float m_DomainSigma
Sigma of the spatial domain Gaussian kernel.
float m_RangeSigma
Sigma of the range (intensity) Gaussian kernel.
unsigned int m_KernelRadius
Manual kernel radius, used when m_AutoKernel is false.
void ItkImageProcessing(const itk::Image< TPixel, VImageDimension > *itkImage)
Internal templated method calling the ITK bilteral filter. Here the actual filtering is performed.
void GenerateData() override
Method generating the output of this filter. Called in the updated process of the pipeline....
void GenerateOutputInformation() override
Method generating the output information of this filter (e.g. image dimension, image type,...
Superclass of all classes having one or more Images as input and generating Images as output.
Find image slices visible on a given plane.