CIFilter_Reduction_HistogramDisplayFilter - linhay/Stem GitHub Wiki
CIFilter.Reduction.HistogramDisplayFilter
Discussion The input image should be a one-dimensional image in which each pixel contains data (per component) for one “bucket” of the histogram; you can produce such an image using the CIAreaHistogram filter. The width of the output image is the same as that of the input image, and its height is the value of the inputHeight parameter.
public struct HistogramDisplayFilter: CIFilterContainerProtocol
Inheritance
Initializers
init()
init()
Properties
filter
var filter: CIFilter
image
A CIImage object whose display name is Image.
var image: CIImage?
height
The height of the displayable histogram image. An NSNumber object whose attribute type is CIAttributeTypeScalar and whose display name is Height. Default value: 100.00 Minimum: 1.00 Maximum: 200.00 Slider minimum: 1.00 Slider maximum: 100.00 Identity: 0.00
var height: NSNumber
highLimit
The fraction of the left portion of the histogram image to be made darker. An NSNumber object whose attribute type is CIAttributeTypeScalar and whose display name is HighLimit. Default value: 1.00 Minimum: 0.00 Maximum: 1.00 Slider minimum: 0.00 Slider maximum: 1.00 Identity: 0.00
var highLimit: NSNumber
lowLimit
The fraction of the right portion of the histogram image to be made lighter. An NSNumber object whose attribute type is CIAttributeTypeScalar and whose display name is LowLimit. Default value: 0.00 Minimum: 0.00 Maximum: 1.00 Slider minimum: 0.00 Slider maximum: 1.00 Identity: 0.00
var lowLimit: NSNumber