[][src]Trait opencv::hub_prelude::WImageOverlayTrait

pub trait WImageOverlayTrait: WidgetTrait + Widget2DTrait {
    fn as_raw_WImageOverlay(&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

impl WImageOverlayTrait for WImageOverlay[src]

Loading content...