[][src]Trait opencv::prelude::WImageOverlayTrait

pub trait WImageOverlayTrait: Widget2DTrait {
    fn as_raw_WImageOverlay(&self) -> *const c_void;
fn as_raw_mut_WImageOverlay(&mut self) -> *mut c_void; fn set_image(&mut self, image: &dyn ToInputArray) -> Result<()> { ... } }

This 2D Widget represents an image overlay. :

Required methods

Loading content...

Provided methods

fn set_image(&mut self, image: &dyn ToInputArray) -> Result<()>

Sets the image content of the widget.

Parameters

  • image: BGR or Gray-Scale image.
Loading content...

Implementors

Loading content...