Matrix expression representation. More...
#include <opencv2/core/mat.hpp>
Public Member Functions | |
MatExpr () | |
MatExpr (const Mat &m) | |
MatExpr (const MatOp *_op, int _flags, const Mat &_a=Mat(), const Mat &_b=Mat(), const Mat &_c=Mat(), double _alpha=1, double _beta=1, const Scalar &_s=Scalar()) | |
MatExpr | col (int x) const |
Mat | cross (const Mat &m) const |
MatExpr | diag (int d=0) const |
double | dot (const Mat &m) const |
MatExpr | inv (int method=DECOMP_LU) const |
MatExpr | mul (const MatExpr &e, double scale=1) const |
MatExpr | mul (const Mat &m, double scale=1) const |
operator Mat () const | |
template<typename _Tp > | |
operator Mat_< _Tp > () const | |
MatExpr | operator() (const Range &rowRange, const Range &colRange) const |
MatExpr | operator() (const Rect &roi) const |
MatExpr | row (int y) const |
Size | size () const |
MatExpr | t () const |
int | type () const |
Public Attributes | |
Mat | a |
double | alpha |
Mat | b |
double | beta |
Mat | c |
int | flags |
const MatOp * | op |
Scalar | s |
Related Functions | |
(Note that these are not member functions.) | |
MatExpr | operator+ (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const Mat &a, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const Scalar &s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const MatExpr &e, const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const Mat &m, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const MatExpr &e, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const Scalar &s, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator+ (const MatExpr &e1, const MatExpr &e2) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator+ (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator+ (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Mat &a, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Scalar &s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const MatExpr &e, const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Mat &m, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const MatExpr &e, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Scalar &s, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const MatExpr &e1, const MatExpr &e2) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator- (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator- (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator- (const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const MatExpr &e, const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const Mat &m, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const MatExpr &e, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (double s, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator* (const MatExpr &e1, const MatExpr &e2) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator* (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator* (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const MatExpr &e, const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const Mat &m, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const MatExpr &e, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (double s, const MatExpr &e) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator/ (const MatExpr &e1, const MatExpr &e2) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator/ (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator/ (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator< (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator< (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator< (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator< (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator< (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator<= (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator<= (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator<= (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator<= (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator<= (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator== (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator== (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator== (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator== (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator== (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator!= (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator!= (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator!= (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator!= (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator!= (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator>= (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator>= (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator>= (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator>= (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator>= (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator> (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator> (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator> (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator> (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator> (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator & (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator & (const Mat &a, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator & (const Scalar &s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator & (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator & (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator| (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator| (const Mat &a, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator| (const Scalar &s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator| (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator| (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator^ (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator^ (const Mat &a, const Scalar &s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator^ (const Scalar &s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator^ (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | operator^ (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | operator~ (const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | min (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | min (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | min (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | min (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | min (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | max (const Mat &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | max (const Mat &a, double s) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | max (double s, const Mat &a) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | max (const Mat &a, const Matx< _Tp, m, n > &b) |
Calculates an absolute value of each matrix element. More... | |
template<typename _Tp , int m, int n> | |
static MatExpr | max (const Matx< _Tp, m, n > &a, const Mat &b) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | abs (const Mat &m) |
Calculates an absolute value of each matrix element. More... | |
MatExpr | abs (const MatExpr &e) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
Matrix expression representation.
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 )):
A+B
, A-B
, A+s
, A-s
, s+A
, s-A
, -A
A*alpha
A.mul(B)
, A/B
, alpha/A
A*B
A.t()
(means AT)A.inv([method]) (~ A<sup>-1</sup>)
, A.inv([method])*B (~ X: AX=B)
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 0.A logicop B
, A logicop s
, s logicop A
, ~A
, where logicop is one of &
, |
, ^
.min(A, B)
, min(A, alpha)
, max(A, B)
, max(A, alpha)
abs(A)
A.cross(B)
, A.dot(B)
cv::MatExpr::MatExpr | ( | ) |
|
explicit |
cv::MatExpr::MatExpr | ( | const MatOp * | _op, |
int | _flags, | ||
const Mat & | _a = Mat() , |
||
const Mat & | _b = Mat() , |
||
const Mat & | _c = Mat() , |
||
double | _alpha = 1 , |
||
double | _beta = 1 , |
||
const Scalar & | _s = Scalar() |
||
) |
MatExpr cv::MatExpr::col | ( | int | x | ) | const |
MatExpr cv::MatExpr::diag | ( | int | d = 0 | ) | const |
double cv::MatExpr::dot | ( | const Mat & | m | ) | const |
cv::MatExpr::operator Mat | ( | ) | const |
cv::MatExpr::operator Mat_< _Tp > | ( | ) | const |
MatExpr cv::MatExpr::row | ( | int | y | ) | const |
Size cv::MatExpr::size | ( | ) | const |
MatExpr cv::MatExpr::t | ( | ) | const |
int cv::MatExpr::type | ( | ) | const |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
e | matrix expression. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References max().
Referenced by max().
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::abs(), and max().
Referenced by max().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References min().
Referenced by min().
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::max(), and min().
Referenced by min().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator|().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator>=().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator/().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator-().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator*(), and cv::operator-().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator<().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator<=().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator==().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator!=().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator&().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator>().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::min(), and cv::operator~().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
|
related |
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
References cv::operator^().
Calculates an absolute value of each matrix element.
abs is a meta-function that is expanded to one of absdiff or convertScaleAbs forms:
absdiff(A, B, C)
absdiff(A, Scalar::all(0), C)
Mat_<Vec<uchar,n> >(abs(A*alpha + beta))
is equivalent to convertScaleAbs(A, C, alpha, beta)
The output matrix has the same size and the same type as the input one except for the last case, where C is depth=CV_8U .
m | matrix. |
Mat cv::MatExpr::a |
double cv::MatExpr::alpha |
Mat cv::MatExpr::b |
double cv::MatExpr::beta |
Mat cv::MatExpr::c |
int cv::MatExpr::flags |
const MatOp* cv::MatExpr::op |
Scalar cv::MatExpr::s |