C# Class Pinta.Core.HistogramRgb

Histogram is used to calculate a histogram for a surface (in a selection, if desired). This can then be used to retrieve percentile, average, peak, and distribution information.
Inheritance: Pinta.Core.Histogram
Afficher le fichier Open project: xxgreg/Pinta Class Usage Examples

Méthodes publiques

Méthode Description
GetMeanColor ( ) : ColorBgra
GetPercentileColor ( float fraction ) : ColorBgra
HistogramRgb ( ) : System
MakeLevelsAuto ( ) : UnaryPixelOps.Level
SetFromLeveledHistogram ( HistogramRgb inputHistogram, UnaryPixelOps upo ) : void

Méthodes protégées

Méthode Description
AddSurfaceRectangleToHistogram ( ImageSurface surface, Gdk rect ) : void

Method Details

AddSurfaceRectangleToHistogram() protected méthode

protected AddSurfaceRectangleToHistogram ( ImageSurface surface, Gdk rect ) : void
surface Cairo.ImageSurface
rect Gdk
Résultat void

GetMeanColor() public méthode

public GetMeanColor ( ) : ColorBgra
Résultat ColorBgra

GetPercentileColor() public méthode

public GetPercentileColor ( float fraction ) : ColorBgra
fraction float
Résultat ColorBgra

HistogramRgb() public méthode

public HistogramRgb ( ) : System
Résultat System

MakeLevelsAuto() public méthode

public MakeLevelsAuto ( ) : UnaryPixelOps.Level
Résultat UnaryPixelOps.Level

SetFromLeveledHistogram() public méthode

public SetFromLeveledHistogram ( HistogramRgb inputHistogram, UnaryPixelOps upo ) : void
inputHistogram HistogramRgb
upo UnaryPixelOps
Résultat void