pub unsafe trait CIAreaLogarithmicHistogram: CIAreaReductionFilter {
// Provided methods
unsafe fn scale(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message { ... }
unsafe fn count(&self) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn setCount(&self, count: NSInteger)
where Self: Sized + Message { ... }
unsafe fn minimumStop(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMinimumStop(&self, minimum_stop: c_float)
where Self: Sized + Message { ... }
unsafe fn maximumStop(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMaximumStop(&self, maximum_stop: c_float)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Area Logarithmic Histogram filter.
Calculates histogram of the R, G, B, and A channels of the specified area of an image. Before binning, the R, G, and B channel values are transformed by the log base two function. The output image is a one pixel tall image containing the histogram data for all four channels.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn count(&self) -> NSInteger
unsafe fn count(&self) -> NSInteger
The number of bins for the histogram. This value will determine the width of the output image.
Sourceunsafe fn minimumStop(&self) -> c_float
unsafe fn minimumStop(&self) -> c_float
The minimum of the range of color channel values to be in the logarithmic histogram image.
Sourceunsafe fn setMinimumStop(&self, minimum_stop: c_float)
unsafe fn setMinimumStop(&self, minimum_stop: c_float)
Setter for minimumStop.
Sourceunsafe fn maximumStop(&self) -> c_float
unsafe fn maximumStop(&self) -> c_float
The maximum of the range of color channel values to be in the logarithmic histogram image.
Sourceunsafe fn setMaximumStop(&self, maximum_stop: c_float)
unsafe fn setMaximumStop(&self, maximum_stop: c_float)
Setter for maximumStop.