C# Class Pinta.ImageManipulation.Effects.MedianEffect

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

Méthodes publiques

Méthode Description
Apply ( ColorBgra src, int area, int hb, int hg, int hr, int ha ) : ColorBgra
MedianEffect ( int radius = 10, int percentile = 50 ) : System

Creates a new effect that will apply a median effect to the image.

Méthodes protégées

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

Method Details

Apply() public méthode

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

MedianEffect() public méthode

Creates a new effect that will apply a median effect to the image.
public MedianEffect ( int radius = 10, int percentile = 50 ) : System
radius int Radius to consider for median. Valid range is 1 - 200.
percentile int Percentile to use for median. Valid range is 0 - 100.
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