CILabDeltaE

Trait CILabDeltaE 

Source
pub unsafe trait CILabDeltaE: CIFilterProtocol {
    // Provided methods
    unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn image2(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setImage2(&self, image2: Option<&CIImage>)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Lab ∆E filter.

Produces an image with the Lab ∆E difference values between two images. The result image will contain ∆E 1994 values between 0.0 and 100.0 where 2.0 is considered a just noticeable difference.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

The first input image for comparison.

Source

unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for inputImage.

Source

unsafe fn image2(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

The second input image for comparison.

Source

unsafe fn setImage2(&self, image2: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for image2.

Trait Implementations§

Source§

impl ProtocolType for dyn CILabDeltaE

Source§

const NAME: &'static str = "CILabDeltaE"

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 CILabDeltaE
where T: ?Sized + Message + CILabDeltaE,

Implementations on Foreign Types§

Source§

impl<T> CILabDeltaE for ProtocolObject<T>
where T: ?Sized + CILabDeltaE,

Implementors§