Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetHistogramCount

GetHistogramCount method

Retrieves the number of pixels for the specified color channel in the specified histogram range.

Syntax

Number GetHistogramCount(nRangeFrom As Number, nRangeTo As Number, nChannel As Channel)

Return value

Returns the number of pixels in the channel.

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

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