class

CrImage::Operation::HistogramEqualize::Histogram

Inherits Reference < Object

A histogram of an Image for a specific ChannelType

Constructors

new(image : Image, channel_type : ChannelType)
Source

Instance methods

cdf

Get the cumulative distribution for the image's histogram

Source
channel_type
Source
counts

Get the raw counts for a given pixel value (0-255) in the image

Source
equalize

Remap the cumalitive distribution of pixels to get a new, more spread out pixel value

Source
image
Source
mean
Source
normalize

Get pixel counts normalized - all values between 0.0 and 1.0

Source
std_dev
Source