[][src]Struct opencv::core::UMat

pub struct UMat { /* fields omitted */ }

@todo document

Methods

impl UMat[src]

pub fn get_mat(&self, flags: i32) -> Result<Mat>[src]

pub fn copy_to(&self, m: &mut Mat) -> Result<()>[src]

pub fn copy_to_masked(&self, m: &mut Mat, mask: &Mat) -> Result<()>[src]

pub fn convert_to(
    &self,
    m: &mut Mat,
    rtype: i32,
    alpha: f64,
    beta: f64
) -> Result<()>
[src]

C++ default parameters:

  • alpha: 1
  • beta: 0

pub fn dot(&self, m: &Mat) -> Result<f64>[src]

pub fn addref(&mut self) -> Result<()>[src]

pub fn release(&mut self) -> Result<()>[src]

pub fn deallocate(&mut self) -> Result<()>[src]

pub fn locate_roi(&self, whole_size: Size, ofs: Point) -> Result<()>[src]

pub fn is_continuous(&self) -> Result<bool>[src]

pub fn is_submatrix(&self) -> Result<bool>[src]

pub fn elem_size(&self) -> Result<size_t>[src]

pub fn elem_size1(&self) -> Result<size_t>[src]

pub fn typ(&self) -> Result<i32>[src]

pub fn depth(&self) -> Result<i32>[src]

pub fn channels(&self) -> Result<i32>[src]

pub fn step1(&self, i: i32) -> Result<size_t>[src]

pub fn empty(&self) -> Result<bool>[src]

pub fn total(&self) -> Result<size_t>[src]

pub fn check_vector(
    &self,
    elem_channels: i32,
    depth: i32,
    require_continuous: bool
) -> Result<i32>
[src]

C++ default parameters:

  • depth: -1
  • require_continuous: true

pub fn handle(&self, access_flags: i32) -> Result<&mut c_void>[src]

pub fn ndoffset(&self, ofs: &mut size_t) -> Result<()>[src]

pub fn update_continuity_flag(&mut self) -> Result<()>[src]

Trait Implementations

impl Drop for UMat[src]

Auto Trait Implementations

impl !Send for UMat

impl !Sync for UMat

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]