Struct opencv::core::MatExpr

source ·
pub struct MatExpr { /* private fields */ }
Expand description

Matrix expression representation @anchor MatrixExpressions This is a list of implemented matrix operations that can be combined in arbitrary complex expressions (here A, B stand for matrices ( Mat ), s for a scalar ( Scalar ), alpha for a real-valued scalar ( double )):

  • Addition, subtraction, negation: A+B, A-B, A+s, A-s, s+A, s-A, -A
  • Scaling: A*alpha
  • Per-element multiplication and division: A.mul(B), A/B, alpha/A
  • Matrix multiplication: A*B
  • Transposition: A.t() (means AT)
  • Matrix inversion and pseudo-inversion, solving linear systems and least-squares problems: A.inv([method]) (~ A<sup>-1</sup>), A.inv([method])*B (~ X: AX=B)
  • Comparison: A cmpop B, A cmpop alpha, alpha cmpop A, where cmpop is one of >, >=, ==, !=, <=, <. The result of comparison is an 8-bit single channel mask whose elements are set to 255 (if the particular element or pair of elements satisfy the condition) or
  • Bitwise logical operations: A logicop B, A logicop s, s logicop A, ~A, where logicop is one of &, |, ^.
  • Element-wise minimum and maximum: min(A, B), min(A, alpha), max(A, B), max(A, alpha)
  • Element-wise absolute value: abs(A)
  • Cross-product, dot-product: A.cross(B), A.dot(B)
  • Any function of matrix or matrices and scalars that returns a matrix or a scalar, such as norm, mean, sum, countNonZero, trace, determinant, repeat, and others.
  • Matrix initializers ( Mat::eye(), Mat::zeros(), Mat::ones() ), matrix comma-separated initializers, matrix constructors and operators that extract sub-matrices (see Mat description).
  • Mat_<destination_type>() constructors to cast the result to the proper type.

Note: Comma-separated initializers and probably some other operations may require additional explicit Mat() or Mat_() constructor calls to resolve a possible ambiguity.

Here are examples of matrix expressions:

   // compute pseudo-inverse of A, equivalent to A.inv(DECOMP_SVD)
   SVD svd(A);
   Mat pinvA = svd.vt.t()*Mat::diag(1./svd.w)*svd.u.t();
 
   // compute the new vector of parameters in the Levenberg-Marquardt algorithm
   x -= (A.t()*A + lambda*Mat::eye(A.cols,A.cols,A.type())).inv(DECOMP_CHOLESKY)*(A.t()*err);
 
   // sharpen image using "unsharp mask" algorithm
   Mat blurred; double sigma = 1, threshold = 5, amount = 1;
   GaussianBlur(img, blurred, Size(), sigma, sigma);
   Mat lowContrastMask = abs(img - blurred) < threshold;
   Mat sharpened = img*(1+amount) + blurred*(-amount);
   img.copyTo(sharpened, lowContrastMask);

Implementations§

source§

impl MatExpr

source

pub fn default() -> Result<MatExpr>

source

pub fn from_mat(m: &impl MatTraitConst) -> Result<MatExpr>

source

pub fn new( _op: &impl MatOpTraitConst, _flags: i32, _a: &impl MatTraitConst, _b: &impl MatTraitConst, _c: &impl MatTraitConst, _alpha: f64, _beta: f64, _s: Scalar ) -> Result<MatExpr>

§C++ default parameters
  • _a: Mat()
  • _b: Mat()
  • _c: Mat()
  • _alpha: 1
  • _beta: 1
  • _s: Scalar()
source

pub fn new_def(_op: &impl MatOpTraitConst, _flags: i32) -> Result<MatExpr>

§Note

This alternative version of [new] function uses the following default values for its arguments:

  • _a: Mat()
  • _b: Mat()
  • _c: Mat()
  • _alpha: 1
  • _beta: 1
  • _s: Scalar()

Trait Implementations§

source§

impl Add<&Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Mat) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Mat) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for &Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<&Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for MatExprResult<Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&MatExpr> for Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&VecN<f64, 4>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Scalar) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&VecN<f64, 4>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &Scalar) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Mat) -> Self::Output

Performs the + operation. Read more
source§

impl Add<Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Mat) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for &Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<&Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for MatExprResult<Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExpr> for Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&VecN<f64, 4>>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&Scalar>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<&VecN<f64, 4>>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<&Scalar>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<VecN<f64, 4>>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<Scalar>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<MatExprResult<VecN<f64, 4>>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExprResult<Scalar>) -> Self::Output

Performs the + operation. Read more
source§

impl Add<VecN<f64, 4>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Scalar) -> Self::Output

Performs the + operation. Read more
source§

impl Add<VecN<f64, 4>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Scalar) -> Self::Output

Performs the + operation. Read more
source§

impl Add for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the + operator.
source§

fn add(self, rhs: MatExpr) -> Self::Output

Performs the + operation. Read more
source§

impl Boxed for MatExpr

source§

unsafe fn from_raw(ptr: <MatExpr as OpenCVFromExtern>::ExternReceive) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> <MatExpr as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> <MatExpr as OpenCVTypeExternContainer>::ExternSend

Return the underlying raw pointer. Read more
source§

fn as_raw_mut( &mut self ) -> <MatExpr as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying mutable raw pointer Read more
source§

impl Debug for MatExpr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Div<&Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Mat) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &Mat) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for &f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<&f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for MatExprResult<f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&MatExpr> for f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&f64> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &f64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&f64> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: &f64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: Mat) -> Self::Output

Performs the / operation. Read more
source§

impl Div<Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: Mat) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for &f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<&f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for MatExprResult<f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExpr> for f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&f64>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&f64>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<&f64>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<&f64>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<f64>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<f64>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<MatExprResult<f64>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExprResult<f64>) -> Self::Output

Performs the / operation. Read more
source§

impl Div<f64> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
source§

impl Div<f64> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
source§

impl Div for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the / operator.
source§

fn div(self, rhs: MatExpr) -> Self::Output

Performs the / operation. Read more
source§

impl Drop for MatExpr

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl ElemMul<&Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

source§

fn elem_mul(self, rhs: &Mat) -> Self::Output

source§

impl ElemMul<&Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

source§

fn elem_mul(self, rhs: &Mat) -> Self::Output

source§

impl ElemMul<&MatExpr> for &Mat

source§

impl ElemMul<&MatExpr> for &MatExpr

source§

impl ElemMul<&MatExpr> for Mat

source§

impl ElemMul<&MatExpr> for MatExpr

source§

impl ElemMul<&MatExpr> for MatExprResult<&Mat>

source§

impl ElemMul<&MatExpr> for MatExprResult<&MatExpr>

source§

impl ElemMul<&MatExpr> for MatExprResult<Mat>

source§

impl ElemMul<&MatExpr> for MatExprResult<MatExpr>

source§

impl ElemMul<Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

source§

fn elem_mul(self, rhs: Mat) -> Self::Output

source§

impl ElemMul<Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

source§

fn elem_mul(self, rhs: Mat) -> Self::Output

source§

impl ElemMul<MatExpr> for &Mat

source§

impl ElemMul<MatExpr> for &MatExpr

source§

impl ElemMul<MatExpr> for Mat

source§

impl ElemMul<MatExpr> for MatExprResult<&Mat>

source§

impl ElemMul<MatExpr> for MatExprResult<&MatExpr>

source§

impl ElemMul<MatExpr> for MatExprResult<Mat>

source§

impl ElemMul<MatExpr> for MatExprResult<MatExpr>

source§

impl ElemMul<MatExprResult<&Mat>> for &MatExpr

source§

impl ElemMul<MatExprResult<&Mat>> for MatExpr

source§

impl ElemMul<MatExprResult<&MatExpr>> for &MatExpr

source§

impl ElemMul<MatExprResult<&MatExpr>> for MatExpr

source§

impl ElemMul<MatExprResult<Mat>> for &MatExpr

source§

impl ElemMul<MatExprResult<Mat>> for MatExpr

source§

impl ElemMul<MatExprResult<MatExpr>> for &MatExpr

source§

impl ElemMul<MatExprResult<MatExpr>> for MatExpr

source§

impl ElemMul for MatExpr

source§

impl MatExprTrait for MatExpr

source§

fn as_raw_mut_MatExpr(&mut self) -> *mut c_void

source§

fn set_flags(&mut self, val: i32)

source§

fn set_a(&mut self, val: Mat)

source§

fn set_b(&mut self, val: Mat)

source§

fn set_c(&mut self, val: Mat)

source§

fn set_alpha(&mut self, val: f64)

source§

fn set_beta(&mut self, val: f64)

source§

fn set_s(&mut self, val: Scalar)

source§

fn swap(&mut self, b: &mut impl MatExprTrait) -> Result<()>

source§

impl MatExprTraitConst for MatExpr

source§

fn as_raw_MatExpr(&self) -> *const c_void

source§

fn flags(&self) -> i32

source§

fn a(&self) -> Mat

source§

fn b(&self) -> Mat

source§

fn c(&self) -> Mat

source§

fn alpha(&self) -> f64

source§

fn beta(&self) -> f64

source§

fn s(&self) -> Scalar

source§

fn to_mat(&self) -> Result<Mat>

source§

fn size(&self) -> Result<Size>

source§

fn typ(&self) -> Result<i32>

source§

fn row(&self, y: i32) -> Result<MatExpr>

source§

fn col(&self, x: i32) -> Result<MatExpr>

source§

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

C++ default parameters Read more
source§

fn diag_def(&self) -> Result<MatExpr>

source§

fn rowscols( &self, row_range: &impl RangeTraitConst, col_range: &impl RangeTraitConst ) -> Result<MatExpr>

source§

fn roi(&self, roi: Rect) -> Result<MatExpr>

source§

fn t(&self) -> Result<MatExpr>

source§

fn inv(&self, method: i32) -> Result<MatExpr>

C++ default parameters Read more
source§

fn inv_def(&self) -> Result<MatExpr>

source§

fn mul_matexpr(&self, e: &impl MatExprTraitConst, scale: f64) -> Result<MatExpr>

C++ default parameters Read more
source§

fn mul_matexpr_def(&self, e: &impl MatExprTraitConst) -> Result<MatExpr>

source§

fn mul(&self, m: &impl MatTraitConst, scale: f64) -> Result<MatExpr>

C++ default parameters Read more
source§

fn mul_def(&self, m: &impl MatTraitConst) -> Result<MatExpr>

source§

fn cross(&self, m: &impl MatTraitConst) -> Result<Mat>

source§

fn dot(&self, m: &impl MatTraitConst) -> Result<f64>

source§

impl Mul<&Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Mat) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &Mat) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for &f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<&f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for MatExprResult<f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&MatExpr> for f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&f64> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &f64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&f64> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &f64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Mat) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Mat) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for &f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<&f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for MatExprResult<f64>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExpr> for f64

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&f64>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&f64>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<&f64>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<&f64>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<f64>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<f64>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<MatExprResult<f64>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExprResult<f64>) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<f64> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<f64> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
source§

impl Mul for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: MatExpr) -> Self::Output

Performs the * operation. Read more
source§

impl Sub<&Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Mat) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Mat) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for &Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<&Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for MatExprResult<Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&MatExpr> for Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&VecN<f64, 4>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Scalar) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&VecN<f64, 4>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &Scalar) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Mat> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Mat) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<Mat> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Mat) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for &Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for &Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for Mat

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<&Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<&MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<&Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<Mat>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<MatExpr>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for MatExprResult<Scalar>

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExpr> for Scalar

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&Mat>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&MatExpr>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&VecN<f64, 4>>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&Scalar>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<&VecN<f64, 4>>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<&Scalar>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<Mat>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<Mat>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<Mat>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<MatExpr>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<MatExpr>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<MatExpr>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<VecN<f64, 4>>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<Scalar>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<MatExprResult<VecN<f64, 4>>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExprResult<Scalar>) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<VecN<f64, 4>> for &MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Scalar) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<VecN<f64, 4>> for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Scalar) -> Self::Output

Performs the - operation. Read more
source§

impl Sub for MatExpr

§

type Output = MatExprResult<MatExpr>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: MatExpr) -> Self::Output

Performs the - operation. Read more
source§

impl ToInputArray for &MatExpr

source§

impl ToInputArray for MatExpr

source§

impl Send for MatExpr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Mat> ModifyInplace for Mat
where Mat: Boxed,

source§

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res ) -> Res

Helper function to call OpenCV functions that allow in-place modification of a Mat or another similar object. By passing a mutable reference to the Mat to this function your closure will get called with the read reference and a write references to the same Mat. This is of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.