C# Class Pinta.ImageManipulation.Effects.MedianEffect

Inheritance: LocalHistogramEffect
Mostra file Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

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

Protected Methods

Method Description
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void

Method Details

Apply() public method

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
return ColorBgra

MedianEffect() public method

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.
return System

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void
src ISurface
dest ISurface
rect Rectangle
return void