Table of Contents

Class PdnReduceNoiseEffect

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll

A Direct2D effect that renders Paint.NET's built-in Reduce Noise effect.

public sealed class PdnReduceNoiseEffect : CustomEffect<PdnReduceNoiseEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
PdnReduceNoiseEffect
Implements
Inherited Members

Remarks

This effect tends to work best with compressed gamma (aka companded, non-linear). If your input image is in linear gamma space, or if the output of thise effect just looks bad or wrong, then it may be best to first adjust the gamma using GammaTransferEffect, GammaTransferEffect2, or ConvertGammaEffect with an exponent of 2.2. You can also use LinearToSrgbEffect. Then apply the inverse to the output of this effect (either apply an exponent of 1.0/2.2, or use SrgbToLinearEffect).

Constructors

PdnReduceNoiseEffect(IDeviceEffectFactory)