Home | History | Annotate | Download | only in include

Lines Matching refs:CvMat

361 class CV_EXPORTS CvMAT : public CvMat
375 explicit CvMAT();
378 explicit CvMAT( int rows, int cols, int type, void* data, int step = CV_AUTOSTEP );
379 explicit CvMAT( int rows, int type, void* data, int step = CV_AUTOSTEP );
380 explicit CvMAT( int rows, int cols, int type );
381 explicit CvMAT( int rows, int type );
384 explicit CvMAT( const CvMat& mat, CvRect rect ); /* submatrix */
385 explicit CvMAT( const CvMat& mat, int k, int i ); /* submatrix:
390 CvMAT( const CvMat& mat );
391 CvMAT( const CvMAT& mat );
392 CvMAT( const IplImage& img );
394 /* CvMAT b = op(a1,a2,...) */
395 explicit CvMAT( const _CvMAT_T_& mat_t );
396 explicit CvMAT( const _CvMAT_INV_& inv_mat );
397 explicit CvMAT( const _CvMAT_ADD_& mat_add );
398 explicit CvMAT( const _CvMAT_ADD_EX_& mat_add );
399 explicit CvMAT( const _CvMAT_SCALE_& scale_mat );
400 explicit CvMAT( const _CvMAT_SCALE_SHIFT_& scale_shift_mat );
401 explicit CvMAT( const _CvMAT_MUL_& mmul );
402 explicit CvMAT( const _CvMAT_MUL_ADD_& mmuladd );
403 explicit CvMAT( const _CvMAT_LOGIC_& mat_logic );
404 explicit CvMAT( const _CvMAT_UN_LOGIC_& mat_logic );
405 explicit CvMAT( const _CvMAT_NOT_& not_mat );
406 explicit CvMAT( const _CvMAT_COPY_& mat_copy );
407 explicit CvMAT( const _CvMAT_CVT_& mat_copy );
408 explicit CvMAT( const _CvMAT_DOT_OP_& dot_mul );
409 explicit CvMAT( const _CvMAT_SOLVE_& solve_mat );
410 explicit CvMAT( const _CvMAT_CMP_& cmp_mat );
413 ~CvMAT();
416 CvMAT& operator = ( const CvMAT& mat );
417 CvMAT& operator = ( const CvMat& mat );
418 CvMAT& operator = ( const IplImage& img );
419 CvMAT& operator = ( double fillval );
420 CvMAT& operator = ( const CvScalar& fillval );
423 CvMAT& operator = ( const _CvMAT_T_& mat_t );
424 CvMAT& operator = ( const _CvMAT_INV_& inv_mat );
425 CvMAT& operator = ( const _CvMAT_ADD_& mat_add );
426 CvMAT& operator = ( const _CvMAT_ADD_EX_& mat_add );
427 CvMAT& operator = ( const _CvMAT_SCALE_& scale_mat );
428 CvMAT& operator = ( const _CvMAT_SCALE_SHIFT_& scale_shift_mat );
429 CvMAT& operator = ( const _CvMAT_MUL_& mmul );
430 CvMAT& operator = ( const _CvMAT_MUL_ADD_& mmuladd );
431 CvMAT& operator = ( const _CvMAT_LOGIC_& mat_logic );
432 CvMAT& operator = ( const _CvMAT_UN_LOGIC_& mat_logic );
433 CvMAT& operator = ( const _CvMAT_NOT_& not_mat );
434 CvMAT& operator = ( const _CvMAT_DOT_OP_& dot_mul );
435 CvMAT& operator = ( const _CvMAT_SOLVE_& solve_mat );
436 CvMAT& operator = ( const _CvMAT_CMP_& cmp_mat );
437 CvMAT& operator = ( const _CvMAT_CVT_& mat_cvt );
440 CvMAT& operator = ( const _CvMAT_COPY_& mat_copy );
443 CvMAT& operator += ( const CvMat& mat );
444 CvMAT& operator += ( double val );
445 CvMAT& operator += ( const CvScalar& val );
446 CvMAT& operator += ( const _CvMAT_SCALE_& scale_mat );
447 CvMAT& operator += ( const _CvMAT_SCALE_SHIFT_& scale_mat );
448 CvMAT& operator += ( const _CvMAT_MUL_& mmul );
450 CvMAT& operator -= ( const CvMat& mat );
451 CvMAT& operator -= ( double val );
452 CvMAT& operator -= ( const CvScalar& val );
453 CvMAT& operator -= ( const _CvMAT_SCALE_& scale_mat );
454 CvMAT& operator -= ( const _CvMAT_SCALE_SHIFT_& scale_mat );
455 CvMAT& operator -= ( const _CvMAT_MUL_& mmul );
457 CvMAT& operator *= ( const CvMat& mat );
458 CvMAT& operator *= ( double val );
459 CvMAT& operator *= ( const CvScalar& val );
460 CvMAT& operator *= ( const _CvMAT_SCALE_& scale_mat );
461 CvMAT& operator *= ( const _CvMAT_SCALE_SHIFT_& scale_mat );
463 CvMAT& operator &= ( const CvMat& mat );
464 CvMAT& operator &= ( double val );
465 CvMAT& operator &= ( const CvScalar& val );
467 CvMAT& operator |= ( const CvMat& mat );
468 CvMAT& operator |= ( double val );
469 CvMAT& operator |= ( const CvScalar& val );
471 CvMAT& operator ^= ( const CvMat& mat );
472 CvMAT& operator ^= ( double val );
473 CvMAT& operator ^= ( const CvScalar& val );
477 double norm( CvMat& mat, int norm_type = CV_L2 ) const;
489 _CvMAT_DOT_OP_ mul( const CvMAT& mat ) const;
492 _CvMAT_DOT_OP_ div( const CvMAT& mat ) const;
495 _CvMAT_DOT_OP_ min( const CvMAT& mat ) const;
496 _CvMAT_DOT_OP_ max( const CvMAT& mat ) const;
530 CvMAT row( int row ) const;
531 CvMAT rowrange( int row1, int row2 ) const;
532 CvMAT col( int col ) const;
533 CvMAT colrange( int col1, int col2 ) const;
534 CvMAT rect( CvRect rect ) const;
535 CvMAT diag( int diag = 0 ) const;
613 virtual operator CvMAT() const = 0;
615 _CvMAT_DOT_OP_ mul( const CvMAT& a ) const;
618 _CvMAT_DOT_OP_ div( const CvMAT& a ) const;
621 _CvMAT_DOT_OP_ max( const CvMAT& a ) const;
622 _CvMAT_DOT_OP_ min( const CvMAT& a ) const;
635 CvMAT row( int row ) const;
636 CvMAT rowrange( int row1, int row2 ) const;
637 CvMAT col( int col ) const;
638 CvMAT colrange( int col1, int col2 ) const;
639 CvMAT rect( CvRect rect ) const;
640 CvMAT diag( int diag = 0 ) const;
653 explicit _CvMAT_T_( const CvMAT* a );
654 explicit _CvMAT_T_( const CvMAT* a, double alpha );
658 operator CvMAT() const;
660 CvMAT a;
668 explicit _CvMAT_INV_( const CvMAT* mat, int method );
669 operator CvMAT() const;
671 CvMAT a;
679 explicit _CvMAT_MUL_( const CvMAT* a, const CvMAT* b, int t_ab );
680 explicit _CvMAT_MUL_( const CvMAT* a, const CvMAT* b,
682 operator CvMAT() const;
685 CvMAT* a;
686 CvMAT* b;
694 explicit _CvMAT_MUL_ADD_( const CvMAT* a, const CvMAT* b,
695 const CvMAT* c, int t_abc );
696 explicit _CvMAT_MUL_ADD_( const CvMAT* a, const CvMAT* b, double alpha,
697 const CvMAT* c, double beta, int t_abc );
698 operator CvMAT() const;
701 CvMAT* a;
702 CvMAT* b;
703 CvMAT* c;
711 explicit _CvMAT_ADD_( const CvMAT* a, const CvMAT* b, double beta = 1 );
712 operator CvMAT() const;
718 CvMAT* a;
719 CvMAT* b;
726 explicit _CvMAT_ADD_EX_( const CvMAT* a, double alpha,
727 const CvMAT* b, double beta, double gamma = 0 );
728 operator CvMAT() const;
731 CvMAT* a;
732 CvMAT* b;
739 explicit _CvMAT_SCALE_( const CvMAT* a, double alpha );
740 operator CvMAT() const;
742 _CvMAT_DOT_OP_ mul( const CvMAT& a ) const;
745 _CvMAT_DOT_OP_ div( const CvMAT& a ) const;
749 CvMAT* a;
756 explicit _CvMAT_SCALE_SHIFT_( const CvMAT* a, double alpha, double beta );
757 operator CvMAT() const;
762 CvMAT* a;
770 explicit _CvMAT_LOGIC_( const CvMAT* a, const CvMAT* b, Op op, int flags = 0 );
771 operator CvMAT() const;
773 CvMAT* a;
774 CvMAT* b;
783 explicit _CvMAT_UN_LOGIC_( const CvMAT* a, double alpha,
785 operator CvMAT() const;
787 CvMAT* a;
797 explicit _CvMAT_NOT_( const CvMAT* a );
798 operator CvMAT() const;
800 CvMAT* a;
807 explicit _CvMAT_CVT_( const CvMAT* a, int newdepth = -1,
809 operator CvMAT() const;
811 CvMAT a;
820 explicit _CvMAT_COPY_( const CvMAT* a );
821 operator CvMAT() const;
822 CvMAT* a;
829 explicit _CvMAT_DOT_OP_( const CvMAT* a, const CvMAT* b,
831 operator CvMAT() const;
833 CvMAT a; /* keep the left operand copy */
834 CvMAT* b;
843 explicit _CvMAT_SOLVE_( const CvMAT* a, const CvMAT* b, int method );
844 operator CvMAT() const;
846 CvMAT* a;
847 CvMAT* b;
855 explicit _CvMAT_CMP_( const CvMAT* a, const CvMAT* b, int cmp_op );
856 explicit _CvMAT_CMP_( const CvMAT* a, double alpha, int cmp_op );
857 operator CvMAT() const;
859 CvMAT* a;
860 CvMAT* b;
882 { return CvMAT::get( ptr, type, coi ); }
897 { return CvMAT::get( ptr, type ); }
907 CvMAT::set( ptr, type, 0, elem(0));
919 CvMAT::set( ptr, type, 0, (double)elem );
926 CvMAT::set( ptr, type, 0, scalar.val[0] );
933 CvMAT::set( ptr, type, 0, d );
940 CvMAT::set( ptr, type, 0, (double)f );
947 CvMAT::set( ptr, type, 0, i );
987 CvMAT::set( ptr, type, (double)elem );
1002 CvMAT::set( ptr, type, d );
1009 CvMAT::set( ptr, type, (double)f );
1016 CvMAT::set( ptr, type, i );
1021 /********************************** CvMAT inline methods ********************************/
1023 inline CvMAT::CvMAT()
1029 inline CvMAT::CvMAT( int rows, int cols, int type, void* data, int step )
1035 inline CvMAT::CvMAT( int rows, int type, void* data, int step )
1041 inline void CvMAT::create( int rows, int cols, int type )
1054 inline CvMAT::CvMAT( int rows, int cols, int type )
1060 inline CvMAT::CvMAT( int rows, int type )
1066 inline CvMAT::CvMAT( const CvMat& mat )
1074 inline CvMAT::CvMAT( const CvMAT& mat )
1082 inline CvMAT::CvMAT( const IplImage& img )
1088 inline void CvMAT::release()
1097 inline CvMAT::~CvMAT()
1103 inline CvMAT& CvMAT::operator = ( const CvMAT& mat )
1116 inline CvMAT& CvMAT::operator = ( const CvMat& mat )
1118 *this = (const CvMAT&)mat;
1123 inline CvMAT& CvMAT::operator = ( const IplImage& img )
1132 inline CvMAT& CvMAT::operator = ( double fillval )
1139 inline CvMAT& CvMAT::operator = ( const CvScalar& fillval )
1146 inline CvMAT& CvMAT::operator += ( const CvMat& mat )
1153 inline CvMAT& CvMAT::operator += ( double val )
1160 inline CvMAT& CvMAT::operator += ( const CvScalar& val )
1167 inline CvMAT& CvMAT::operator -= ( const CvMat& mat )
1174 inline CvMAT& CvMAT::operator -= ( double val )
1181 inline CvMAT& CvMAT::operator -= ( const CvScalar& val )
1188 inline CvMAT& CvMAT::operator *= ( const CvMat& mat )
1195 inline CvMAT& CvMAT::operator *= ( double val )
1202 inline CvMAT& CvMAT::operator *= ( const CvScalar& val )
1209 inline CvMAT& CvMAT::operator &= ( const CvMat& mat )
1216 inline CvMAT& CvMAT::operator &= ( double val )
1223 inline CvMAT& CvMAT::operator &= ( const CvScalar& val )
1230 inline CvMAT& CvMAT::operator |= ( const CvMat& mat )
1237 inline CvMAT& CvMAT::operator |= ( double val )
1244 inline CvMAT& CvMAT::operator |= ( const CvScalar& val )
1251 inline CvMAT& CvMAT::operator ^= ( const CvMat& mat )
1258 inline CvMAT& CvMAT::operator ^= ( double val )
1265 inline CvMAT& CvMAT::operator ^= ( const CvScalar& val )
1272 inline double CvMAT::norm( int normType ) const
1276 inline double CvMAT::min( CvPoint* minloc ) const
1283 inline double CvMAT::max( CvPoint* maxloc ) const
1291 inline double CvMAT::norm( CvMat& mat, int normType ) const
1295 inline CvScalar CvMAT::sum() const
1299 inline double CvMAT::det() const
1303 inline void CvMAT::reshape( int newcn, int newrows )
1307 inline void CvMAT::flipX()
1311 inline void CvMAT::flipY()
1315 inline void CvMAT::flipXY()
1319 CvMAT::operator ()( int row )
1323 inline _CvMATConstElem_ CvMAT::operator ()( int row ) const
1327 inline _CvMATElem_ CvMAT::operator ()( int row, int col )
1331 inline _CvMATConstElem_ CvMAT::operator ()( int row, int col ) const
1335 inline _CvMATElemCn_ CvMAT::operator()( int row, int col, int coi )
1339 inline _CvMATElemCn_ CvMAT::operator()( CvPoint pt, int coi )
1343 inline double CvMAT::operator()( int row, int col, int coi ) const
1347 inline _CvMATElem_ CvMAT::operator ()( CvPoint pt )
1351 inline _CvMATConstElem_ CvMAT::operator ()( CvPoint pt ) const
1355 inline double CvMAT::operator()( CvPoint pt, int coi ) const
1359 inline void* CvMAT::ptr( int row )
1363 inline const void* CvMAT::ptr( int row ) const
1367 inline void* CvMAT::ptr( int row, int col )
1371 inline const void* CvMAT::ptr( int row, int col ) const
1375 inline void* CvMAT::ptr( CvPoint pt )
1379 inline const void* CvMAT::ptr( CvPoint pt ) const
1383 inline _CvMAT_INV_ CvMAT::inv( int method ) const
1387 inline _CvMAT_T_ CvMAT::t() const
1391 inline _CvMAT_COPY_ CvMAT::clone() const
1394 inline _CvMAT_CVT_ CvMAT::cvt( int newdepth, double scale, double shift ) const
1398 inline CvMAT::CvMAT( const CvMat& mat, CvRect rect )
1410 inline CvMAT::CvMAT( const CvMat& mat, int k, int i )
1423 inline CvMAT CvMAT::row( int r ) const
1424 { return CvMAT( *this, 0, r ); }
1427 inline CvMAT CvMAT::col( int c ) const
1428 { return CvMAT( *this, 1, c ); }
1431 inline CvMAT CvMAT::diag( int d ) const
1432 { return CvMAT( *this, -1, d ); }
1435 inline CvMAT CvMAT::rect( CvRect rect ) const
1436 { return CvMAT( *this, rect ); }
1438 inline CvMAT CvMAT::rowrange( int row1, int row2 ) const
1441 return CvMAT( *this, cvRect( 0, row1, width, row2 - row1 ));
1444 inline CvMAT CvMAT::colrange( int col1, int col2 ) const
1447 return CvMAT( *this, cvRect( col1, 0, col2 - col1, height ));
1450 inline _CvMAT_DOT_OP_ CvMAT::mul( const CvMAT& mat ) const
1453 inline _CvMAT_DOT_OP_ CvMAT::mul( const _CvMAT_SCALE_& mat ) const
1456 inline _CvMAT_DOT_OP_ CvMAT::div( const CvMAT& mat ) const
1459 inline _CvMAT_DOT_OP_ CvMAT::div( const _CvMAT_SCALE_& mat ) const
1462 inline _CvMAT_DOT_OP_ CvMAT::min( const CvMAT& mat ) const
1465 inline _CvMAT_DOT_OP_ CvMAT::max( const CvMAT& mat ) const
1468 inline _CvMAT_DOT_OP_ CvMAT::min( double value ) const
1471 inline _CvMAT_DOT_OP_ CvMAT::max( double value ) const
1474 inline _CvMAT_DOT_OP_ CvMAT::abs() const
1498 inline _CvMAT_SCALE_ operator * ( const CvMAT& a, double alpha )
1502 inline _CvMAT_SCALE_ operator * ( double alpha, const CvMAT& a )
1519 inline _CvMAT_SCALE_SHIFT_ operator + ( const CvMAT& a, double beta )
1523 inline _CvMAT_SCALE_SHIFT_ operator + ( double beta, const CvMAT& a )
1527 inline _CvMAT_SCALE_SHIFT_ operator - ( const CvMAT& a, double beta )
1531 inline _CvMAT_SCALE_SHIFT_ operator - ( double beta, const CvMAT& a )
1580 inline _CvMAT_SCALE_ operator - ( const CvMAT& a )
1584 inline _CvMAT_ADD_ operator + ( const CvMAT& a, const CvMAT& b )
1588 inline _CvMAT_ADD_ operator - ( const CvMAT& a, const CvMAT& b )
1592 inline _CvMAT_ADD_ operator + ( const _CvMAT_SCALE_& a, const CvMAT& b )
1596 inline _CvMAT_ADD_ operator + ( const CvMAT& b, const _CvMAT_SCALE_& a )
1604 inline _CvMAT_ADD_EX_ operator - ( const _CvMAT_SCALE_& a, const CvMAT& b )
1608 inline _CvMAT_ADD_ operator - ( const CvMAT& b, const _CvMAT_SCALE_& a )
1612 inline _CvMAT_ADD_EX_ operator + ( const _CvMAT_SCALE_SHIFT_& a, const CvMAT& b )
1616 inline _CvMAT_ADD_EX_ operator + ( const CvMAT& b, const _CvMAT_SCALE_SHIFT_& a )
1620 inline _CvMAT_ADD_EX_ operator - ( const _CvMAT_SCALE_SHIFT_& a, const CvMAT& b )
1624 inline _CvMAT_ADD_EX_ operator - ( const CvMAT& b, const _CvMAT_SCALE_SHIFT_& a )
1719 inline _CvMAT_MUL_ operator * ( const CvMAT& a, const CvMAT& b )
1723 inline _CvMAT_MUL_ operator * ( const _CvMAT_T_& a, const CvMAT& b )
1727 inline _CvMAT_MUL_ operator * ( const CvMAT& b, const _CvMAT_T_& a )
1735 inline _CvMAT_MUL_ operator * ( const _CvMAT_SCALE_& a, const CvMAT& b )
1739 inline _CvMAT_MUL_ operator * ( const CvMAT& b, const _CvMAT_SCALE_& a )
1767 inline _CvMAT_MUL_ADD_ operator + ( const _CvMAT_MUL_& a, const CvMAT& b )
1772 /* inline _CvMAT_MUL_ADD_ operator + ( const CvMAT& b, const _CvMAT_MUL_& a )
1776 inline _CvMAT_MUL_ADD_ operator - ( const _CvMAT_MUL_& a, const CvMAT& b )
1781 /*inline _CvMAT_MUL_ADD_ operator - ( const CvMAT& b, const _CvMAT_MUL_& a )
1818 inline _CvMAT_MUL_ADD_ operator * ( const _CvMAT_SCALE_SHIFT_& a, const CvMAT& b )
1822 inline _CvMAT_MUL_ADD_ operator * ( const CvMAT& b, const _CvMAT_SCALE_SHIFT_& a )
1854 inline _CvMAT_SOLVE_ operator * ( const _CvMAT_INV_& a, const CvMAT& b )
1861 inline _CvMAT_NOT_ operator ~ ( const CvMAT& a )
1864 inline _CvMAT_LOGIC_ operator & ( const CvMAT& a, const CvMAT& b )
1867 inline _CvMAT_LOGIC_ operator & ( const _CvMAT_NOT_& a, const CvMAT& b )
1870 inline _CvMAT_LOGIC_ operator & ( const CvMAT& a, const _CvMAT_NOT_& b )
1877 inline _CvMAT_LOGIC_ operator | ( const CvMAT& a, const CvMAT& b )
1880 inline _CvMAT_LOGIC_ operator | ( const _CvMAT_NOT_& a, const CvMAT& b )
1883 inline _CvMAT_LOGIC_ operator | ( const CvMAT& a, const _CvMAT_NOT_& b )
1890 inline _CvMAT_LOGIC_ operator ^ ( const CvMAT& a, const CvMAT& b )
1893 inline _CvMAT_LOGIC_ operator ^ ( const _CvMAT_NOT_& a, const CvMAT& b )
1896 inline _CvMAT_LOGIC_ operator ^ ( const CvMAT& a, const _CvMAT_NOT_& b )
1903 inline _CvMAT_UN_LOGIC_ operator & ( const CvMAT& a, double alpha )
1906 inline _CvMAT_UN_LOGIC_ operator & ( double alpha, const CvMAT& a )
1916 inline _CvMAT_UN_LOGIC_ operator | ( const CvMAT& a, double alpha )
1919 inline _CvMAT_UN_LOGIC_ operator | ( double alpha, const CvMAT& a )
1929 inline _CvMAT_UN_LOGIC_ operator ^ ( const CvMAT& a, double alpha )
1932 inline _CvMAT_UN_LOGIC_ operator ^ ( double alpha, const CvMAT& a )
1945 inline _CvMAT_CMP_ operator > ( const CvMAT& a, const CvMAT& b )
1948 inline _CvMAT_CMP_ operator >= ( const CvMAT& a, const CvMAT& b )
1951 inline _CvMAT_CMP_ operator < ( const CvMAT& a, const CvMAT& b )
1954 inline _CvMAT_CMP_ operator <= ( const CvMAT& a, const CvMAT& b )
1957 inline _CvMAT_CMP_ operator == ( const CvMAT& a, const CvMAT& b )
1960 inline _CvMAT_CMP_ operator != ( const CvMAT& a, const CvMAT& b )
1964 inline _CvMAT_CMP_ operator > ( const CvMAT& a, double alpha )
1967 inline _CvMAT_CMP_ operator > ( double alpha, const CvMAT& a )
1970 inline _CvMAT_CMP_ operator >= ( const CvMAT& a, double alpha )
1973 inline _CvMAT_CMP_ operator >= ( double alpha, const CvMAT& a )
1976 inline _CvMAT_CMP_ operator < ( const CvMAT& a, double alpha )
1979 inline _CvMAT_CMP_ operator < ( double alpha, const CvMAT& a )
1982 inline _CvMAT_CMP_ operator <= ( const CvMAT& a, double alpha )
1985 inline _CvMAT_CMP_ operator <= ( double alpha, const CvMAT& a )
1988 inline _CvMAT_CMP_ operator == ( const CvMAT& a, double alpha )
1991 inline _CvMAT_CMP_ operator == ( double alpha, const CvMAT& a )
1994 inline _CvMAT_CMP_ operator != ( const CvMAT& a, double alpha )
1997 inline _CvMAT_CMP_ operator != ( double alpha, const CvMAT& a )
2002 * PART V. Speedup for some augmented assignments to CvMAT
2005 inline CvMAT& CvMAT::operator += ( const _CvMAT_SCALE_& scale_mat )
2008 inline CvMAT& CvMAT::operator += ( const _CvMAT_SCALE_SHIFT_& scale_mat )
2011 inline CvMAT& CvMAT::operator += ( const _CvMAT_MUL_& mmul )
2014 inline CvMAT& CvMAT::operator -= ( const _CvMAT_SCALE_& scale_mat )
2017 inline CvMAT& CvMAT::operator -= ( const _CvMAT_SCALE_SHIFT_& scale_mat )
2020 inline CvMAT& CvMAT::operator -= ( const _CvMAT_MUL_& mmul )
2023 inline CvMAT& CvMAT::operator *= ( const _CvMAT_SCALE_& scale_mat )
2026 inline CvMAT& CvMAT::operator *= ( const _CvMAT_SCALE_SHIFT_& scale_mat )
2038 inline _CvMAT_DOT_OP_ _CvMAT_BASE_OP_::mul( const CvMAT& a ) const
2039 { return ((CvMAT)*this).mul(a); }
2043 { return ((CvMAT)*this).mul(a); }
2046 inline _CvMAT_DOT_OP_ _CvMAT_BASE_OP_::div( const CvMAT& a ) const
2047 { return ((CvMAT)*this).div(a); }
2051 { return ((CvMAT)*this).div(a); }
2054 inline _CvMAT_DOT_OP_ _CvMAT_BASE_OP_::min( const CvMAT& a ) const
2055 { return ((CvMAT)*this).min(a); }
2058 inline _CvMAT_DOT_OP_ _CvMAT_BASE_OP_::max( const CvMAT& a ) const
2059 { return ((CvMAT)*this).max(a); }
2063 { return ((CvMAT)*this).min(alpha); }
2067 { return ((CvMAT)*this).max(alpha); }
2071 { return ((CvMAT)*this).inv(method); }
2074 { return ((CvMAT)*this).t(); }
2077 { return ((CvMAT)*this).cvt( newdepth, scale, shift ); }
2079 inline CvMAT _CvMAT_BASE_OP_::row( int r ) const
2080 { return CvMAT((CvMAT)*this, 0, r ); }
2082 inline CvMAT _CvMAT_BASE_OP_::rowrange( int row1, int row2 ) const
2084 CvMAT m = (CvMAT)*this;
2086 return CvMAT( m, cvRect( 0, row1, m.width, row2 - row1 ));
2089 inline CvMAT _CvMAT_BASE_OP_::col( int c ) const
2090 { return CvMAT( (CvMAT)*this, 1, c ); }
2092 inline CvMAT _CvMAT_BASE_OP_::colrange( int col1, int col2 ) const
2094 CvMAT m = (CvMAT)*this;
2096 return CvMAT( m, cvRect( col1, 0, col2 - col1, m.height ));
2099 inline CvMAT _CvMAT_BASE_OP_::rect( CvRect r ) const
2100 { return CvMAT( (CvMAT)*this, r ); }
2102 inline CvMAT _CvMAT_BASE_OP_::diag( int d ) const
2103 { return CvMAT( (CvMAT)*this, -1, d ); }
2106 { return ((CvMAT)*this).det(); }
2109 { return ((CvMAT)*this).norm( norm_type ); }
2112 { return ((CvMAT)*this).sum(); }
2115 { return ((CvMAT)*this).min( minloc ); }
2118 { return ((CvMAT)*this).max( maxloc ); }
2127 inline _CvMAT_COPY_::_CvMAT_COPY_( const CvMAT* _a ) : a((CvMAT*)_a) {}
2129 inline _CvMAT_CVT_::_CvMAT_CVT_( const CvMAT* _a, int _newdepth,
2131 a(*(CvMAT*)_a), newdepth(_newdepth), scale(_scale), shift(_shift) {}
2133 inline _CvMAT_T_::_CvMAT_T_( const CvMAT* _a ) : a(*(CvMAT*)_a), alpha(1) {}
2136 inline _CvMAT_T_::_CvMAT_T_( const CvMAT* _a, double _alpha ) :
2137 a(*(CvMAT*)_a), alpha(_alpha) {}
2140 inline _CvMAT_INV_::_CvMAT_INV_( const CvMAT* _a, int _method ) :
2141 a(*(CvMAT*)_a), method(_method) {}
2144 inline _CvMAT_MUL_::_CvMAT_MUL_( const CvMAT* _a, const CvMAT* _b, int _t_ab ) :
2145 a((CvMAT*)_a), b((CvMAT*)_b), alpha(1), t_ab(_t_ab) {}
2148 inline _CvMAT_MUL_::_CvMAT_MUL_( const CvMAT* _a, const CvMAT* _b,
2150 a((CvMAT*)_a), b((CvMAT*)_b), alpha(_alpha), t_ab(_t_ab) {}
2153 inline _CvMAT_MUL_ADD_::_CvMAT_MUL_ADD_( const CvMAT* _a, const CvMAT* _b,
2154 const CvMAT* _c, int _t_abc ) :
2155 a((CvMAT*)_a), b((CvMAT*)_b), c((CvMAT*)_c), t_abc(_t_abc) {}
2158 inline _CvMAT_MUL_ADD_::_CvMAT_MUL_ADD_( const CvMAT* _a, const CvMAT* _b, double _alpha,
2159 const CvMAT* _c, double _beta, int _t_abc ) :
2160 a((CvMAT*)_a), b((CvMAT*)_b), alpha(_alpha),
2161 c((CvMAT*)_c), beta(_beta), t_abc(_t_abc) {}
2164 inline _CvMAT_ADD_::_CvMAT_ADD_( const CvMAT* _a, const CvMAT* _b, double _beta ) :
2165 a((CvMAT*)_a), b((CvMAT*)_b), beta(_beta) {}
2168 inline _CvMAT_ADD_EX_::_CvMAT_ADD_EX_( const CvMAT* _a, double _alpha,
2169 const CvMAT* _b, double _beta, double _gamma ) :
2170 a((CvMAT*)_a), alpha(_alpha), b((CvMAT*)_b), beta(_beta), gamma(_gamma) {}
2173 inline _CvMAT_SCALE_::_CvMAT_SCALE_( const CvMAT* _a, double _alpha ) :
2174 a((CvMAT*)_a), alpha(_alpha) {}
2177 inline _CvMAT_SCALE_SHIFT_::_CvMAT_SCALE_SHIFT_( const CvMAT* _a,
2179 a((CvMAT*)_a), alpha(_alpha), beta(_beta) {}
2182 inline _CvMAT_LOGIC_::_CvMAT_LOGIC_( const CvMAT* _a, const CvMAT* _b,
2184 a((CvMAT*)_a), b((CvMAT*)_b), op(_op), flags(_flags) {}
2187 inline _CvMAT_UN_LOGIC_::_CvMAT_UN_LOGIC_( const CvMAT* _a, double _alpha,
2189 a((CvMAT*)_a), alpha(_alpha), op(_op), flags(_flags) {}
2192 inline _CvMAT_NOT_::_CvMAT_NOT_( const CvMAT* _a ) :
2193 a((CvMAT*)_a) {}
2196 inline _CvMAT_DOT_OP_::_CvMAT_DOT_OP_( const CvMAT* _a, const CvMAT* _b,
2198 a(*_a), b((CvMAT*)_b), op(_op), alpha(_alpha) {}
2201 inline _CvMAT_SOLVE_::_CvMAT_SOLVE_( const CvMAT* _a, const CvMAT* _b, int _method ) :
2202 a((CvMAT*)_a), b((CvMAT*)_b), method(_method) {}
2204 inline _CvMAT_CMP_::_CvMAT_CMP_( const CvMAT* _a, const CvMAT* _b, int _cmp_op ) :
2205 a((CvMAT*)_a), b((CvMAT*)_b), alpha(0), cmp_op(_cmp_op) {}
2207 inline _CvMAT_CMP_::_CvMAT_CMP_( const CvMAT* _a, double _alpha, int _cmp_op ) :
2208 a((CvMAT*)_a), b(0), alpha(_alpha), cmp_op(_cmp_op) {}
2212 /* part II. conversion to CvMAT */
2215 inline _CvMAT_T_::operator CvMAT() const
2216 { return CvMAT( *this ); }
2218 inline _CvMAT_INV_::operator CvMAT() const
2219 { return CvMAT( *this ); }
2221 inline _CvMAT_MUL_::operator CvMAT() const
2222 { return CvMAT( *this ); }
2224 inline _CvMAT_SCALE_::operator CvMAT() const
2225 { return CvMAT( *this ); }
2227 inline _CvMAT_SCALE_SHIFT_::operator CvMAT() const
2228 { return CvMAT( *this ); }
2230 inline _CvMAT_ADD_::operator CvMAT() const
2231 { return CvMAT( *this ); }
2233 inline _CvMAT_ADD_EX_::operator CvMAT() const
2234 { return CvMAT( *this ); }
2236 inline _CvMAT_MUL_ADD_::operator CvMAT() const
2237 { return CvMAT( *this ); }
2239 inline _CvMAT_LOGIC_::operator CvMAT() const
2240 { return CvMAT( *this ); }
2242 inline _CvMAT_UN_LOGIC_::operator CvMAT() const
2243 { return CvMAT( *this ); }
2245 inline _CvMAT_NOT_::operator CvMAT() const
2246 { return CvMAT( *this ); }
2248 inline _CvMAT_DOT_OP_::operator CvMAT() const
2249 { return CvMAT( *this ); }
2251 inline _CvMAT_SOLVE_::operator CvMAT() const
2252 { return CvMAT( *this ); }
2254 inline _CvMAT_CMP_::operator CvMAT() const
2255 { return CvMAT( *this ); }
2257 inline _CvMAT_CVT_::operator CvMAT() const
2258 { return CvMAT(*this); }
2260 inline _CvMAT_COPY_::operator CvMAT() const
2268 inline _CvMAT_DOT_OP_ _CvMAT_SCALE_::mul( const CvMAT& mat ) const
2274 inline _CvMAT_DOT_OP_ _CvMAT_SCALE_::div( const CvMAT& mat ) const
2286 inline _CvMAT_DOT_OP_ operator / ( double alpha, const CvMAT& mat )
2304 return ((CvMAT)*this).norm( norm_type );
2312 return ((CvMAT)*this).abs();
2320 return ((CvMAT)*this).abs();