|
|
|
@ -3597,6 +3597,10 @@ CV_EXPORTS MatExpr operator + (const Mat& m, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator + (const MatExpr& e, const Scalar& s); |
|
|
|
|
CV_EXPORTS MatExpr operator + (const Scalar& s, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator + (const MatExpr& e1, const MatExpr& e2); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator + (const Mat& a, const Matx<_Tp, m, n>& b) { return a + Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator + (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) + b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator - (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator - (const Mat& a, const Scalar& s); |
|
|
|
@ -3606,6 +3610,10 @@ CV_EXPORTS MatExpr operator - (const Mat& m, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator - (const MatExpr& e, const Scalar& s); |
|
|
|
|
CV_EXPORTS MatExpr operator - (const Scalar& s, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator - (const MatExpr& e1, const MatExpr& e2); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator - (const Mat& a, const Matx<_Tp, m, n>& b) { return a - Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator - (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) - b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator - (const Mat& m); |
|
|
|
|
CV_EXPORTS MatExpr operator - (const MatExpr& e); |
|
|
|
@ -3618,6 +3626,10 @@ CV_EXPORTS MatExpr operator * (const Mat& m, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator * (const MatExpr& e, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator * (double s, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator * (const MatExpr& e1, const MatExpr& e2); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator * (const Mat& a, const Matx<_Tp, m, n>& b) { return a + Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator * (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) + b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator / (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator / (const Mat& a, double s); |
|
|
|
@ -3627,52 +3639,100 @@ CV_EXPORTS MatExpr operator / (const Mat& m, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator / (const MatExpr& e, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator / (double s, const MatExpr& e); |
|
|
|
|
CV_EXPORTS MatExpr operator / (const MatExpr& e1, const MatExpr& e2); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator / (const Mat& a, const Matx<_Tp, m, n>& b) { return a / Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator / (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) / b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator < (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator < (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator < (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator < (const Mat& a, const Matx<_Tp, m, n>& b) { return a < Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator < (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) < b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator <= (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator <= (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator <= (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator <= (const Mat& a, const Matx<_Tp, m, n>& b) { return a <= Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator <= (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) <= b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator == (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator == (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator == (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator == (const Mat& a, const Matx<_Tp, m, n>& b) { return a == Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator == (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) == b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator != (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator != (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator != (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator != (const Mat& a, const Matx<_Tp, m, n>& b) { return a != Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator != (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) != b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator >= (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator >= (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator >= (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator >= (const Mat& a, const Matx<_Tp, m, n>& b) { return a >= Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator >= (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) >= b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator > (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator > (const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr operator > (double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator > (const Mat& a, const Matx<_Tp, m, n>& b) { return a > Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator > (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) > b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator & (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator & (const Mat& a, const Scalar& s); |
|
|
|
|
CV_EXPORTS MatExpr operator & (const Scalar& s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator & (const Mat& a, const Matx<_Tp, m, n>& b) { return a & Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator & (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) & b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator | (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator | (const Mat& a, const Scalar& s); |
|
|
|
|
CV_EXPORTS MatExpr operator | (const Scalar& s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator | (const Mat& a, const Matx<_Tp, m, n>& b) { return a | Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator | (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) | b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator ^ (const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr operator ^ (const Mat& a, const Scalar& s); |
|
|
|
|
CV_EXPORTS MatExpr operator ^ (const Scalar& s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator ^ (const Mat& a, const Matx<_Tp, m, n>& b) { return a ^ Mat(b); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr operator ^ (const Matx<_Tp, m, n>& a, const Mat& b) { return Mat(a) ^ b; } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr operator ~(const Mat& m); |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr min(const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr min(const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr min(double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr min (const Mat& a, const Matx<_Tp, m, n>& b) { return min(a, Mat(b)); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr min (const Matx<_Tp, m, n>& a, const Mat& b) { return min(Mat(a), b); } |
|
|
|
|
|
|
|
|
|
CV_EXPORTS MatExpr max(const Mat& a, const Mat& b); |
|
|
|
|
CV_EXPORTS MatExpr max(const Mat& a, double s); |
|
|
|
|
CV_EXPORTS MatExpr max(double s, const Mat& a); |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr max (const Mat& a, const Matx<_Tp, m, n>& b) { return max(a, Mat(b)); } |
|
|
|
|
template<typename _Tp, int m, int n> static inline |
|
|
|
|
MatExpr max (const Matx<_Tp, m, n>& a, const Mat& b) { return max(Mat(a), b); } |
|
|
|
|
|
|
|
|
|
/** @brief Calculates an absolute value of each matrix element.
|
|
|
|
|
|
|
|
|
|