CIEdgePreserveUpsample

Trait CIEdgePreserveUpsample 

Source
pub unsafe trait CIEdgePreserveUpsample: 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 smallImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setSmallImage(&self, small_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn spatialSigma(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setSpatialSigma(&self, spatial_sigma: c_float)
       where Self: Sized + Message { ... }
    unsafe fn lumaSigma(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setLumaSigma(&self, luma_sigma: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Edge Preserve Upsample Filter filter.

Upsamples a small image to the size of the input image using the luminance of the input image as a guide to preserve detail.

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 image to use as a guide to upsample the small image.

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 smallImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

The image that the filter upsamples.

Source

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

Available on crate feature CIImage only.

Setter for smallImage.

Source

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

A value that specifies the influence of the input image’s spatial information on the upsampling operation.

Source

unsafe fn setSpatialSigma(&self, spatial_sigma: c_float)
where Self: Sized + Message,

Setter for spatialSigma.

Source

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

A value that specifies the influence of the input image’s luma information on the upsampling operation.

Source

unsafe fn setLumaSigma(&self, luma_sigma: c_float)
where Self: Sized + Message,

Setter for lumaSigma.

Trait Implementations§

Source§

impl ProtocolType for dyn CIEdgePreserveUpsample

Source§

const NAME: &'static str = "CIEdgePreserveUpsample"

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 CIEdgePreserveUpsample

Implementations on Foreign Types§

Source§

impl<T> CIEdgePreserveUpsample for ProtocolObject<T>

Implementors§