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

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

This 2D Widget represents an image overlay. :

Required methods

Loading content...

Provided methods

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

Sets the image content of the widget.

Parameters

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

Implementors

impl WImageOverlayTrait for WImageOverlay[src]

Loading content...