C# Class Pinta.ImageManipulation.Effects.ReduceNoiseEffect

Inheritance: LocalHistogramEffect
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( ColorBgra color, int area, int hb, int hg, int hr, int ha ) : ColorBgra
ReduceNoiseEffect ( int radius = 6, double strength = 0.4 ) : System

Creates a new effect that will reduce the noise of an image.

Méthodes protégées

Méthode Description
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void

Private Methods

Méthode Description
GetPercentileOfColor ( ColorBgra color, int area, int hb, int hg, int hr, int ha ) : ColorBgra

Method Details

Apply() public méthode

public Apply ( ColorBgra color, int area, int hb, int hg, int hr, int ha ) : ColorBgra
color ColorBgra
area int
hb int
hg int
hr int
ha int
Résultat ColorBgra

ReduceNoiseEffect() public méthode

Creates a new effect that will reduce the noise of an image.
public ReduceNoiseEffect ( int radius = 6, double strength = 0.4 ) : System
radius int Radius to consider when reducing noise. Valid range is 1 - 200.
strength double Strength of reduction. Valid range is 0 - 1.
Résultat System

RenderLine() protected méthode

protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void
src ISurface
dest ISurface
rect Rectangle
Résultat void