class CrImage::Operation::HistogramEqualize::Histogram
- CrImage::Operation::HistogramEqualize::Histogram
- Reference
- Object
Overview
A histogram of an Image
for a specific ChannelType
Defined in:
cr-image/operation/histogram.crConstructors
Instance Method Summary
-
#cdf : Hash(UInt8, Float64)
Get the cumulative distribution for the image's histogram
- #channel_type : CrImage::ChannelType
-
#counts : Hash(UInt8, Int32)
Get the raw counts for a given pixel value (0-255) in the image
-
#equalize : Hash(UInt8, UInt8)
Remap the cumalitive distribution of pixels to get a new, more spread out pixel value
- #image : CrImage::Image
- #mean : Float64
-
#normalize : Hash(UInt8, Float64)
Get pixel counts normalized - all values between 0.0 and 1.0
- #std_dev : Float64
Constructor Detail
Instance Method Detail
def equalize : Hash(UInt8, UInt8)
#
Remap the cumalitive distribution of pixels to get a new, more spread out pixel value