VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Filters Namespace / AddNoiseCommand Class / AddNoiseCommand Constructors / AddNoiseCommand Constructor(NoiseType,Double,Double,Single,Int32,Boolean,Boolean,RgbColorChannel,Boolean)
Syntax Requirements SeeAlso
In This Topic
    AddNoiseCommand Constructor(NoiseType,Double,Double,Single,Int32,Boolean,Boolean,RgbColorChannel,Boolean)
    In This Topic
    Initializes a new instance of the AddNoiseCommand class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal noiseType
    Noise type.
    As Vintasoft.Imaging.ImageProcessing.NoiseType, _
    ByVal variance
    A controls the noise.
    As Double, _
    ByVal mean
    A controls the black and white pixels to noise.
    As Double, _
    ByVal noisePercentage
    A noise rate on image.
    As Single, _
    ByVal seedPercentage
    A reference value to noise percentage.
    As System.Int32, _
    ByVal autoSeedPercentageGeneration
    A value indicating whether the seed percentage is calculated automatically.
    As Boolean, _
    ByVal autoNoiseGeneration
    A value indicating whether the variance and mean is calculated automatically.
    As Boolean, _
    ByVal colorChannel
    Color channel(s) to process.
    As Vintasoft.Imaging.ImageProcessing.RgbColorChannel, _
    ByVal monochromaticNoise
    A value indicating whether the noise is monochromatic.
    As Boolean _
    )

    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.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also