'Declaration Public Function New( _
ByVal noiseTypeNoise type.As Vintasoft.Imaging.ImageProcessing.NoiseType, _
ByVal varianceA controls the noise.As Double, _
ByVal meanA controls the black and white pixels to noise.As Double, _
ByVal noisePercentageA noise rate on image.As Single, _
ByVal seedPercentageA reference value to noise percentage.As System.Int32, _
ByVal autoSeedPercentageGenerationA value indicating whether the seed percentage is calculated automatically.As Boolean, _
ByVal autoNoiseGenerationA value indicating whether the variance and mean is calculated automatically.As Boolean, _
ByVal colorChannelColor channel(s) to process.As Vintasoft.Imaging.ImageProcessing.RgbColorChannel, _
ByVal monochromaticNoiseA value indicating whether the noise is monochromatic.As Boolean _
)
public AddNoiseCommand(
Vintasoft.Imaging.ImageProcessing.NoiseType noiseType,
double variance,
double mean,
float noisePercentage,
System.Int32 seedPercentage,
bool autoSeedPercentageGeneration,
bool autoNoiseGeneration,
Vintasoft.Imaging.ImageProcessing.RgbColorChannel colorChannel,
bool monochromaticNoise
)
public: AddNoiseCommand(
Vintasoft.Imaging.ImageProcessing.NoiseType noiseType,
double variance,
double mean,
float noisePercentage,
System.Int32 seedPercentage,
bool autoSeedPercentageGeneration,
bool autoNoiseGeneration,
Vintasoft.Imaging.ImageProcessing.RgbColorChannel colorChannel,
bool monochromaticNoise
)
public:
AddNoiseCommand(
Vintasoft.Imaging.ImageProcessing.NoiseType noiseType,
double variance,
double mean,
float noisePercentage,
System.Int32 seedPercentage,
bool autoSeedPercentageGeneration,
bool autoNoiseGeneration,
Vintasoft.Imaging.ImageProcessing.RgbColorChannel colorChannel,
bool monochromaticNoise
)
Parameters
- noiseType
- Noise type.
- variance
- A controls the noise.
- mean
- A controls the black and white pixels to noise.
- noisePercentage
- A noise rate on image.
- seedPercentage
- A reference value to noise percentage.
- autoSeedPercentageGeneration
- A value indicating whether the seed percentage is calculated automatically.
- autoNoiseGeneration
- A value indicating whether the variance and mean is calculated automatically.
- colorChannel
- Color channel(s) to process.
- monochromaticNoise
- A value indicating whether the noise is monochromatic.