#include <irtkGaussianNoiseWithPadding.h>


This class implements a filter for adding Gaussian noise to images which are padded.
Definition at line 27 of file irtkGaussianNoiseWithPadding.h.
Public Member Functions | |
| irtkGaussianNoiseWithPadding (double Mean, double Sigma, VoxelType PaddingValue, VoxelType MinVal, VoxelType MaxVal) | |
| Constructor. | |
| ~irtkGaussianNoiseWithPadding () | |
| Destructor (empty). | |
| SetMacro (PaddingValue, VoxelType) | |
| Set padding value. | |
| GetMacro (PaddingValue, VoxelType) | |
| Get padding value. | |
| virtual double | Run (int, int, int, int) |
| Adds noise to input image. | |
Protected Member Functions | |
| virtual const char * | NameOfClass () |
| Returns the name of the class. | |
Protected Attributes | |
| VoxelType | _PaddingValue |
| The padding value. | |
| irtkGaussianNoiseWithPadding< VoxelType >::irtkGaussianNoiseWithPadding | ( | double | Mean, | |
| double | Sigma, | |||
| VoxelType | PaddingValue, | |||
| VoxelType | MinVal, | |||
| VoxelType | MaxVal | |||
| ) |
Constructor.
Sets mean value and standard deviation of the noise distribution, the padding value, and the image range.