Trait opencv::core::MatExprTraitConst
source · pub trait MatExprTraitConst {
Show 26 methods
// Required method
fn as_raw_MatExpr(&self) -> *const c_void;
// Provided methods
fn flags(&self) -> i32 { ... }
fn a(&self) -> Mat { ... }
fn b(&self) -> Mat { ... }
fn c(&self) -> Mat { ... }
fn alpha(&self) -> f64 { ... }
fn beta(&self) -> f64 { ... }
fn s(&self) -> Scalar { ... }
fn to_mat(&self) -> Result<Mat> { ... }
fn size(&self) -> Result<Size> { ... }
fn typ(&self) -> Result<i32> { ... }
fn row(&self, y: i32) -> Result<MatExpr> { ... }
fn col(&self, x: i32) -> Result<MatExpr> { ... }
fn diag(&self, d: i32) -> Result<MatExpr> { ... }
fn diag_def(&self) -> Result<MatExpr> { ... }
fn apply(&self, row_range: &Range, col_range: &Range) -> Result<MatExpr> { ... }
fn apply_1(&self, roi: Rect) -> Result<MatExpr> { ... }
fn t(&self) -> Result<MatExpr> { ... }
fn inv(&self, method: i32) -> Result<MatExpr> { ... }
fn inv_def(&self) -> Result<MatExpr> { ... }
fn mul_matexpr(&self, e: &MatExpr, scale: f64) -> Result<MatExpr> { ... }
fn mul_matexpr_def(&self, e: &MatExpr) -> Result<MatExpr> { ... }
fn mul(&self, m: &Mat, scale: f64) -> Result<MatExpr> { ... }
fn mul_def(&self, m: &Mat) -> Result<MatExpr> { ... }
fn cross(&self, m: &Mat) -> Result<Mat> { ... }
fn dot(&self, m: &Mat) -> Result<f64> { ... }
}
Expand description
Constant methods for core::MatExpr
Required Methods§
fn as_raw_MatExpr(&self) -> *const c_void
Provided Methods§
fn flags(&self) -> i32
fn a(&self) -> Mat
fn b(&self) -> Mat
fn c(&self) -> Mat
fn alpha(&self) -> f64
fn beta(&self) -> f64
fn s(&self) -> Scalar
fn to_mat(&self) -> Result<Mat>
fn size(&self) -> Result<Size>
fn typ(&self) -> Result<i32>
fn row(&self, y: i32) -> Result<MatExpr>
fn col(&self, x: i32) -> Result<MatExpr>
sourcefn diag_def(&self) -> Result<MatExpr>
fn diag_def(&self) -> Result<MatExpr>
Note
This alternative version of [diag] function uses the following default values for its arguments:
- d: 0
fn apply(&self, row_range: &Range, col_range: &Range) -> Result<MatExpr>
fn apply_1(&self, roi: Rect) -> Result<MatExpr>
fn t(&self) -> Result<MatExpr>
sourcefn inv_def(&self) -> Result<MatExpr>
fn inv_def(&self) -> Result<MatExpr>
Note
This alternative version of [inv] function uses the following default values for its arguments:
- method: DECOMP_LU
sourcefn mul_matexpr(&self, e: &MatExpr, scale: f64) -> Result<MatExpr>
fn mul_matexpr(&self, e: &MatExpr, scale: f64) -> Result<MatExpr>
C++ default parameters
- scale: 1
sourcefn mul_matexpr_def(&self, e: &MatExpr) -> Result<MatExpr>
fn mul_matexpr_def(&self, e: &MatExpr) -> Result<MatExpr>
Note
This alternative version of [mul_matexpr] function uses the following default values for its arguments:
- scale: 1
sourcefn mul_def(&self, m: &Mat) -> Result<MatExpr>
fn mul_def(&self, m: &Mat) -> Result<MatExpr>
Note
This alternative version of [mul] function uses the following default values for its arguments:
- scale: 1