Method | 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.
|
Method | Description | |
---|---|---|
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void |
Method | Description | |
---|---|---|
GetPercentileOfColor ( ColorBgra color, int area, int hb, int hg, int hr, int ha ) : ColorBgra |
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 | |
return | ColorBgra |
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. |
return | System |
protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void | ||
src | ISurface | |
dest | ISurface | |
rect | Rectangle | |
return | void |