|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
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 |
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.
| TInputPixel | The input pixel type. |
| TOutputPixel | The output pixel type. |
Definition at line 32 of file mitkGaussianNoiseFunctor.h.
|
inline |
Definition at line 36 of file mitkGaussianNoiseFunctor.h.
|
inline |
Definition at line 37 of file mitkGaussianNoiseFunctor.h.
|
inline |
Definition at line 50 of file mitkGaussianNoiseFunctor.h.
|
inline |
Definition at line 60 of file mitkGaussianNoiseFunctor.h.
|
inline |
Definition at line 55 of file mitkGaussianNoiseFunctor.h.
|
inline |
Sets the mean of the Gaussian noise distribution.
Definition at line 40 of file mitkGaussianNoiseFunctor.h.
|
inline |
Sets the standard deviation of the Gaussian noise distribution.
Definition at line 45 of file mitkGaussianNoiseFunctor.h.