opencv::prelude

Trait ImageTraitConst

Source
pub trait ImageTraitConst {
    // Required method
    fn as_raw_Image(&self) -> *const c_void;

    // Provided methods
    fn org(&self) -> Point { ... }
    fn img(&self) -> Mat { ... }
    fn alpha(&self) -> Mat { ... }
}
Expand description

Constant methods for crate::gapi::Image

Required Methods§

Provided Methods§

Source

fn org(&self) -> Point

The bottom-left corner of the image

Source

fn img(&self) -> Mat

Image to draw

Source

fn alpha(&self) -> Mat

Alpha channel for image to draw (same size and number of channels)

Implementors§