[][src]Trait opencv::core::MatOp

pub trait MatOp {
    fn as_raw_MatOp(&self) -> *mut c_void;

    fn element_wise(&self, expr: &MatExpr) -> Result<bool> { ... }
fn assign(&self, expr: &MatExpr, m: &mut Mat, _type: i32) -> Result<()> { ... }
fn roi(
        &self,
        expr: &MatExpr,
        row_range: &Range,
        col_range: &Range,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn diag(&self, expr: &MatExpr, d: i32, res: &mut MatExpr) -> Result<()> { ... }
fn aug_assign_add(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_subtract(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_multiply(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_divide(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_and(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_or(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn aug_assign_xor(&self, expr: &MatExpr, m: &mut Mat) -> Result<()> { ... }
fn add(
        &self,
        expr1: &MatExpr,
        expr2: &MatExpr,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn add_scalar(
        &self,
        expr1: &MatExpr,
        s: Scalar,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn subtract(
        &self,
        expr1: &MatExpr,
        expr2: &MatExpr,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn subtract_scalar(
        &self,
        s: Scalar,
        expr: &MatExpr,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn multiply(
        &self,
        expr1: &MatExpr,
        expr2: &MatExpr,
        res: &mut MatExpr,
        scale: f64
    ) -> Result<()> { ... }
fn multiply_f64(
        &self,
        expr1: &MatExpr,
        s: f64,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn divide(
        &self,
        expr1: &MatExpr,
        expr2: &MatExpr,
        res: &mut MatExpr,
        scale: f64
    ) -> Result<()> { ... }
fn divide_f64(
        &self,
        s: f64,
        expr: &MatExpr,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn abs(&self, expr: &MatExpr, res: &mut MatExpr) -> Result<()> { ... }
fn transpose(&self, expr: &MatExpr, res: &mut MatExpr) -> Result<()> { ... }
fn matmul(
        &self,
        expr1: &MatExpr,
        expr2: &MatExpr,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn invert(
        &self,
        expr: &MatExpr,
        method: i32,
        res: &mut MatExpr
    ) -> Result<()> { ... }
fn size(&self, expr: &MatExpr) -> Result<Size> { ... }
fn typ(&self, expr: &MatExpr) -> Result<i32> { ... } }

Required methods

Loading content...

Provided methods

fn element_wise(&self, expr: &MatExpr) -> Result<bool>

fn assign(&self, expr: &MatExpr, m: &mut Mat, _type: i32) -> Result<()>

fn roi(
    &self,
    expr: &MatExpr,
    row_range: &Range,
    col_range: &Range,
    res: &mut MatExpr
) -> Result<()>

fn diag(&self, expr: &MatExpr, d: i32, res: &mut MatExpr) -> Result<()>

fn aug_assign_add(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_subtract(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_multiply(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_divide(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_and(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_or(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn aug_assign_xor(&self, expr: &MatExpr, m: &mut Mat) -> Result<()>

fn add(&self, expr1: &MatExpr, expr2: &MatExpr, res: &mut MatExpr) -> Result<()>

fn add_scalar(
    &self,
    expr1: &MatExpr,
    s: Scalar,
    res: &mut MatExpr
) -> Result<()>

fn subtract(
    &self,
    expr1: &MatExpr,
    expr2: &MatExpr,
    res: &mut MatExpr
) -> Result<()>

fn subtract_scalar(
    &self,
    s: Scalar,
    expr: &MatExpr,
    res: &mut MatExpr
) -> Result<()>

fn multiply(
    &self,
    expr1: &MatExpr,
    expr2: &MatExpr,
    res: &mut MatExpr,
    scale: f64
) -> Result<()>

fn multiply_f64(&self, expr1: &MatExpr, s: f64, res: &mut MatExpr) -> Result<()>

fn divide(
    &self,
    expr1: &MatExpr,
    expr2: &MatExpr,
    res: &mut MatExpr,
    scale: f64
) -> Result<()>

fn divide_f64(&self, s: f64, expr: &MatExpr, res: &mut MatExpr) -> Result<()>

fn abs(&self, expr: &MatExpr, res: &mut MatExpr) -> Result<()>

fn transpose(&self, expr: &MatExpr, res: &mut MatExpr) -> Result<()>

fn matmul(
    &self,
    expr1: &MatExpr,
    expr2: &MatExpr,
    res: &mut MatExpr
) -> Result<()>

fn invert(&self, expr: &MatExpr, method: i32, res: &mut MatExpr) -> Result<()>

fn size(&self, expr: &MatExpr) -> Result<Size>

fn typ(&self, expr: &MatExpr) -> Result<i32>

Loading content...

Implementors

Loading content...