Struct opencv::viz::WImageOverlay  
source · pub struct WImageOverlay { /* private fields */ }Expand description
This 2D Widget represents an image overlay. :
Implementations§
source§impl WImageOverlay
 
impl WImageOverlay
sourcepub fn new(image: &dyn ToInputArray, rect: Rect) -> Result<WImageOverlay>
 
pub fn new(image: &dyn ToInputArray, rect: Rect) -> Result<WImageOverlay>
Constructs an WImageOverlay.
Parameters
- image: BGR or Gray-Scale image.
 - rect: Image is scaled and positioned based on rect.
 
Trait Implementations§
source§impl Boxed for WImageOverlay
 
impl Boxed for WImageOverlay
source§impl Drop for WImageOverlay
 
impl Drop for WImageOverlay
source§impl From<WImageOverlay> for Widget
 
impl From<WImageOverlay> for Widget
source§fn from(s: WImageOverlay) -> Self
 
fn from(s: WImageOverlay) -> Self
Converts to this type from the input type.
source§impl From<WImageOverlay> for Widget2D
 
impl From<WImageOverlay> for Widget2D
source§fn from(s: WImageOverlay) -> Self
 
fn from(s: WImageOverlay) -> Self
Converts to this type from the input type.