Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetHistogramAverage

GetHistogramAverage method

Retrieves the average color value for the specified channel of the histogram range.

Syntax

Number (floating point) GetHistogramAverage(nRangeFrom As Number, nRangeTo As Number, nChannel As Channel)

Return value

Returns a floating point number containing the average color value.

Parameters

ParameterTypeRequiredDescription
nRangeFromNumberNoOptional parameter which specifies the left boundary of the range.
nRangeToNumberNoOptional parameter which specifies the right boundary of the range.
nChannelChannel (Enumeration)NoOptional parameter which specifies the color channel.

Category

Histogram

See also

GetHistogramCount | GetHistogramMean | GetHistogramPercentile | GetHistogramPixels | InsertHistogram | LoadHistogramFromBase64 | LoadHistogramFromFile | LoadHistogramFromSerializedStream | LoadHistogramFromStream | LoadHistogramFromURL | SaveHistogramToFile | SaveHistogramToImage | SaveHistogramToSerializedStream | SaveHistogramToStream