CIAreaLogarithmicHistogram

Trait CIAreaLogarithmicHistogram 

Source
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§

Source

unsafe fn scale(&self) -> c_float
where Self: Sized + Message,

The amount of the effect.

Source

unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message,

Setter for scale.

Source

unsafe fn count(&self) -> NSInteger
where Self: Sized + Message,

The number of bins for the histogram. This value will determine the width of the output image.

Source

unsafe fn setCount(&self, count: NSInteger)
where Self: Sized + Message,

Setter for count.

Source

unsafe fn minimumStop(&self) -> c_float
where Self: Sized + Message,

The minimum of the range of color channel values to be in the logarithmic histogram image.

Source

unsafe fn setMinimumStop(&self, minimum_stop: c_float)
where Self: Sized + Message,

Setter for minimumStop.

Source

unsafe fn maximumStop(&self) -> c_float
where Self: Sized + Message,

The maximum of the range of color channel values to be in the logarithmic histogram image.

Source

unsafe fn setMaximumStop(&self, maximum_stop: c_float)
where Self: Sized + Message,

Setter for maximumStop.

Trait Implementations§

Source§

impl ProtocolType for dyn CIAreaLogarithmicHistogram

Source§

const NAME: &'static str = "CIAreaLogarithmicHistogram"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIAreaLogarithmicHistogram

Implementations on Foreign Types§

Source§

impl<T> CIAreaLogarithmicHistogram for ProtocolObject<T>

Implementors§