Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetHistogramPercentile

GetHistogramPercentile method

Retrieves the percentage of colors in the specified channel from the total number of pixels of the histogram range.


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

Return value

Returns a floating point number containing the percentage value.


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.



See also

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