C# Class Pinta.ImageManipulation.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: Histogram
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
AddSurfaceRectangleToHistogram ( ISurface surface, Rectangle rect ) : void

Method Details

AddSurfaceRectangleToHistogram() protected méthode

protected AddSurfaceRectangleToHistogram ( ISurface surface, Rectangle rect ) : void
surface ISurface
rect Rectangle
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 ( ) : LevelOp
Résultat Pinta.ImageManipulation.UnaryPixelOperations.LevelOp

SetFromLeveledHistogram() public méthode

public SetFromLeveledHistogram ( HistogramRgb inputHistogram, LevelOp upo ) : void
inputHistogram HistogramRgb
upo Pinta.ImageManipulation.UnaryPixelOperations.LevelOp
Résultat void