Class PdnReduceNoiseEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnReduceNoiseEffect.Props : CustomEffectProperties
- Inheritance
-
PdnReduceNoiseEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input and output.
The default value is Premultiplied.
- EdgeMode
Specifies how sampling beyond the edge of the image should be performed.
If this value is Transparent, the effect pads the image with transparent pixels as it applies the kernel, resulting in a soft edge. The output will be larger than the input by approximately the kernel radius, in pixels.
If set to another edge mode, the effect clamps the output to the size of the input image.
The default value is Mirror.
- Radius
Specifies the radius of the noise reduction filter.
The range is [0, 50], and the default value is 6.
- Strength
Specifies the strength of the noise reduction.
The range is [0.01, 1], and the default is 0.4.