C# 클래스 Pinta.ImageManipulation.Histogram

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.
파일 보기 프로젝트 열기: PintaProject/Pinta.ImageManipulation

보호된 프로퍼티들

프로퍼티 타입 설명
histogram long[][]
visualColors Pinta.ImageManipulation.ColorBgra[]

공개 메소드들

메소드 설명
GetMax ( ) : long
GetMax ( int channel ) : long
GetMean ( ) : float[]
GetMeanColor ( ) : ColorBgra
GetOccurrences ( int channel, int val ) : long
GetPercentile ( float fraction ) : int[]
GetPercentileColor ( float fraction ) : ColorBgra
GetVisualColor ( int channel ) : ColorBgra
UpdateHistogram ( ISurface surface, Rectangle rect ) : void

보호된 메소드들

메소드 설명
AddSurfaceRectangleToHistogram ( ISurface surface, Rectangle rect ) : void
Clear ( ) : void

Sets the histogram to be all zeros.

Histogram ( int channels, int entries ) : System
OnHistogramUpdated ( ) : void

메소드 상세

AddSurfaceRectangleToHistogram() 보호된 추상적인 메소드

protected abstract AddSurfaceRectangleToHistogram ( ISurface surface, Rectangle rect ) : void
surface ISurface
rect Rectangle
리턴 void

Clear() 보호된 메소드

Sets the histogram to be all zeros.
protected Clear ( ) : void
리턴 void

GetMax() 공개 메소드

public GetMax ( ) : long
리턴 long

GetMax() 공개 메소드

public GetMax ( int channel ) : long
channel int
리턴 long

GetMean() 공개 메소드

public GetMean ( ) : float[]
리턴 float[]

GetMeanColor() 공개 추상적인 메소드

public abstract GetMeanColor ( ) : ColorBgra
리턴 ColorBgra

GetOccurrences() 공개 메소드

public GetOccurrences ( int channel, int val ) : long
channel int
val int
리턴 long

GetPercentile() 공개 메소드

public GetPercentile ( float fraction ) : int[]
fraction float
리턴 int[]

GetPercentileColor() 공개 추상적인 메소드

public abstract GetPercentileColor ( float fraction ) : ColorBgra
fraction float
리턴 ColorBgra

GetVisualColor() 공개 메소드

public GetVisualColor ( int channel ) : ColorBgra
channel int
리턴 ColorBgra

Histogram() 보호된 메소드

protected Histogram ( int channels, int entries ) : System
channels int
entries int
리턴 System

OnHistogramUpdated() 보호된 메소드

protected OnHistogramUpdated ( ) : void
리턴 void

UpdateHistogram() 공개 메소드

public UpdateHistogram ( ISurface surface, Rectangle rect ) : void
surface ISurface
rect Rectangle
리턴 void

프로퍼티 상세

histogram 보호되어 있는 프로퍼티

protected long[][] histogram
리턴 long[][]

visualColors 보호되어 있는 프로퍼티

protected ColorBgra[],Pinta.ImageManipulation visualColors
리턴 Pinta.ImageManipulation.ColorBgra[]