Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel > Class Template Reference

Pixel functor that adds Gaussian noise to a pixel value. More...

#include <mitkGaussianNoiseFunctor.h>

Public Member Functions

 GaussianNoiseFunctor ()
 
 ~GaussianNoiseFunctor ()
 
void SetMean (double mu)
 Sets the mean of the Gaussian noise distribution. More...
 
void SetSigma (double sigma)
 Sets the standard deviation of the Gaussian noise distribution. More...
 
bool operator!= (const GaussianNoiseFunctor &other) const
 
bool operator== (const GaussianNoiseFunctor &other) const
 
TOutputPixel operator() (const TInputPixel &value) const
 

Detailed Description

template<class TInputPixel, class TOutputPixel>
class mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >

Pixel functor that adds Gaussian noise to a pixel value.

This functor generates a random number from a normal distribution with the specified mean and standard deviation, and adds it to the input pixel value.

Template Parameters
TInputPixelThe input pixel type.
TOutputPixelThe output pixel type.

Definition at line 32 of file mitkGaussianNoiseFunctor.h.

Constructor & Destructor Documentation

◆ GaussianNoiseFunctor()

template<class TInputPixel , class TOutputPixel >
mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::GaussianNoiseFunctor ( )
inline

Definition at line 36 of file mitkGaussianNoiseFunctor.h.

◆ ~GaussianNoiseFunctor()

template<class TInputPixel , class TOutputPixel >
mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::~GaussianNoiseFunctor ( )
inline

Definition at line 37 of file mitkGaussianNoiseFunctor.h.

Member Function Documentation

◆ operator!=()

template<class TInputPixel , class TOutputPixel >
bool mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::operator!= ( const GaussianNoiseFunctor< TInputPixel, TOutputPixel > &  other) const
inline

Definition at line 50 of file mitkGaussianNoiseFunctor.h.

◆ operator()()

template<class TInputPixel , class TOutputPixel >
TOutputPixel mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::operator() ( const TInputPixel &  value) const
inline

Definition at line 60 of file mitkGaussianNoiseFunctor.h.

◆ operator==()

template<class TInputPixel , class TOutputPixel >
bool mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::operator== ( const GaussianNoiseFunctor< TInputPixel, TOutputPixel > &  other) const
inline

Definition at line 55 of file mitkGaussianNoiseFunctor.h.

◆ SetMean()

template<class TInputPixel , class TOutputPixel >
void mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::SetMean ( double  mu)
inline

Sets the mean of the Gaussian noise distribution.

Definition at line 40 of file mitkGaussianNoiseFunctor.h.

◆ SetSigma()

template<class TInputPixel , class TOutputPixel >
void mitk::GaussianNoiseFunctor< TInputPixel, TOutputPixel >::SetSigma ( double  sigma)
inline

Sets the standard deviation of the Gaussian noise distribution.

Definition at line 45 of file mitkGaussianNoiseFunctor.h.


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