CV_Assert 1580 apps/createsamples/utility.cpp CV_Assert(elements_read == 1); CV_Assert 1583 apps/createsamples/utility.cpp CV_Assert(elements_read == (size_t)((CvVecFile*) userdata)->vecsize); CV_Assert 1619 apps/createsamples/utility.cpp CV_Assert(elements_read1 == 1 && elements_read2 == 1 && elements_read3 == 1 && elements_read4 == 1); CV_Assert 19 apps/traincascade/HOGfeatures.cpp CV_Assert( _maxSampleCount > 0); CV_Assert 159 apps/traincascade/HOGfeatures.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_Assert 243 apps/traincascade/boost.cpp CV_Assert( !boostTypeStr.empty() ); CV_Assert 296 apps/traincascade/boost.cpp CV_Assert( !boostTypeStr.empty() ); CV_Assert 357 apps/traincascade/boost.cpp CV_Assert( (isubsample_idx = cvPreprocessIndexArray( _subsample_idx, sample_count )) != 0 ); CV_Assert 403 apps/traincascade/boost.cpp CV_Assert( (subsample_co = cvCreateMat( 1, sample_count*2, CV_32SC1 )) != 0); CV_Assert 424 apps/traincascade/boost.cpp CV_Assert( ci < 0 ); CV_Assert 435 apps/traincascade/boost.cpp CV_Assert( num_valid == sample_count ); CV_Assert 582 apps/traincascade/boost.cpp CV_Assert( _featureEvaluator ); CV_Assert 1000 apps/traincascade/boost.cpp CV_Assert( tempNode->left ); CV_Assert 1011 apps/traincascade/boost.cpp CV_Assert( tempNode->right ); CV_Assert 1190 apps/traincascade/boost.cpp CV_Assert( n1 == n ); CV_Assert 1217 apps/traincascade/boost.cpp CV_Assert( n1 == n ); CV_Assert 1357 apps/traincascade/boost.cpp CV_Assert( !data ); CV_Assert 1405 apps/traincascade/boost.cpp CV_Assert( weak ); CV_Assert 28 apps/traincascade/cascadeclassifier.cpp CV_Assert( !stageTypeStr.empty() ); CV_Assert 34 apps/traincascade/cascadeclassifier.cpp CV_Assert( !stageTypeStr.empty() ); CV_Assert 71 apps/traincascade/features.cpp CV_Assert(_maxSampleCount > 0); CV_Assert 81 apps/traincascade/features.cpp CV_Assert(img.cols == winSize.width); CV_Assert 82 apps/traincascade/features.cpp CV_Assert(img.rows == winSize.height); CV_Assert 83 apps/traincascade/features.cpp CV_Assert(idx < cls.rows); CV_Assert 32 apps/traincascade/haarfeatures.cpp CV_Assert( !modeStr.empty() ); CV_Assert 90 apps/traincascade/haarfeatures.cpp CV_Assert(_maxSampleCount > 0); CV_Assert 85 apps/traincascade/imagestorage.cpp CV_Assert( !_img.empty() ); CV_Assert 86 apps/traincascade/imagestorage.cpp CV_Assert( _img.type() == CV_8UC1 ); CV_Assert 87 apps/traincascade/imagestorage.cpp CV_Assert( _img.cols == winSize.width ); CV_Assert 88 apps/traincascade/imagestorage.cpp CV_Assert( _img.rows == winSize.height ); CV_Assert 146 apps/traincascade/imagestorage.cpp CV_Assert( vec ); CV_Assert 152 apps/traincascade/imagestorage.cpp CV_Assert( _img.rows * _img.cols == vecSize ); CV_Assert 175 apps/traincascade/imagestorage.cpp CV_Assert( file ); CV_Assert 17 apps/traincascade/lbpfeatures.cpp CV_Assert( _maxSampleCount > 0); CV_Assert 665 apps/traincascade/old_ml_data.cpp CV_Assert(test_sample_count > 0); CV_Assert 1663 apps/traincascade/old_ml_tree.cpp CV_Assert( root->left ); CV_Assert 1664 apps/traincascade/old_ml_tree.cpp CV_Assert( root->right ); CV_Assert 1669 modules/calib3d/src/calibinit.cpp CV_Assert( out_corners && out_quads ); CV_Assert 1939 modules/calib3d/src/calibinit.cpp CV_Assert(nelems >= 0); CV_Assert 1949 modules/calib3d/src/calibinit.cpp CV_Assert(isAsymmetricGrid ^ isSymmetricGrid); CV_Assert 66 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(A) && CV_IS_MAT(B) ); CV_Assert 67 modules/calib3d/src/calibration.cpp CV_Assert( CV_ARE_TYPES_EQ(A, B) && CV_Assert 69 modules/calib3d/src/calibration.cpp CV_Assert( A->cols == B->rows ); CV_Assert 78 modules/calib3d/src/calibration.cpp CV_Assert( CV_ARE_TYPES_EQ(A, dABdA) && CV_Assert 84 modules/calib3d/src/calibration.cpp CV_Assert( CV_ARE_TYPES_EQ(A, dABdB) && CV_Assert 163 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(_rvec1) && CV_IS_MAT(_rvec2) ); CV_Assert 165 modules/calib3d/src/calibration.cpp CV_Assert( CV_MAT_TYPE(_rvec1->type) == CV_32F || CV_Assert 168 modules/calib3d/src/calibration.cpp CV_Assert( _rvec1->rows == 3 && _rvec1->cols == 1 && CV_ARE_SIZES_EQ(_rvec1, _rvec2) ); CV_Assert 222 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(_tvec1) && CV_IS_MAT(_tvec2) ); CV_Assert 223 modules/calib3d/src/calibration.cpp CV_Assert( CV_ARE_SIZES_EQ(_tvec1, _tvec2) && CV_ARE_SIZES_EQ(_tvec1, _rvec1) ); CV_Assert 949 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(objectPoints) && CV_IS_MAT(imagePoints) && CV_Assert 960 modules/calib3d/src/calibration.cpp CV_Assert( (CV_MAT_DEPTH(rvec->type) == CV_64F || CV_MAT_DEPTH(rvec->type) == CV_32F) && CV_Assert 963 modules/calib3d/src/calibration.cpp CV_Assert( (CV_MAT_DEPTH(tvec->type) == CV_64F || CV_MAT_DEPTH(tvec->type) == CV_32F) && CV_Assert 1657 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(_imagePoints1) && CV_IS_MAT(_imagePoints2) && CV_Assert 1661 modules/calib3d/src/calibration.cpp CV_Assert( CV_ARE_TYPES_EQ(_imagePoints1, _imagePoints2) && CV_Assert 1664 modules/calib3d/src/calibration.cpp CV_Assert( (_npoints->cols == 1 || _npoints->rows == 1) && CV_Assert 1689 modules/calib3d/src/calibration.cpp CV_Assert( (CV_MAT_DEPTH(_imagePoints1->type) == CV_32F || CV_Assert 2455 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(_points1) && CV_IS_MAT(_points2) && CV_Assert 2630 modules/calib3d/src/calibration.cpp CV_Assert( stype == CV_8UC1 || stype == CV_16SC1 || CV_Assert 2632 modules/calib3d/src/calibration.cpp CV_Assert( Q.size() == Size(4,4) ); CV_Assert 2639 modules/calib3d/src/calibration.cpp CV_Assert( dtype == CV_16SC3 || dtype == CV_32SC3 || dtype == CV_32FC3 ); CV_Assert 2651 modules/calib3d/src/calibration.cpp CV_Assert( cols >= 0 ); CV_Assert 2736 modules/calib3d/src/calibration.cpp CV_Assert( disp.size() == _3dimg.size() ); CV_Assert 2738 modules/calib3d/src/calibration.cpp CV_Assert( dtype == CV_16SC3 || dtype == CV_32SC3 || dtype == CV_32FC3 ); CV_Assert 2756 modules/calib3d/src/calibration.cpp CV_Assert( CV_IS_MAT(matrixM) && CV_IS_MAT(matrixR) && CV_IS_MAT(matrixQ) && CV_Assert 2954 modules/calib3d/src/calibration.cpp CV_Assert(cvDet(&tmpMatrixM) != 0.0); // So far only finite cameras could be decomposed, so M has to be nonsingular [det(M) != 0]. CV_Assert 2972 modules/calib3d/src/calibration.cpp CV_Assert(nimages > 0 && nimages == (int)imagePoints1.total() && CV_Assert 2983 modules/calib3d/src/calibration.cpp CV_Assert( ni == ni1 ); CV_Assert 3015 modules/calib3d/src/calibration.cpp CV_Assert( ni == ni2 ); CV_Assert 3164 modules/calib3d/src/calibration.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_64F)); CV_Assert 3230 modules/calib3d/src/calibration.cpp CV_Assert( nimages > 0 ); CV_Assert 3507 modules/calib3d/src/calibration.cpp CV_Assert( ni1 > 0 && ni1 == ni3 ); CV_Assert 208 modules/calib3d/src/circlesgrid.cpp CV_Assert(sortedIndices.type() == CV_32SC1); CV_Assert 209 modules/calib3d/src/circlesgrid.cpp CV_Assert(sortedIndices.cols == 1); CV_Assert 222 modules/calib3d/src/circlesgrid.cpp CV_Assert(!corners.empty()); CV_Assert 444 modules/calib3d/src/circlesgrid.cpp CV_Assert( !doesVertexExist( id ) ); CV_Assert 451 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id1 ) ); CV_Assert 452 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id2 ) ); CV_Assert 460 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id1 ) ); CV_Assert 461 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id2 ) ); CV_Assert 469 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id1 ) ); CV_Assert 470 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist( id2 ) ); CV_Assert 483 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist(id) ); CV_Assert 501 modules/calib3d/src/circlesgrid.cpp CV_Assert( it1->first != *it2 ); CV_Assert 530 modules/calib3d/src/circlesgrid.cpp CV_Assert( doesVertexExist(id) ); CV_Assert 568 modules/calib3d/src/circlesgrid.cpp CV_Assert(_patternSize.height >= 0 && _patternSize.width >= 0); CV_Assert 819 modules/calib3d/src/circlesgrid.cpp CV_Assert( !centers.empty() ); CV_Assert 921 modules/calib3d/src/circlesgrid.cpp CV_Assert( line.size() == seeds.size() ); CV_Assert 936 modules/calib3d/src/circlesgrid.cpp CV_Assert( below.size() == above.size() ); CV_Assert 937 modules/calib3d/src/circlesgrid.cpp CV_Assert( belowSeeds.size() == aboveSeeds.size() ); CV_Assert 938 modules/calib3d/src/circlesgrid.cpp CV_Assert( below.size() == belowSeeds.size() ); CV_Assert 1009 modules/calib3d/src/circlesgrid.cpp CV_Assert( points.size() == seeds.size() ); CV_Assert 1012 modules/calib3d/src/circlesgrid.cpp CV_Assert( basisGraphs[0].getVerticesCount() == basisGraphs[1].getVerticesCount() ); CV_Assert 1096 modules/calib3d/src/circlesgrid.cpp CV_Assert( centers.type() == CV_32FC1 ); CV_Assert 1213 modules/calib3d/src/circlesgrid.cpp CV_Assert( dm.type() == CV_32SC1 ); CV_Assert 1273 modules/calib3d/src/circlesgrid.cpp CV_Assert(maxLoc.x >= 0 && maxLoc.y >= 0) CV_Assert 1426 modules/calib3d/src/circlesgrid.cpp CV_Assert(largeHoles != 0 && smallHoles != 0) CV_Assert 1491 modules/calib3d/src/circlesgrid.cpp CV_Assert(h >= 2 && w >= 2) CV_Assert 1571 modules/calib3d/src/circlesgrid.cpp CV_Assert(largeSegments.size() == cornersCount) CV_Assert 198 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( !err ); CV_Assert 360 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( FM0.cols == 3 && FM0.rows % 3 == 0 && FM.cols == 3 && FM.rows % 3 == 0 && FM.channels() == 1 ); CV_Assert 384 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( lines.rows == lines0.cols && lines.cols == lines0.rows ); CV_Assert 395 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( lines.size() == lines0.size() ); CV_Assert 426 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( dst.rows == dst0.cols && dst.cols == dst0.rows ); CV_Assert 437 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( dst.size() == dst0.size() ); CV_Assert 93 modules/calib3d/src/compat_stereo.cpp CV_Assert( state != 0 ); CV_Assert 72 modules/calib3d/src/fisheye.cpp CV_Assert(objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3); CV_Assert 76 modules/calib3d/src/fisheye.cpp CV_Assert(_rvec.total() * _rvec.channels() == 3 && (_rvec.depth() == CV_32F || _rvec.depth() == CV_64F)); CV_Assert 77 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); CV_Assert 78 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.getMat().isContinuous() && _rvec.getMat().isContinuous()); CV_Assert 83 modules/calib3d/src/fisheye.cpp CV_Assert(_K.size() == Size(3,3) && (_K.type() == CV_32F || _K.type() == CV_64F) && _D.type() == _K.type() && _D.total() == 4); CV_Assert 253 modules/calib3d/src/fisheye.cpp CV_Assert(undistorted.type() == CV_32FC2 || undistorted.type() == CV_64FC2); CV_Assert 257 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3,3) && (K.type() == CV_32F || K.type() == CV_64F) && D.total() == 4); CV_Assert 315 modules/calib3d/src/fisheye.cpp CV_Assert(distorted.type() == CV_32FC2 || distorted.type() == CV_64FC2); CV_Assert 318 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); CV_Assert 319 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); CV_Assert 320 modules/calib3d/src/fisheye.cpp CV_Assert(D.total() == 4 && K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); CV_Assert 404 modules/calib3d/src/fisheye.cpp CV_Assert( m1type == CV_16SC2 || m1type == CV_32F || m1type <=0 ); CV_Assert 408 modules/calib3d/src/fisheye.cpp CV_Assert((K.depth() == CV_32F || K.depth() == CV_64F) && (D.depth() == CV_32F || D.depth() == CV_64F)); CV_Assert 409 modules/calib3d/src/fisheye.cpp CV_Assert((P.depth() == CV_32F || P.depth() == CV_64F) && (R.depth() == CV_32F || R.depth() == CV_64F)); CV_Assert 410 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3, 3) && (D.empty() || D.total() == 4)); CV_Assert 411 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); CV_Assert 412 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); CV_Assert 514 modules/calib3d/src/fisheye.cpp CV_Assert( K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); CV_Assert 515 modules/calib3d/src/fisheye.cpp CV_Assert((D.empty() || D.total() == 4) && (D.depth() == CV_32F || D.depth() == CV_64F || D.empty())); CV_Assert 612 modules/calib3d/src/fisheye.cpp CV_Assert((_R.size() == Size(3, 3) || _R.total() * _R.channels() == 3) && (_R.depth() == CV_32F || _R.depth() == CV_64F)); CV_Assert 613 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); CV_Assert 694 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && !imagePoints.empty() && objectPoints.total() == imagePoints.total()); CV_Assert 695 modules/calib3d/src/fisheye.cpp CV_Assert(objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3); CV_Assert 696 modules/calib3d/src/fisheye.cpp CV_Assert(imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2); CV_Assert 697 modules/calib3d/src/fisheye.cpp CV_Assert((!K.empty() && K.size() == Size(3,3)) || K.empty()); CV_Assert 698 modules/calib3d/src/fisheye.cpp CV_Assert((!D.empty() && D.total() == 4) || D.empty()); CV_Assert 699 modules/calib3d/src/fisheye.cpp CV_Assert((!rvecs.empty() && rvecs.channels() == 3) || rvecs.empty()); CV_Assert 700 modules/calib3d/src/fisheye.cpp CV_Assert((!tvecs.empty() && tvecs.channels() == 3) || tvecs.empty()); CV_Assert 702 modules/calib3d/src/fisheye.cpp CV_Assert(((flags & CALIB_USE_INTRINSIC_GUESS) && !K.empty() && !D.empty()) || !(flags & CALIB_USE_INTRINSIC_GUESS)); CV_Assert 822 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && !imagePoints1.empty() && !imagePoints2.empty()); CV_Assert 823 modules/calib3d/src/fisheye.cpp CV_Assert(objectPoints.total() == imagePoints1.total() || imagePoints1.total() == imagePoints2.total()); CV_Assert 824 modules/calib3d/src/fisheye.cpp CV_Assert(objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3); CV_Assert 825 modules/calib3d/src/fisheye.cpp CV_Assert(imagePoints1.type() == CV_32FC2 || imagePoints1.type() == CV_64FC2); CV_Assert 826 modules/calib3d/src/fisheye.cpp CV_Assert(imagePoints2.type() == CV_32FC2 || imagePoints2.type() == CV_64FC2); CV_Assert 828 modules/calib3d/src/fisheye.cpp CV_Assert((!K1.empty() && K1.size() == Size(3,3)) || K1.empty()); CV_Assert 829 modules/calib3d/src/fisheye.cpp CV_Assert((!D1.empty() && D1.total() == 4) || D1.empty()); CV_Assert 830 modules/calib3d/src/fisheye.cpp CV_Assert((!K2.empty() && K1.size() == Size(3,3)) || K2.empty()); CV_Assert 831 modules/calib3d/src/fisheye.cpp CV_Assert((!D2.empty() && D1.total() == 4) || D2.empty()); CV_Assert 833 modules/calib3d/src/fisheye.cpp CV_Assert(((flags & CALIB_FIX_INTRINSIC) && !K1.empty() && !K2.empty() && !D1.empty() && !D2.empty()) || !(flags & CALIB_FIX_INTRINSIC)); CV_Assert 994 modules/calib3d/src/fisheye.cpp CV_Assert(abs_max < threshold); // bad stereo pair CV_Assert 1057 modules/calib3d/src/fisheye.cpp CV_Assert(src.type() == CV_64FC1); CV_Assert 1097 modules/calib3d/src/fisheye.cpp CV_Assert(a.type() == CV_64FC1); CV_Assert 1118 modules/calib3d/src/fisheye.cpp CV_Assert(a.type() == CV_64FC1); CV_Assert 1148 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && objectPoints.type() == CV_64FC3); CV_Assert 1159 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && objectPoints.type() == CV_64FC3); CV_Assert 1160 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && imagePoints.type() == CV_64FC2); CV_Assert 1299 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && imagePoints.type() == CV_64FC2); CV_Assert 1316 modules/calib3d/src/fisheye.cpp CV_Assert(!_objectPoints.empty() && _objectPoints.type() == CV_64FC3); CV_Assert 1317 modules/calib3d/src/fisheye.cpp CV_Assert(!_imagePoints.empty() && _imagePoints.type() == CV_64FC2); CV_Assert 1356 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); CV_Assert 1357 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); CV_Assert 1358 modules/calib3d/src/fisheye.cpp CV_Assert(omc.type() == CV_64FC3 || Tc.type() == CV_64FC3); CV_Assert 1379 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>((int)svd.w.total() - 1) < thresh_cond); CV_Assert 1391 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); CV_Assert 1392 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); CV_Assert 1394 modules/calib3d/src/fisheye.cpp CV_Assert(!omc.empty() && omc.type() == CV_64FC3); CV_Assert 1395 modules/calib3d/src/fisheye.cpp CV_Assert(!Tc.empty() && Tc.type() == CV_64FC3); CV_Assert 1440 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>(svd.w.rows - 1) < thresh_cond); CV_Assert 1456 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); CV_Assert 1457 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); CV_Assert 1459 modules/calib3d/src/fisheye.cpp CV_Assert(!omc.empty() && omc.type() == CV_64FC3); CV_Assert 1460 modules/calib3d/src/fisheye.cpp CV_Assert(!Tc.empty() && Tc.type() == CV_64FC3); CV_Assert 1509 modules/calib3d/src/fisheye.cpp CV_Assert(A.getMat().cols == B.getMat().rows); CV_Assert 1510 modules/calib3d/src/fisheye.cpp CV_Assert(A.type() == CV_64FC1 && B.type() == CV_64FC1); CV_Assert 1611 modules/calib3d/src/fisheye.cpp CV_Assert(row.type() == CV_64FC1); CV_Assert 1612 modules/calib3d/src/fisheye.cpp CV_Assert(!row.empty() && row.rows == 1); CV_Assert 1621 modules/calib3d/src/fisheye.cpp CV_Assert(m.depth() == CV_64F && m.getMat().rows == 1); CV_Assert 413 modules/calib3d/src/five-point.cpp CV_Assert( npoints >= 5 && points2.checkVector(2) == npoints && CV_Assert 454 modules/calib3d/src/five-point.cpp CV_Assert( npoints >= 0 && points2.checkVector(2) == npoints && CV_Assert 541 modules/calib3d/src/five-point.cpp CV_Assert(mask.size() == mask1.size()); CV_Assert 552 modules/calib3d/src/five-point.cpp CV_Assert(_R.needed() && _t.needed()); CV_Assert 597 modules/calib3d/src/five-point.cpp CV_Assert(E.cols == 3 && E.rows == 3); CV_Assert 222 modules/calib3d/src/fundam.cpp CV_Assert( J.isContinuous() && J.cols == 8 ); CV_Assert 370 modules/calib3d/src/fundam.cpp CV_Assert( src.checkVector(2) == dst.checkVector(2) ); CV_Assert 562 modules/calib3d/src/fundam.cpp CV_Assert( (_m1.cols == 1 || _m1.rows == 1) && _m1.size() == _m2.size()); CV_Assert 751 modules/calib3d/src/fundam.cpp CV_Assert( m1.checkVector(2) == m2.checkVector(2) ); CV_Assert 766 modules/calib3d/src/fundam.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == npoints ); CV_Assert 817 modules/calib3d/src/fundam.cpp CV_Assert( depth == CV_32F || depth == CV_32S || depth == CV_64F ); CV_Assert 819 modules/calib3d/src/fundam.cpp CV_Assert(F.size() == Size(3,3)); CV_Assert 833 modules/calib3d/src/fundam.cpp CV_Assert( lines.isContinuous()); CV_Assert 879 modules/calib3d/src/fundam.cpp CV_Assert(npoints >= 0); CV_Assert 882 modules/calib3d/src/fundam.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F || depth == CV_64F)); CV_Assert 893 modules/calib3d/src/fundam.cpp CV_Assert( dst.isContinuous() ); CV_Assert 978 modules/calib3d/src/fundam.cpp CV_Assert(npoints >= 0); CV_Assert 981 modules/calib3d/src/fundam.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F || depth == CV_64F)); CV_Assert 992 modules/calib3d/src/fundam.cpp CV_Assert( dst.isContinuous() ); CV_Assert 1053 modules/calib3d/src/fundam.cpp CV_Assert( _dst.fixedType() ); CV_Assert 445 modules/calib3d/src/homography_decomp.cpp CV_Assert(H.cols == 3 && H.rows == 3); CV_Assert 448 modules/calib3d/src/homography_decomp.cpp CV_Assert(K.cols == 3 && K.rows == 3); CV_Assert 97 modules/calib3d/src/levmarq.cpp CV_Assert( (param0.cols == 1 || param0.rows == 1) && (ptype == CV_32F || ptype == CV_64F)); CV_Assert 98 modules/calib3d/src/levmarq.cpp CV_Assert( cb ); CV_Assert 129 modules/calib3d/src/levmarq.cpp CV_Assert( A.type() == CV_64F && A.rows == lx ); CV_Assert 91 modules/calib3d/src/ptsetreg.cpp CV_Assert( err.isContinuous() && err.type() == CV_32F && mask.isContinuous() && mask.type() == CV_8U); CV_Assert 123 modules/calib3d/src/ptsetreg.cpp CV_Assert( count >= modelPoints && count == count2 ); CV_Assert 124 modules/calib3d/src/ptsetreg.cpp CV_Assert( (esz1 % sizeof(int)) == 0 && (esz2 % sizeof(int)) == 0 ); CV_Assert 177 modules/calib3d/src/ptsetreg.cpp CV_Assert( cb ); CV_Assert 178 modules/calib3d/src/ptsetreg.cpp CV_Assert( confidence > 0 && confidence < 1 ); CV_Assert 180 modules/calib3d/src/ptsetreg.cpp CV_Assert( count >= 0 && count2 == count ); CV_Assert 190 modules/calib3d/src/ptsetreg.cpp CV_Assert( (bestMask.cols == 1 || bestMask.rows == 1) && (int)bestMask.total() == count ); CV_Assert 224 modules/calib3d/src/ptsetreg.cpp CV_Assert( model.rows % nmodels == 0 ); CV_Assert 291 modules/calib3d/src/ptsetreg.cpp CV_Assert( cb ); CV_Assert 292 modules/calib3d/src/ptsetreg.cpp CV_Assert( confidence > 0 && confidence < 1 ); CV_Assert 294 modules/calib3d/src/ptsetreg.cpp CV_Assert( count >= 0 && count2 == count ); CV_Assert 302 modules/calib3d/src/ptsetreg.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == count ); CV_Assert 335 modules/calib3d/src/ptsetreg.cpp CV_Assert( model.rows % nmodels == 0 ); CV_Assert 346 modules/calib3d/src/ptsetreg.cpp CV_Assert( errf.isContinuous() && errf.type() == CV_32F && (int)errf.total() == count ); CV_Assert 450 modules/calib3d/src/ptsetreg.cpp CV_Assert( count > 0 ); CV_Assert 480 modules/calib3d/src/ptsetreg.cpp CV_Assert( count <= msi->rows ); CV_Assert 513 modules/calib3d/src/ptsetreg.cpp CV_Assert( count >= 0 && to.checkVector(3) == count ); CV_Assert 111 modules/calib3d/src/quadsubpix.cpp CV_Assert(min_idx >= 0); CV_Assert 168 modules/calib3d/src/quadsubpix.cpp CV_Assert( ncorners >= 0 ); CV_Assert 61 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); CV_Assert 71 modules/calib3d/src/solvepnp.cpp CV_Assert( (rtype == CV_32F || rtype == CV_64F) && CV_Assert 73 modules/calib3d/src/solvepnp.cpp CV_Assert( (rsize == Size(1, 3) || rsize == Size(3, 1)) && CV_Assert 103 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints == 4); CV_Assert 230 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); CV_Assert 232 modules/calib3d/src/solvepnp.cpp CV_Assert(opoints.isContinuous()); CV_Assert 233 modules/calib3d/src/solvepnp.cpp CV_Assert(opoints.depth() == CV_32F || opoints.depth() == CV_64F); CV_Assert 234 modules/calib3d/src/solvepnp.cpp CV_Assert((opoints.rows == 1 && opoints.channels() == 3) || opoints.cols*opoints.channels() == 3); CV_Assert 235 modules/calib3d/src/solvepnp.cpp CV_Assert(ipoints.isContinuous()); CV_Assert 236 modules/calib3d/src/solvepnp.cpp CV_Assert(ipoints.depth() == CV_32F || ipoints.depth() == CV_64F); CV_Assert 237 modules/calib3d/src/solvepnp.cpp CV_Assert((ipoints.rows == 1 && ipoints.channels() == 2) || ipoints.cols*ipoints.channels() == 2); CV_Assert 589 modules/calib3d/src/stereobm.cpp CV_Assert (ndisp % 8 == 0); CV_Assert 1235 modules/calib3d/src/stereobm.cpp CV_Assert( n.isString() && String(n) == name_ ); CV_Assert 361 modules/calib3d/src/stereosgbm.cpp CV_Assert( D % 16 == 0 ); CV_Assert 854 modules/calib3d/src/stereosgbm.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() && CV_Assert 920 modules/calib3d/src/stereosgbm.cpp CV_Assert( n.isString() && String(n) == name_ ); CV_Assert 1081 modules/calib3d/src/stereosgbm.cpp CV_Assert( type == CV_8UC1 || type == CV_16SC1 ); CV_Assert 1139 modules/calib3d/src/stereosgbm.cpp CV_Assert( numberOfDisparities > 0 && disp.type() == CV_16S && CV_Assert 208 modules/calib3d/src/triangulate.cpp CV_Assert(CV_IS_MAT(new_points1)); CV_Assert 215 modules/calib3d/src/triangulate.cpp CV_Assert(CV_IS_MAT(new_points2)); CV_Assert 351 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 1); CV_Assert 356 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 1); CV_Assert 375 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 2); CV_Assert 385 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 2); CV_Assert 397 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 1); CV_Assert 439 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 3); CV_Assert 456 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 2); CV_Assert 469 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 2); CV_Assert 474 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 2); CV_Assert 478 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf",goodDistortion+0); CV_Assert(values_read == 1); CV_Assert 479 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf",goodDistortion+1); CV_Assert(values_read == 1); CV_Assert 480 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf",goodDistortion+2); CV_Assert(values_read == 1); CV_Assert 481 modules/calib3d/test/test_cameracalibration.cpp values_read = fscanf(file,"%lf",goodDistortion+3); CV_Assert(values_read == 1); CV_Assert 490 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 1); CV_Assert 500 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(values_read == 1); CV_Assert 976 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( !leftF.empty() && !rightF.empty() && !leftF[0].empty() && !rightF[0].empty() ); CV_Assert 977 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( leftF[0].size() == rightF[0].size() ); CV_Assert 978 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( fabs(eps) > std::numeric_limits<double>::epsilon() ); CV_Assert 987 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( (int)arrLeftIt->size() == fcount ); CV_Assert 988 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( (int)arrRightIt->size() == fcount ); CV_Assert 1517 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(reprojectedTestPoint.type() == CV_64FC1); CV_Assert 1583 modules/calib3d/test/test_cameracalibration.cpp CV_Assert(error.rows == 1 && error.cols == 1); CV_Assert 1592 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( imgpt1.size() == imgpt2.size() ); CV_Assert 1600 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( iit1->size() == iit2->size() ); CV_Assert 114 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "new_f_100.png"), undistorted)); CV_Assert 124 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "balance_1.0.png"), undistorted)); CV_Assert 135 modules/calib3d/test/test_fisheye.cpp CV_Assert(cv::imwrite(combine(datasets_repository_path, "balance_0.0.png"), undistorted)); CV_Assert 187 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 196 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 205 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 214 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 223 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 233 modules/calib3d/test/test_fisheye.cpp CV_Assert (cv::norm(x2 - xpred) < 1e-10); CV_Assert 245 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_left.isOpened()); CV_Assert 251 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_object.isOpened()); CV_Assert 280 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_left.isOpened()); CV_Assert 286 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_object.isOpened()); CV_Assert 341 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_left.isOpened()); CV_Assert 347 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_object.isOpened()); CV_Assert 384 modules/calib3d/test/test_fisheye.cpp CV_Assert(fabs(rms - 0.263782587133546) < 1e-10); CV_Assert 385 modules/calib3d/test/test_fisheye.cpp CV_Assert(errors.alpha == 0); CV_Assert 453 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_left.isOpened()); CV_Assert 459 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_right.isOpened()); CV_Assert 465 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_object.isOpened()); CV_Assert 521 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_left.isOpened()); CV_Assert 527 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_right.isOpened()); CV_Assert 533 modules/calib3d/test/test_fisheye.cpp CV_Assert(fs_object.isOpened()); CV_Assert 607 modules/calib3d/test/test_fisheye.cpp CV_Assert(l.type() == r.type() && l.size() == r.size()); CV_Assert 397 modules/calib3d/test/test_fundam.cpp CV_Assert( count == dst.rows ); CV_Assert 470 modules/calib3d/test/test_fundam.cpp CV_Assert( _3d.isContinuous() ); CV_Assert 161 modules/calib3d/test/test_modelest.cpp CV_Assert(arr.type() == CV_64FC2); CV_Assert 198 modules/calib3d/test/test_modelest.cpp CV_Assert(arr.type() == CV_64FC2); CV_Assert 257 modules/calib3d/test/test_stereomatching.cpp CV_Assert( border >= 0 ); CV_Assert 779 modules/calib3d/test/test_stereomatching.cpp CV_Assert( leftDisp.type() == CV_16SC1 ); CV_Assert 205 modules/core/include/opencv2/core/affine.hpp CV_Assert(data.type() == cv::DataType<T>::type); CV_Assert 277 modules/core/include/opencv2/core/affine.hpp CV_Assert(data.type() == cv::DataType<T>::type); CV_Assert 292 modules/core/include/opencv2/core/affine.hpp CV_Assert(!"Input marix can be 3x3, 1x3 or 3x1"); CV_Assert 399 modules/core/include/opencv2/core/base.hpp # define CV_DbgAssert(expr) CV_Assert(expr) CV_Assert 2942 modules/core/include/opencv2/core/core_c.h CV_Assert(!_seq || _seq->elem_size == sizeof(_Tp)); CV_Assert 2948 modules/core/include/opencv2/core/core_c.h CV_Assert(headerSize >= (int)sizeof(CvSeq)); CV_Assert 568 modules/core/include/opencv2/core/cuda.inl.hpp CV_Assert( device_id >= 0 && device_id < getCudaEnabledDeviceCount() ); CV_Assert 191 modules/core/include/opencv2/core/eigen.hpp CV_Assert(src.cols == 1); CV_Assert 237 modules/core/include/opencv2/core/eigen.hpp CV_Assert(src.rows == 1); CV_Assert 78 modules/core/include/opencv2/core/ippasync.hpp CV_Assert( hppType >= 0 ); CV_Assert 91 modules/core/include/opencv2/core/ippasync.hpp CV_Assert( cvType >= 0 ); CV_Assert 115 modules/core/include/opencv2/core/ippasync.hpp CV_Assert( sts == HPP_STATUS_NO_ERROR); CV_Assert 119 modules/core/include/opencv2/core/ippasync.hpp CV_Assert(width%cn == 0); CV_Assert 129 modules/core/include/opencv2/core/ippasync.hpp CV_Assert( sts == HPP_STATUS_NO_ERROR); CV_Assert 173 modules/core/include/opencv2/core/ippasync.hpp CV_Assert(src.data); CV_Assert 1049 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && (rows == 1 || cols == 1) && CV_Assert 1063 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && rows == m && cols == n && channels() == 1 ); CV_Assert 1081 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(DataType<_Tp>::type == type() && cols == 1 CV_Assert 1276 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n%DataType<_Tp>::channels == 0); CV_Assert 1285 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); CV_Assert 1294 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(2 % DataType<_Tp>::channels == 0); CV_Assert 1303 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(3 % DataType<_Tp>::channels == 0); CV_Assert 1588 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); CV_Assert 1595 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); CV_Assert 2160 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); CV_Assert 2174 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(m && m->dims <= 2); CV_Assert 2751 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( _m->type() == DataType<_Tp>::type ); CV_Assert 306 modules/core/include/opencv2/core/operations.hpp CV_Assert(_w.data == (uchar*)&w.val[0] && _u.data == (uchar*)&u.val[0] && _vt.data == (uchar*)&vt.val[0]); CV_Assert 315 modules/core/include/opencv2/core/operations.hpp CV_Assert(_w.data == (uchar*)&w.val[0]); CV_Assert 326 modules/core/include/opencv2/core/operations.hpp CV_Assert(_dst.data == (uchar*)&dst.val[0]); CV_Assert 488 modules/core/include/opencv2/core/operations.hpp CV_Assert( nodes[root][PARENT] < 0 ); CV_Assert 242 modules/core/include/opencv2/core/private.hpp # define IPPI_CALL(func) CV_Assert((func) >= 0) CV_Assert 400 modules/core/include/opencv2/core/utility.hpp CV_Assert(this->total() / this->size[this->dims - 1] <= INT_MAX); CV_Assert 476 modules/core/include/opencv2/core/utility.hpp CV_Assert(false); CV_Assert 87 modules/core/src/alloc.cpp CV_Assert(((size_t)(block) & (MEM_BLOCK_SIZE-1)) == 0 && \ CV_Assert 1416 modules/core/src/arithm.cpp CV_Assert( scn == 1 ); CV_Assert 1578 modules/core/src/arithm.cpp CV_Assert( psrc1->sameSize(*psrc2) && type1 == type2 ); CV_Assert 1589 modules/core/src/arithm.cpp CV_Assert( (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1)); CV_Assert 1989 modules/core/src/arithm.cpp CV_Assert(type2 == CV_64F && (sz2.height == 1 || sz2.height == 4)); CV_Assert 2043 modules/core/src/arithm.cpp CV_Assert( (mtype == CV_8UC1 || mtype == CV_8SC1) && _mask.sameSize(*psrc1) ); CV_Assert 4176 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4212 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4260 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4313 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4368 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4420 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || CV_Assert 4987 modules/core/src/arithm.cpp CV_Assert( op == CMP_LT || op == CMP_LE || op == CMP_EQ || CV_Assert 5709 modules/core/src/arithm.cpp CV_Assert(lbScalar == ubScalar); CV_Assert 5736 modules/core/src/arithm.cpp CV_Assert( lb.type() == ub.type() ); CV_Assert 5797 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 5807 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 5819 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 5831 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 5842 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 5853 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 5864 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 5875 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5886 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5897 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5908 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5920 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5930 modules/core/src/arithm.cpp CV_Assert( src2.size == dst.size && src2.channels() == dst.channels() ); CV_Assert 5946 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); CV_Assert 5955 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 5965 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 5976 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_Assert 5986 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_Assert 5996 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_Assert 6006 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_Assert 6016 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 6026 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 6036 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 6046 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 303 modules/core/src/array.cpp CV_Assert( src->dims <= CV_MAX_DIM ); CV_Assert 318 modules/core/src/array.cpp CV_Assert(_dst.data == data0); CV_Assert 3014 modules/core/src/array.cpp CV_Assert( rect.width >= 0 && rect.height >= 0 && CV_Assert 124 modules/core/src/conjugate_gradient.cpp CV_Assert(_Function.empty()==false); CV_Assert 128 modules/core/src/conjugate_gradient.cpp CV_Assert(MIN(x_mat.rows,x_mat.cols)==1); CV_Assert 130 modules/core/src/conjugate_gradient.cpp CV_Assert(x_mat.type()==CV_64FC1); CV_Assert 193 modules/core/src/conjugate_gradient.cpp CV_Assert((termcrit.type==(TermCriteria::MAX_ITER+TermCriteria::EPS) && termcrit.epsilon>0 && termcrit.maxCount>0) || CV_Assert 832 modules/core/src/convert.cpp CV_Assert( func != 0 ); CV_Assert 925 modules/core/src/convert.cpp CV_Assert( !_mv.fixedType() || _mv.empty() || _mv.type() == m.depth() ); CV_Assert 941 modules/core/src/convert.cpp CV_Assert( mv && n > 0 ); CV_Assert 950 modules/core/src/convert.cpp CV_Assert(mv[i].size == mv[0].size && mv[i].depth() == depth); CV_Assert 955 modules/core/src/convert.cpp CV_Assert( 0 < cn && cn <= CV_CN_MAX ); CV_Assert 1022 modules/core/src/convert.cpp CV_Assert(!src.empty()); CV_Assert 1035 modules/core/src/convert.cpp CV_Assert(size == src[i].size() && depth == idepth); CV_Assert 1178 modules/core/src/convert.cpp CV_Assert( src && nsrcs > 0 && dst && ndsts > 0 && fromTo && npairs > 0 ); CV_Assert 1205 modules/core/src/convert.cpp CV_Assert(j < nsrcs && src[j].depth() == depth); CV_Assert 1218 modules/core/src/convert.cpp CV_Assert(i1 >= 0 && j < ndsts && dst[j].depth() == depth); CV_Assert 1287 modules/core/src/convert.cpp CV_Assert(nsrc > 0 && ndst > 0); CV_Assert 1294 modules/core/src/convert.cpp CV_Assert(src[i].size() == size && src[i].depth() == depth); CV_Assert 1296 modules/core/src/convert.cpp CV_Assert(dst[i].size() == size && dst[i].depth() == depth); CV_Assert 1309 modules/core/src/convert.cpp CV_Assert(dst_idx >= 0 && src_idx >= 0); CV_Assert 1368 modules/core/src/convert.cpp CV_Assert(nsrc > 0 && ndst > 0); CV_Assert 1397 modules/core/src/convert.cpp CV_Assert(fromTo.size()%2 == 0 && nsrc > 0 && ndst > 0); CV_Assert 1410 modules/core/src/convert.cpp CV_Assert( 0 <= coi && coi < cn ); CV_Assert 1432 modules/core/src/convert.cpp CV_Assert( _src.sameSize(_dst) && sdepth == ddepth ); CV_Assert 1433 modules/core/src/convert.cpp CV_Assert( 0 <= coi && coi < dcn && scn == 1 ); CV_Assert 5549 modules/core/src/convert.cpp CV_Assert( func != 0 ); CV_Assert 5589 modules/core/src/convert.cpp CV_Assert( func != 0 ); CV_Assert 5915 modules/core/src/convert.cpp CV_Assert( (lutcn == cn || lutcn == 1) && CV_Assert 5968 modules/core/src/convert.cpp CV_Assert( func != 0 ); CV_Assert 6120 modules/core/src/convert.cpp CV_Assert( nz > 0 ); CV_Assert 6129 modules/core/src/convert.cpp CV_Assert( dvec[j].size() == src.size() ); CV_Assert 6130 modules/core/src/convert.cpp CV_Assert( dvec[j].depth() == src.depth() ); CV_Assert 6131 modules/core/src/convert.cpp CV_Assert( dvec[j].channels() == 1 ); CV_Assert 6132 modules/core/src/convert.cpp CV_Assert( i < src.channels() ); CV_Assert 6156 modules/core/src/convert.cpp CV_Assert( nz > 0 ); CV_Assert 6165 modules/core/src/convert.cpp CV_Assert( svec[j].size == dst.size && CV_Assert 6203 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && dst.type() == CV_8UC(src.channels())); CV_Assert 6213 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() ); CV_Assert 6221 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && dst.type() == CV_MAKETYPE(lut.depth(), src.channels()) ); CV_Assert 6231 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && src.channels() == dst.channels() ); CV_Assert 281 modules/core/src/copy.cpp CV_Assert( channels() == CV_MAT_CN(dtype) ); CV_Assert 367 modules/core/src/copy.cpp CV_Assert( mask.depth() == CV_8U && (mcn == 1 || mcn == cn) ); CV_Assert 382 modules/core/src/copy.cpp CV_Assert( size() == mask.size() ); CV_Assert 472 modules/core/src/copy.cpp CV_Assert( checkScalar(value, type(), _value.kind(), _InputArray::MAT )); CV_Assert 473 modules/core/src/copy.cpp CV_Assert( mask.empty() || (mask.type() == CV_8U && size == mask.size) ); CV_Assert 676 modules/core/src/copy.cpp CV_Assert(flipCode >= -1 && flipCode <= 1); CV_Assert 719 modules/core/src/copy.cpp CV_Assert(maxWorkGroupSize % 4 == 0); CV_Assert 730 modules/core/src/copy.cpp CV_Assert( _src.dims() <= 2 ); CV_Assert 870 modules/core/src/copy.cpp CV_Assert( _src.dims() <= 2 ); CV_Assert 871 modules/core/src/copy.cpp CV_Assert( ny > 0 && nx > 0 ); CV_Assert 941 modules/core/src/copy.cpp CV_Assert(len > 0); CV_Assert 1150 modules/core/src/copy.cpp CV_Assert( top >= 0 && bottom >= 0 && left >= 0 && right >= 0 ); CV_Assert 1311 modules/core/src/copy.cpp CV_Assert( value[0] == value[1] && value[0] == value[2] && value[0] == value[3] ); CV_Assert 1327 modules/core/src/copy.cpp CV_Assert( maskarr == 0 ); CV_Assert 1361 modules/core/src/copy.cpp CV_Assert( src.depth() == dst.depth() && src.size == dst.size ); CV_Assert 1371 modules/core/src/copy.cpp CV_Assert( (coi1 != 0 || src.channels() == 1) && CV_Assert 1379 modules/core/src/copy.cpp CV_Assert( src.channels() == dst.channels() ); CV_Assert 1423 modules/core/src/copy.cpp CV_Assert( src.type() == dst.type() && src.size() == dst.size() ); CV_Assert 1431 modules/core/src/copy.cpp CV_Assert( src.type() == dst.type() && CV_Assert 114 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= rowRange_.start && rowRange_.start <= rowRange_.end && rowRange_.end <= m.rows ); CV_Assert 126 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= colRange_.start && colRange_.start <= colRange_.end && colRange_.end <= m.cols ); CV_Assert 152 modules/core/src/cuda_gpu_mat.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows ); CV_Assert 72 modules/core/src/cuda_host_mem.cpp CV_Assert(total <= step[i]); CV_Assert 113 modules/core/src/cuda_host_mem.cpp CV_Assert(u->urefcount >= 0); CV_Assert 114 modules/core/src/cuda_host_mem.cpp CV_Assert(u->refcount >= 0); CV_Assert 190 modules/core/src/cuda_host_mem.cpp CV_Assert( devInfo.canMapHostMemory() ); CV_Assert 307 modules/core/src/cuda_host_mem.cpp CV_Assert( alloc_type == SHARED ); CV_Assert 322 modules/core/src/cuda_host_mem.cpp CV_Assert( m.isContinuous() ); CV_Assert 215 modules/core/src/cuda_info.cpp CV_Assert( args_read == 1 ); CV_Assert 334 modules/core/src/cuda_info.cpp CV_Assert( static_cast<size_t>(devID) < props_.size() ); CV_Assert 99 modules/core/src/cuda_stream.cpp CV_Assert( allocSize == allocations.back() ); CV_Assert 3048 modules/core/src/datastructs.cpp CV_Assert( graph->storage != 0 ); CV_Assert 717 modules/core/src/directx.cpp CV_Assert(textureType == srcType); CV_Assert 720 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); CV_Assert 729 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 730 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 777 modules/core/src/directx.cpp CV_Assert(textureType >= 0); CV_Assert 788 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 789 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 865 modules/core/src/directx.cpp CV_Assert(textureType == srcType); CV_Assert 868 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); CV_Assert 877 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 878 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 925 modules/core/src/directx.cpp CV_Assert(textureType >= 0); CV_Assert 936 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 937 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 1016 modules/core/src/directx.cpp CV_Assert(surfaceType == srcType); CV_Assert 1019 modules/core/src/directx.cpp CV_Assert(srcSize.width == (int)desc.Width && srcSize.height == (int)desc.Height); CV_Assert 1028 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 1029 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 1083 modules/core/src/directx.cpp CV_Assert(surfaceType >= 0); CV_Assert 1094 modules/core/src/directx.cpp CV_Assert(u.offset == 0); CV_Assert 1095 modules/core/src/directx.cpp CV_Assert(u.isContinuous()); CV_Assert 172 modules/core/src/downhill_simplex.cpp CV_Assert( termcrit.type == (TermCriteria::MAX_ITER + TermCriteria::EPS) && CV_Assert 181 modules/core/src/downhill_simplex.cpp CV_Assert( !_Function.empty() ); CV_Assert 182 modules/core/src/downhill_simplex.cpp CV_Assert( std::min(_step.cols, _step.rows) == 1 && CV_Assert 218 modules/core/src/downhill_simplex.cpp CV_Assert( coord_sum.cols == n && coord_sum.rows == 1 ); CV_Assert 238 modules/core/src/downhill_simplex.cpp CV_Assert( _Function->getDims() == ndim ); CV_Assert 242 modules/core/src/downhill_simplex.cpp CV_Assert( (x.cols == 1 && x.rows == ndim) || (x.cols == ndim && x.rows == 1) ); CV_Assert 243 modules/core/src/downhill_simplex.cpp CV_Assert( x.type() == CV_32F || x.type() == CV_64F ); CV_Assert 310 modules/core/src/downhill_simplex.cpp CV_Assert( ihi != inhi ); CV_Assert 415 modules/core/src/downhill_simplex.cpp CV_Assert( !cvIsNaN(res) && !cvIsInf(res) ); CV_Assert 614 modules/core/src/dxt.cpp CV_Assert( factors[0] == factors[nf-1] ); CV_Assert 1831 modules/core/src/dxt.cpp CV_Assert( dft_depth == CV_32F || dft_depth == CV_64F ); CV_Assert 2199 modules/core/src/dxt.cpp CV_Assert(s == CLFFT_SUCCESS); \ CV_Assert 2381 modules/core/src/dxt.cpp CV_Assert(dft_complex_output + dft_real_output < 2); CV_Assert 2506 modules/core/src/dxt.cpp CV_Assert( type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2 ); CV_Assert 2919 modules/core/src/dxt.cpp CV_Assert(asize == bsize); CV_Assert 2925 modules/core/src/dxt.cpp CV_Assert(A.size() == B.size()); CV_Assert 2958 modules/core/src/dxt.cpp CV_Assert( type == srcB.type() && srcA.size() == srcB.size() ); CV_Assert 2959 modules/core/src/dxt.cpp CV_Assert( type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2 ); CV_Assert 3474 modules/core/src/dxt.cpp CV_Assert( type == CV_32FC1 || type == CV_64FC1 ); CV_Assert 3816 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size ); CV_Assert 3827 modules/core/src/dxt.cpp CV_Assert( dst.data == dst0.data ); // otherwise it means that the destination size or type was incorrect CV_Assert 3838 modules/core/src/dxt.cpp CV_Assert( srcA.size == dst.size && srcA.type() == dst.type() ); CV_Assert 3850 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 84 modules/core/src/glob.cpp CV_Assert((copied != MAX_PATH) && (copied != (size_t)-1)); CV_Assert 109 modules/core/src/glob.cpp CV_Assert((asize != 0) && (asize != (size_t)-1)); CV_Assert 153 modules/core/src/glob.cpp CV_Assert((copied != MAX_PATH) && (copied != (size_t)-1)); CV_Assert 230 modules/core/src/kmeans.cpp CV_Assert( data0.dims <= 2 && type == CV_32F && K > 0 ); CV_Assert 231 modules/core/src/kmeans.cpp CV_Assert( N >= K ); CV_Assert 240 modules/core/src/kmeans.cpp CV_Assert( (best_labels.cols == 1 || best_labels.rows == 1) && CV_Assert 319 modules/core/src/kmeans.cpp CV_Assert( (unsigned)labels[i] < (unsigned)K ); CV_Assert 411 modules/core/src/kmeans.cpp CV_Assert( counters[k] != 0 ); CV_Assert 722 modules/core/src/lapack.cpp CV_Assert( !mat.empty() ); CV_Assert 723 modules/core/src/lapack.cpp CV_Assert( mat.rows == mat.cols && (type == CV_32F || type == CV_64F)); CV_Assert 798 modules/core/src/lapack.cpp CV_Assert(type == CV_32F || type == CV_64F); CV_Assert 822 modules/core/src/lapack.cpp CV_Assert( m == n ); CV_Assert 842 modules/core/src/lapack.cpp CV_Assert( method == DECOMP_LU || method == DECOMP_CHOLESKY ); CV_Assert 1057 modules/core/src/lapack.cpp CV_Assert( type == _src2.type() && (type == CV_32F || type == CV_64F) ); CV_Assert 1060 modules/core/src/lapack.cpp CV_Assert( (method != DECOMP_LU && method != DECOMP_CHOLESKY) || CV_Assert 1332 modules/core/src/lapack.cpp CV_Assert( src.rows == src.cols ); CV_Assert 1333 modules/core/src/lapack.cpp CV_Assert (type == CV_32F || type == CV_64F); CV_Assert 1368 modules/core/src/lapack.cpp CV_Assert( type == CV_32F || type == CV_64F ); CV_Assert 1452 modules/core/src/lapack.cpp CV_Assert( w.type() == u.type() && u.type() == vt.type() && u.data && vt.data && w.data ); CV_Assert 1453 modules/core/src/lapack.cpp CV_Assert( u.cols >= nm && vt.rows >= nm && CV_Assert 1455 modules/core/src/lapack.cpp CV_Assert( rhs.data == 0 || (rhs.type() == type && rhs.rows == m) ); CV_Assert 1508 modules/core/src/lapack.cpp CV_Assert( rows == mat->cols ); CV_Assert 1537 modules/core/src/lapack.cpp CV_Assert( src.type() == dst.type() && src.rows == dst.cols && src.cols == dst.rows ); CV_Assert 1549 modules/core/src/lapack.cpp CV_Assert( A.type() == x.type() && A.cols == x.rows && x.cols == b.cols ); CV_Assert 1572 modules/core/src/lapack.cpp CV_Assert( p == evects0.ptr() ); CV_Assert 1586 modules/core/src/lapack.cpp CV_Assert( p == evals0.ptr() ); CV_Assert 1597 modules/core/src/lapack.cpp CV_Assert( w.type() == type && CV_Assert 1611 modules/core/src/lapack.cpp CV_Assert( u.type() == type ); CV_Assert 1618 modules/core/src/lapack.cpp CV_Assert( v.type() == type ); CV_Assert 1633 modules/core/src/lapack.cpp CV_Assert( u.size() == svd.u.size() ); CV_Assert 1644 modules/core/src/lapack.cpp CV_Assert( v.size() == svd.vt.size() ); CV_Assert 1687 modules/core/src/lapack.cpp CV_Assert( dst.data == dst0.data ); CV_Assert 98 modules/core/src/lpsolver.cpp CV_Assert(Func.type()==CV_64FC1 || Func.type()==CV_32FC1); CV_Assert 99 modules/core/src/lpsolver.cpp CV_Assert(Constr.type()==CV_64FC1 || Constr.type()==CV_32FC1); CV_Assert 100 modules/core/src/lpsolver.cpp CV_Assert((Func.rows==1 && (Constr.cols-Func.cols==1))|| CV_Assert 173 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); CV_Assert 208 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); CV_Assert 322 modules/core/src/mathfuncs.cpp CV_Assert( size == src2.size() ); CV_Assert 347 modules/core/src/mathfuncs.cpp CV_Assert( X.size == Y.size && type == Y.type() && (depth == CV_32F || depth == CV_64F)); CV_Assert 606 modules/core/src/mathfuncs.cpp CV_Assert(mag.size() == size); CV_Assert 625 modules/core/src/mathfuncs.cpp CV_Assert((depth == CV_32F || depth == CV_64F) && (src1.empty() || src1.type() == type)); CV_Assert 631 modules/core/src/mathfuncs.cpp CV_Assert( Mag.empty() || Angle.size == Mag.size); CV_Assert 646 modules/core/src/mathfuncs.cpp CV_Assert(ippFunc != 0); CV_Assert 790 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); CV_Assert 857 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); CV_Assert 1387 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); CV_Assert 1403 modules/core/src/mathfuncs.cpp CV_Assert( func != 0 ); CV_Assert 1745 modules/core/src/mathfuncs.cpp CV_Assert( _a.depth() == CV_32F ); CV_Assert 1812 modules/core/src/mathfuncs.cpp CV_Assert( Mag.size() == X.size() && Mag.type() == X.type() ); CV_Assert 1817 modules/core/src/mathfuncs.cpp CV_Assert( Angle.size() == X.size() && Angle.type() == X.type() ); CV_Assert 1838 modules/core/src/mathfuncs.cpp CV_Assert( Mag.size() == Angle.size() && Mag.type() == Angle.type() ); CV_Assert 1843 modules/core/src/mathfuncs.cpp CV_Assert( X.size() == Angle.size() && X.type() == Angle.type() ); CV_Assert 1848 modules/core/src/mathfuncs.cpp CV_Assert( Y.size() == Angle.size() && Y.type() == Angle.type() ); CV_Assert 1857 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); CV_Assert 1864 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); CV_Assert 1871 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); CV_Assert 1914 modules/core/src/mathfuncs.cpp CV_Assert( ctype == CV_32F || ctype == CV_64F ); CV_Assert 1915 modules/core/src/mathfuncs.cpp CV_Assert( (coeffs.size() == Size(n0, 1) || CV_Assert 2047 modules/core/src/mathfuncs.cpp CV_Assert( CV_MAT_DEPTH(ctype) >= CV_32F && CV_MAT_CN(ctype) <= 2 ); CV_Assert 2048 modules/core/src/mathfuncs.cpp CV_Assert( coeffs0.rows == 1 || coeffs0.cols == 1 ); CV_Assert 2122 modules/core/src/mathfuncs.cpp CV_Assert( _roots.data == _roots0.data ); // check that the array of roots was not reallocated CV_Assert 2133 modules/core/src/mathfuncs.cpp CV_Assert( _r.data == _r0.data ); // check that the array of roots was not reallocated CV_Assert 714 modules/core/src/matmul.cpp CV_Assert( matB.type() == type && (!haveC || matC.type() == type) ); CV_Assert 715 modules/core/src/matmul.cpp CV_Assert( sizeA.width == sizeB.height && (!haveC || sizeC == sizeD) ); CV_Assert 797 modules/core/src/matmul.cpp CV_Assert( type == matB.type() && (type == CV_32FC1 || type == CV_64FC1 || type == CV_32FC2 || type == CV_64FC2) ); CV_Assert 818 modules/core/src/matmul.cpp CV_Assert( !haveC || matC.type() == type ); CV_Assert 819 modules/core/src/matmul.cpp CV_Assert( sizeA.width == sizeB.height && (!haveC || sizeC == sizeD) ); CV_Assert 893 modules/core/src/matmul.cpp CV_Assert( type == B.type() && (type == CV_32FC1 || type == CV_64FC1 || type == CV_32FC2 || type == CV_64FC2) ); CV_Assert 900 modules/core/src/matmul.cpp CV_Assert( a_size.width == len ); CV_Assert 905 modules/core/src/matmul.cpp CV_Assert( a_size.height == len ); CV_Assert 910 modules/core/src/matmul.cpp CV_Assert( a_size.width == len ); CV_Assert 915 modules/core/src/matmul.cpp CV_Assert( a_size.height == len ); CV_Assert 921 modules/core/src/matmul.cpp CV_Assert( C.type() == type && CV_Assert 1223 modules/core/src/matmul.cpp CV_Assert( type == CV_64FC2 ); CV_Assert 1947 modules/core/src/matmul.cpp CV_Assert( scn == m.cols || scn + 1 == m.cols ); CV_Assert 2003 modules/core/src/matmul.cpp CV_Assert( func != 0 ); CV_Assert 2125 modules/core/src/matmul.cpp CV_Assert( scn + 1 == m.cols ); CV_Assert 2126 modules/core/src/matmul.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); CV_Assert 2148 modules/core/src/matmul.cpp CV_Assert( func != 0 ); CV_Assert 2318 modules/core/src/matmul.cpp CV_Assert( type == _src2.type() ); CV_Assert 2330 modules/core/src/matmul.cpp CV_Assert(src1.size == src2.size); CV_Assert 2362 modules/core/src/matmul.cpp CV_Assert( data && nsamples > 0 ); CV_Assert 2371 modules/core/src/matmul.cpp CV_Assert( _mean.size() == size ); CV_Assert 2385 modules/core/src/matmul.cpp CV_Assert( data[i].size() == size && data[i].type() == type ); CV_Assert 2407 modules/core/src/matmul.cpp CV_Assert( src.size() > 0 ); CV_Assert 2419 modules/core/src/matmul.cpp CV_Assert( (*each).size() == size && (*each).type() == type ); CV_Assert 2427 modules/core/src/matmul.cpp CV_Assert( _mean.size() == size ); CV_Assert 2452 modules/core/src/matmul.cpp CV_Assert( ((flags & CV_COVAR_ROWS) != 0) ^ ((flags & CV_COVAR_COLS) != 0) ); CV_Assert 2456 modules/core/src/matmul.cpp CV_Assert( nsamples > 0 ); CV_Assert 2463 modules/core/src/matmul.cpp CV_Assert( mean.size() == size ); CV_Assert 2496 modules/core/src/matmul.cpp CV_Assert( type == v2.type() && type == icovar.type() && CV_Assert 2783 modules/core/src/matmul.cpp CV_Assert( src.channels() == 1 ); CV_Assert 2787 modules/core/src/matmul.cpp CV_Assert( delta.channels() == 1 && CV_Assert 3244 modules/core/src/matmul.cpp CV_Assert( mat.type() == type() && mat.size == size && func != 0 ); CV_Assert 3280 modules/core/src/matmul.cpp CV_Assert( (D.rows == ((flags & CV_GEMM_A_T) == 0 ? A.rows : A.cols)) && CV_Assert 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); CV_Assert 3313 modules/core/src/matmul.cpp CV_Assert( dst.type() == src.type() && dst.channels() == m.rows-1 ); CV_Assert 3323 modules/core/src/matmul.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); CV_Assert 3333 modules/core/src/matmul.cpp CV_Assert( vecarr != 0 && count >= 1 ); CV_Assert 3413 modules/core/src/matmul.cpp CV_Assert( (evals0.cols == 1 || evals0.rows == 1) && CV_Assert 3428 modules/core/src/matmul.cpp CV_Assert( mean0.data == mean.data ); CV_Assert 3444 modules/core/src/matmul.cpp CV_Assert(dst.cols <= evects.rows && dst.rows == data.rows); CV_Assert 3449 modules/core/src/matmul.cpp CV_Assert(dst.rows <= evects.rows && dst.cols == data.cols); CV_Assert 3459 modules/core/src/matmul.cpp CV_Assert(dst0.data == dst.data); CV_Assert 3475 modules/core/src/matmul.cpp CV_Assert(data.cols <= evects.rows && dst.rows == data.rows); CV_Assert 3480 modules/core/src/matmul.cpp CV_Assert(data.rows <= evects.rows && dst.cols == data.cols); CV_Assert 3488 modules/core/src/matmul.cpp CV_Assert(dst0.data == dst.data); CV_Assert 1199 modules/core/src/matop.cpp CV_Assert( CV_MAT_CN(_type) == e.a.channels() ); CV_Assert 78 modules/core/src/matrix.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 109 modules/core/src/matrix.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 140 modules/core/src/matrix.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 182 modules/core/src/matrix.cpp CV_Assert(total <= step[i]); CV_Assert 211 modules/core/src/matrix.cpp CV_Assert(u->urefcount >= 0); CV_Assert 212 modules/core/src/matrix.cpp CV_Assert(u->refcount >= 0); CV_Assert 266 modules/core/src/matrix.cpp CV_Assert( 0 <= _dims && _dims <= CV_MAX_DIM ); CV_Assert 293 modules/core/src/matrix.cpp CV_Assert( s >= 0 ); CV_Assert 373 modules/core/src/matrix.cpp CV_Assert(0 <= d && d <= CV_MAX_DIM && _sizes); CV_Assert 405 modules/core/src/matrix.cpp CV_Assert(u != 0); CV_Assert 411 modules/core/src/matrix.cpp CV_Assert(u != 0); CV_Assert 413 modules/core/src/matrix.cpp CV_Assert( step[dims-1] == (size_t)CV_ELEM_SIZE(flags) ); CV_Assert 441 modules/core/src/matrix.cpp CV_Assert( m.dims >= 2 ); CV_Assert 456 modules/core/src/matrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); CV_Assert 464 modules/core/src/matrix.cpp CV_Assert( 0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols ); CV_Assert 488 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); CV_Assert 494 modules/core/src/matrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && CV_Assert 528 modules/core/src/matrix.cpp CV_Assert(ranges); CV_Assert 532 modules/core/src/matrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); CV_Assert 627 modules/core/src/matrix.cpp CV_Assert(img->dataOrder == IPL_DATA_ORDER_PIXEL); CV_Assert 636 modules/core/src/matrix.cpp CV_Assert(img->dataOrder == IPL_DATA_ORDER_PIXEL || img->roi->coi != 0); CV_Assert 671 modules/core/src/matrix.cpp CV_Assert( dims <= 2 ); CV_Assert 705 modules/core/src/matrix.cpp CV_Assert( nelems <= (size_t)size.p[0] ); CV_Assert 742 modules/core/src/matrix.cpp CV_Assert( (int)nelems >= 0 ); CV_Assert 776 modules/core/src/matrix.cpp CV_Assert( (int)nelems >= 0 ); CV_Assert 865 modules/core/src/matrix.cpp CV_Assert(total > 0 && CV_ELEM_SIZE(seq->flags) == esz); CV_Assert 886 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); CV_Assert 907 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); CV_Assert 932 modules/core/src/matrix.cpp CV_Assert( CV_IS_IMAGE(arr) ); CV_Assert 935 modules/core/src/matrix.cpp CV_Assert(0 <= coi && coi < mat.channels()); CV_Assert 945 modules/core/src/matrix.cpp CV_Assert( CV_IS_IMAGE(arr) ); CV_Assert 948 modules/core/src/matrix.cpp CV_Assert(ch.size == mat.size && ch.depth() == mat.depth() && 0 <= coi && coi < mat.channels()); CV_Assert 969 modules/core/src/matrix.cpp CV_Assert( dims <= 2 ); CV_Assert 1013 modules/core/src/matrix.cpp CV_Assert( d.cols == 1 || d.rows == 1 ); CV_Assert 1039 modules/core/src/matrix.cpp CV_Assert(cn <= 4); CV_Assert 1138 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1144 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1150 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1159 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1179 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)vv.size() ); CV_Assert 1188 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); CV_Assert 1196 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); CV_Assert 1203 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1210 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1217 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1244 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); CV_Assert 1441 modules/core/src/matrix.cpp CV_Assert(k == OPENGL_BUFFER); CV_Assert 1468 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1474 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1480 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1486 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1492 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1501 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1514 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1526 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1536 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1543 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1550 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1557 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1574 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1583 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1593 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1603 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1664 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1670 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1676 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1682 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1688 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1700 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1709 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1719 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1726 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1732 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1738 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1752 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1758 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1768 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1778 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1809 modules/core/src/matrix.cpp CV_Assert((flags & FIXED_TYPE) != 0); CV_Assert 1812 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1821 modules/core/src/matrix.cpp CV_Assert((flags & FIXED_TYPE) != 0); CV_Assert 1824 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 1930 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 1937 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 1962 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 1969 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 1983 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 1990 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2003 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 2011 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 2017 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2032 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2038 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2051 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 2058 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); CV_Assert 2064 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2129 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((Mat*)obj)->size.operator()() == _sz); CV_Assert 2130 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((Mat*)obj)->type() == mtype); CV_Assert 2136 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((UMat*)obj)->size.operator()() == _sz); CV_Assert 2137 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((UMat*)obj)->type() == mtype); CV_Assert 2143 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::GpuMat*)obj)->size() == _sz); CV_Assert 2144 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((cuda::GpuMat*)obj)->type() == mtype); CV_Assert 2150 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((ogl::Buffer*)obj)->size() == _sz); CV_Assert 2151 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((ogl::Buffer*)obj)->type() == mtype); CV_Assert 2157 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::HostMem*)obj)->size() == _sz); CV_Assert 2158 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((cuda::HostMem*)obj)->type() == mtype); CV_Assert 2171 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows)); CV_Assert 2172 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((Mat*)obj)->type() == mtype); CV_Assert 2178 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((UMat*)obj)->size.operator()() == Size(_cols, _rows)); CV_Assert 2179 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((UMat*)obj)->type() == mtype); CV_Assert 2185 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::GpuMat*)obj)->size() == Size(_cols, _rows)); CV_Assert 2186 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((cuda::GpuMat*)obj)->type() == mtype); CV_Assert 2192 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((ogl::Buffer*)obj)->size() == Size(_cols, _rows)); CV_Assert 2193 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((ogl::Buffer*)obj)->type() == mtype); CV_Assert 2199 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::HostMem*)obj)->size() == Size(_cols, _rows)); CV_Assert 2200 modules/core/src/matrix.cpp CV_Assert(!fixedType() || ((cuda::HostMem*)obj)->type() == mtype); CV_Assert 2216 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2222 modules/core/src/matrix.cpp CV_Assert(!fixedType() && !fixedSize()); CV_Assert 2236 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); CV_Assert 2240 modules/core/src/matrix.cpp CV_Assert(m.dims == d); CV_Assert 2242 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); CV_Assert 2250 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2256 modules/core/src/matrix.cpp CV_Assert(!fixedType() && !fixedSize()); CV_Assert 2270 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); CV_Assert 2274 modules/core/src/matrix.cpp CV_Assert(m.dims == d); CV_Assert 2276 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); CV_Assert 2284 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2286 modules/core/src/matrix.cpp CV_Assert( mtype == type0 || (CV_MAT_CN(mtype) == 1 && ((1 << type0) & fixedDepthMask) != 0) ); CV_Assert 2287 modules/core/src/matrix.cpp CV_Assert( d == 2 && ((sizes[0] == sz.height && sizes[1] == sz.width) || CV_Assert 2294 modules/core/src/matrix.cpp CV_Assert( d == 2 && (sizes[0] == 1 || sizes[1] == 1 || sizes[0]*sizes[1] == 0) ); CV_Assert 2303 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == vv.size()); CV_Assert 2307 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); CV_Assert 2311 modules/core/src/matrix.cpp CV_Assert( i < 0 ); CV_Assert 2314 modules/core/src/matrix.cpp CV_Assert( mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0) ); CV_Assert 2317 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == ((std::vector<uchar>*)v)->size() / esz); CV_Assert 2386 modules/core/src/matrix.cpp CV_Assert( d == 2 && (sizes[0] == 1 || sizes[1] == 1 || sizes[0]*sizes[1] == 0) ); CV_Assert 2389 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == len0); CV_Assert 2398 modules/core/src/matrix.cpp CV_Assert( v[j].empty() ); CV_Assert 2405 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); CV_Assert 2412 modules/core/src/matrix.cpp CV_Assert(!fixedType() && !fixedSize()); CV_Assert 2426 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); CV_Assert 2430 modules/core/src/matrix.cpp CV_Assert(m.dims == d); CV_Assert 2432 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); CV_Assert 2445 modules/core/src/matrix.cpp CV_Assert( d == 2 && (sizes[0] == 1 || sizes[1] == 1 || sizes[0]*sizes[1] == 0) ); CV_Assert 2448 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == len0); CV_Assert 2457 modules/core/src/matrix.cpp CV_Assert( v[j].empty() ); CV_Assert 2464 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); CV_Assert 2471 modules/core/src/matrix.cpp CV_Assert(!fixedType() && !fixedSize()); CV_Assert 2485 modules/core/src/matrix.cpp CV_Assert(CV_MAT_TYPE(mtype) == m.type()); CV_Assert 2489 modules/core/src/matrix.cpp CV_Assert(m.dims == d); CV_Assert 2491 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); CV_Assert 2509 modules/core/src/matrix.cpp CV_Assert(!fixedSize()); CV_Assert 2579 modules/core/src/matrix.cpp CV_Assert(!fixedSize()); CV_Assert 2597 modules/core/src/matrix.cpp CV_Assert( k == MAT ); CV_Assert 2602 modules/core/src/matrix.cpp CV_Assert( k == STD_VECTOR_MAT ); CV_Assert 2604 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); CV_Assert 2614 modules/core/src/matrix.cpp CV_Assert( k == UMAT ); CV_Assert 2619 modules/core/src/matrix.cpp CV_Assert( k == STD_VECTOR_UMAT ); CV_Assert 2621 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); CV_Assert 2629 modules/core/src/matrix.cpp CV_Assert( k == CUDA_GPU_MAT ); CV_Assert 2636 modules/core/src/matrix.cpp CV_Assert( k == OPENGL_BUFFER ); CV_Assert 2643 modules/core/src/matrix.cpp CV_Assert( k == CUDA_HOST_MEM ); CV_Assert 2663 modules/core/src/matrix.cpp CV_Assert( checkScalar(value, type(), arr.kind(), _InputArray::CUDA_GPU_MAT) ); CV_Assert 2736 modules/core/src/matrix.cpp CV_Assert( src[i].dims <= 2 && CV_Assert 2776 modules/core/src/matrix.cpp CV_Assert(src[i].dims <= 2 && CV_Assert 2848 modules/core/src/matrix.cpp CV_Assert( _m.dims() <= 2 ); CV_Assert 2894 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); CV_Assert 3053 modules/core/src/matrix.cpp CV_Assert(dst.cols == dst.rows); CV_Assert 3096 modules/core/src/matrix.cpp CV_Assert( _src.dims() <= 2 && esz <= 32 ); CV_Assert 3114 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && (src.cols == 1 || src.rows == 1) ); CV_Assert 3193 modules/core/src/matrix.cpp CV_Assert( func != 0 ); CV_Assert 3194 modules/core/src/matrix.cpp CV_Assert( dst.cols == dst.rows ); CV_Assert 3200 modules/core/src/matrix.cpp CV_Assert( func != 0 ); CV_Assert 3212 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 && m.rows == m.cols ); CV_Assert 3231 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && m.dims <= 2 && size() == m.size() && tp == m.type() && CV_Assert 3414 modules/core/src/matrix.cpp CV_Assert(!(ippFunc && ippFuncHint) && func); CV_Assert 3631 modules/core/src/matrix.cpp CV_Assert( _src.dims() <= 2 ); CV_Assert 3639 modules/core/src/matrix.cpp CV_Assert( cn == CV_MAT_CN(dtype) ); CV_Assert 3640 modules/core/src/matrix.cpp CV_Assert( op == CV_REDUCE_SUM || op == CV_REDUCE_MAX || CV_Assert 3952 modules/core/src/matrix.cpp CV_Assert( src.data != dst.data ); CV_Assert 4048 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); CV_Assert 4063 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); CV_Assert 4091 modules/core/src/matrix.cpp CV_Assert( src.rows == dst.cols && src.cols == dst.rows && src.type() == dst.type() ); CV_Assert 4107 modules/core/src/matrix.cpp CV_Assert( srcA.size() == dst.size() && srcA.type() == dst.type() ); CV_Assert 4205 modules/core/src/matrix.cpp CV_Assert( src.size() == idx.size() && idx.type() == CV_32S && src.data != idx.data ); CV_Assert 4207 modules/core/src/matrix.cpp CV_Assert( idx0.data == idx.data ); CV_Assert 4213 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); CV_Assert 4215 modules/core/src/matrix.cpp CV_Assert( dst0.data == dst.data ); CV_Assert 4233 modules/core/src/matrix.cpp CV_Assert( !centers.empty() ); CV_Assert 4234 modules/core/src/matrix.cpp CV_Assert( centers.rows == cluster_count ); CV_Assert 4235 modules/core/src/matrix.cpp CV_Assert( centers.cols == data.cols ); CV_Assert 4236 modules/core/src/matrix.cpp CV_Assert( centers.depth() == data.depth() ); CV_Assert 4238 modules/core/src/matrix.cpp CV_Assert( labels.isContinuous() && labels.type() == CV_32S && CV_Assert 4288 modules/core/src/matrix.cpp CV_Assert( _arrays && (_ptrs || _planes) ); CV_Assert 4303 modules/core/src/matrix.cpp CV_Assert(narrays <= 1000); CV_Assert 4310 modules/core/src/matrix.cpp CV_Assert(arrays[i] != 0); CV_Assert 4330 modules/core/src/matrix.cpp CV_Assert( A.size == arrays[i0]->size ); CV_Assert 4334 modules/core/src/matrix.cpp CV_Assert( A.step[d-1] == A.elemSize() ); CV_Assert 4371 modules/core/src/matrix.cpp CV_Assert(arrays[i] != 0); CV_Assert 4461 modules/core/src/matrix.cpp CV_Assert(m != 0 && _idx); CV_Assert 4640 modules/core/src/matrix.cpp CV_Assert( func != 0 ); CV_Assert 4685 modules/core/src/matrix.cpp CV_Assert( func != 0 ); CV_Assert 4775 modules/core/src/matrix.cpp CV_Assert( _sizes && 0 < d && d <= CV_MAX_DIM ); CV_Assert 4777 modules/core/src/matrix.cpp CV_Assert( _sizes[i] > 0 ); CV_Assert 4818 modules/core/src/matrix.cpp CV_Assert( hdr ); CV_Assert 4848 modules/core/src/matrix.cpp CV_Assert(hdr != 0); CV_Assert 4885 modules/core/src/matrix.cpp CV_Assert( hdr ); CV_Assert 4922 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 1 ); CV_Assert 4944 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 2 ); CV_Assert 4966 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 3 ); CV_Assert 4989 modules/core/src/matrix.cpp CV_Assert( hdr ); CV_Assert 5013 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 2 ); CV_Assert 5032 modules/core/src/matrix.cpp CV_Assert( hdr && hdr->dims == 3 ); CV_Assert 5052 modules/core/src/matrix.cpp CV_Assert( hdr ); CV_Assert 5224 modules/core/src/matrix.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); CV_Assert 5350 modules/core/src/matrix.cpp CV_Assert( abs(vecs[0].dot(vecs[1])) / (norm(vecs[0]) * norm(vecs[1])) <= FLT_EPSILON ); CV_Assert 5411 modules/core/src/matrix.cpp CV_Assert( m.dims <= 2 ); CV_Assert 1367 modules/core/src/ocl.cpp #define CV_OclDbgAssert(expr) do { if (isRaiseError()) { CV_Assert(expr); } else { (void)(expr); } } while ((void)0, 0) CV_Assert 1617 modules/core/src/ocl.cpp CV_Assert(clAmdFftInitSetupData(&setupData) == CLFFT_SUCCESS); CV_Assert 1620 modules/core/src/ocl.cpp CV_Assert(clAmdFftGetVersion(&major, &minor, &patch) == CLFFT_SUCCESS); CV_Assert 2484 modules/core/src/ocl.cpp CV_Assert(handle == NULL); CV_Assert 2622 modules/core/src/ocl.cpp CV_Assert(handle != NULL); CV_Assert 2625 modules/core/src/ocl.cpp CV_Assert(((void)0, CL_DEVICE_SVM_CAPABILITIES == CL_DEVICE_SVM_CAPABILITIES_AMD)); // Check assumption CV_Assert 2633 modules/core/src/ocl.cpp CV_Assert(((void)0, CL_DEVICE_SVM_COARSE_GRAIN_BUFFER == CL_DEVICE_SVM_COARSE_GRAIN_BUFFER_AMD)); // Check assumption CV_Assert 2716 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 2726 modules/core/src/ocl.cpp CV_Assert(svmFunctions.isValid()); CV_Assert 2870 modules/core/src/ocl.cpp CV_Assert(i); CV_Assert 2878 modules/core/src/ocl.cpp CV_Assert(i); CV_Assert 2889 modules/core/src/ocl.cpp void Context::setUseSVM(bool enabled) { CV_Assert(!enabled); } CV_Assert 2898 modules/core/src/ocl.cpp CV_Assert(i); CV_Assert 2907 modules/core/src/ocl.cpp CV_Assert(i); CV_Assert 2908 modules/core/src/ocl.cpp CV_Assert(i->svmInitialized); // getSVMCapabilitites() must be called first CV_Assert 2909 modules/core/src/ocl.cpp CV_Assert(i->svmFunctions.fn_clSVMAlloc != NULL); CV_Assert 3079 modules/core/src/ocl.cpp CV_Assert(m.isContinuous()); CV_Assert 3115 modules/core/src/ocl.cpp CV_Assert(nu < MAX_ARRS && m.u && m.u->urefcount > 0); CV_Assert 3219 modules/core/src/ocl.cpp CV_Assert(p); CV_Assert 3310 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 3370 modules/core/src/ocl.cpp CV_Assert(_globalsize != 0); CV_Assert 3375 modules/core/src/ocl.cpp CV_Assert( val > 0 ); CV_Assert 3889 modules/core/src/ocl.cpp CV_Assert(reservedEntries_.empty()); CV_Assert 3911 modules/core/src/ocl.cpp CV_Assert(_findAndRemoveEntryFromAllocatedList(entry, buffer)); CV_Assert 3990 modules/core/src/ocl.cpp CV_Assert(retval == CL_SUCCESS); CV_Assert 3991 modules/core/src/ocl.cpp CV_Assert(entry.clBuffer_ != NULL); CV_Assert 4003 modules/core/src/ocl.cpp CV_Assert(entry.capacity_ != 0); CV_Assert 4004 modules/core/src/ocl.cpp CV_Assert(entry.clBuffer_ != NULL); CV_Assert 4043 modules/core/src/ocl.cpp CV_Assert(buf); CV_Assert 4056 modules/core/src/ocl.cpp CV_Assert(entry.capacity_ != 0); CV_Assert 4057 modules/core/src/ocl.cpp CV_Assert(entry.clBuffer_ != NULL); CV_Assert 4191 modules/core/src/ocl.cpp CV_Assert(data == 0); CV_Assert 4233 modules/core/src/ocl.cpp CV_Assert(handle != NULL); // Unsupported, throw CV_Assert 4258 modules/core/src/ocl.cpp CV_Assert(u->origdata != 0); CV_Assert 4293 modules/core/src/ocl.cpp CV_Assert(handle); CV_Assert 4303 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4311 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4380 modules/core/src/ocl.cpp CV_Assert(u->urefcount >= 0); CV_Assert 4381 modules/core/src/ocl.cpp CV_Assert(u->refcount >= 0); CV_Assert 4383 modules/core/src/ocl.cpp CV_Assert(u->handle != 0 && u->urefcount == 0); CV_Assert 4411 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4419 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4480 modules/core/src/ocl.cpp CV_Assert(u->refcount == 0); CV_Assert 4513 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4533 modules/core/src/ocl.cpp CV_Assert( u->handle != 0 ); CV_Assert 4565 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4611 modules/core/src/ocl.cpp CV_Assert( clEnqueueReadBuffer(q, (cl_mem)u->handle, CL_TRUE, 0, CV_Assert 4623 modules/core/src/ocl.cpp CV_Assert(u->handle != 0); CV_Assert 4635 modules/core/src/ocl.cpp CV_Assert(u->data != NULL); CV_Assert 4651 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4662 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueUnmapMemObject(q, CV_Assert 4677 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueWriteBuffer(q, (cl_mem)u->handle, CL_TRUE, 0, CV_Assert 4735 modules/core/src/ocl.cpp CV_Assert(dims <= 3); CV_Assert 4771 modules/core/src/ocl.cpp CV_Assert( u->handle != 0 ); CV_Assert 4799 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4813 modules/core/src/ocl.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 4837 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4847 modules/core/src/ocl.cpp CV_Assert( clEnqueueReadBuffer(q, (cl_mem)u->handle, CL_TRUE, CV_Assert 4852 modules/core/src/ocl.cpp CV_Assert( clEnqueueReadBufferRect(q, (cl_mem)u->handle, CL_TRUE, CV_Assert 4867 modules/core/src/ocl.cpp CV_Assert(u->refcount == 0 || u->tempUMat()); CV_Assert 4893 modules/core/src/ocl.cpp CV_Assert( u->handle != 0 ); CV_Assert 4911 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4925 modules/core/src/ocl.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 4949 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 4959 modules/core/src/ocl.cpp CV_Assert( clEnqueueWriteBuffer(q, (cl_mem)u->handle, CV_Assert 4964 modules/core/src/ocl.cpp CV_Assert( clEnqueueWriteBufferRect(q, (cl_mem)u->handle, CL_TRUE, CV_Assert 5027 modules/core/src/ocl.cpp CV_Assert(dst->refcount == 0); CV_Assert 5049 modules/core/src/ocl.cpp CV_Assert(status == CL_SUCCESS); CV_Assert 5059 modules/core/src/ocl.cpp CV_Assert( sz[i] <= (size_t)INT_MAX ); CV_Assert 5106 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueCopyBuffer(q, (cl_mem)src->handle, (cl_mem)dst->handle, CV_Assert 5111 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueCopyBufferRect(q, (cl_mem)src->handle, (cl_mem)dst->handle, CV_Assert 5253 modules/core/src/ocl.cpp CV_Assert(p && d < (int)p->devices.size() ); CV_Assert 5415 modules/core/src/ocl.cpp CV_Assert(func != 0); CV_Assert 5425 modules/core/src/ocl.cpp CV_Assert(src.isMat() || src.isUMat()); \ CV_Assert 5472 modules/core/src/ocl.cpp CV_Assert(vectorWidths); CV_Assert 5590 modules/core/src/ocl.cpp CV_Assert(!src.empty()); CV_Assert 5591 modules/core/src/ocl.cpp CV_Assert(ocl::Device::getDefault().imageSupport()); CV_Assert 5594 modules/core/src/ocl.cpp CV_Assert(cn <= 4); CV_Assert 5611 modules/core/src/ocl.cpp CV_Assert(!alias || canCreateAlias(src)); CV_Assert 5631 modules/core/src/ocl.cpp CV_Assert(!alias); // This is an OpenCL 1.2 extension CV_Assert 5647 modules/core/src/ocl.cpp CV_Assert(clEnqueueCopyBufferRect(queue, (cl_mem)src.handle(ACCESS_READ), devData, origin, origin, CV_Assert 5655 modules/core/src/ocl.cpp CV_Assert(devData != NULL); CV_Assert 277 modules/core/src/opengl.cpp CV_Assert( resource_ != 0 ); CV_Assert 350 modules/core/src/opengl.cpp CV_Assert( gl::IsBuffer(abufId) == gl::TRUE_ ); CV_Assert 358 modules/core/src/opengl.cpp CV_Assert( bufId_ != 0 ); CV_Assert 519 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 612 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 677 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 877 modules/core/src/opengl.cpp CV_Assert( gl::IsTexture(atexId) == gl::TRUE_ ); CV_Assert 885 modules/core/src/opengl.cpp CV_Assert(texId_ != 0); CV_Assert 998 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32F ); CV_Assert 999 modules/core/src/opengl.cpp CV_Assert( cn == 1 || cn == 3 || cn == 4 ); CV_Assert 1040 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 1110 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32F ); CV_Assert 1111 modules/core/src/opengl.cpp CV_Assert( cn == 1 || cn == 3 || cn == 4 ); CV_Assert 1154 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 1207 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 1243 modules/core/src/opengl.cpp CV_Assert( cn == 2 || cn == 3 || cn == 4 ); CV_Assert 1244 modules/core/src/opengl.cpp CV_Assert( depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); CV_Assert 1264 modules/core/src/opengl.cpp CV_Assert( cn == 3 || cn == 4 ); CV_Assert 1282 modules/core/src/opengl.cpp CV_Assert( cn == 3 ); CV_Assert 1283 modules/core/src/opengl.cpp CV_Assert( depth == CV_8S || depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); CV_Assert 1301 modules/core/src/opengl.cpp CV_Assert( cn >= 1 && cn <= 4 ); CV_Assert 1302 modules/core/src/opengl.cpp CV_Assert( depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); CV_Assert 1336 modules/core/src/opengl.cpp CV_Assert( texCoord_.empty() || texCoord_.size().area() == size_ ); CV_Assert 1337 modules/core/src/opengl.cpp CV_Assert( normal_.empty() || normal_.size().area() == size_ ); CV_Assert 1338 modules/core/src/opengl.cpp CV_Assert( color_.empty() || color_.size().area() == size_ ); CV_Assert 1529 modules/core/src/opengl.cpp CV_Assert( buf.channels() == 1 ); CV_Assert 1530 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32S ); CV_Assert 1555 modules/core/src/opengl.cpp CV_Assert( mat.channels() == 1 ); CV_Assert 1556 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32S ); CV_Assert 1557 modules/core/src/opengl.cpp CV_Assert( mat.isContinuous() ); CV_Assert 86 modules/core/src/out.cpp CV_Assert(m.dims <= 2); CV_Assert 72 modules/core/src/pca.cpp CV_Assert( data.channels() == 1 ); CV_Assert 104 modules/core/src/pca.cpp CV_Assert( _mean.size() == mean_sz ); CV_Assert 153 modules/core/src/pca.cpp CV_Assert( fs.isOpened() ); CV_Assert 163 modules/core/src/pca.cpp CV_Assert( !fs.empty() ); CV_Assert 165 modules/core/src/pca.cpp CV_Assert( name == "PCA" ); CV_Assert 209 modules/core/src/pca.cpp CV_Assert( data.channels() == 1 ); CV_Assert 225 modules/core/src/pca.cpp CV_Assert( retainedVariance > 0 && retainedVariance <= 1 ); CV_Assert 241 modules/core/src/pca.cpp CV_Assert( _mean.size() == mean_sz ); CV_Assert 295 modules/core/src/pca.cpp CV_Assert( !mean.empty() && !eigenvectors.empty() && CV_Assert 325 modules/core/src/pca.cpp CV_Assert( !mean.empty() && !eigenvectors.empty() && CV_Assert 2776 modules/core/src/persistence.cpp CV_Assert( strlen(encoding) < 1000 ); CV_Assert 5262 modules/core/src/persistence.cpp CV_Assert( len % elemSize == 0 ); CV_Assert 5435 modules/core/src/persistence.cpp CV_Assert( elem_size > 0 ); CV_Assert 5562 modules/core/src/persistence.cpp CV_Assert(CV_IS_SPARSE_MAT(m)); CV_Assert 491 modules/core/src/rand.cpp CV_Assert(_param1.channels() == 1 && (_param1.rows == 1 || _param1.cols == 1) && CV_Assert 494 modules/core/src/rand.cpp CV_Assert( _param2.channels() == 1 && CV_Assert 617 modules/core/src/rand.cpp CV_Assert( func != 0 ); CV_Assert 655 modules/core/src/rand.cpp CV_Assert( scaleFunc != 0 ); CV_Assert 765 modules/core/src/rand.cpp CV_Assert( _arr.dims <= 2 ); CV_Assert 813 modules/core/src/rand.cpp CV_Assert( dst.elemSize() <= 32 ); CV_Assert 815 modules/core/src/rand.cpp CV_Assert( func != 0 ); CV_Assert 1033 modules/core/src/stat.cpp CV_Assert(m.rows == 1); CV_Assert 1051 modules/core/src/stat.cpp CV_Assert(sum_op == OCL_OP_SUM || sum_op == OCL_OP_SUM_ABS || sum_op == OCL_OP_SUM_SQR); CV_Assert 1060 modules/core/src/stat.cpp CV_Assert(!haveSrc2 || _src2.type() == type); CV_Assert 1071 modules/core/src/stat.cpp CV_Assert(!haveMask || _mask.type() == CV_8UC1); CV_Assert 1182 modules/core/src/stat.cpp CV_Assert(!ippFuncHint || !ippFuncNoHint); CV_Assert 1203 modules/core/src/stat.cpp CV_Assert( cn <= 4 && func != 0 ); CV_Assert 1297 modules/core/src/stat.cpp CV_Assert( cn == 1 ); CV_Assert 1341 modules/core/src/stat.cpp CV_Assert( func != 0 ); CV_Assert 1357 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_Assert 1428 modules/core/src/stat.cpp CV_Assert(!ippFuncHint || !ippFuncNoHint); CV_Assert 1451 modules/core/src/stat.cpp CV_Assert( cn <= 4 && func != 0 ); CV_Assert 1528 modules/core/src/stat.cpp CV_Assert(!haveMask || _mask.type() == CV_8UC1); CV_Assert 1605 modules/core/src/stat.cpp CV_Assert( dst.type() == CV_64F && dst.isContinuous() && CV_Assert 1627 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); CV_Assert 1746 modules/core/src/stat.cpp CV_Assert( func != 0 ); CV_Assert 1823 modules/core/src/stat.cpp CV_Assert( dst.type() == CV_64F && dst.isContinuous() && CV_Assert 2067 modules/core/src/stat.cpp CV_Assert( (cn == 1 && (!haveMask || _mask.type() == CV_8U)) || CV_Assert 2073 modules/core/src/stat.cpp CV_Assert(!haveSrc2 || _src2.type() == type); CV_Assert 2191 modules/core/src/stat.cpp CV_Assert( (cn == 1 && (_mask.empty() || _mask.type() == CV_8U)) || CV_Assert 2295 modules/core/src/stat.cpp CV_Assert( func != 0 ); CV_Assert 2338 modules/core/src/stat.cpp CV_Assert(_img.dims() <= 2); CV_Assert 2619 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || CV_Assert 2772 modules/core/src/stat.cpp CV_Assert(!ippFuncHint || !ippFuncNoHint); CV_Assert 2850 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_Assert 2877 modules/core/src/stat.cpp CV_Assert( func != 0 ); CV_Assert 2997 modules/core/src/stat.cpp CV_Assert( _src1.sameSize(_src2) && _src1.type() == _src2.type() ); CV_Assert 3014 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR || CV_Assert 3121 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || CV_Assert 3268 modules/core/src/stat.cpp CV_Assert(!ippFuncHint || !ippFuncNoHint); CV_Assert 3333 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_Assert 3361 modules/core/src/stat.cpp CV_Assert( func != 0 ); CV_Assert 3654 modules/core/src/stat.cpp CV_Assert( type == src2.type() && src1.cols == src2.cols && CV_Assert 3656 modules/core/src/stat.cpp CV_Assert( _nidx.needed() == (K > 0) ); CV_Assert 3662 modules/core/src/stat.cpp CV_Assert( (type == CV_8U && dtype == CV_32S) || dtype == CV_32F); CV_Assert 3682 modules/core/src/stat.cpp CV_Assert( K == 1 && update == 0 && mask.empty() ); CV_Assert 3762 modules/core/src/stat.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 3773 modules/core/src/stat.cpp CV_Assert(idx.isContinuous()); CV_Assert 3787 modules/core/src/stat.cpp CV_Assert( _src1.depth() == CV_8U ); CV_Assert 3801 modules/core/src/stat.cpp CV_Assert( 0 < coi && coi <= 4 ); CV_Assert 3827 modules/core/src/stat.cpp CV_Assert( 0 < coi && coi <= 4 ); CV_Assert 3851 modules/core/src/stat.cpp CV_Assert( 0 < coi && coi <= 4 ); CV_Assert 563 modules/core/src/system.cpp CV_Assert((copied != MAX_PATH) && (copied != (size_t)-1)); CV_Assert 995 modules/core/src/system.cpp CV_Assert(tlsKey != TLS_OUT_OF_INDEXES); CV_Assert 1045 modules/core/src/system.cpp CV_Assert(errcode == 0); CV_Assert 1085 modules/core/src/system.cpp CV_Assert(tlsContainers_[id] == pContainer); CV_Assert 1129 modules/core/src/system.cpp CV_Assert(key_ >= 0); CV_Assert 129 modules/core/src/umatrix.cpp CV_Assert( 0 <= _dims && _dims <= CV_MAX_DIM ); CV_Assert 156 modules/core/src/umatrix.cpp CV_Assert( s >= 0 ); CV_Assert 239 modules/core/src/umatrix.cpp CV_Assert(0 <= d && d <= CV_MAX_DIM && _sizes); CV_Assert 268 modules/core/src/umatrix.cpp CV_Assert(u != 0); CV_Assert 274 modules/core/src/umatrix.cpp CV_Assert(u != 0); CV_Assert 276 modules/core/src/umatrix.cpp CV_Assert( step[dims-1] == (size_t)CV_ELEM_SIZE(flags) ); CV_Assert 311 modules/core/src/umatrix.cpp CV_Assert( m.dims >= 2 ); CV_Assert 326 modules/core/src/umatrix.cpp CV_Assert( 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows ); CV_Assert 334 modules/core/src/umatrix.cpp CV_Assert( 0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols ); CV_Assert 356 modules/core/src/umatrix.cpp CV_Assert( m.dims <= 2 ); CV_Assert 362 modules/core/src/umatrix.cpp CV_Assert( 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && CV_Assert 384 modules/core/src/umatrix.cpp CV_Assert(ranges); CV_Assert 388 modules/core/src/umatrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); CV_Assert 406 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 ); CV_Assert 440 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); CV_Assert 462 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 && step[0] > 0 ); CV_Assert 492 modules/core/src/umatrix.cpp CV_Assert( dims <= 2 ); CV_Assert 536 modules/core/src/umatrix.cpp CV_Assert( d.cols == 1 || d.rows == 1 ); CV_Assert 579 modules/core/src/umatrix.cpp CV_Assert(u->data != 0); CV_Assert 598 modules/core/src/umatrix.cpp CV_Assert(u->refcount == 0); CV_Assert 625 modules/core/src/umatrix.cpp CV_Assert( channels() == CV_MAT_CN(dtype) ); CV_Assert 672 modules/core/src/umatrix.cpp CV_Assert( mdepth == CV_8U && (mcn == 1 || mcn == cn) ); CV_Assert 778 modules/core/src/umatrix.cpp CV_Assert( checkScalar(value, type(), _value.kind(), _InputArray::UMAT) ); CV_Assert 801 modules/core/src/umatrix.cpp CV_Assert( mask.size() == size() && mask.type() == CV_8UC1 ); CV_Assert 909 modules/core/src/umatrix.cpp CV_Assert(m.sameSize(*this) && m.type() == type()); CV_Assert 77 modules/core/test/ocl/test_channels.cpp CV_Assert(nsrc >= 1 && nsrc <= 4); CV_Assert 168 modules/core/test/ocl/test_channels.cpp CV_Assert(cn >= 1 && cn <= 4); CV_Assert 552 modules/core/test/test_arithm.cpp CV_Assert( src.type() == lb.type() && src.type() == rb.type() && CV_Assert 771 modules/core/test/test_arithm.cpp CV_Assert(src.dims == 2); CV_Assert 793 modules/core/test/test_arithm.cpp CV_Assert( dst.dims == 2 && dst.channels() <= 4 ); CV_Assert 1013 modules/core/test/test_arithm.cpp CV_Assert( (mx.type() == CV_32F || mx.type() == CV_64F) && CV_Assert 1220 modules/core/test/test_arithm.cpp CV_Assert(cn > 0); CV_Assert 1503 modules/core/test/test_arithm.cpp CV_Assert( cvtest::norm(c, d1, CV_C) <= DBL_EPSILON ); CV_Assert 45 modules/core/test/test_dxt.cpp CV_Assert( _src.cols + _src.rows - 1 == n ); CV_Assert 166 modules/core/test/test_dxt.cpp CV_Assert( _src.cols + _src.rows - 1 == n); CV_Assert 368 modules/core/test/test_dxt.cpp CV_Assert( cols2 == mat.cols ); CV_Assert 430 modules/core/test/test_dxt.cpp CV_Assert( src1.size == src2.size && src1.type() == src2.type() && CV_Assert 11 modules/core/test/test_io.cpp CV_Assert(CV_MAT_CN(type) == 1); CV_Assert 342 modules/core/test/test_io.cpp CV_Assert( it == it2 ); CV_Assert 489 modules/core/test/test_io.cpp CV_Assert( mi2.empty() ); CV_Assert 490 modules/core/test/test_io.cpp CV_Assert( mv2.empty() ); CV_Assert 491 modules/core/test/test_io.cpp CV_Assert( cvtest::norm(Mat(mi3), Mat(mi4), CV_C) == 0 ); CV_Assert 492 modules/core/test/test_io.cpp CV_Assert( mv4.size() == 1 ); CV_Assert 494 modules/core/test/test_io.cpp CV_Assert( vudt2.empty() ); CV_Assert 495 modules/core/test/test_io.cpp CV_Assert( vudt3 == vudt4 ); CV_Assert 496 modules/core/test/test_io.cpp CV_Assert( n == 0 ); CV_Assert 497 modules/core/test/test_io.cpp CV_Assert( op1 == p1 ); CV_Assert 498 modules/core/test/test_io.cpp CV_Assert( op2 == p2 ); CV_Assert 499 modules/core/test/test_io.cpp CV_Assert( os1 == s1 ); CV_Assert 500 modules/core/test/test_io.cpp CV_Assert( oc1 == c1 ); CV_Assert 501 modules/core/test/test_io.cpp CV_Assert( or1 == r1 ); CV_Assert 502 modules/core/test/test_io.cpp CV_Assert( ov1 == v1 ); CV_Assert 503 modules/core/test/test_io.cpp CV_Assert( osc1 == sc1 ); CV_Assert 504 modules/core/test/test_io.cpp CV_Assert( og1 == g1 ); CV_Assert 53 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 65 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 67 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 70 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 77 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 81 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 83 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 137 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 149 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 151 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 154 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 161 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 165 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 167 modules/core/test/test_ippasync.cpp CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert 959 modules/core/test/test_mat.cpp CV_Assert(loc == (size_t)mChannels); CV_Assert 1313 modules/core/test/test_math.cpp CV_Assert( type == CV_32FC1 || type == CV_64FC1 ); CV_Assert 2409 modules/core/test/test_math.cpp CV_Assert(resInRad.size() == x.size()); CV_Assert 2410 modules/core/test/test_math.cpp CV_Assert(resInRad.type() == x.type()); CV_Assert 2412 modules/core/test/test_math.cpp CV_Assert(resInDeg.size() == x.size()); CV_Assert 2413 modules/core/test/test_math.cpp CV_Assert(resInDeg.type() == x.type()); CV_Assert 2725 modules/core/test/test_math.cpp CV_Assert(0 <= l && l < K); CV_Assert 2729 modules/core/test/test_math.cpp CV_Assert( hist.at<int>(i) != 0 ); CV_Assert 115 modules/core/test/test_operations.cpp CV_Assert(m.cols == sz.width && m.rows == sz.height && m.depth() == DataType<_Tp>::depth && CV_Assert 125 modules/core/test/test_operations.cpp CV_Assert( s == (double)sz.width*sz.height ); CV_Assert 491 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(coords, T_bs.reshape(1,1), NORM_INF) == 0 ); CV_Assert 779 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(mvf2[0], mvf[0], CV_C) == 0 && CV_Assert 786 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(c, CV_L1) == 4. ); CV_Assert 800 modules/core/test/test_operations.cpp CV_Assert( badarg_catched ); CV_Assert 1017 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(b, c, CV_C) == 0 ); CV_Assert 1020 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(b, c, CV_C) == 0 ); CV_Assert 1023 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(Matx61f(1.f, 1.f, 1.f, 1.f, 1.f, 1.f), c, CV_C) == 0 ); CV_Assert 1028 modules/core/test/test_operations.cpp CV_Assert( Mat(pt2d).checkVector(2) == 3 && Mat(pt2d).checkVector(3) < 0 && CV_Assert 1036 modules/core/test/test_operations.cpp CV_Assert( fabs(d - (-0.0262)) <= 0.001 ); CV_Assert 1040 modules/core/test/test_operations.cpp CV_Assert( cvFloor(z.f) == 0 && cvCeil(z.f) == 0 && cvRound(z.f) == 0 ); CV_Assert 1181 modules/core/test/test_operations.cpp CV_Assert( (int)v.nzcount() == 0 ); CV_Assert 1188 modules/core/test/test_operations.cpp CV_Assert( k == 0 ); CV_Assert 1198 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0]) == v(idx[0]) ); CV_Assert 1202 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0], idx[1]) == v(idx[0], idx[1]) ); CV_Assert 1206 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0], idx[1], idx[2]) == v(idx[0], idx[1], idx[2]) ); CV_Assert 1208 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx) == v(idx) ); CV_Assert 1215 modules/core/test/test_operations.cpp CV_Assert( (int)v.nzcount() == nz0 ); CV_Assert 1222 modules/core/test/test_operations.cpp CV_Assert( k == nz0 && sum == sum0 ); CV_Assert 1225 modules/core/test/test_operations.cpp CV_Assert( (int)v.nzcount() == 0 ); CV_Assert 1232 modules/core/test/test_operations.cpp CV_Assert( k == 0 ); CV_Assert 29 modules/core/test/test_rand.cpp CV_Assert(n >= 1); CV_Assert 47 modules/core/test/test_rand.cpp CV_Assert( fabs(1./sum - scale) < FLT_EPSILON ); CV_Assert 335 modules/core/test/test_rand.cpp CV_Assert( n0 > nx*2 && n255 > nx*2 ); CV_Assert 336 modules/core/test/test_rand.cpp CV_Assert( nfmin > nfx*2 && nfmax > nfx*2 ); CV_Assert 176 modules/cudaarithm/src/arithm.cpp CV_Assert( src1.type() == CV_32FC1 || src1.type() == CV_32FC2 || src1.type() == CV_64FC1 || src1.type() == CV_64FC2 ); CV_Assert 177 modules/cudaarithm/src/arithm.cpp CV_Assert( src2.type() == src1.type() && (src3.empty() || src3.type() == src1.type()) ); CV_Assert 200 modules/cudaarithm/src/arithm.cpp CV_Assert( src1Size.width == src2Size.height ); CV_Assert 201 modules/cudaarithm/src/arithm.cpp CV_Assert( src3.empty() || src3Size == dstSize ); CV_Assert 303 modules/cudaarithm/src/arithm.cpp CV_Assert( src.type() == CV_32FC1 || src.type() == CV_32FC2 ); CV_Assert 306 modules/cudaarithm/src/arithm.cpp CV_Assert( !(flags & DFT_COMPLEX_OUTPUT) ); CV_Assert 316 modules/cudaarithm/src/arithm.cpp CV_Assert( is_complex_input || is_complex_output ); CV_Assert 341 modules/cudaarithm/src/arithm.cpp CV_Assert( dft_size_opt.width > 1 ); CV_Assert 476 modules/cudaarithm/src/arithm.cpp CV_Assert( image.type() == CV_32FC1 ); CV_Assert 477 modules/cudaarithm/src/arithm.cpp CV_Assert( templ.type() == CV_32FC1 ); CV_Assert 124 modules/cudaarithm/src/core.cpp CV_Assert(src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S || src.depth() == CV_32F); CV_Assert 125 modules/cudaarithm/src/core.cpp CV_Assert(src.channels() == 1 || src.channels() == 3 || src.channels() == 4); CV_Assert 106 modules/cudaarithm/src/element_operations.cpp CV_Assert( !isScalar1 || !isScalar2 ); CV_Assert 125 modules/cudaarithm/src/element_operations.cpp CV_Assert( scalar.total() <= 4 ); CV_Assert 140 modules/cudaarithm/src/element_operations.cpp CV_Assert( sdepth <= CV_64F && ddepth <= CV_64F ); CV_Assert 141 modules/cudaarithm/src/element_operations.cpp CV_Assert( !scalar.empty() || (src2.type() == src1.type() && src2.size() == src1.size()) ); CV_Assert 142 modules/cudaarithm/src/element_operations.cpp CV_Assert( mask.empty() || (cn == 1 && mask.size() == size && mask.type() == CV_8UC1) ); CV_Assert 203 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); CV_Assert 216 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); CV_Assert 246 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); CV_Assert 259 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); CV_Assert 399 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() < CV_32F ); CV_Assert 400 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); CV_Assert 423 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S ); CV_Assert 424 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); CV_Assert 468 modules/cudaarithm/src/element_operations.cpp CV_Assert(src.type() == CV_32FC2); CV_Assert 97 modules/cudaarithm/src/reductions.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); CV_Assert 142 modules/cudaarithm/src/reductions.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 191 modules/cudaarithm/src/reductions.cpp CV_Assert( src.type() == CV_32SC1 && sqr.type() == CV_64FC1 ); CV_Assert 140 modules/cudabgsegm/src/mog.cpp CV_Assert( frame.depth() == CV_8U ); CV_Assert 153 modules/cudabgsegm/src/mog.cpp CV_Assert( learningRate >= 0 ); CV_Assert 177 modules/cudabgsegm/src/mog.cpp CV_Assert( frameType == CV_8UC1 || frameType == CV_8UC3 || frameType == CV_8UC4 ); CV_Assert 198 modules/cudabgsegm/src/mog2.cpp CV_Assert( learningRate >= 0 ); CV_Assert 223 modules/cudabgsegm/src/mog2.cpp CV_Assert( frameType == CV_8UC1 || frameType == CV_8UC3 || frameType == CV_8UC4 ); CV_Assert 101 modules/cudacodec/src/ffmpeg_video_source.cpp CV_Assert( init_MediaStream_FFMPEG() ); CV_Assert 60 modules/cudacodec/src/video_decoder.cpp CV_Assert(cudaVideoCodec_MPEG1 == _codec || CV_Assert 72 modules/cudacodec/src/video_decoder.cpp CV_Assert(cudaVideoChromaFormat_Monochrome == _chromaFormat || CV_Assert 200 modules/cudacodec/src/video_reader.cpp CV_Assert( !filename.empty() ); CV_Assert 60 modules/cudacodec/src/video_source.cpp CV_Assert( !source_.empty() ); CV_Assert 85 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 203 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 209 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 211 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 215 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 228 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 234 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 243 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 247 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 251 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 255 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 259 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 263 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 267 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 271 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 275 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 279 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 283 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 287 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 291 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 295 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 299 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 305 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 310 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 314 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 318 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 329 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 334 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 339 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 344 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 349 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 354 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 359 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 364 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 369 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 374 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 379 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 384 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 389 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 394 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 399 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 406 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 411 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 416 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 456 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 459 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 481 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 616 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.size() == frameSize_ ); CV_Assert 617 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.type() == CV_8UC1 || frame.type() == CV_8UC3 || frame.type() == CV_8UC4 ); CV_Assert 621 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.size() == videoFrame_.size() ); CV_Assert 622 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.type() == videoFrame_.type() ); CV_Assert 667 modules/cudacodec/src/video_writer.cpp CV_Assert( err == 0 ); CV_Assert 773 modules/cudacodec/src/video_writer.cpp CV_Assert( init_MediaStream_FFMPEG() ); CV_Assert 776 modules/cudacodec/src/video_writer.cpp CV_Assert( stream_ != 0 ); CV_Assert 842 modules/cudacodec/src/video_writer.cpp CV_Assert( fs.isOpened() ); CV_Assert 868 modules/cudacodec/src/video_writer.cpp CV_Assert( fs.isOpened() ); CV_Assert 152 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( masks.size() == trainDescCollection.size() ); CV_Assert 165 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.cols == train.rows) ); CV_Assert 181 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( norm == NORM_L1 || norm == NORM_L2 || norm == NORM_HAMMING ); CV_Assert 331 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 332 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( train.cols == query.cols && train.type() == query.type() ); CV_Assert 333 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); CV_Assert 392 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 459 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( (gpu_matches.type() == CV_32SC1) && (gpu_matches.rows == 2 || gpu_matches.rows == 3) ); CV_Assert 534 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 591 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 592 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( train.cols == query.cols && train.type() == query.type() ); CV_Assert 593 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); CV_Assert 676 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 746 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( ((gpu_matches.type() == CV_32SC2) && (gpu_matches.rows == 2 || gpu_matches.rows == 3)) || CV_Assert 860 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 861 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( train.cols == query.cols && train.type() == query.type() ); CV_Assert 862 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); CV_Assert 928 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); CV_Assert 1003 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( gpu_matches.type() == CV_32SC1 || gpu_matches.type() == CV_32FC1 ); CV_Assert 84 modules/cudafeatures2d/src/fast.cpp virtual void setType(int type) { CV_Assert( type == TYPE_9_16 ); } CV_Assert 120 modules/cudafeatures2d/src/fast.cpp CV_Assert( img.type() == CV_8UC1 ); CV_Assert 121 modules/cudafeatures2d/src/fast.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == img.size()) ); CV_Assert 184 modules/cudafeatures2d/src/fast.cpp CV_Assert( h_keypoints.rows == ROWS_COUNT ); CV_Assert 185 modules/cudafeatures2d/src/fast.cpp CV_Assert( h_keypoints.elemSize() == 4 ); CV_Assert 204 modules/cudafeatures2d/src/fast.cpp CV_Assert( type == TYPE_9_16 ); CV_Assert 500 modules/cudafeatures2d/src/orb.cpp CV_Assert( patchSize_ >= 2 ); CV_Assert 501 modules/cudafeatures2d/src/orb.cpp CV_Assert( WTA_K_ == 2 || WTA_K_ == 3 || WTA_K_ == 4 ); CV_Assert 535 modules/cudafeatures2d/src/orb.cpp CV_Assert( u_max.size() < 32 ); CV_Assert 575 modules/cudafeatures2d/src/orb.cpp CV_Assert( useProvidedKeypoints == false ); CV_Assert 583 modules/cudafeatures2d/src/orb.cpp CV_Assert( useProvidedKeypoints == false ); CV_Assert 604 modules/cudafeatures2d/src/orb.cpp CV_Assert( image.type() == CV_8UC1 ); CV_Assert 605 modules/cudafeatures2d/src/orb.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); CV_Assert 824 modules/cudafeatures2d/src/orb.cpp CV_Assert( h_keypoints.rows == ROWS_COUNT ); CV_Assert 825 modules/cudafeatures2d/src/orb.cpp CV_Assert( h_keypoints.type() == CV_32FC1 ); CV_Assert 81 modules/cudafilters/src/filtering.cpp CV_Assert( 0 <= anchor && anchor < ksize ); CV_Assert 121 modules/cudafilters/src/filtering.cpp CV_Assert( srcType == CV_8UC1 || srcType == CV_8UC4 ); CV_Assert 122 modules/cudafilters/src/filtering.cpp CV_Assert( dstType == srcType ); CV_Assert 132 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); CV_Assert 216 modules/cudafilters/src/filtering.cpp CV_Assert( sdepth == CV_8U || sdepth == CV_16U || sdepth == CV_32F ); CV_Assert 217 modules/cudafilters/src/filtering.cpp CV_Assert( scn == 1 || scn == 4 ); CV_Assert 218 modules/cudafilters/src/filtering.cpp CV_Assert( dstType == srcType ); CV_Assert 219 modules/cudafilters/src/filtering.cpp CV_Assert( kernel.channels() == 1 ); CV_Assert 220 modules/cudafilters/src/filtering.cpp CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORDER_CONSTANT || borderMode == BORDER_REFLECT || borderMode == BORDER_WRAP ); CV_Assert 256 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); CV_Assert 288 modules/cudafilters/src/filtering.cpp CV_Assert( ksize == 1 || ksize == 3 ); CV_Assert 372 modules/cudafilters/src/filtering.cpp CV_Assert( sdepth <= CV_64F && cn <= 4 ); CV_Assert 373 modules/cudafilters/src/filtering.cpp CV_Assert( rowKernel.channels() == 1 ); CV_Assert 374 modules/cudafilters/src/filtering.cpp CV_Assert( columnKernel.channels() == 1 ); CV_Assert 375 modules/cudafilters/src/filtering.cpp CV_Assert( rowBorderMode == BORDER_REFLECT101 || rowBorderMode == BORDER_REPLICATE || rowBorderMode == BORDER_CONSTANT || rowBorderMode == BORDER_REFLECT || rowBorderMode == BORDER_WRAP ); CV_Assert 376 modules/cudafilters/src/filtering.cpp CV_Assert( columnBorderMode == BORDER_REFLECT101 || columnBorderMode == BORDER_REPLICATE || columnBorderMode == BORDER_CONSTANT || columnBorderMode == BORDER_REFLECT || columnBorderMode == BORDER_WRAP ); CV_Assert 386 modules/cudafilters/src/filtering.cpp CV_Assert( rowKernel_.cols > 0 && rowKernel_.cols <= 32 ); CV_Assert 387 modules/cudafilters/src/filtering.cpp CV_Assert( columnKernel_.cols > 0 && columnKernel_.cols <= 32 ); CV_Assert 395 modules/cudafilters/src/filtering.cpp CV_Assert( rowFilter_ != 0 ); CV_Assert 398 modules/cudafilters/src/filtering.cpp CV_Assert( columnFilter_ != 0 ); CV_Assert 404 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); CV_Assert 481 modules/cudafilters/src/filtering.cpp CV_Assert( ksize.width > 0 && ksize.width % 2 == 1 && ksize.height > 0 && ksize.height % 2 == 1 ); CV_Assert 531 modules/cudafilters/src/filtering.cpp CV_Assert( op == MORPH_ERODE || op == MORPH_DILATE ); CV_Assert 532 modules/cudafilters/src/filtering.cpp CV_Assert( srcType == CV_8UC1 || srcType == CV_8UC4 ); CV_Assert 555 modules/cudafilters/src/filtering.cpp CV_Assert( kernel.channels() == 1 ); CV_Assert 569 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); CV_Assert 818 modules/cudafilters/src/filtering.cpp CV_Assert( srcType == CV_8UC1 || srcType == CV_8UC4 ); CV_Assert 831 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); CV_Assert 898 modules/cudafilters/src/filtering.cpp CV_Assert( srcType_ == CV_8UC1 ); CV_Assert 899 modules/cudafilters/src/filtering.cpp CV_Assert( dstType_ == CV_32FC1 ); CV_Assert 907 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); CV_Assert 959 modules/cudafilters/src/filtering.cpp CV_Assert( srcType_ == CV_8UC1 ); CV_Assert 960 modules/cudafilters/src/filtering.cpp CV_Assert( dstType_ == CV_32FC1 ); CV_Assert 968 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); CV_Assert 87 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 88 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORDER_CONSTANT || borderMode == BORDER_REFLECT || borderMode == BORDER_WRAP ); CV_Assert 91 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( func != 0 ); CV_Assert 79 modules/cudaimgproc/src/blend.cpp CV_Assert( img1.size() == img2.size() ); CV_Assert 80 modules/cudaimgproc/src/blend.cpp CV_Assert( img1.type() == img2.type() ); CV_Assert 81 modules/cudaimgproc/src/blend.cpp CV_Assert( weights1.size() == img1.size() ); CV_Assert 82 modules/cudaimgproc/src/blend.cpp CV_Assert( weights2.size() == img2.size() ); CV_Assert 83 modules/cudaimgproc/src/blend.cpp CV_Assert( weights1.type() == CV_32FC1 ); CV_Assert 84 modules/cudaimgproc/src/blend.cpp CV_Assert( weights2.type() == CV_32FC1 ); CV_Assert 105 modules/cudaimgproc/src/canny.cpp CV_Assert( String(fn["name"]) == "Canny_CUDA" ); CV_Assert 135 modules/cudaimgproc/src/canny.cpp CV_Assert( image.type() == CV_8UC1 ); CV_Assert 136 modules/cudaimgproc/src/canny.cpp CV_Assert( deviceSupports(SHARED_ATOMICS) ); CV_Assert 175 modules/cudaimgproc/src/canny.cpp CV_Assert( dx.type() == CV_32SC1 ); CV_Assert 176 modules/cudaimgproc/src/canny.cpp CV_Assert( dy.type() == dx.type() && dy.size() == dx.size() ); CV_Assert 177 modules/cudaimgproc/src/canny.cpp CV_Assert( deviceSupports(SHARED_ATOMICS) ); CV_Assert 197 modules/cudaimgproc/src/canny.cpp CV_Assert(image_size.width < std::numeric_limits<short>::max() && image_size.height < std::numeric_limits<short>::max()); CV_Assert 91 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 92 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 107 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 108 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 123 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 124 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 139 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 140 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 155 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 156 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 171 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 172 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 184 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 185 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 197 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 198 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 210 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 211 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 223 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 224 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 236 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 237 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 249 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 250 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 262 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 263 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 275 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 276 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 288 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 289 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 301 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 302 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 314 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 315 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 327 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 328 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 340 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 341 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 353 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 354 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 366 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 367 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 379 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 380 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 395 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 396 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); CV_Assert 411 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 412 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); CV_Assert 424 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 425 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); CV_Assert 437 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 438 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); CV_Assert 450 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 451 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 463 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 464 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); CV_Assert 479 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 480 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 495 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 496 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); CV_Assert 511 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 512 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 527 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 528 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); CV_Assert 555 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 556 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 557 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 584 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 585 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 586 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 613 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 614 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 615 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 642 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 643 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 644 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 671 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 672 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 673 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 700 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 701 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 702 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 729 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 730 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 731 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 758 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 759 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 760 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 787 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 788 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 789 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 816 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 817 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 818 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 845 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 846 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 847 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 874 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 875 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 876 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 903 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 904 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 905 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 932 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 933 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 934 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 961 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 962 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 963 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 990 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 991 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 992 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1019 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1020 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1021 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1048 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1049 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1050 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1077 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1078 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1079 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1106 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1107 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1108 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1135 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1136 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1137 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1164 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1165 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1166 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1193 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1194 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1195 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1222 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1223 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1224 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1251 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1252 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1253 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1280 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1281 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1282 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1309 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1310 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1311 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1338 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1339 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1340 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1367 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1368 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1369 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1396 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1397 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1398 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1425 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1426 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1427 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1454 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1455 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1456 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1483 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1484 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1485 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1512 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1513 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1514 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1541 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1542 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1543 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1570 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1571 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1572 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1599 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1600 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1601 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1628 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1629 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1630 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1657 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1658 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1659 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1686 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1687 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1688 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1715 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1716 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1717 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1744 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1745 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1746 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1773 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1774 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1775 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1802 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_Assert 1803 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); CV_Assert 1804 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1822 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 ); CV_Assert 1858 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 ); CV_Assert 1859 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); CV_Assert 1860 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 1896 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 ); CV_Assert 1897 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); CV_Assert 2098 modules/cudaimgproc/src/color.cpp CV_Assert( code < 128 ); CV_Assert 2113 modules/cudaimgproc/src/color.cpp CV_Assert( !_src.empty() ); CV_Assert 2132 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); CV_Assert 2133 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); CV_Assert 2134 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 2162 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); CV_Assert 2194 modules/cudaimgproc/src/color.cpp CV_Assert( image.type() == CV_8UC4 ); CV_Assert 2237 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC3 || src.type() == CV_8UC4 ); CV_Assert 2321 modules/cudaimgproc/src/color.cpp CV_Assert( img1.type() == CV_8UC4 || img1.type() == CV_16UC4 || img1.type() == CV_32SC4 || img1.type() == CV_32FC4 ); CV_Assert 2322 modules/cudaimgproc/src/color.cpp CV_Assert( img1.size() == img2.size() && img1.type() == img2.type() ); CV_Assert 86 modules/cudaimgproc/src/corners.cpp CV_Assert( borderType_ == BORDER_REFLECT101 || borderType_ == BORDER_REPLICATE || borderType_ == BORDER_REFLECT ); CV_Assert 91 modules/cudaimgproc/src/corners.cpp CV_Assert( cn == 1 ); CV_Assert 117 modules/cudaimgproc/src/corners.cpp CV_Assert( src.type() == srcType_ ); CV_Assert 184 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 185 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( cannyLowThresh_ > 0 && cannyLowThresh_ < cannyHighThresh_ ); CV_Assert 226 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templEdges_.type() == CV_8UC1 ); CV_Assert 227 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templDx_.type() == CV_32FC1 && templDx_.size() == templEdges_.size() ); CV_Assert 228 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templDy_.type() == templDx_.type() && templDy_.size() == templEdges_.size() ); CV_Assert 276 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( imageEdges_.type() == CV_8UC1 ); CV_Assert 277 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageEdges_.size() ); CV_Assert 278 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageEdges_.size() ); CV_Assert 316 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( edges.type() == CV_8UC1 ); CV_Assert 317 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dx.size() == edges.size() ); CV_Assert 318 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dy.type() == dx.type() && dy.size() == edges.size() ); CV_Assert 321 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( func != 0 ); CV_Assert 499 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 525 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 && r_table_.rows == (levels_ + 1) && r_sizes_.cols == (levels_ + 1) ); CV_Assert 526 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dp_ > 0.0); CV_Assert 548 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( votesThreshold_ > 0 ); CV_Assert 747 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 748 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.sizes.cols == levels_ + 1 ); CV_Assert 749 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( minAngle_ >= 0.0 && minAngle_ < maxAngle_ && maxAngle_ <= 360.0 ); CV_Assert 750 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( angleStep_ > 0.0 && angleStep_ < 360.0 ); CV_Assert 751 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( angleThresh_ > 0 ); CV_Assert 752 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( minScale_ > 0.0 && minScale_ < maxScale_ ); CV_Assert 753 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( scaleStep_ > 0.0 ); CV_Assert 754 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( scaleThresh_ > 0 ); CV_Assert 755 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dp_ > 0.0 ); CV_Assert 756 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( posThresh_ > 0 ); CV_Assert 823 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 91 modules/cudaimgproc/src/gftt.cpp CV_Assert( qualityLevel_ > 0 && minDistance_ >= 0 && maxCorners_ >= 0 ); CV_Assert 108 modules/cudaimgproc/src/gftt.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); CV_Assert 78 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 100 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 177 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 390 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels.type() == LEVEL_TYPE_CODE && levels.rows == 1 ); CV_Assert 422 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[0].type() == LEVEL_TYPE_CODE && levels[0].rows == 1 ); CV_Assert 423 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[1].type() == LEVEL_TYPE_CODE && levels[1].rows == 1 ); CV_Assert 424 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[2].type() == LEVEL_TYPE_CODE && levels[2].rows == 1 ); CV_Assert 425 modules/cudaimgproc/src/histogram.cpp CV_Assert( levels[3].type() == LEVEL_TYPE_CODE && levels[3].rows == 1 ); CV_Assert 508 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 || src.type() == CV_16SC1 ); CV_Assert 526 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 || src.type() == CV_16SC4 ); CV_Assert 547 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 || src.type() == CV_16SC1 || src.type() == CV_32FC1 ); CV_Assert 567 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 || src.type() == CV_16SC4 || src.type() == CV_32FC4 ); CV_Assert 114 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( String(fn["name"]) == "HoughCirclesDetector_CUDA" ); CV_Assert 167 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 168 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); CV_Assert 169 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); CV_Assert 170 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( dp_ > 0 ); CV_Assert 171 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( minRadius_ > 0 && maxRadius_ > minRadius_ ); CV_Assert 172 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( cannyThreshold_ > 0 ); CV_Assert 173 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( votesThreshold_ > 0 ); CV_Assert 174 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( maxCircles_ > 0 ); CV_Assert 108 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( String(fn["name"]) == "HoughLinesDetector_CUDA" ); CV_Assert 138 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 139 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); CV_Assert 140 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); CV_Assert 154 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( numangle > 0 && numrho > 0 ); CV_Assert 188 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( d_lines.rows == 2 && d_lines.type() == CV_32FC2 ); CV_Assert 111 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( String(fn["name"]) == "PHoughLinesDetector_CUDA" ); CV_Assert 142 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 143 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); CV_Assert 144 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); CV_Assert 158 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( numangle > 0 && numrho > 0 ); CV_Assert 190 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_32F ); CV_Assert 191 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 192 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 240 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 241 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 242 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 283 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 284 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 285 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 313 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_32F ); CV_Assert 314 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 315 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 347 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 348 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 349 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 394 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 395 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 396 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 433 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 434 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 435 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 512 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_Assert 513 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.type() == templ.type() ); CV_Assert 514 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); CV_Assert 598 modules/cudaimgproc/src/match_template.cpp CV_Assert( sdepth == CV_8U || sdepth == CV_32F ); CV_Assert 72 modules/cudaimgproc/src/mean_shift.cpp CV_Assert( src.type() == CV_8UC4 ); CV_Assert 107 modules/cudaimgproc/src/mean_shift.cpp CV_Assert( src.type() == CV_8UC4 ); CV_Assert 229 modules/cudaimgproc/src/mssegmentation.cpp CV_Assert( src.type() == CV_8UC4 ); CV_Assert 62 modules/cudalegacy/src/bm.cpp CV_Assert( prev.type() == CV_8UC1 ); CV_Assert 63 modules/cudalegacy/src/bm.cpp CV_Assert( curr.size() == prev.size() && curr.type() == prev.type() ); CV_Assert 64 modules/cudalegacy/src/bm_fast.cpp CV_Assert( I0.type() == CV_8UC1 ); CV_Assert 65 modules/cudalegacy/src/bm_fast.cpp CV_Assert( I1.size() == I0.size() && I1.type() == I0.type() ); CV_Assert 87 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); CV_Assert 88 modules/cudalegacy/src/calib3d.cpp CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); CV_Assert 89 modules/cudalegacy/src/calib3d.cpp CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); CV_Assert 109 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); CV_Assert 110 modules/cudalegacy/src/calib3d.cpp CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); CV_Assert 111 modules/cudalegacy/src/calib3d.cpp CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); CV_Assert 112 modules/cudalegacy/src/calib3d.cpp CV_Assert(camera_mat.size() == Size(3, 3) && camera_mat.type() == CV_32F); CV_Assert 113 modules/cudalegacy/src/calib3d.cpp CV_Assert(dist_coef.empty()); // Undistortion isn't supported CV_Assert 217 modules/cudalegacy/src/calib3d.cpp CV_Assert(object.rows == 1 && object.cols > 0 && object.type() == CV_32FC3); CV_Assert 218 modules/cudalegacy/src/calib3d.cpp CV_Assert(image.rows == 1 && image.cols > 0 && image.type() == CV_32FC2); CV_Assert 219 modules/cudalegacy/src/calib3d.cpp CV_Assert(object.cols == image.cols); CV_Assert 220 modules/cudalegacy/src/calib3d.cpp CV_Assert(camera_mat.size() == Size(3, 3) && camera_mat.type() == CV_32F); CV_Assert 221 modules/cudalegacy/src/calib3d.cpp CV_Assert(!use_extrinsic_guess); // We don't support initial guess for now CV_Assert 222 modules/cudalegacy/src/calib3d.cpp CV_Assert(num_iters <= solve_pnp_ransac::maxNumIters()); CV_Assert 226 modules/cudalegacy/src/calib3d.cpp CV_Assert(num_points >= subset_size); CV_Assert 363 modules/cudalegacy/src/fgd.cpp CV_Assert( ci.isContinuous() ); CV_Assert 622 modules/cudalegacy/src/fgd.cpp CV_Assert( storage_ != 0 ); CV_Assert 640 modules/cudalegacy/src/fgd.cpp CV_Assert( curFrame.type() == CV_8UC3 || curFrame.type() == CV_8UC4 ); CV_Assert 641 modules/cudalegacy/src/fgd.cpp CV_Assert( curFrame.size() == prevFrame_.size() ); CV_Assert 696 modules/cudalegacy/src/fgd.cpp CV_Assert( firstFrame.type() == CV_8UC3 || firstFrame.type() == CV_8UC4 ); CV_Assert 186 modules/cudalegacy/src/gmg.cpp CV_Assert( frame.depth() == CV_8U || frame.depth() == CV_16U || frame.depth() == CV_32F ); CV_Assert 187 modules/cudalegacy/src/gmg.cpp CV_Assert( frame.channels() == 1 || frame.channels() == 3 || frame.channels() == 4 ); CV_Assert 191 modules/cudalegacy/src/gmg.cpp CV_Assert( newLearningRate >= 0.0 && newLearningRate <= 1.0 ); CV_Assert 242 modules/cudalegacy/src/gmg.cpp CV_Assert( maxFeatures_ > 0 ); CV_Assert 243 modules/cudalegacy/src/gmg.cpp CV_Assert( learningRate_ >= 0.0f && learningRate_ <= 1.0f); CV_Assert 244 modules/cudalegacy/src/gmg.cpp CV_Assert( numInitializationFrames_ >= 1); CV_Assert 245 modules/cudalegacy/src/gmg.cpp CV_Assert( quantizationLevels_ >= 1 && quantizationLevels_ <= 255); CV_Assert 246 modules/cudalegacy/src/gmg.cpp CV_Assert( backgroundPrior_ >= 0.0f && backgroundPrior_ <= 1.0f); CV_Assert 250 modules/cudalegacy/src/gmg.cpp CV_Assert( minVal_ < maxVal_ ); CV_Assert 73 modules/cudalegacy/src/graphcuts.cpp CV_Assert(!image.empty()); CV_Assert 76 modules/cudalegacy/src/graphcuts.cpp CV_Assert(ch <= 4); CV_Assert 95 modules/cudalegacy/src/graphcuts.cpp CV_Assert(f); CV_Assert 107 modules/cudalegacy/src/graphcuts.cpp CV_Assert(!mask.empty() && mask.type() == CV_8U); CV_Assert 148 modules/cudalegacy/src/graphcuts.cpp CV_Assert(terminals.type() == CV_32S); CV_Assert 150 modules/cudalegacy/src/graphcuts.cpp CV_Assert(terminals.type() == CV_32S || terminals.type() == CV_32F); CV_Assert 155 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); CV_Assert 156 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.type() == terminals.type()); CV_Assert 158 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); CV_Assert 159 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.type() == terminals.type()); CV_Assert 161 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.size() == src_size); CV_Assert 162 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.type() == terminals.type()); CV_Assert 164 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.size() == src_size); CV_Assert 165 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.type() == terminals.type()); CV_Assert 208 modules/cudalegacy/src/graphcuts.cpp CV_Assert(terminals.type() == CV_32S); CV_Assert 210 modules/cudalegacy/src/graphcuts.cpp CV_Assert(terminals.type() == CV_32S || terminals.type() == CV_32F); CV_Assert 215 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); CV_Assert 216 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.type() == terminals.type()); CV_Assert 218 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); CV_Assert 219 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.type() == terminals.type()); CV_Assert 221 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.size() == src_size); CV_Assert 222 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.type() == terminals.type()); CV_Assert 224 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topLeft.size() == src_size); CV_Assert 225 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topLeft.type() == terminals.type()); CV_Assert 227 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topRight.size() == src_size); CV_Assert 228 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topRight.type() == terminals.type()); CV_Assert 230 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.size() == src_size); CV_Assert 231 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.type() == terminals.type()); CV_Assert 233 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomLeft.size() == src_size); CV_Assert 234 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomLeft.type() == terminals.type()); CV_Assert 236 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomRight.size() == src_size); CV_Assert 237 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomRight.type() == terminals.type()); CV_Assert 73 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( img.depth() <= CV_32F && img.channels() <= 4 ); CV_Assert 105 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( outRoi.width <= layer0_.cols && outRoi.height <= layer0_.rows && outRoi.width > 0 && outRoi.height > 0 ); CV_Assert 57 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(frame0.type() == CV_32FC1); CV_Assert 58 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(frame1.size() == frame0.size() && frame1.type() == frame0.type()); CV_Assert 59 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(fu.size() == frame0.size() && fu.type() == frame0.type()); CV_Assert 60 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(fv.size() == frame0.size() && fv.type() == frame0.type()); CV_Assert 61 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(bu.size() == frame0.size() && bu.type() == frame0.type()); CV_Assert 62 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(bv.size() == frame0.size() && bv.type() == frame0.type()); CV_Assert 83 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(frame1.step == step && fu.step == step && fv.step == step && bu.step == step && bv.step == step && newFrame.step == step && buf.step == step); CV_Assert 67 modules/cudalegacy/src/needle_map.cpp CV_Assert(u.type() == CV_32FC1); CV_Assert 68 modules/cudalegacy/src/needle_map.cpp CV_Assert(v.type() == u.type() && v.size() == u.size()); CV_Assert 177 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); CV_Assert 178 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( scaleFactor_ > 1 ); CV_Assert 179 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( !stream ); CV_Assert 222 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.rows == 1 ); CV_Assert 223 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.type() == DataType<Rect>::type ); CV_Assert 332 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert(objects.rows == 1); CV_Assert 529 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); CV_Assert 530 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( scaleFactor_ > 1 ); CV_Assert 531 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( !stream ); CV_Assert 627 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.rows == 1 ); CV_Assert 628 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( gpu_objects.type() == DataType<Rect>::type ); CV_Assert 656 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert(stageTypeStr == CUDA_CC_BOOST); CV_Assert 659 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert(featureTypeStr == CUDA_CC_LBP); CV_Assert 663 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( NxM.height > 0 && NxM.width > 0 ); CV_Assert 666 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert(isStumps); CV_Assert 202 modules/cudaobjdetect/src/hog.cpp CV_Assert((win_size.width - block_size.width ) % block_stride.width == 0 && CV_Assert 205 modules/cudaobjdetect/src/hog.cpp CV_Assert(block_size.width % cell_size.width == 0 && CV_Assert 208 modules/cudaobjdetect/src/hog.cpp CV_Assert(block_stride == cell_size); CV_Assert 210 modules/cudaobjdetect/src/hog.cpp CV_Assert(cell_size == Size(8, 8)); CV_Assert 213 modules/cudaobjdetect/src/hog.cpp CV_Assert(cells_per_block == Size(2, 2)); CV_Assert 249 modules/cudaobjdetect/src/hog.cpp CV_Assert( detector.type() == CV_32FC1 ); CV_Assert 250 modules/cudaobjdetect/src/hog.cpp CV_Assert( detector.rows == 1 ); CV_Assert 251 modules/cudaobjdetect/src/hog.cpp CV_Assert( detector.cols == descriptor_size || detector.cols == descriptor_size + 1 ); CV_Assert 278 modules/cudaobjdetect/src/hog.cpp CV_Assert( win_size_ == Size(64, 128) || win_size_ == Size(48, 96) ); CV_Assert 290 modules/cudaobjdetect/src/hog.cpp CV_Assert( img.type() == CV_8UC1 || img.type() == CV_8UC4 ); CV_Assert 291 modules/cudaobjdetect/src/hog.cpp CV_Assert( win_stride_.width % block_stride_.width == 0 && win_stride_.height % block_stride_.height == 0 ); CV_Assert 369 modules/cudaobjdetect/src/hog.cpp CV_Assert( img.type() == CV_8UC1 || img.type() == CV_8UC4 ); CV_Assert 370 modules/cudaobjdetect/src/hog.cpp CV_Assert( confidences == NULL || group_threshold_ == 0 ); CV_Assert 444 modules/cudaobjdetect/src/hog.cpp CV_Assert( img.type() == CV_8UC1 || img.type() == CV_8UC4 ); CV_Assert 445 modules/cudaobjdetect/src/hog.cpp CV_Assert( win_stride_.width % block_stride_.width == 0 && win_stride_.height % block_stride_.height == 0 ); CV_Assert 446 modules/cudaobjdetect/src/hog.cpp CV_Assert( !stream ); CV_Assert 132 modules/cudaoptflow/src/brox.cpp CV_Assert( frame0.type() == CV_32FC1 ); CV_Assert 133 modules/cudaoptflow/src/brox.cpp CV_Assert( frame1.size() == frame0.size() && frame1.type() == frame0.type() ); CV_Assert 294 modules/cudaoptflow/src/farneback.cpp CV_Assert(frame0.channels() == 1 && frame1.channels() == 1); CV_Assert 295 modules/cudaoptflow/src/farneback.cpp CV_Assert(frame0.size() == frame1.size()); CV_Assert 296 modules/cudaoptflow/src/farneback.cpp CV_Assert(polyN_ == 5 || polyN_ == 7); CV_Assert 297 modules/cudaoptflow/src/farneback.cpp CV_Assert(!fastPyramids_ || std::abs(pyrScale_ - 0.5) < 1e-6); CV_Assert 129 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.channels() == 1 || prevImg.channels() == 3 || prevImg.channels() == 4 ); CV_Assert 130 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() ); CV_Assert 131 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( maxLevel_ >= 0 ); CV_Assert 132 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( winSize_.width > 2 && winSize_.height > 2 ); CV_Assert 133 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( patch.x > 0 && patch.x < 6 && patch.y > 0 && patch.y < 6 ); CV_Assert 134 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevPts.rows == 1 && prevPts.type() == CV_32FC2 ); CV_Assert 137 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( nextPts.size() == prevPts.size() && nextPts.type() == prevPts.type() ); CV_Assert 209 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.type() == CV_8UC1 ); CV_Assert 210 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() ); CV_Assert 211 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( maxLevel_ >= 0 ); CV_Assert 212 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( winSize_.width > 2 && winSize_.height > 2 ); CV_Assert 178 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( I0.type() == CV_8UC1 || I0.type() == CV_32FC1 ); CV_Assert 179 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( I0.size() == I1.size() ); CV_Assert 180 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( I0.type() == I1.type() ); CV_Assert 181 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( !useInitialFlow_ || (flowx.size() == I0.size() && flowx.type() == CV_32FC1 && flowy.size() == flowx.size() && flowy.type() == flowx.type()) ); CV_Assert 182 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( nscales_ > 0 ); CV_Assert 178 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( 0 < ndisp_ && 0 < radius_ && 0 < iters_ ); CV_Assert 183 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( disp.type() == CV_8U || disp.type() == CV_16S ); CV_Assert 184 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( img.type() == CV_8UC1 || img.type() == CV_8UC3 ); CV_Assert 185 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( disp.size() == img.size() ); CV_Assert 141 modules/cudastereo/src/stereobm.cpp CV_Assert( 0 < ndisp_ && ndisp_ <= max_supported_ndisp ); CV_Assert 142 modules/cudastereo/src/stereobm.cpp CV_Assert( ndisp_ % 8 == 0 ); CV_Assert 143 modules/cudastereo/src/stereobm.cpp CV_Assert( winSize_ % 2 == 1 ); CV_Assert 148 modules/cudastereo/src/stereobm.cpp CV_Assert( left.type() == CV_8UC1 ); CV_Assert 149 modules/cudastereo/src/stereobm.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); CV_Assert 178 modules/cudastereo/src/stereobp.cpp CV_Assert( 0 < ndisp_ && 0 < iters_ && 0 < levels_ ); CV_Assert 179 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || msg_type_ == CV_16S ); CV_Assert 180 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); CV_Assert 185 modules/cudastereo/src/stereobp.cpp CV_Assert( left.type() == CV_8UC1 || left.type() == CV_8UC3 || left.type() == CV_8UC4 ); CV_Assert 186 modules/cudastereo/src/stereobp.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); CV_Assert 195 modules/cudastereo/src/stereobp.cpp CV_Assert( std::min(lowest_cols, lowest_rows) > min_image_dim_size ); CV_Assert 210 modules/cudastereo/src/stereobp.cpp CV_Assert( 0 < ndisp_ && 0 < iters_ && 0 < levels_ ); CV_Assert 211 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || msg_type_ == CV_16S ); CV_Assert 212 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); CV_Assert 216 modules/cudastereo/src/stereobp.cpp CV_Assert( (data.type() == msg_type_) && (data.rows % ndisp_ == 0) ); CV_Assert 225 modules/cudastereo/src/stereobp.cpp CV_Assert( std::min(lowest_cols, lowest_rows) > min_image_dim_size ); CV_Assert 154 modules/cudastereo/src/stereocsbp.cpp CV_Assert( msg_type_ == CV_32F || msg_type_ == CV_16S ); CV_Assert 155 modules/cudastereo/src/stereocsbp.cpp CV_Assert( 0 < ndisp_ && 0 < iters_ && 0 < levels_ && 0 < nr_plane_ && levels_ <= 8 ); CV_Assert 160 modules/cudastereo/src/stereocsbp.cpp CV_Assert( left.type() == CV_8UC1 || left.type() == CV_8UC3 || left.type() == CV_8UC4 ); CV_Assert 161 modules/cudastereo/src/stereocsbp.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); CV_Assert 78 modules/cudastereo/src/util.cpp CV_Assert( disp.type() == CV_8U || disp.type() == CV_16S ); CV_Assert 79 modules/cudastereo/src/util.cpp CV_Assert( Q.type() == CV_32F && Q.rows == 4 && Q.cols == 4 && Q.isContinuous() ); CV_Assert 80 modules/cudastereo/src/util.cpp CV_Assert( dst_cn == 3 || dst_cn == 4 ); CV_Assert 118 modules/cudastereo/src/util.cpp CV_Assert( src.type() == CV_8U || src.type() == CV_16S ); CV_Assert 83 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 86 modules/cudawarping/src/pyramids.cpp CV_Assert( func != 0 ); CV_Assert 123 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 126 modules/cudawarping/src/pyramids.cpp CV_Assert( func != 0 ); CV_Assert 81 modules/cudawarping/src/remap.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 82 modules/cudawarping/src/remap.cpp CV_Assert( xmap.type() == CV_32F && ymap.type() == CV_32F && xmap.size() == ymap.size() ); CV_Assert 83 modules/cudawarping/src/remap.cpp CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INTER_CUBIC ); CV_Assert 84 modules/cudawarping/src/remap.cpp CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORDER_CONSTANT || borderMode == BORDER_REFLECT || borderMode == BORDER_WRAP ); CV_Assert 72 modules/cudawarping/src/resize.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 73 modules/cudawarping/src/resize.cpp CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INTER_CUBIC || interpolation == INTER_AREA ); CV_Assert 74 modules/cudawarping/src/resize.cpp CV_Assert( !(dsize == Size()) || (fx > 0 && fy > 0) ); CV_Assert 84 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 2 && M.cols == 3 ); CV_Assert 113 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 3 && M.cols == 3 ); CV_Assert 188 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 2 && M.cols == 3 ); CV_Assert 192 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 193 modules/cudawarping/src/warp.cpp CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INTER_CUBIC ); CV_Assert 194 modules/cudawarping/src/warp.cpp CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORDER_CONSTANT || borderMode == BORDER_REFLECT || borderMode == BORDER_WRAP ); CV_Assert 278 modules/cudawarping/src/warp.cpp CV_Assert(func != 0); CV_Assert 300 modules/cudawarping/src/warp.cpp CV_Assert(func != 0); CV_Assert 327 modules/cudawarping/src/warp.cpp CV_Assert( M.rows == 3 && M.cols == 3 ); CV_Assert 331 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); CV_Assert 332 modules/cudawarping/src/warp.cpp CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INTER_CUBIC ); CV_Assert 333 modules/cudawarping/src/warp.cpp CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORDER_CONSTANT || borderMode == BORDER_REFLECT || borderMode == BORDER_WRAP) ; CV_Assert 417 modules/cudawarping/src/warp.cpp CV_Assert(func != 0); CV_Assert 439 modules/cudawarping/src/warp.cpp CV_Assert(func != 0); CV_Assert 522 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_Assert 523 modules/cudawarping/src/warp.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); CV_Assert 524 modules/cudawarping/src/warp.cpp CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INTER_CUBIC ); CV_Assert 69 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 82 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 83 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 105 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 118 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 138 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 139 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 140 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 175 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 176 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 193 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 214 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 215 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 216 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 217 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 253 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 254 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 255 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 272 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 294 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 295 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 296 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 297 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); CV_Assert 298 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 335 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 336 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 337 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 338 modules/cudev/include/opencv2/cudev/grid/copy.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); CV_Assert 63 modules/cudev/include/opencv2/cudev/grid/histogram.hpp CV_Assert( deviceSupports(SHARED_ATOMICS) ); CV_Assert 68 modules/cudev/include/opencv2/cudev/grid/histogram.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 83 modules/cudev/include/opencv2/cudev/grid/histogram.hpp CV_Assert( deviceSupports(SHARED_ATOMICS) ); CV_Assert 76 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 114 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 148 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 183 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 215 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 258 modules/cudev/include/opencv2/cudev/grid/reduce.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 151 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 183 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 71 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 90 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 91 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 125 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 142 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 162 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 182 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 183 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 184 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 237 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 238 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 255 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 276 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 297 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 298 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 299 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); CV_Assert 300 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 355 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 356 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 357 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); CV_Assert 374 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 396 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 418 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 419 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 420 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); CV_Assert 421 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[3]) == rows && getCols(dst[3]) == cols ); CV_Assert 422 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 479 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); CV_Assert 480 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); CV_Assert 481 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[2]) == rows && getCols(dst[2]) == cols ); CV_Assert 482 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp CV_Assert( getRows(dst[3]) == rows && getCols(dst[3]) == cols ); CV_Assert 69 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 82 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 83 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 105 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 116 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); CV_Assert 117 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 130 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 131 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); CV_Assert 132 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 143 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); CV_Assert 156 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); CV_Assert 157 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); CV_Assert 170 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 191 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 192 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 193 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 230 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 231 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 249 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 271 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 272 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 273 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 274 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 312 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 313 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 314 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 332 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 355 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 356 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 357 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 358 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); CV_Assert 359 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); CV_Assert 398 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); CV_Assert 399 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); CV_Assert 400 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<2>(dst)) == rows && getCols(get<2>(dst)) == cols ); CV_Assert 401 modules/cudev/include/opencv2/cudev/grid/transform.hpp CV_Assert( getRows(get<3>(dst)) == rows && getCols(get<3>(dst)) == cols ); CV_Assert 77 modules/cudev/include/opencv2/cudev/grid/transpose.hpp CV_Assert( getRows(dst) == cols && getCols(dst) == rows ); CV_Assert 108 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_Assert( DataType<T>::channels == m.channels() ); CV_Assert 172 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_Assert( arr.type() == DataType<T>::type ); CV_Assert 179 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_Assert( arr.type() == DataType<T>::type ); CV_Assert 136 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp CV_Assert( getRows(mapy) == rows && getCols(mapy) == cols ); CV_Assert 214 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp CV_Assert( deviceSupports(FEATURE_SET_COMPUTE_30) ); CV_Assert 137 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); CV_Assert 88 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.rows == 2 && warpMat.cols == 3 ); CV_Assert 89 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.isContinuous() ); CV_Assert 136 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.rows == 3 && warpMat.cols == 3 ); CV_Assert 137 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp CV_Assert( warpMat.isContinuous() ); CV_Assert 123 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); CV_Assert 140 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); CV_Assert 141 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr2) == rows && getCols(ptr2) == cols ); CV_Assert 158 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr1) == rows && getCols(ptr1) == cols ); CV_Assert 159 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr2) == rows && getCols(ptr2) == cols ); CV_Assert 160 modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp CV_Assert( getRows(ptr3) == rows && getCols(ptr3) == cols ); CV_Assert 85 modules/features2d/src/agast_score.cpp CV_Assert(pixel && offsets); CV_Assert 182 modules/features2d/src/akaze.cpp CV_Assert( ! img1_32.empty() ); CV_Assert 213 modules/features2d/src/akaze.cpp CV_Assert((!desc.rows || desc.cols == descriptorSize())); CV_Assert 214 modules/features2d/src/akaze.cpp CV_Assert((!desc.rows || (desc.type() == descriptorType()))); CV_Assert 55 modules/features2d/src/bagofwords.cpp CV_Assert( !_descriptors.empty() ); CV_Assert 58 modules/features2d/src/bagofwords.cpp CV_Assert( descriptors[0].cols == _descriptors.cols ); CV_Assert 59 modules/features2d/src/bagofwords.cpp CV_Assert( descriptors[0].type() == _descriptors.type() ); CV_Assert 92 modules/features2d/src/bagofwords.cpp CV_Assert( !descriptors.empty() ); CV_Assert 175 modules/features2d/src/bagofwords.cpp CV_Assert( !vocabulary.empty() ); CV_Assert 200 modules/features2d/src/bagofwords.cpp CV_Assert( queryIdx == (int)i ); CV_Assert 334 modules/features2d/src/brisk.cpp CV_Assert(radiusList.size() != 0 && radiusList.size() == numberList.size()); CV_Assert 434 modules/features2d/src/brisk.cpp CV_Assert(noShortPairs_ < indSize); CV_Assert 988 modules/features2d/src/brisk.cpp CV_Assert(layer < layers_-1); CV_Assert 1031 modules/features2d/src/brisk.cpp CV_Assert(layer); CV_Assert 1419 modules/features2d/src/brisk.cpp CV_Assert(layer + 1 < layers_); CV_Assert 1615 modules/features2d/src/brisk.cpp CV_Assert(layer > 0); CV_Assert 2185 modules/features2d/src/brisk.cpp CV_Assert(!mat.empty()); CV_Assert 2292 modules/features2d/src/brisk.cpp CV_Assert(srcimg.cols / 2 == dstimg.cols); CV_Assert 2293 modules/features2d/src/brisk.cpp CV_Assert(srcimg.rows / 2 == dstimg.rows); CV_Assert 2303 modules/features2d/src/brisk.cpp CV_Assert((srcimg.cols / 3) * 2 == dstimg.cols); CV_Assert 2304 modules/features2d/src/brisk.cpp CV_Assert((srcimg.rows / 3) * 2 == dstimg.rows); CV_Assert 55 modules/features2d/src/draw.cpp CV_Assert( !img.empty() ); CV_Assert 113 modules/features2d/src/draw.cpp CV_Assert( !outImage.empty() ); CV_Assert 209 modules/features2d/src/draw.cpp CV_Assert(i1 >= 0 && i1 < static_cast<int>(keypoints1.size())); CV_Assert 210 modules/features2d/src/draw.cpp CV_Assert(i2 >= 0 && i2 < static_cast<int>(keypoints2.size())); CV_Assert 188 modules/features2d/src/evaluation.cpp CV_Assert( rad ); CV_Assert 213 modules/features2d/src/evaluation.cpp CV_Assert( !H.empty() && H.cols == 3 && H.rows == 3); CV_Assert 258 modules/features2d/src/evaluation.cpp CV_Assert( miny < maxy ); CV_Assert 259 modules/features2d/src/evaluation.cpp CV_Assert( dr > FLT_EPSILON ); CV_Assert 320 modules/features2d/src/evaluation.cpp CV_Assert( minOverlap >= 0.f ); CV_Assert 495 modules/features2d/src/evaluation.cpp CV_Assert( matches1to2.size() == correctMatches1to2Mask.size() ); CV_Assert 74 modules/features2d/src/fast_score.cpp CV_Assert(pixel && offsets); CV_Assert 113 modules/features2d/src/fast_score.cpp CV_Assert( (delta == 0 && std::max(c0, c1) > K) || CV_Assert 84 modules/features2d/src/feature2d.cpp CV_Assert(masks.size() == nimages); CV_Assert 125 modules/features2d/src/feature2d.cpp CV_Assert( keypoints.size() == nimages ); CV_Assert 126 modules/features2d/src/feature2d.cpp CV_Assert( _descriptors.kind() == _InputArray::STD_VECTOR_MAT ); CV_Assert 148 modules/features2d/src/kaze.cpp CV_Assert((!desc.rows || desc.cols == descriptorSize())); CV_Assert 149 modules/features2d/src/kaze.cpp CV_Assert((!desc.rows || (desc.type() == descriptorType()))); CV_Assert 102 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(evolution_.size() > 0); CV_Assert 712 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(0 <= kpts[i].class_id && kpts[i].class_id < static_cast<int>(evolution_.size())); CV_Assert 1401 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(options_->descriptor_channels <= max_channels); CV_Assert 1627 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(nbits <= ssz); // Descriptor size can't be bigger than full descriptor CV_Assert 100 modules/features2d/src/kaze/KAZEFeatures.cpp CV_Assert(evolution_.size() > 0); CV_Assert 556 modules/features2d/src/kaze/KAZEFeatures.cpp CV_Assert(0 <= kpts[i].class_id && kpts[i].class_id < static_cast<int>(evolution_.size())); CV_Assert 477 modules/features2d/src/kaze/nldiffusion_functions.cpp CV_Assert(src.cols / 2 == dst.cols); CV_Assert 478 modules/features2d/src/kaze/nldiffusion_functions.cpp CV_Assert(src.rows / 2 == dst.rows); CV_Assert 135 modules/features2d/src/keypoint.cpp CV_Assert( minSize >= 0 ); CV_Assert 136 modules/features2d/src/keypoint.cpp CV_Assert( maxSize >= 0); CV_Assert 137 modules/features2d/src/keypoint.cpp CV_Assert( minSize <= maxSize ); CV_Assert 414 modules/features2d/src/matchers.cpp CV_Assert( imageCount > 0 ); CV_Assert 439 modules/features2d/src/matchers.cpp CV_Assert( dim > 0 ); CV_Assert 450 modules/features2d/src/matchers.cpp CV_Assert( descriptors[i].cols == dim && descriptors[i].type() == type ); CV_Assert 466 modules/features2d/src/matchers.cpp CV_Assert( imgIdx < (int)startIdxs.size() ); CV_Assert 468 modules/features2d/src/matchers.cpp CV_Assert( globalIdx < (int)size() ); CV_Assert 480 modules/features2d/src/matchers.cpp CV_Assert( globalDescIdx < size() ); CV_Assert 486 modules/features2d/src/matchers.cpp CV_Assert( (globalDescIdx>=0) && (globalDescIdx < size()) ); CV_Assert 507 modules/features2d/src/matchers.cpp CV_Assert( knnMatches[i].size() <= 1 ); CV_Assert 541 modules/features2d/src/matchers.cpp CV_Assert( _descriptors.isUMat() || _descriptors.isUMatVector() || _descriptors.isMat() || _descriptors.isMatVector() ); CV_Assert 605 modules/features2d/src/matchers.cpp CV_Assert( masks.size() == imageCount ); CV_Assert 611 modules/features2d/src/matchers.cpp CV_Assert( masks[i].rows == queryDescriptorsCount && CV_Assert 625 modules/features2d/src/matchers.cpp CV_Assert( knn > 0 ); CV_Assert 640 modules/features2d/src/matchers.cpp CV_Assert( maxDistance > std::numeric_limits<float>::epsilon() ); CV_Assert 722 modules/features2d/src/matchers.cpp CV_Assert( _queryDescriptors.type() == trainDescType ); CV_Assert 815 modules/features2d/src/matchers.cpp CV_Assert( (int64)imgCount*IMGIDX_ONE < INT_MAX ); CV_Assert 819 modules/features2d/src/matchers.cpp CV_Assert( trainDescCollection[iIdx].rows < IMGIDX_ONE ); CV_Assert 869 modules/features2d/src/matchers.cpp CV_Assert( _queryDescriptors.type() == trainDescType ); CV_Assert 1018 modules/features2d/src/matchers.cpp CV_Assert( _indexParams ); CV_Assert 1019 modules/features2d/src/matchers.cpp CV_Assert( _searchParams ); CV_Assert 1051 modules/features2d/src/matchers.cpp CV_Assert(trainDescCollection.size() == 0); CV_Assert 1066 modules/features2d/src/matchers.cpp CV_Assert(ip.type() == FileNode::SEQ); CV_Assert 1070 modules/features2d/src/matchers.cpp CV_Assert(ip[i].type() == FileNode::MAP); CV_Assert 1105 modules/features2d/src/matchers.cpp CV_Assert(sp.type() == FileNode::SEQ); CV_Assert 1109 modules/features2d/src/matchers.cpp CV_Assert(sp[i].type() == FileNode::MAP); CV_Assert 469 modules/features2d/src/mser.cpp CV_Assert(ptrofs != 0); CV_Assert 1052 modules/features2d/src/mser.cpp CV_Assert( src.type() == CV_8UC3 || src.type() == CV_8UC4 ); CV_Assert 133 modules/features2d/src/orb.cpp CV_Assert( img.type() == CV_8UC1 && blockSize*blockSize <= 2048 ); CV_Assert 949 modules/features2d/src/orb.cpp CV_Assert(patchSize >= 2); CV_Assert 986 modules/features2d/src/orb.cpp CV_Assert(level >= 0); CV_Assert 1098 modules/features2d/src/orb.cpp CV_Assert(0 <= level); CV_Assert 1131 modules/features2d/src/orb.cpp CV_Assert( wta_k == 2 || wta_k == 3 || wta_k == 4 ); CV_Assert 80 modules/features2d/test/test_descriptors_regression.cpp CV_Assert(elements_read1 == 1 && elements_read2 == 1 && elements_read3 == 1 && elements_read4 == 1); CV_Assert 83 modules/features2d/test/test_descriptors_regression.cpp CV_Assert(step >= cols); CV_Assert 88 modules/features2d/test/test_descriptors_regression.cpp CV_Assert(elements_read == (size_t)(dataSize)); CV_Assert 122 modules/features2d/test/test_descriptors_regression.cpp CV_Assert( DataType<ValueType>::type == validDescriptors.type() ); CV_Assert 65 modules/features2d/test/test_keypoints.cpp CV_Assert(detector); CV_Assert 199 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(featureDetector); CV_Assert 250 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(angle0 >= 0.f && angle0 < 360.f); CV_Assert 251 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(angle1 >= 0.f && angle1 < 360.f); CV_Assert 259 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(angleDiff >= 0.f); CV_Assert 310 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(featureDetector); CV_Assert 311 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(descriptorExtractor); CV_Assert 395 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(featureDetector); CV_Assert 463 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(size0 > 0 && size1 > 0); CV_Assert 513 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(featureDetector); CV_Assert 514 modules/features2d/test/test_rotation_and_scale_invariance.cpp CV_Assert(descriptorExtractor); CV_Assert 253 modules/flann/include/opencv2/flann.hpp CV_Assert(dataset.type() == CvType<ElementType>::type()); CV_Assert 254 modules/flann/include/opencv2/flann.hpp CV_Assert(dataset.isContinuous()); CV_Assert 286 modules/flann/include/opencv2/flann.hpp CV_Assert(queries.type() == CvType<ElementType>::type()); CV_Assert 287 modules/flann/include/opencv2/flann.hpp CV_Assert(queries.isContinuous()); CV_Assert 290 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.type() == CV_32S); CV_Assert 291 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.isContinuous()); CV_Assert 294 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); CV_Assert 295 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.isContinuous()); CV_Assert 318 modules/flann/include/opencv2/flann.hpp CV_Assert(query.type() == CvType<ElementType>::type()); CV_Assert 319 modules/flann/include/opencv2/flann.hpp CV_Assert(query.isContinuous()); CV_Assert 322 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.type() == CV_32S); CV_Assert 323 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.isContinuous()); CV_Assert 326 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); CV_Assert 327 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.isContinuous()); CV_Assert 409 modules/flann/include/opencv2/flann.hpp CV_Assert(dataset.type() == CvType<ElementType>::type()); CV_Assert 410 modules/flann/include/opencv2/flann.hpp CV_Assert(dataset.isContinuous()); CV_Assert 424 modules/flann/include/opencv2/flann.hpp CV_Assert(0); CV_Assert 452 modules/flann/include/opencv2/flann.hpp CV_Assert(queries.type() == CvType<ElementType>::type()); CV_Assert 453 modules/flann/include/opencv2/flann.hpp CV_Assert(queries.isContinuous()); CV_Assert 456 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.type() == CV_32S); CV_Assert 457 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.isContinuous()); CV_Assert 460 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); CV_Assert 461 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.isContinuous()); CV_Assert 482 modules/flann/include/opencv2/flann.hpp CV_Assert(query.type() == CvType<ElementType>::type()); CV_Assert 483 modules/flann/include/opencv2/flann.hpp CV_Assert(query.isContinuous()); CV_Assert 486 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.type() == CV_32S); CV_Assert 487 modules/flann/include/opencv2/flann.hpp CV_Assert(indices.isContinuous()); CV_Assert 490 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.type() == CvType<DistanceType>::type()); CV_Assert 491 modules/flann/include/opencv2/flann.hpp CV_Assert(dists.isContinuous()); CV_Assert 524 modules/flann/include/opencv2/flann.hpp CV_Assert(features.type() == CvType<ElementType>::type()); CV_Assert 525 modules/flann/include/opencv2/flann.hpp CV_Assert(features.isContinuous()); CV_Assert 528 modules/flann/include/opencv2/flann.hpp CV_Assert(centers.type() == CvType<DistanceType>::type()); CV_Assert 529 modules/flann/include/opencv2/flann.hpp CV_Assert(centers.isContinuous()); CV_Assert 553 modules/flann/include/opencv2/flann.hpp CV_Assert(0); CV_Assert 469 modules/flann/src/miniflann.cpp CV_Assert(query.type() == type && indices.type() == CV_32S && dists.type() == dtype); CV_Assert 470 modules/flann/src/miniflann.cpp CV_Assert(query.isContinuous() && indices.isContinuous() && dists.isContinuous()); CV_Assert 495 modules/flann/src/miniflann.cpp CV_Assert(query.type() == type && indices.type() == CV_32S && dists.type() == dtype); CV_Assert 496 modules/flann/src/miniflann.cpp CV_Assert(query.isContinuous() && indices.isContinuous() && dists.isContinuous()); CV_Assert 598 modules/flann/src/miniflann.cpp CV_Assert( maxResults > 0 ); CV_Assert 705 modules/flann/src/miniflann.cpp CV_Assert(DataType<ElementType>::type == data.type() && data.isContinuous()); CV_Assert 271 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); CV_Assert 279 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); CV_Assert 808 modules/highgui/src/window_QT.cpp CV_Assert(arr); CV_Assert 2395 modules/highgui/src/window_QT.cpp CV_Assert(arr); CV_Assert 1220 modules/highgui/src/window_w32.cpp CV_Assert( FALSE != bDeleteObj ); CV_Assert 133 modules/imgcodecs/src/bitstrm.cpp CV_Assert(buf.isContinuous()); CV_Assert 128 modules/imgcodecs/src/grfmt_hdr.cpp CV_Assert(input_img.channels() == 3 || input_img.channels() == 1); CV_Assert 138 modules/imgcodecs/src/grfmt_hdr.cpp CV_Assert(params.empty() || params[0] == HDR_NONE || params[0] == HDR_RLE); CV_Assert 130 modules/imgcodecs/src/grfmt_png.cpp CV_Assert( decoder ); CV_Assert 330 modules/imgcodecs/src/grfmt_png.cpp CV_Assert( encoder && encoder->m_buf ); CV_Assert 435 modules/imgcodecs/src/loadsave.cpp CV_Assert( image.channels() == 1 || image.channels() == 3 || image.channels() == 4 ); CV_Assert 442 modules/imgcodecs/src/loadsave.cpp CV_Assert( encoder->isFormatSupported(CV_8U) ); CV_Assert 470 modules/imgcodecs/src/loadsave.cpp CV_Assert(!buf.empty() && buf.isContinuous()); CV_Assert 574 modules/imgcodecs/src/loadsave.cpp CV_Assert( channels == 1 || channels == 3 || channels == 4 ); CV_Assert 582 modules/imgcodecs/src/loadsave.cpp CV_Assert( encoder->isFormatSupported(CV_8U) ); CV_Assert 593 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); CV_Assert 599 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); CV_Assert 603 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); CV_Assert 606 modules/imgcodecs/src/loadsave.cpp CV_Assert(f != 0); CV_Assert 667 modules/imgcodecs/src/loadsave.cpp CV_Assert( _buf && CV_IS_MAT_CONT(_buf->type) ); CV_Assert 675 modules/imgcodecs/src/loadsave.cpp CV_Assert( _buf && CV_IS_MAT_CONT(_buf->type) ); CV_Assert 296 modules/imgcodecs/test/test_drawing.cpp CV_Assert(actualSize == n); CV_Assert 308 modules/imgcodecs/test/test_drawing.cpp CV_Assert(actualSize == n); CV_Assert 446 modules/imgcodecs/test/test_drawing.cpp CV_Assert( nz1 == 40 && nz2 == 0 ); CV_Assert 203 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); CV_Assert 204 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.type() == img_test.type()); CV_Assert 205 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(num_channels == img_test.channels()); CV_Assert 231 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); CV_Assert 232 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.type() == img_test.type()); CV_Assert 262 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); CV_Assert 267 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.type() == img_test.type()); CV_Assert 60 modules/imgproc/perf/perf_remap.cpp CV_Assert(0); CV_Assert 793 modules/imgproc/src/accum.cpp CV_Assert(op_type == ACCUMULATE || op_type == ACCUMULATE_SQUARE || CV_Assert 851 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); CV_Assert 852 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_Assert 920 modules/imgproc/src/accum.cpp CV_Assert( func != 0 ); CV_Assert 936 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); CV_Assert 937 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_Assert 1003 modules/imgproc/src/accum.cpp CV_Assert( func != 0 ); CV_Assert 1020 modules/imgproc/src/accum.cpp CV_Assert( _src1.sameSize(_src2) && stype == _src2.type() ); CV_Assert 1021 modules/imgproc/src/accum.cpp CV_Assert( _src1.sameSize(_dst) && dcn == scn ); CV_Assert 1022 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src1.sameSize(_mask) && _mask.type() == CV_8U) ); CV_Assert 1091 modules/imgproc/src/accum.cpp CV_Assert( func != 0 ); CV_Assert 1108 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); CV_Assert 1109 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_Assert 1177 modules/imgproc/src/accum.cpp CV_Assert( func != 0 ); CV_Assert 74 modules/imgproc/src/approx.cpp CV_Assert( CV_IS_SEQ_CHAIN_CONTOUR( chain )); CV_Assert 75 modules/imgproc/src/approx.cpp CV_Assert( header_size >= (int)sizeof(CvContour) ); CV_Assert 679 modules/imgproc/src/approx.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F)); CV_Assert 777 modules/imgproc/src/approx.cpp CV_Assert( CV_SEQ_ELTYPE(src_seq) == CV_32SC2 || CV_Assert 127 modules/imgproc/src/blend.cpp CV_Assert(depth == CV_8U || depth == CV_32F); CV_Assert 128 modules/imgproc/src/blend.cpp CV_Assert(size == _src2.size() && size == _weights1.size() && size == _weights2.size()); CV_Assert 129 modules/imgproc/src/blend.cpp CV_Assert(type == _src2.type() && _weights1.type() == CV_32FC1 && _weights2.type() == CV_32FC1); CV_Assert 587 modules/imgproc/src/canny.cpp CV_Assert( depth == CV_8U ); CV_Assert 967 modules/imgproc/src/canny.cpp CV_Assert( src.size == dst.size && src.depth() == CV_8U && dst.type() == CV_8U ); CV_Assert 354 modules/imgproc/src/clahe.cpp CV_Assert( _src.type() == CV_8UC1 || _src.type() == CV_16UC1 ); CV_Assert 4127 modules/imgproc/src/color.cpp CV_Assert( hrange == 180 || hrange == 256 ); CV_Assert 5099 modules/imgproc/src/color.cpp CV_Assert( coeffs[i] >= 0 && coeffs[i*3+1] >= 0 && coeffs[i*3+2] >= 0 && CV_Assert 5166 modules/imgproc/src/color.cpp CV_Assert( coeffs[j] >= 0 && coeffs[j + 1] >= 0 && coeffs[j + 2] >= 0 && CV_Assert 5540 modules/imgproc/src/color.cpp CV_Assert( coeffs[i*3] >= 0 && coeffs[i*3+1] >= 0 && coeffs[i*3+2] >= 0 && CV_Assert 5548 modules/imgproc/src/color.cpp CV_Assert(whitept[1] == 1.f); CV_Assert 5617 modules/imgproc/src/color.cpp CV_Assert(whitept[1] == 1.f); CV_Assert 6703 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); CV_Assert 6715 modules/imgproc/src/color.cpp CV_Assert((dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U); CV_Assert 6727 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && depth == CV_8U ); CV_Assert 6739 modules/imgproc/src/color.cpp CV_Assert(scn == 2 && depth == CV_8U); CV_Assert 6748 modules/imgproc/src/color.cpp CV_Assert(scn == 1 && depth == CV_8U); CV_Assert 6758 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); CV_Assert 6770 modules/imgproc/src/color.cpp CV_Assert(scn == 1); CV_Assert 6779 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); CV_Assert 6790 modules/imgproc/src/color.cpp CV_Assert(dcn == 3 || dcn == 4); CV_Assert 6799 modules/imgproc/src/color.cpp CV_Assert( scn == 1 ); CV_Assert 6800 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 6817 modules/imgproc/src/color.cpp CV_Assert( scn == 1 ); CV_Assert 6818 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 6837 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); CV_Assert 6838 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 6856 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_Assert 6857 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); CV_Assert 6858 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 2 == 0 ); CV_Assert 6891 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 6892 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_Assert 6902 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); CV_Assert 6914 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); CV_Assert 6922 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); CV_Assert 6973 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); CV_Assert 7023 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)); CV_Assert 7092 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F)); CV_Assert 7108 modules/imgproc/src/color.cpp CV_Assert(scn == 4 && depth == CV_8U); CV_Assert 7118 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 7168 modules/imgproc/src/color.cpp CV_Assert( coeffs[i] >= 0 && coeffs[i*3+1] >= 0 && coeffs[i*3+2] >= 0 && CV_Assert 7203 modules/imgproc/src/color.cpp CV_Assert( coeffs[j] >= 0 && coeffs[j + 1] >= 0 && coeffs[j + 2] >= 0 && CV_Assert 7243 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 7343 modules/imgproc/src/color.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_32F ); CV_Assert 7349 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); CV_Assert 7434 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_Assert 7504 modules/imgproc/src/color.cpp CV_Assert( (dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U ); CV_Assert 7564 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); CV_Assert 7627 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_Assert 7636 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4)); CV_Assert 7680 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && depth == CV_8U ); CV_Assert 7690 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); CV_Assert 7764 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); CV_Assert 7829 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); CV_Assert 7887 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); CV_Assert 7946 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 8064 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 8175 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 8291 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_Assert 8412 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 8413 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 8447 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 8448 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 8478 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); CV_Assert 8479 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_Assert 8506 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_Assert 8507 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); CV_Assert 8508 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 2 == 0 ); CV_Assert 8537 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); CV_Assert 8538 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_Assert 8569 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); CV_Assert 8570 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_Assert 8578 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); CV_Assert 8607 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); CV_Assert 8629 modules/imgproc/src/color.cpp CV_Assert( src.depth() == dst.depth() ); CV_Assert 8632 modules/imgproc/src/color.cpp CV_Assert( dst.data == dst0.data ); CV_Assert 118 modules/imgproc/src/colormap.cpp CV_Assert((x.type() == Y.type()) && (Y.type() == xi.type())); CV_Assert 119 modules/imgproc/src/colormap.cpp CV_Assert((x.cols == 1) && (x.rows == Y.rows) && (x.cols == Y.cols)); CV_Assert 193 modules/imgproc/src/connectedcomponents.cpp CV_Assert(L.rows == I.rows); CV_Assert 194 modules/imgproc/src/connectedcomponents.cpp CV_Assert(L.cols == I.cols); CV_Assert 195 modules/imgproc/src/connectedcomponents.cpp CV_Assert(connectivity == 8 || connectivity == 4); CV_Assert 341 modules/imgproc/src/connectedcomponents.cpp CV_Assert(L.channels() == 1 && I.channels() == 1); CV_Assert 342 modules/imgproc/src/connectedcomponents.cpp CV_Assert(connectivity == 8 || connectivity == 4); CV_Assert 349 modules/imgproc/src/connectedcomponents.cpp CV_Assert(iDepth == CV_8U || iDepth == CV_8S); CV_Assert 1709 modules/imgproc/src/contours.cpp CV_Assert((_contours.kind() == _InputArray::STD_VECTOR_VECTOR || _contours.kind() == _InputArray::STD_VECTOR_MAT || CV_Assert 1712 modules/imgproc/src/contours.cpp CV_Assert(_contours.empty() || (_contours.channels() == 2 && _contours.depth() == CV_32S)); CV_Assert 1736 modules/imgproc/src/contours.cpp CV_Assert( ci.isContinuous() ); CV_Assert 134 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 153 modules/imgproc/src/convhull.cpp CV_Assert(points.isContinuous()); CV_Assert 269 modules/imgproc/src/convhull.cpp CV_Assert( npoints >= 0 ); CV_Assert 279 modules/imgproc/src/convhull.cpp CV_Assert( hpoints > 2 ); CV_Assert 290 modules/imgproc/src/convhull.cpp CV_Assert( 0 <= hcurr && hcurr < npoints ); CV_Assert 295 modules/imgproc/src/convhull.cpp CV_Assert( 0 <= hnext && hnext < npoints ); CV_Assert 382 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 287 modules/imgproc/src/corner.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_32FC1 ); CV_Assert 392 modules/imgproc/src/corner.cpp CV_Assert(depth == CV_8U || depth == CV_32F); CV_Assert 440 modules/imgproc/src/corner.cpp CV_Assert(op_type == HARRIS || op_type == MINEIGENVAL); CV_Assert 674 modules/imgproc/src/corner.cpp CV_Assert( type == CV_8UC1 || type == CV_32FC1 ); CV_Assert 756 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); CV_Assert 766 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); CV_Assert 777 modules/imgproc/src/corner.cpp CV_Assert( src.rows == dst.rows && src.cols*6 == dst.cols*dst.channels() && dst.depth() == CV_32F ); CV_Assert 787 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); CV_Assert 56 modules/imgproc/src/cornersubpix.cpp CV_Assert( count >= 0 ); CV_Assert 62 modules/imgproc/src/cornersubpix.cpp CV_Assert( win.width > 0 && win.height > 0 ); CV_Assert 63 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.cols >= win.width*2 + 5 && src.rows >= win.height*2 + 5 ); CV_Assert 64 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.channels() == 1 ); CV_Assert 1622 modules/imgproc/src/demosaicing.cpp CV_Assert(depth == CV_8U || depth == CV_16U); CV_Assert 1623 modules/imgproc/src/demosaicing.cpp CV_Assert(!src.empty()); CV_Assert 1630 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && dcn == 1 ); CV_Assert 1648 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4) ); CV_Assert 1665 modules/imgproc/src/demosaicing.cpp CV_Assert( depth == CV_8U ); CV_Assert 1675 modules/imgproc/src/demosaicing.cpp CV_Assert(scn == 1 && dcn == 3); CV_Assert 62 modules/imgproc/src/deriv.cpp CV_Assert( ktype == CV_32F || ktype == CV_64F ); CV_Assert 68 modules/imgproc/src/deriv.cpp CV_Assert( dx >= 0 && dy >= 0 && dx+dy == 1 ); CV_Assert 97 modules/imgproc/src/deriv.cpp CV_Assert( ktype == CV_32F || ktype == CV_64F ); CV_Assert 108 modules/imgproc/src/deriv.cpp CV_Assert( dx >= 0 && dy >= 0 && dx+dy > 0 ); CV_Assert 116 modules/imgproc/src/deriv.cpp CV_Assert( ksize > order ); CV_Assert 685 modules/imgproc/src/deriv.cpp CV_Assert(kernelX.cols == kernelY.cols); CV_Assert 949 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); CV_Assert 962 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); CV_Assert 404 modules/imgproc/src/distransform.cpp CV_Assert( metrics != 0 ); CV_Assert 560 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); CV_Assert 562 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1 && dst.type() == CV_32FC1 ); CV_Assert 617 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1 && dst.type() == CV_8UC1 ); CV_Assert 618 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); CV_Assert 686 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1); CV_Assert 716 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1); CV_Assert 723 modules/imgproc/src/distransform.cpp CV_Assert( labelType == DIST_LABEL_PIXEL || labelType == DIST_LABEL_CCOMP ); CV_Assert 774 modules/imgproc/src/distransform.cpp CV_Assert( distType == CV_DIST_C || distType == CV_DIST_L1 || distType == CV_DIST_L2 ); CV_Assert 158 modules/imgproc/src/drawing.cpp CV_Assert( connectivity == 8 || connectivity == 4 ); CV_Assert 1645 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT && thickness >= 0 ); CV_Assert 1669 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= thickness && thickness <= MAX_THICKNESS ); CV_Assert 1670 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); CV_Assert 1704 modules/imgproc/src/drawing.cpp CV_Assert( thickness <= MAX_THICKNESS ); CV_Assert 1705 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); CV_Assert 1730 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); CV_Assert 1745 modules/imgproc/src/drawing.cpp CV_Assert( radius >= 0 && thickness <= MAX_THICKNESS && CV_Assert 1773 modules/imgproc/src/drawing.cpp CV_Assert( axes.width >= 0 && axes.height >= 0 && CV_Assert 1799 modules/imgproc/src/drawing.cpp CV_Assert( box.size.width >= 0 && box.size.height >= 0 && CV_Assert 1823 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); CV_Assert 1836 modules/imgproc/src/drawing.cpp CV_Assert( pts && npts && ncontours >= 0 && 0 <= shift && shift <= XY_SHIFT ); CV_Assert 1861 modules/imgproc/src/drawing.cpp CV_Assert( pts && npts && ncontours >= 0 && CV_Assert 2187 modules/imgproc/src/drawing.cpp CV_Assert(points.checkVector(2, CV_32S) >= 0); CV_Assert 2207 modules/imgproc/src/drawing.cpp CV_Assert(p.checkVector(2, CV_32S) >= 0); CV_Assert 2238 modules/imgproc/src/drawing.cpp CV_Assert(p.checkVector(2, CV_32S) >= 0); CV_Assert 2299 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= contourIdx && contourIdx < (int)last ); CV_Assert 2310 modules/imgproc/src/drawing.cpp CV_Assert( npoints > 0 ); CV_Assert 2324 modules/imgproc/src/drawing.cpp CV_Assert(hierarchy.total() == ncontours && hierarchy.type() == CV_32SC4 ); CV_Assert 2383 modules/imgproc/src/drawing.cpp CV_Assert( thickness <= MAX_THICKNESS ); CV_Assert 2449 modules/imgproc/src/drawing.cpp CV_Assert( elem_type == CV_32SC2 ); CV_Assert 2485 modules/imgproc/src/drawing.cpp CV_Assert( pt1 && pt2 ); CV_Assert 2569 modules/imgproc/src/drawing.cpp CV_Assert( iterator != 0 ); CV_Assert 2659 modules/imgproc/src/drawing.cpp CV_Assert( text != 0 && _font != 0); CV_Assert 2670 modules/imgproc/src/drawing.cpp CV_Assert( font != 0 && hscale > 0 && vscale > 0 && thickness >= 0 ); CV_Assert 2685 modules/imgproc/src/drawing.cpp CV_Assert(text != 0 && _font != 0); CV_Assert 88 modules/imgproc/src/featureselect.cpp CV_Assert(sizeof(Corner) == corners_buffer.elemSize()); CV_Assert 93 modules/imgproc/src/featureselect.cpp CV_Assert(eig.type() == CV_32FC1); CV_Assert 270 modules/imgproc/src/featureselect.cpp CV_Assert( qualityLevel > 0 && minDistance >= 0 && maxCorners >= 0 ); CV_Assert 271 modules/imgproc/src/featureselect.cpp CV_Assert( _mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image)) ); CV_Assert 419 modules/imgproc/src/featureselect.cpp CV_Assert( _corners && _corner_count ); CV_Assert 123 modules/imgproc/src/filter.cpp CV_Assert( columnBorderType != BORDER_WRAP ); CV_Assert 127 modules/imgproc/src/filter.cpp CV_Assert( rowFilter && columnFilter ); CV_Assert 133 modules/imgproc/src/filter.cpp CV_Assert( bufType == srcType ); CV_Assert 138 modules/imgproc/src/filter.cpp CV_Assert( 0 <= anchor.x && anchor.x < ksize.width && CV_Assert 167 modules/imgproc/src/filter.cpp CV_Assert( roi.x >= 0 && roi.y >= 0 && roi.width >= 0 && roi.height >= 0 && CV_Assert 271 modules/imgproc/src/filter.cpp CV_Assert( srcRoi.x >= 0 && srcRoi.y >= 0 && CV_Assert 299 modules/imgproc/src/filter.cpp CV_Assert( wholeSize.width > 0 && wholeSize.height > 0 ); CV_Assert 318 modules/imgproc/src/filter.cpp CV_Assert( src && dst && count > 0 ); CV_Assert 374 modules/imgproc/src/filter.cpp CV_Assert( srcY >= startY ); CV_Assert 391 modules/imgproc/src/filter.cpp CV_Assert( dstY <= roi.height ); CV_Assert 399 modules/imgproc/src/filter.cpp CV_Assert( src.type() == srcType && dst.type() == dstType ); CV_Assert 408 modules/imgproc/src/filter.cpp CV_Assert( dstOfs.x >= 0 && dstOfs.y >= 0 && CV_Assert 428 modules/imgproc/src/filter.cpp CV_Assert( _kernel.channels() == 1 ); CV_Assert 934 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 1082 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 1263 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 1708 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 1848 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 2456 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 2608 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 2787 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 3079 modules/imgproc/src/filter.cpp CV_Assert( kernel.type() == DataType<DT>::type && CV_Assert 3139 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 && this->ksize <= 5 ); CV_Assert 3277 modules/imgproc/src/filter.cpp CV_Assert( kernel.type() == DataType<ST>::type && CV_Assert 3341 modules/imgproc/src/filter.cpp CV_Assert( (symmetryType & (KERNEL_SYMMETRICAL | KERNEL_ASYMMETRICAL)) != 0 ); CV_Assert 3447 modules/imgproc/src/filter.cpp CV_Assert( this->ksize == 3 ); CV_Assert 3630 modules/imgproc/src/filter.cpp CV_Assert( cn == CV_MAT_CN(bufType) && CV_Assert 3685 modules/imgproc/src/filter.cpp CV_Assert( cn == CV_MAT_CN(bufType) && CV_Assert 3786 modules/imgproc/src/filter.cpp CV_Assert( cn == CV_MAT_CN(_dstType) ); CV_Assert 3853 modules/imgproc/src/filter.cpp CV_Assert( ktype == CV_8U || ktype == CV_32S || ktype == CV_32F || ktype == CV_64F ); CV_Assert 3914 modules/imgproc/src/filter.cpp CV_Assert( _kernel.type() == DataType<KT>::type ); CV_Assert 4455 modules/imgproc/src/filter.cpp CV_Assert( cn == CV_MAT_CN(dstType) && ddepth >= sdepth ); CV_Assert 4536 modules/imgproc/src/filter.cpp CV_Assert( cn == CV_MAT_CN(_dstType) ); CV_Assert 4737 modules/imgproc/src/filter.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); CV_Assert 363 modules/imgproc/src/filterengine.hpp CV_Assert( anchor.inside(Rect(0, 0, ksize.width, ksize.height)) ); CV_Assert 554 modules/imgproc/src/floodfill.cpp CV_Assert( mask.rows == size.height+2 && mask.cols == size.width+2 ); CV_Assert 555 modules/imgproc/src/floodfill.cpp CV_Assert( mask.type() == CV_8U ); CV_Assert 73 modules/imgproc/src/gabor.cpp CV_Assert( ktype == CV_32F || ktype == CV_64F ); CV_Assert 116 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); CV_Assert 117 modules/imgproc/src/gcgraph.hpp CV_Assert( j>=0 && j<(int)vtcs.size() ); CV_Assert 118 modules/imgproc/src/gcgraph.hpp CV_Assert( w>=0 && revw>=0 ); CV_Assert 119 modules/imgproc/src/gcgraph.hpp CV_Assert( i != j ); CV_Assert 141 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); CV_Assert 244 modules/imgproc/src/gcgraph.hpp CV_Assert( minWeight > 0 ); CV_Assert 254 modules/imgproc/src/gcgraph.hpp CV_Assert( minWeight > 0 ); CV_Assert 258 modules/imgproc/src/gcgraph.hpp CV_Assert( minWeight > 0 ); CV_Assert 381 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); CV_Assert 114 modules/imgproc/src/generalized_hough.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 115 modules/imgproc/src/generalized_hough.cpp CV_Assert( cannyLowThresh_ > 0 && cannyLowThresh_ < cannyHighThresh_ ); CV_Assert 141 modules/imgproc/src/generalized_hough.cpp CV_Assert( templEdges_.type() == CV_8UC1 ); CV_Assert 142 modules/imgproc/src/generalized_hough.cpp CV_Assert( templDx_.type() == CV_32FC1 && templDx_.size() == templEdges_.size() ); CV_Assert 143 modules/imgproc/src/generalized_hough.cpp CV_Assert( templDy_.type() == templDx_.type() && templDy_.size() == templEdges_.size() ); CV_Assert 185 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageEdges_.type() == CV_8UC1 ); CV_Assert 186 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageEdges_.size() ); CV_Assert 187 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageEdges_.size() ); CV_Assert 223 modules/imgproc/src/generalized_hough.cpp CV_Assert( !hasVotes || voteOutBuf_.size() == oldSize ); CV_Assert 303 modules/imgproc/src/generalized_hough.cpp CV_Assert( !hasVotes || voteOutBuf_.size() == posOutBuf_.size() ); CV_Assert 383 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 418 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageEdges_.type() == CV_8UC1 ); CV_Assert 419 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageSize_); CV_Assert 420 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageSize_); CV_Assert 421 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 && r_table_.size() == static_cast<size_t>(levels_ + 1) ); CV_Assert 422 modules/imgproc/src/generalized_hough.cpp CV_Assert( dp_ > 0.0 ); CV_Assert 467 modules/imgproc/src/generalized_hough.cpp CV_Assert( votesThreshold_ > 0 ); CV_Assert 683 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 733 modules/imgproc/src/generalized_hough.cpp CV_Assert( edges.type() == CV_8UC1 ); CV_Assert 734 modules/imgproc/src/generalized_hough.cpp CV_Assert( dx.type() == CV_32FC1 && dx.size == edges.size ); CV_Assert 735 modules/imgproc/src/generalized_hough.cpp CV_Assert( dy.type() == dx.type() && dy.size == edges.size ); CV_Assert 763 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 764 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); CV_Assert 765 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); CV_Assert 766 modules/imgproc/src/generalized_hough.cpp CV_Assert( minAngle_ >= 0.0 && minAngle_ < maxAngle_ && maxAngle_ <= 360.0 ); CV_Assert 767 modules/imgproc/src/generalized_hough.cpp CV_Assert( angleStep_ > 0.0 && angleStep_ < 360.0 ); CV_Assert 768 modules/imgproc/src/generalized_hough.cpp CV_Assert( angleThresh_ > 0 ); CV_Assert 811 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 812 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); CV_Assert 813 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); CV_Assert 814 modules/imgproc/src/generalized_hough.cpp CV_Assert( minScale_ > 0.0 && minScale_ < maxScale_ ); CV_Assert 815 modules/imgproc/src/generalized_hough.cpp CV_Assert( scaleStep_ > 0.0 ); CV_Assert 816 modules/imgproc/src/generalized_hough.cpp CV_Assert( scaleThresh_ > 0 ); CV_Assert 865 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 ); CV_Assert 866 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); CV_Assert 867 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); CV_Assert 868 modules/imgproc/src/generalized_hough.cpp CV_Assert( dp_ > 0.0 ); CV_Assert 869 modules/imgproc/src/generalized_hough.cpp CV_Assert( posThresh_ > 0 ); CV_Assert 101 modules/imgproc/src/geometry.cpp CV_Assert( total >= 0 && (depth == CV_32S || depth == CV_32F)); CV_Assert 508 modules/imgproc/src/geometry.cpp CV_Assert( p1.depth() == CV_32S || p1.depth() == CV_32F ); CV_Assert 509 modules/imgproc/src/geometry.cpp CV_Assert( p2.depth() == CV_32S || p2.depth() == CV_32F ); CV_Assert 514 modules/imgproc/src/geometry.cpp CV_Assert( n >= 0 && m >= 0 ); CV_Assert 535 modules/imgproc/src/geometry.cpp CV_Assert( temp.ptr<Point2f>() == dst ); CV_Assert 122 modules/imgproc/src/grabcut.cpp CV_Assert( covDeterms[ci] > std::numeric_limits<double>::epsilon() ); CV_Assert 216 modules/imgproc/src/grabcut.cpp CV_Assert( dtrm > std::numeric_limits<double>::epsilon() ); CV_Assert 379 modules/imgproc/src/grabcut.cpp CV_Assert( !bgdSamples.empty() && !fgdSamples.empty() ); CV_Assert 122 modules/imgproc/src/histogram.cpp CV_Assert( channels != 0 || nimages == dims ); CV_Assert 137 modules/imgproc/src/histogram.cpp CV_Assert( images[j].channels() == 1 ); CV_Assert 142 modules/imgproc/src/histogram.cpp CV_Assert( c >= 0 ); CV_Assert 146 modules/imgproc/src/histogram.cpp CV_Assert( j < nimages ); CV_Assert 149 modules/imgproc/src/histogram.cpp CV_Assert( images[j].size() == imsize && images[j].depth() == depth ); CV_Assert 159 modules/imgproc/src/histogram.cpp CV_Assert( mask.size() == imsize && mask.channels() == 1 ); CV_Assert 176 modules/imgproc/src/histogram.cpp CV_Assert( depth == CV_8U ); CV_Assert 190 modules/imgproc/src/histogram.cpp CV_Assert( ranges[i] && ranges[i][0] < ranges[i][1] ); CV_Assert 203 modules/imgproc/src/histogram.cpp CV_Assert( ranges[i][k] < ranges[i][k+1] ); CV_Assert 1229 modules/imgproc/src/histogram.cpp CV_Assert(dims > 0 && histSize); CV_Assert 1277 modules/imgproc/src/histogram.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); CV_Assert 1450 modules/imgproc/src/histogram.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); CV_Assert 1562 modules/imgproc/src/histogram.cpp CV_Assert(nimages > 0 && dims > 0); CV_Assert 1563 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 0 && images.depth(0) == CV_8U)); CV_Assert 1564 modules/imgproc/src/histogram.cpp CV_Assert(csz == 0 || csz == dims); CV_Assert 1887 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && !hist.empty() ); CV_Assert 2049 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 ); CV_Assert 2110 modules/imgproc/src/histogram.cpp CV_Assert(nimages > 0); CV_Assert 2122 modules/imgproc/src/histogram.cpp CV_Assert(size == m.size() && depth == m.depth()); CV_Assert 2127 modules/imgproc/src/histogram.cpp CV_Assert(channels[i] < (int)totalcn); CV_Assert 2133 modules/imgproc/src/histogram.cpp CV_Assert(idx >= 0); CV_Assert 2168 modules/imgproc/src/histogram.cpp CV_Assert(idx0 >= 0 && idx1 >= 0); CV_Assert 2237 modules/imgproc/src/histogram.cpp CV_Assert( H0.isContinuous() ); CV_Assert 2250 modules/imgproc/src/histogram.cpp CV_Assert(nimages > 0); CV_Assert 2251 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 2 && _1d) || (rsz == 0 && images.depth(0) == CV_8U)); CV_Assert 2252 modules/imgproc/src/histogram.cpp CV_Assert(csz == 0 || csz == dims || (csz == 1 && _1d)); CV_Assert 2281 modules/imgproc/src/histogram.cpp CV_Assert( H1.type() == H2.type() && H1.depth() == CV_32F ); CV_Assert 2285 modules/imgproc/src/histogram.cpp CV_Assert( it.planes[0].isContinuous() && it.planes[1].isContinuous() ); CV_Assert 2483 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && dims == H2.dims() && H1.type() == H2.type() && H1.type() == CV_32F ); CV_Assert 2485 modules/imgproc/src/histogram.cpp CV_Assert( H1.size(i) == H2.size(i) ); CV_Assert 3272 modules/imgproc/src/histogram.cpp CV_Assert( _dst.size() == images[0].size() && _dst.depth() == images[0].depth() ); CV_Assert 3624 modules/imgproc/src/histogram.cpp CV_Assert( _src.type() == CV_8UC1 ); CV_Assert 86 modules/imgproc/src/hough.cpp CV_Assert( img.type() == CV_8UC1 ); CV_Assert 224 modules/imgproc/src/hough.cpp CV_Assert( img.type() == CV_8UC1 ); CV_Assert 225 modules/imgproc/src/hough.cpp CV_Assert( linesMax > 0 ); CV_Assert 424 modules/imgproc/src/hough.cpp CV_Assert( image.type() == CV_8UC1 ); CV_Assert 733 modules/imgproc/src/hough.cpp CV_Assert(_src.type() == CV_8UC1); CV_Assert 793 modules/imgproc/src/hough.cpp CV_Assert(_src.type() == CV_8UC1); CV_Assert 1699 modules/imgproc/src/imgwarp.cpp CV_Assert(ksize <= MAX_ESIZE); CV_Assert 2076 modules/imgproc/src/imgwarp.cpp CV_Assert(cn == 4); CV_Assert 2172 modules/imgproc/src/imgwarp.cpp CV_Assert(cn == 4); CV_Assert 2260 modules/imgproc/src/imgwarp.cpp CV_Assert(cn == 4); CV_Assert 2385 modules/imgproc/src/imgwarp.cpp CV_Assert(cn == 4); CV_Assert 3208 modules/imgproc/src/imgwarp.cpp CV_Assert( ssize.area() > 0 ); CV_Assert 3209 modules/imgproc/src/imgwarp.cpp CV_Assert( dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0) ); CV_Assert 3214 modules/imgproc/src/imgwarp.cpp CV_Assert( dsize.area() > 0 ); CV_Assert 3306 modules/imgproc/src/imgwarp.cpp CV_Assert( func != 0 ); CV_Assert 3325 modules/imgproc/src/imgwarp.cpp CV_Assert( func != 0 && cn <= 4 ); CV_Assert 3366 modules/imgproc/src/imgwarp.cpp CV_Assert( func != 0 ); CV_Assert 3821 modules/imgproc/src/imgwarp.cpp CV_Assert( ssize.area() > 0 ); CV_Assert 4507 modules/imgproc/src/imgwarp.cpp CV_Assert( map1.type() == CV_32FC2 || (map1.type() == CV_32FC1 && map2.type() == CV_32FC1) ); CV_Assert 4661 modules/imgproc/src/imgwarp.cpp CV_Assert( _map1.size().area() > 0 ); CV_Assert 4662 modules/imgproc/src/imgwarp.cpp CV_Assert( _map2.empty() || (_map2.size() == _map1.size())); CV_Assert 4728 modules/imgproc/src/imgwarp.cpp CV_Assert( nnfunc != 0 ); CV_Assert 4740 modules/imgproc/src/imgwarp.cpp CV_Assert( ifunc != 0 ); CV_Assert 4754 modules/imgproc/src/imgwarp.cpp CV_Assert( ((map1.type() == CV_32FC2 || map1.type() == CV_16SC2) && map2.empty()) || CV_Assert 4775 modules/imgproc/src/imgwarp.cpp CV_Assert( (m1type == CV_16SC2 && (nninterpolate || m2type == CV_16UC1 || m2type == CV_16SC1)) || CV_Assert 4788 modules/imgproc/src/imgwarp.cpp CV_Assert( dstm1type == CV_16SC2 || dstm1type == CV_32FC1 || dstm1type == CV_32FC2 ); CV_Assert 5465 modules/imgproc/src/imgwarp.cpp CV_Assert(op_type == OCL_OP_AFFINE || op_type == OCL_OP_PERSPECTIVE); CV_Assert 5528 modules/imgproc/src/imgwarp.cpp CV_Assert( (M1.type() == CV_32F || M1.type() == CV_64F) && CV_Assert 5573 modules/imgproc/src/imgwarp.cpp CV_Assert( src.cols > 0 && src.rows > 0 ); CV_Assert 5583 modules/imgproc/src/imgwarp.cpp CV_Assert( (M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 2 && M0.cols == 3 ); CV_Assert 5652 modules/imgproc/src/imgwarp.cpp CV_Assert(mode && ippFunc); CV_Assert 6090 modules/imgproc/src/imgwarp.cpp CV_Assert( _src.total() > 0 ); CV_Assert 6109 modules/imgproc/src/imgwarp.cpp CV_Assert( (M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 3 && M0.cols == 3 ); CV_Assert 6156 modules/imgproc/src/imgwarp.cpp CV_Assert(mode && ippFunc); CV_Assert 6301 modules/imgproc/src/imgwarp.cpp CV_Assert(matM.rows == 2 && matM.cols == 3); CV_Assert 6342 modules/imgproc/src/imgwarp.cpp CV_Assert(src.checkVector(2, CV_32F) == 4 && dst.checkVector(2, CV_32F) == 4); CV_Assert 6349 modules/imgproc/src/imgwarp.cpp CV_Assert(src.checkVector(2, CV_32F) == 3 && dst.checkVector(2, CV_32F) == 3); CV_Assert 6357 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); CV_Assert 6369 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); CV_Assert 6381 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); CV_Assert 6394 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() && dst.size() == mapx.size() ); CV_Assert 6398 modules/imgproc/src/imgwarp.cpp CV_Assert( dst0.data == dst.data ); CV_Assert 6407 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); CV_Assert 6420 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); CV_Assert 6433 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); CV_Assert 245 modules/imgproc/src/intersection.cpp CV_Assert( intersection.size() <= 8 ); CV_Assert 603 modules/imgproc/src/linefit.cpp CV_Assert( npoints2 >= 0 || npoints3 >= 0 ); CV_Assert 627 modules/imgproc/src/linefit.cpp CV_Assert(line != 0); CV_Assert 407 modules/imgproc/src/lsd.cpp CV_Assert(_scale > 0 && _sigma_scale > 0 && _quant >= 0 && CV_Assert 416 modules/imgproc/src/lsd.cpp CV_Assert(!img.empty() && img.channels() == 1); CV_Assert 556 modules/imgproc/src/lsd.cpp CV_Assert(scaled_image.isContinuous() && CV_Assert 702 modules/imgproc/src/lsd.cpp CV_Assert(sum > 0); CV_Assert 767 modules/imgproc/src/lsd.cpp CV_Assert(!(double_equal(Ixx, 0) && double_equal(Iyy, 0) && double_equal(Ixy, 0))); CV_Assert 1157 modules/imgproc/src/lsd.cpp CV_Assert(!_image.empty() && (_image.channels() == 1 || _image.channels() == 3)); CV_Assert 1196 modules/imgproc/src/lsd.cpp CV_Assert(sz.area()); CV_Assert 1229 modules/imgproc/src/lsd.cpp CV_Assert(_image.channels() == 3); CV_Assert 1231 modules/imgproc/src/lsd.cpp CV_Assert(img.isContinuous() && I1.isContinuous() && I2.isContinuous()); CV_Assert 339 modules/imgproc/src/min_enclosing_triangle.cpp CV_Assert((pointsMat.checkVector(2) > 0) && CV_Assert 1440 modules/imgproc/src/min_enclosing_triangle.cpp CV_Assert(areEqualPoints(p, q) == false); CV_Assert 101 modules/imgproc/src/moments.cpp CV_Assert( contour.depth() == CV_32S || contour.depth() == CV_32F ); CV_Assert 761 modules/imgproc/src/moments.cpp CV_Assert( hu.isContinuous() ); CV_Assert 775 modules/imgproc/src/moments.cpp CV_Assert( moments != 0 ); CV_Assert 186 modules/imgproc/src/morph.cpp CV_Assert( ((size_t)src[i] & 15) == 0 ); CV_Assert 289 modules/imgproc/src/morph.cpp CV_Assert( ((size_t)_src[i] & 15) == 0 ); CV_Assert 791 modules/imgproc/src/morph.cpp CV_Assert( _kernel.type() == CV_8U ); CV_Assert 856 modules/imgproc/src/morph.cpp CV_Assert( op == MORPH_ERODE || op == MORPH_DILATE ); CV_Assert 903 modules/imgproc/src/morph.cpp CV_Assert( op == MORPH_ERODE || op == MORPH_DILATE ); CV_Assert 951 modules/imgproc/src/morph.cpp CV_Assert( op == MORPH_ERODE || op == MORPH_DILATE ); CV_Assert 1009 modules/imgproc/src/morph.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_16S || CV_Assert 1034 modules/imgproc/src/morph.cpp CV_Assert( shape == MORPH_RECT || shape == MORPH_CROSS || shape == MORPH_ELLIPSE ); CV_Assert 1354 modules/imgproc/src/morph.cpp CV_Assert(actual_op <= 3 || haveExtraMat); CV_Assert 1513 modules/imgproc/src/morph.cpp CV_Assert(actual_op <= 3 || haveExtraMat); CV_Assert 1892 modules/imgproc/src/morph.cpp CV_Assert( cols > 0 && rows > 0 && anchor.inside(cv::Rect(0,0,cols,rows)) && CV_Assert 1952 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); CV_Assert 1963 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); CV_Assert 1975 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); CV_Assert 48 modules/imgproc/src/phasecorr.cpp CV_Assert( type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2 ); CV_Assert 164 modules/imgproc/src/phasecorr.cpp CV_Assert( type == srcB.type() && srcA.size() == srcB.size() ); CV_Assert 165 modules/imgproc/src/phasecorr.cpp CV_Assert( type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2 ); CV_Assert 414 modules/imgproc/src/phasecorr.cpp CV_Assert( type == CV_32FC1 || type == CV_64FC1 ); CV_Assert 497 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.type() == src2.type()); CV_Assert 498 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.type() == CV_32FC1 || src1.type() == CV_64FC1 ); CV_Assert 499 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.size == src2.size); CV_Assert 503 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.type() == window.type()); CV_Assert 504 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.size == window.size); CV_Assert 574 modules/imgproc/src/phasecorr.cpp CV_Assert( type == CV_32FC1 || type == CV_64FC1 ); CV_Assert 856 modules/imgproc/src/pyramids.cpp CV_Assert( !_src.empty() ); CV_Assert 869 modules/imgproc/src/pyramids.cpp CV_Assert( ssize.width > 0 && ssize.height > 0 && CV_Assert 993 modules/imgproc/src/pyramids.cpp CV_Assert( std::abs(dsize.width - ssize.width*2) == dsize.width % 2 && CV_Assert 1079 modules/imgproc/src/pyramids.cpp CV_Assert( ssize.width > 0 && ssize.height > 0 && CV_Assert 1171 modules/imgproc/src/pyramids.cpp CV_Assert(borderType != BORDER_CONSTANT); CV_Assert 1248 modules/imgproc/src/pyramids.cpp CV_Assert(borderType == BORDER_DEFAULT); CV_Assert 1325 modules/imgproc/src/pyramids.cpp CV_Assert(borderType != BORDER_CONSTANT); CV_Assert 1443 modules/imgproc/src/pyramids.cpp CV_Assert( _filter == CV_GAUSSIAN_5x5 && src.type() == dst.type()); CV_Assert 1451 modules/imgproc/src/pyramids.cpp CV_Assert( _filter == CV_GAUSSIAN_5x5 && src.type() == dst.type()); CV_Assert 166 modules/imgproc/src/rotcalipers.cpp CV_Assert( orientation != 0 ); CV_Assert 372 modules/imgproc/src/samplers.cpp CV_Assert( cn == 1 || cn == 3 ); CV_Assert 427 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); CV_Assert 439 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); CV_Assert 456 modules/imgproc/src/samplers.cpp CV_Assert( src.depth() == dst.depth() ); CV_Assert 159 modules/imgproc/src/segmentation.cpp CV_Assert( src.type() == CV_8UC3 && dst.type() == CV_32SC1 ); CV_Assert 160 modules/imgproc/src/segmentation.cpp CV_Assert( src.size() == dst.size() ); CV_Assert 167 modules/imgproc/src/shapedescr.cpp CV_Assert( mi >= 0 ); CV_Assert 188 modules/imgproc/src/shapedescr.cpp CV_Assert( pointInCircle( pts[i], center, radius ) >= 0 ); CV_Assert 206 modules/imgproc/src/shapedescr.cpp CV_Assert(count >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 301 modules/imgproc/src/shapedescr.cpp CV_Assert( count >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 343 modules/imgproc/src/shapedescr.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 374 modules/imgproc/src/shapedescr.cpp CV_Assert( n >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 487 modules/imgproc/src/shapedescr.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); CV_Assert 605 modules/imgproc/src/shapedescr.cpp CV_Assert( img.depth() <= CV_8S && img.channels() == 1 ); CV_Assert 725 modules/imgproc/src/shapedescr.cpp CV_Assert( (*buf1 != NULL || *buf2 != NULL) && *buf3 != NULL ); CV_Assert 769 modules/imgproc/src/shapedescr.cpp CV_Assert( contour != NULL && CV_IS_SEQ_POINT_SET( contour )); CV_Assert 153 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 268 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 442 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 610 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 776 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 930 modules/imgproc/src/smooth.cpp CV_Assert( sumCount == ksize-1 ); CV_Assert 1215 modules/imgproc/src/smooth.cpp CV_Assert( CV_MAT_CN(sumType) == CV_MAT_CN(srcType) ); CV_Assert 1251 modules/imgproc/src/smooth.cpp CV_Assert( CV_MAT_CN(sumType) == CV_MAT_CN(dstType) ); CV_Assert 1463 modules/imgproc/src/smooth.cpp CV_Assert( CV_MAT_CN(sumType) == CV_MAT_CN(srcType) ); CV_Assert 1549 modules/imgproc/src/smooth.cpp CV_Assert( ktype == CV_32F || ktype == CV_64F ); CV_Assert 1602 modules/imgproc/src/smooth.cpp CV_Assert( ksize.width > 0 && ksize.width % 2 == 1 && CV_Assert 2637 modules/imgproc/src/smooth.cpp CV_Assert( (ksize % 2 == 1) && (_src0.dims() <= 2 )); CV_Assert 2737 modules/imgproc/src/smooth.cpp CV_Assert( src.depth() == CV_8U && (cn == 1 || cn == 3 || cn == 4) ); CV_Assert 3066 modules/imgproc/src/smooth.cpp CV_Assert( (src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.data != dst.data ); CV_Assert 3224 modules/imgproc/src/smooth.cpp CV_Assert( cn == 3 ); CV_Assert 3332 modules/imgproc/src/smooth.cpp CV_Assert( (src.type() == CV_32FC1 || src.type() == CV_32FC3) && src.data != dst.data ); CV_Assert 3437 modules/imgproc/src/smooth.cpp CV_Assert( dst.size() == src.size() && CV_Assert 289 modules/imgproc/src/subdivision2d.cpp CV_Assert(edge > 0); CV_Assert 672 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(edge, &t) > 0 ); CV_Assert 681 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeOrg( edge, &t ) > 0 ); CV_Assert 809 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeOrg(e) == edgeOrg(o_next)); CV_Assert 810 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeOrg(e) == edgeOrg(o_prev)); CV_Assert 811 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(e) == edgeDst(d_next)); CV_Assert 812 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(e) == edgeDst(d_prev)); CV_Assert 816 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(o_next) == edgeOrg(d_prev)); CV_Assert 817 modules/imgproc/src/subdivision2d.cpp CV_Assert( edgeDst(o_prev) == edgeOrg(d_next)); CV_Assert 818 modules/imgproc/src/subdivision2d.cpp CV_Assert( getEdge(getEdge(getEdge(e,NEXT_AROUND_LEFT),NEXT_AROUND_LEFT),NEXT_AROUND_LEFT) == e ); CV_Assert 819 modules/imgproc/src/subdivision2d.cpp CV_Assert( getEdge(getEdge(getEdge(e,NEXT_AROUND_RIGHT),NEXT_AROUND_RIGHT),NEXT_AROUND_RIGHT) == e); CV_Assert 569 modules/imgproc/src/sumpixels.cpp CV_Assert( sum.data == sum0.data && sqsum.data == sqsum0.data && tilted.data == tilted0.data ); CV_Assert 172 modules/imgproc/src/templmatch.cpp CV_Assert(_image.type() == CV_32F); CV_Assert 173 modules/imgproc/src/templmatch.cpp CV_Assert(_templ.type() == CV_32F); CV_Assert 648 modules/imgproc/src/templmatch.cpp CV_Assert( img.dims <= 2 && templ.dims <= 2 && corr.dims <= 2 ); CV_Assert 656 modules/imgproc/src/templmatch.cpp CV_Assert( depth == tdepth || tdepth == CV_32F); CV_Assert 657 modules/imgproc/src/templmatch.cpp CV_Assert( corrsize.height <= img.rows + templ.rows - 1 && CV_Assert 660 modules/imgproc/src/templmatch.cpp CV_Assert( ccn == 1 || delta == 0 ); CV_Assert 821 modules/imgproc/src/templmatch.cpp CV_Assert( CV_TM_SQDIFF <= method && method <= CV_TM_CCOEFF_NORMED ); CV_Assert 822 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); CV_Assert 909 modules/imgproc/src/templmatch.cpp CV_Assert( CV_TM_SQDIFF <= method && method <= CV_TM_CCOEFF_NORMED ); CV_Assert 910 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); CV_Assert 915 modules/imgproc/src/templmatch.cpp CV_Assert(_img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width); CV_Assert 1091 modules/imgproc/src/templmatch.cpp CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, CV_Assert 1195 modules/imgproc/src/thresh.cpp CV_Assert( automatic_thresh != (CV_THRESH_OTSU | CV_THRESH_TRIANGLE) ); CV_Assert 1198 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 1203 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 1280 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); CV_Assert 1281 modules/imgproc/src/thresh.cpp CV_Assert( blockSize % 2 == 1 && blockSize > 1 ); CV_Assert 1342 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() && CV_Assert 1357 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); CV_Assert 71 modules/imgproc/src/undistort.cpp CV_Assert( m1type == CV_16SC2 || m1type == CV_32FC1 || m1type == CV_32FC2 ); CV_Assert 101 modules/imgproc/src/undistort.cpp CV_Assert( A.size() == Size(3,3) && A.size() == R.size() ); CV_Assert 102 modules/imgproc/src/undistort.cpp CV_Assert( Ar.size() == Size(3,3) || Ar.size() == Size(4, 3)); CV_Assert 109 modules/imgproc/src/undistort.cpp CV_Assert( distCoeffs.size() == Size(1, 4) || distCoeffs.size() == Size(4, 1) || CV_Assert 179 modules/imgproc/src/undistort.cpp CV_Assert( dst.data != src.data ); CV_Assert 224 modules/imgproc/src/undistort.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); CV_Assert 240 modules/imgproc/src/undistort.cpp CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data ); CV_Assert 261 modules/imgproc/src/undistort.cpp CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data ); CV_Assert 280 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(_src) && CV_IS_MAT(_dst) && CV_Assert 287 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(_cameraMatrix) && CV_Assert 294 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(_distCoeffs) && CV_Assert 310 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(matR) && matR->rows == 3 && matR->cols == 3 ); CV_Assert 320 modules/imgproc/src/undistort.cpp CV_Assert( CV_IS_MAT(matP) && matP->rows == 3 && (matP->cols == 3 || matP->cols == 4)); CV_Assert 400 modules/imgproc/src/undistort.cpp CV_Assert( src.isContinuous() && (src.depth() == CV_32F || src.depth() == CV_64F) && CV_Assert 515 modules/imgproc/src/undistort.cpp CV_Assert((distCoeffs0.cols == 1 || distCoeffs0.rows == 1) && CV_Assert 517 modules/imgproc/src/undistort.cpp CV_Assert(cameraMatrix0.size() == Size(3,3)); CV_Assert 47 modules/imgproc/src/utils.cpp CV_Assert( arr != 0 && contour_header != 0 && block != 0 ); CV_Assert 86 modules/imgproc/src/utils.cpp CV_Assert( dst.type() == src.type() ); CV_Assert 92 modules/imgproc/test/ocl/test_blend.cpp CV_Assert(checkNorm2(weights2_roi, weights2(Rect(weights2Border.lef, weights2Border.top, CV_Assert 190 modules/imgproc/test/ocl/test_warp.cpp CV_Assert(fx > 0 && fy > 0); CV_Assert 111 modules/imgproc/test/test_bilateral_filter.cpp CV_Assert( (src.type() == CV_32FC1 || src.type() == CV_32FC3) && CV_Assert 1696 modules/imgproc/test/test_color.cpp CV_Assert( !given.empty() && !gold.empty() ); CV_Assert 1719 modules/imgproc/test/test_color.cpp CV_Assert( !given.empty() ); CV_Assert 1822 modules/imgproc/test/test_color.cpp CV_Assert(!bayer.empty() && bayer.type() == CV_8UC1); CV_Assert 1936 modules/imgproc/test/test_color.cpp CV_Assert(ssize.width == ssize.height); CV_Assert 1963 modules/imgproc/test/test_color.cpp CV_Assert(dcn == 3); CV_Assert 2126 modules/imgproc/test/test_color.cpp CV_Assert(!bayer.empty() && (bayer.type() == CV_8UC1 || bayer.type() == CV_16UC1)); CV_Assert 2149 modules/imgproc/test/test_color.cpp CV_Assert(raw.channels() == 1); CV_Assert 2150 modules/imgproc/test/test_color.cpp CV_Assert(raw.depth() == CV_8U); CV_Assert 2151 modules/imgproc/test/test_color.cpp CV_Assert(!raw.empty()); CV_Assert 1349 modules/imgproc/test/test_convhull.cpp CV_Assert( fabs(e.center.x - 4) <= 1. && CV_Assert 1300 modules/imgproc/test/test_filter.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_32FC1 ); CV_Assert 1301 modules/imgproc/test/test_filter.cpp CV_Assert( eigenv.type() == CV_32FC1 ); CV_Assert 1302 modules/imgproc/test/test_filter.cpp CV_Assert( src.rows == eigenv.rows && CV_Assert 1662 modules/imgproc/test/test_filter.cpp CV_Assert( img.depth() == CV_32F ); CV_Assert 1106 modules/imgproc/test/test_imgwarp.cpp CV_Assert( src.depth() == CV_32F && src.type() == dst.type() ); CV_Assert 1627 modules/imgproc/test/test_imgwarp.cpp CV_Assert(0); CV_Assert 205 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(scale_x > 0.0f && scale_y > 0.0f); CV_Assert 454 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(w >= 0); CV_Assert 461 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(ssize.area() > 0 && dsize.area() > 0); CV_Assert 464 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(scale_x >= 1.0 && scale_y >= 1.0); CV_Assert 471 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(isy1 <= ssize.height && isy0 < ssize.height); CV_Assert 480 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(isx1 <= ssize.width); CV_Assert 481 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(isx0 < ssize.width); CV_Assert 501 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(area != 0); CV_Assert 571 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(0); CV_Assert 588 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(dsize.area() > 0 && ssize.area() > 0); CV_Assert 754 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(0); CV_Assert 774 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(((interpolation == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16UC1 || CV_Assert 829 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.depth() == CV_32F && _dst.type() == _src.type()); CV_Assert 830 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && mapy.empty()); CV_Assert 833 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(ssize.area() > 0 && dsize.area() > 0); CV_Assert 862 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(sx >= 0 && sy >= 0 && sx < ssize.width && sy < ssize.height); CV_Assert 876 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && mapy.type() == CV_16UC1); CV_Assert 887 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.depth() == CV_32F && _dst.type() == _src.type()); CV_Assert 1055 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.size().area() > 0); CV_Assert 1056 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(dsize.area() > 0); CV_Assert 1057 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.type() == _dst.type()); CV_Assert 1100 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16SC1)); CV_Assert 1171 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(ssize.area() > 0); CV_Assert 1172 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(dsize.area() > 0); CV_Assert 1173 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.type() == _dst.type()); CV_Assert 1227 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16SC1)); CV_Assert 120 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_NONE); CV_Assert 121 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.empty()); CV_Assert 146 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 147 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); CV_Assert 169 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 194 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 195 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 3); CV_Assert 216 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 242 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_FULL); CV_Assert 243 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); CV_Assert 265 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 291 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 292 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 8); CV_Assert 318 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 344 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 345 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); CV_Assert 367 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 393 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_FULL); CV_Assert 394 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); CV_Assert 416 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 442 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 443 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 1); CV_Assert 449 modules/imgproc/test/test_intersection.cpp CV_Assert(r < ACCURACY); CV_Assert 474 modules/imgproc/test/test_intersection.cpp CV_Assert(ret == INTERSECT_PARTIAL); CV_Assert 475 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 2); CV_Assert 495 modules/imgproc/test/test_intersection.cpp CV_Assert(bestR < ACCURACY); CV_Assert 456 modules/imgproc/test/test_moments.cpp CV_Assert( m.m00 == 0 && m.m01 == 0 && m.m10 == 0 && area == 0 ); CV_Assert 31 modules/java/generator/src/cpp/utils.cpp CV_Assert( AndroidBitmap_getInfo(env, bitmap, &info) >= 0 ); CV_Assert 32 modules/java/generator/src/cpp/utils.cpp CV_Assert( info.format == ANDROID_BITMAP_FORMAT_RGBA_8888 || CV_Assert 34 modules/java/generator/src/cpp/utils.cpp CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); CV_Assert 35 modules/java/generator/src/cpp/utils.cpp CV_Assert( pixels ); CV_Assert 94 modules/java/generator/src/cpp/utils.cpp CV_Assert( AndroidBitmap_getInfo(env, bitmap, &info) >= 0 ); CV_Assert 95 modules/java/generator/src/cpp/utils.cpp CV_Assert( info.format == ANDROID_BITMAP_FORMAT_RGBA_8888 || CV_Assert 97 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.dims == 2 && info.height == (uint32_t)src.rows && info.width == (uint32_t)src.cols ); CV_Assert 98 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_8UC3 || src.type() == CV_8UC4 ); CV_Assert 99 modules/java/generator/src/cpp/utils.cpp CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); CV_Assert 100 modules/java/generator/src/cpp/utils.cpp CV_Assert( pixels ); CV_Assert 251 modules/ml/src/ann_mlp.cpp CV_Assert( (type == CV_32F || type == CV_64F) && inputs.cols == layer_sizes[0] ); CV_Assert 270 modules/ml/src/ann_mlp.cpp CV_Assert( n == 1 ); CV_Assert 392 modules/ml/src/ann_mlp.cpp CV_Assert( sums.isContinuous() ); CV_Assert 1055 modules/ml/src/ann_mlp.cpp CV_Assert(weights[i].size() == Size(n2, n1+1)); CV_Assert 1187 modules/ml/src/ann_mlp.cpp CV_Assert( activ_func >= 0 ); CV_Assert 1278 modules/ml/src/ann_mlp.cpp CV_Assert( 0 <= layerIdx && layerIdx < (int)weights.size() ); CV_Assert 268 modules/ml/src/boost.cpp CV_Assert( std::abs(w->ord_responses[si]) == 1 ); CV_Assert 434 modules/ml/src/boost.cpp CV_Assert( ntrees == (int)trees_node.size() ); CV_Assert 59 modules/ml/src/data.cpp CV_Assert( type == CV_32S || type == CV_32F || type == CV_64F ); CV_Assert 83 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); CV_Assert 94 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); CV_Assert 105 modules/ml/src/data.cpp CV_Assert( 0 <= k && k < m ); CV_Assert 199 modules/ml/src/data.cpp CV_Assert( 0 <= vi && vi < n ); CV_Assert 237 modules/ml/src/data.cpp CV_Assert(_layout == ROW_SAMPLE || _layout == COL_SAMPLE ); CV_Assert 251 modules/ml/src/data.cpp CV_Assert( samples.type() == CV_32F || samples.type() == CV_32S ); CV_Assert 255 modules/ml/src/data.cpp CV_Assert( (sampleIdx.checkVector(1, CV_32S, true) > 0 && CV_Assert 264 modules/ml/src/data.cpp CV_Assert( sampleWeights.checkVector(1, CV_32F, true) == nsamples ); CV_Assert 273 modules/ml/src/data.cpp CV_Assert( (varIdx.checkVector(1, CV_32S, true) > 0 && CV_Assert 284 modules/ml/src/data.cpp CV_Assert( responses.type() == CV_32F || responses.type() == CV_32S ); CV_Assert 289 modules/ml/src/data.cpp CV_Assert( (layout == ROW_SAMPLE && responses.rows == nsamples) || CV_Assert 305 modules/ml/src/data.cpp CV_Assert( varType.checkVector(1, CV_8U, true) == nvars && CV_Assert 319 modules/ml/src/data.cpp CV_Assert( varType.at<uchar>(ninputvars + i) == VAR_ORDERED ); CV_Assert 334 modules/ml/src/data.cpp CV_Assert( missing.size() == samples.size() && missing.type() == CV_8U ); CV_Assert 350 modules/ml/src/data.cpp CV_Assert( m > 0 ); CV_Assert 427 modules/ml/src/data.cpp CV_Assert((data.cols == 1 || data.rows == 1) && (data.type() == CV_32S || data.type() == CV_32F)); CV_Assert 455 modules/ml/src/data.cpp CV_Assert( (float)idata[i] == fdata[i*istep] ); CV_Assert 582 modules/ml/src/data.cpp CV_Assert(ridx1 > ridx0); CV_Assert 587 modules/ml/src/data.cpp CV_Assert( nvars == (int)rowvals.size() ); CV_Assert 592 modules/ml/src/data.cpp CV_Assert( (!varTypesSet && vtypes[i] == rowtypes[i]) || CV_Assert 711 modules/ml/src/data.cpp CV_Assert( 0 <= b1 && b1 < nvars ); CV_Assert 723 modules/ml/src/data.cpp CV_Assert( 0 <= b1 && b1 <= b2 && b2 < nvars ); CV_Assert 746 modules/ml/src/data.cpp CV_Assert( 0. <= ratio && ratio <= 1. ); CV_Assert 753 modules/ml/src/data.cpp CV_Assert( 0 <= count && count < nsamples ); CV_Assert 806 modules/ml/src/data.cpp CV_Assert( a < ntest ); CV_Assert 812 modules/ml/src/data.cpp CV_Assert( b < ntest ); CV_Assert 865 modules/ml/src/data.cpp CV_Assert( 0 <= vi && vi < getNAllVars() ); CV_Assert 866 modules/ml/src/data.cpp CV_Assert( n >= 0 ); CV_Assert 883 modules/ml/src/data.cpp CV_Assert( 0 <= j && j < nsamples ); CV_Assert 899 modules/ml/src/data.cpp CV_Assert( m > 0 ); // if m==0, vi is an ordered variable CV_Assert 909 modules/ml/src/data.cpp CV_Assert(cmap[idx] == val); CV_Assert 939 modules/ml/src/data.cpp CV_Assert(buf != 0 && 0 <= sidx && sidx < getNSamples()); CV_Assert 942 modules/ml/src/data.cpp CV_Assert( n >= 0 ); CV_Assert 958 modules/ml/src/data.cpp CV_Assert( 0 <= j && j < nvars ); CV_Assert 64 modules/ml/src/em.cpp CV_Assert(nclusters > 1); CV_Assert 75 modules/ml/src/em.cpp CV_Assert(covMatType == COV_MAT_SPHERICAL || CV_Assert 192 modules/ml/src/em.cpp CV_Assert(isTrained()); CV_Assert 194 modules/ml/src/em.cpp CV_Assert(!sample.empty()); CV_Assert 240 modules/ml/src/em.cpp CV_Assert(!samples.empty()); CV_Assert 241 modules/ml/src/em.cpp CV_Assert(samples.channels() == 1); CV_Assert 247 modules/ml/src/em.cpp CV_Assert(nclusters > 0); CV_Assert 248 modules/ml/src/em.cpp CV_Assert(nclusters <= nsamples); CV_Assert 249 modules/ml/src/em.cpp CV_Assert(startStep == START_AUTO_STEP || CV_Assert 252 modules/ml/src/em.cpp CV_Assert(covMatType == COV_MAT_GENERIC || CV_Assert 256 modules/ml/src/em.cpp CV_Assert(!probs || CV_Assert 261 modules/ml/src/em.cpp CV_Assert(!weights || CV_Assert 266 modules/ml/src/em.cpp CV_Assert(!means || CV_Assert 271 modules/ml/src/em.cpp CV_Assert(!covs || CV_Assert 280 modules/ml/src/em.cpp CV_Assert(!m.empty() && m.size() == covSize && (m.channels() == 1)); CV_Assert 286 modules/ml/src/em.cpp CV_Assert(means); CV_Assert 290 modules/ml/src/em.cpp CV_Assert(probs); CV_Assert 364 modules/ml/src/em.cpp CV_Assert(!covs.empty()); CV_Assert 371 modules/ml/src/em.cpp CV_Assert(!covs[clusterIndex].empty()); CV_Assert 420 modules/ml/src/em.cpp CV_Assert(meansFlt.type() == CV_32FC1); CV_Assert 443 modules/ml/src/em.cpp CV_Assert(!clusterSamples.empty()); CV_Assert 455 modules/ml/src/em.cpp CV_Assert(!covsEigenValues.empty()); CV_Assert 483 modules/ml/src/em.cpp CV_Assert(weights.empty()); CV_Assert 490 modules/ml/src/em.cpp CV_Assert(invCovsEigenValues.empty()); CV_Assert 566 modules/ml/src/em.cpp CV_Assert(!means.empty()); CV_Assert 567 modules/ml/src/em.cpp CV_Assert((stype == CV_32F || stype == CV_64F) && (ptype == CV_32F || ptype == CV_64F)); CV_Assert 568 modules/ml/src/em.cpp CV_Assert(sample.size() == Size(means.cols, 1)); CV_Assert 793 modules/ml/src/em.cpp CV_Assert(covMatType >= 0); CV_Assert 117 modules/ml/src/inner_functions.cpp CV_Assert(A.type() == CV_32F); CV_Assert 126 modules/ml/src/kdtree.cpp CV_Assert(vals[ofs[k]] <= pivot); CV_Assert 131 modules/ml/src/kdtree.cpp CV_Assert(vals[ofs[k]] >= pivot); CV_Assert 134 modules/ml/src/kdtree.cpp CV_Assert(std::abs(more - less) <= 1); CV_Assert 167 modules/ml/src/kdtree.cpp CV_Assert(_points.type() == CV_32F && !_points.empty()); CV_Assert 190 modules/ml/src/kdtree.cpp CV_Assert(nlabels == n); CV_Assert 280 modules/ml/src/kdtree.cpp CV_Assert( vecmat.isContinuous() && vecmat.type() == CV_32F && vecmat.total() == (size_t)points.cols ); CV_Assert 285 modules/ml/src/kdtree.cpp CV_Assert(K > 0 && (normType == NORM_L2 || normType == NORM_L1)); CV_Assert 425 modules/ml/src/kdtree.cpp CV_Assert( lowerBound.size == upperBound.size && CV_Assert 477 modules/ml/src/kdtree.cpp CV_Assert( idxmat.isContinuous() && idxmat.type() == CV_32S && CV_Assert 501 modules/ml/src/kdtree.cpp CV_Assert( labelsmat.isContinuous() ); CV_Assert 509 modules/ml/src/kdtree.cpp CV_Assert( (unsigned)k < (unsigned)points.rows ); CV_Assert 521 modules/ml/src/kdtree.cpp CV_Assert( (unsigned)ptidx < (unsigned)points.rows); CV_Assert 81 modules/ml/src/knearest.cpp CV_Assert( new_samples.type() == CV_32F ); CV_Assert 89 modules/ml/src/knearest.cpp CV_Assert( new_samples.cols == samples.cols && CV_Assert 322 modules/ml/src/knearest.cpp CV_Assert( 0 < k ); CV_Assert 325 modules/ml/src/knearest.cpp CV_Assert( test_samples.type() == CV_32F && test_samples.cols == samples.cols ); CV_Assert 378 modules/ml/src/knearest.cpp CV_Assert( 0 < k ); CV_Assert 381 modules/ml/src/knearest.cpp CV_Assert( test_samples.type() == CV_32F && test_samples.cols == samples.cols ); CV_Assert 135 modules/ml/src/lr.cpp CV_Assert( !_labels_i.empty() && !_data_i.empty()); CV_Assert 255 modules/ml/src/lr.cpp CV_Assert(thetas.rows > 0); CV_Assert 271 modules/ml/src/lr.cpp CV_Assert(temp_pred.cols==1); CV_Assert 555 modules/ml/src/lr.cpp CV_Assert( !lmap.empty() ); CV_Assert 341 modules/ml/src/rtrees.cpp CV_Assert( ntrees == (int)trees_node.size() ); CV_Assert 347 modules/ml/src/svm.cpp CV_Assert( _responses.isContinuous() && _responses.checkVector(1, CV_32S) == nsamples ); CV_Assert 507 modules/ml/src/svm.cpp CV_Assert(select_working_set_func != 0); CV_Assert 510 modules/ml/src/svm.cpp CV_Assert(calc_rho_func != 0); CV_Assert 513 modules/ml/src/svm.cpp CV_Assert(get_row_func != 0); CV_Assert 1122 modules/ml/src/svm.cpp CV_Assert( (int)_yf.size() == sample_count ); CV_Assert 1162 modules/ml/src/svm.cpp CV_Assert( (int)_yf.size() == sample_count ); CV_Assert 1364 modules/ml/src/svm.cpp CV_Assert( _samples.type() == CV_32F ); CV_Assert 1387 modules/ml/src/svm.cpp CV_Assert(sv_count != 0); CV_Assert 1414 modules/ml/src/svm.cpp CV_Assert( svmType == C_SVC || svmType == NU_SVC ); CV_Assert 1535 modules/ml/src/svm.cpp CV_Assert( sv_tab[df_index[i]] > 0 ); CV_Assert 1641 modules/ml/src/svm.cpp CV_Assert( k_fold >= 2 ); CV_Assert 1696 modules/ml/src/svm.cpp CV_Assert(samples.type() == CV_32F); CV_Assert 1919 modules/ml/src/svm.cpp CV_Assert( samples.cols == var_count && samples.type() == CV_32F ); CV_Assert 1928 modules/ml/src/svm.cpp CV_Assert( nsamples == 1 ); CV_Assert 1942 modules/ml/src/svm.cpp CV_Assert( 0 <= i && i < (int)decision_func.size()); CV_Assert 2076 modules/ml/src/svm.cpp CV_Assert( sv_count == sv_total ); CV_Assert 2167 modules/ml/src/svm.cpp CV_Assert((int)sv_node.size() == sv_total); CV_Assert 2180 modules/ml/src/svm.cpp CV_Assert((int)df_node.size() == df_count); CV_Assert 186 modules/ml/src/tree.cpp CV_Assert( class_weights.checkVector(1, CV_64F) == nclasses ); CV_Assert 190 modules/ml/src/tree.cpp CV_Assert( (int)w->sample_weights.size() == nsamples ); CV_Assert 195 modules/ml/src/tree.cpp CV_Assert( 0 <= ci && ci < nclasses ); CV_Assert 213 modules/ml/src/tree.cpp CV_Assert( 0 <= vi && vi < nallvars && vi > prevIdx ); CV_Assert 312 modules/ml/src/tree.cpp CV_Assert(w->wnodes[w_pidx].right == w_nidx); CV_Assert 339 modules/ml/src/tree.cpp CV_Assert( w_nidx >= 0 ); CV_Assert 408 modules/ml/src/tree.cpp CV_Assert( w->wnodes[nidx].left > 0 && w->wnodes[nidx].right > 0 ); CV_Assert 451 modules/ml/src/tree.cpp CV_Assert( compVarIdx[best_split.varIdx] >= 0 && best_vi >= 0 ); CV_Assert 880 modules/ml/src/tree.cpp CV_Assert(sum > 0); CV_Assert 1190 modules/ml/src/tree.cpp CV_Assert( (int)_sleft.size() < n && (int)_sright.size() < n ); CV_Assert 1365 modules/ml/src/tree.cpp CV_Assert( sample.type() == CV_32F ); CV_Assert 1456 modules/ml/src/tree.cpp CV_Assert( c >= 0 && ival == cmap[c] ); CV_Assert 1496 modules/ml/src/tree.cpp CV_Assert( !roots.empty() ); CV_Assert 1804 modules/ml/src/tree.cpp CV_Assert( 0 <= vi && vi <= (int)varType.size() ); CV_Assert 1934 modules/ml/src/tree.cpp CV_Assert( !fnodes.empty() ); CV_Assert 83 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( _means.rows == (int)sizes.size() && covs.size() == sizes.size() ); CV_Assert 84 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !data.empty() && data.rows == total ); CV_Assert 85 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( data.type() == dataType ); CV_Assert 159 modules/ml/test/test_emknearestkmeans.cpp CV_Assert(lbl < (int)nclusters); CV_Assert 161 modules/ml/test/test_emknearestkmeans.cpp CV_Assert(count[lbl] < (int)total); CV_Assert 166 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !checkClusterUniq || !buzy[cls] ); CV_Assert 187 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !labels.empty() && !origLabels.empty() ); CV_Assert 188 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( labels.rows == 1 || labels.cols == 1 ); CV_Assert 189 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( origLabels.rows == 1 || origLabels.cols == 1 ); CV_Assert 190 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( labels.total() == origLabels.total() ); CV_Assert 191 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( labels.type() == CV_32SC1 || labels.type() == CV_32FC1 ); CV_Assert 192 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( origLabels.type() == labels.type() ); CV_Assert 624 modules/ml/test/test_emknearestkmeans.cpp CV_Assert(samples.cols == 57); CV_Assert 206 modules/ml/test/test_gbttest.cpp CV_Assert( f1.is_open() && f2.is_open() ); CV_Assert 231 modules/ml/test/test_gbttest.cpp CV_Assert( test_resps1.size() == test_resps2.size() ); CV_Assert 74 modules/ml/test/test_lr.cpp CV_Assert(_p_labels_temp.total() == _o_labels_temp.total()); CV_Assert 75 modules/ml/test/test_lr.cpp CV_Assert(_p_labels_temp.rows == _o_labels_temp.rows); CV_Assert 192 modules/ml/test/test_lr.cpp CV_Assert(responses1.rows == responses2.rows); CV_Assert 136 modules/ml/test/test_save_load.cpp CV_Assert( test_resps1.size() == test_resps2.size() ); CV_Assert 570 modules/objdetect/src/cascadedetect.cpp CV_Assert(n > 0); CV_Assert 642 modules/objdetect/src/cascadedetect.cpp CV_Assert(sqsum.u == u && sqsum.size() == s.szi && sqsum.type()==CV_32S); CV_Assert 847 modules/objdetect/src/cascadedetect.cpp CV_Assert(0 <= scaleIdx && scaleIdx < (int)scaleData->size()); CV_Assert 1320 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && _image.depth() == CV_8U ); CV_Assert 1364 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && image.depth() == CV_8U ); CV_Assert 1419 modules/objdetect/src/cascadedetect.cpp CV_Assert( origWinSize.height > 0 && origWinSize.width > 0 ); CV_Assert 1597 modules/objdetect/src/cascadedetect.cpp CV_Assert(a->size() == n); CV_Assert 1601 modules/objdetect/src/cascadedetect.cpp CV_Assert(b->size() == n); CV_Assert 1634 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1646 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1661 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1670 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1676 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1682 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1688 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1694 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 1700 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); CV_Assert 46 modules/objdetect/src/cascadedetect.hpp CV_Assert( 0 <= scaleIdx && scaleIdx < (int)scaleData->size()); CV_Assert 571 modules/objdetect/src/cascadedetect.hpp CV_Assert(!cascade.data.stumps.empty()); CV_Assert 608 modules/objdetect/src/cascadedetect.hpp CV_Assert(!cascade.data.stumps.empty()); CV_Assert 200 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(_detector); CV_Assert 309 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(stateThread==STATE_THREAD_WORKING_SLEEPING); CV_Assert 322 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(stateThread==STATE_THREAD_WORKING_SLEEPING); CV_Assert 349 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(stateThread==STATE_THREAD_WORKING_SLEEPING); CV_Assert 364 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(stateThread==STATE_THREAD_WORKING_SLEEPING); CV_Assert 601 modules/objdetect/src/detection_based_tracker.cpp CV_Assert( (params.maxTrackLifetime >= 0) CV_Assert 621 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(imageGray.type()==CV_8UC1); CV_Assert 651 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(n > 0); CV_Assert 777 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(numpositions > 0); CV_Assert 859 modules/objdetect/src/detection_based_tracker.cpp CV_Assert(numpos > 0); CV_Assert 1985 modules/objdetect/src/haar.cpp CV_Assert(elements_read == (size_t)(size)); CV_Assert 89 modules/objdetect/src/hog.cpp CV_Assert(blockSize.width % cellSize.width == 0 && CV_Assert 91 modules/objdetect/src/hog.cpp CV_Assert((winSize.width - blockSize.width) % blockStride.width == 0 && CV_Assert 117 modules/objdetect/src/hog.cpp CV_Assert(checkDetectorSize()); CV_Assert 167 modules/objdetect/src/hog.cpp CV_Assert(checkDetectorSize()); CV_Assert 228 modules/objdetect/src/hog.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_Assert 466 modules/objdetect/src/hog.cpp CV_Assert( (unsigned)hidx < (unsigned)nbins ); CV_Assert 775 modules/objdetect/src/hog.cpp CV_Assert( pt.x % cacheStride.width == 0 && CV_Assert 1509 modules/objdetect/src/hog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); CV_Assert 3534 modules/objdetect/src/hog.cpp CV_Assert(rectList.size() == weights.size()); CV_Assert 831 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( (unsigned)pt.x <= (unsigned)(grad.cols - blockSize.width) && CV_Assert 836 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( pt.x % cacheStride.width == 0 && CV_Assert 858 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( blockHist != 0 ); CV_Assert 1049 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); CV_Assert 1151 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert(pt0.x % cacheStride.width == 0 && pt0.y % cacheStride.height == 0); CV_Assert 1188 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_Assert 119 modules/photo/src/align.cpp CV_Assert(img0.channels() == 1 && img0.type() == img1.type()); CV_Assert 120 modules/photo/src/align.cpp CV_Assert(img0.size() == img0.size()); CV_Assert 196 modules/photo/src/align.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 70 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); CV_Assert 72 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); CV_Assert 153 modules/photo/src/calibrate.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 190 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); CV_Assert 192 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); CV_Assert 261 modules/photo/src/calibrate.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 62 modules/photo/src/contrast_preserve.cpp CV_Assert(!I.empty() && (I.channels()==3)); CV_Assert 76 modules/photo/src/denoise_tvl1.cpp CV_Assert(observations.size()>0 && niters>0 && lambda>0); CV_Assert 85 modules/photo/src/denoise_tvl1.cpp CV_Assert(observations[i].rows==rows && observations[i].cols==cols); CV_Assert 115 modules/photo/src/denoising.cpp CV_Assert(hn == 1 || hn == cn); CV_Assert 329 modules/photo/src/denoising.cpp CV_Assert(hn == 1 || hn == cn); CV_Assert 90 modules/photo/src/denoising.cuda.cpp CV_Assert(src.type() == CV_8U || src.type() == CV_8UC2 || src.type() == CV_8UC3); CV_Assert 93 modules/photo/src/denoising.cuda.cpp CV_Assert(func != 0); CV_Assert 96 modules/photo/src/denoising.cuda.cpp CV_Assert(b == BORDER_REFLECT101 || b == BORDER_REPLICATE || b == BORDER_CONSTANT || b == BORDER_REFLECT || b == BORDER_WRAP); CV_Assert 123 modules/photo/src/denoising.cuda.cpp CV_Assert(src.depth() == CV_8U && src.channels() < 4); CV_Assert 152 modules/photo/src/denoising.cuda.cpp CV_Assert(src.type() == CV_8UC3); CV_Assert 110 modules/photo/src/fast_nlmeans_denoising_invoker.hpp CV_Assert(src.channels() == pixelInfo<T>::channels); CV_Assert 127 modules/photo/src/fast_nlmeans_denoising_invoker.hpp CV_Assert(template_window_size_ <= 46340); // sqrt(INT_MAX) CV_Assert 49 modules/photo/src/fast_nlmeans_denoising_opencl.hpp CV_Assert(templateWindowSize <= 46340); // sqrt(INT_MAX) CV_Assert 59 modules/photo/src/fast_nlmeans_denoising_opencl.hpp CV_Assert(hn > 0 && hn <= 4); CV_Assert 143 modules/photo/src/fast_nlmeans_denoising_opencl.hpp CV_Assert(almostTemplateWindowSizeSqBinShift >= 0); CV_Assert 108 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp CV_Assert(srcImgs.size() > 0); CV_Assert 109 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp CV_Assert(srcImgs[0].channels() == pixelInfo<T>::channels); CV_Assert 51 modules/photo/src/hdr_common.cpp CV_Assert(!images.empty()); CV_Assert 57 modules/photo/src/hdr_common.cpp CV_Assert(images[i].cols == width && images[i].rows == height); CV_Assert 58 modules/photo/src/hdr_common.cpp CV_Assert(images[i].type() == type); CV_Assert 65 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); CV_Assert 67 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); CV_Assert 83 modules/photo/src/merge.cpp CV_Assert(response.rows == LDR_SIZE && response.cols == 1 && CV_Assert 159 modules/photo/src/merge.cpp CV_Assert(channels == 1 || channels == 3); CV_Assert 274 modules/photo/src/merge.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 305 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); CV_Assert 307 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); CV_Assert 320 modules/photo/src/merge.cpp CV_Assert(response.rows == LDR_SIZE && response.cols == 1 && CV_Assert 96 modules/photo/src/seamless_cloning.cpp CV_Assert(minxd >= 0 && minyd >= 0 && maxxd <= dest.rows && maxyd <= dest.cols); CV_Assert 66 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); CV_Assert 93 modules/photo/src/tonemap.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 121 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); CV_Assert 173 modules/photo/src/tonemap.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 205 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); CV_Assert 256 modules/photo/src/tonemap.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 289 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); CV_Assert 352 modules/photo/src/tonemap.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 383 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); CV_Assert 458 modules/photo/src/tonemap.cpp CV_Assert(n.isString() && String(n) == name); CV_Assert 88 modules/shape/src/aff_trans.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 104 modules/shape/src/aff_trans.cpp CV_Assert(!affineMat.empty()); CV_Assert 187 modules/shape/src/aff_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); CV_Assert 188 modules/shape/src/aff_trans.cpp CV_Assert(_matches.size()>1); CV_Assert 231 modules/shape/src/aff_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0)); CV_Assert 63 modules/shape/src/emdL1.cpp CV_Assert((sig1.rows==sig2.rows) && (sig1.cols==sig2.cols) && (!sig1.empty()) && (!sig2.empty())); CV_Assert 72 modules/shape/src/haus_dis.cpp CV_Assert((_rankProportion>0) && (_rankProportion<=1)); CV_Assert 87 modules/shape/src/haus_dis.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 136 modules/shape/src/haus_dis.cpp CV_Assert((set1.channels()==2) && (set1.cols>0)); CV_Assert 137 modules/shape/src/haus_dis.cpp CV_Assert((set2.channels()==2) && (set2.cols>0)); CV_Assert 110 modules/shape/src/hist_cost.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 235 modules/shape/src/hist_cost.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 360 modules/shape/src/hist_cost.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 476 modules/shape/src/hist_cost.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 86 modules/shape/src/sc_dis.cpp virtual void setAngularBins(int _nAngularBins){CV_Assert(_nAngularBins>0); nAngularBins=_nAngularBins;} CV_Assert 89 modules/shape/src/sc_dis.cpp virtual void setRadialBins(int _nRadialBins){CV_Assert(_nRadialBins>0); nRadialBins=_nRadialBins;} CV_Assert 92 modules/shape/src/sc_dis.cpp virtual void setInnerRadius(float _innerRadius) {CV_Assert(_innerRadius>0); innerRadius=_innerRadius;} CV_Assert 95 modules/shape/src/sc_dis.cpp virtual void setOuterRadius(float _outerRadius) {CV_Assert(_outerRadius>0); outerRadius=_outerRadius;} CV_Assert 119 modules/shape/src/sc_dis.cpp CV_Assert((image1_.depth()==0) && (image2_.depth()==0)); CV_Assert 126 modules/shape/src/sc_dis.cpp CV_Assert((!image1.empty()) && (!image2.empty())); CV_Assert 133 modules/shape/src/sc_dis.cpp virtual void setIterations(int _iterations) {CV_Assert(_iterations>0); iterations=_iterations;} CV_Assert 158 modules/shape/src/sc_dis.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 202 modules/shape/src/sc_dis.cpp CV_Assert((set1.channels()==2) && (set1.cols>0)); CV_Assert 203 modules/shape/src/sc_dis.cpp CV_Assert((set2.channels()==2) && (set2.cols>0)); CV_Assert 206 modules/shape/src/sc_dis.cpp CV_Assert((!image1.empty()) && (!image2.empty())); CV_Assert 90 modules/shape/src/tps_trans.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 148 modules/shape/src/tps_trans.cpp CV_Assert(tpsComputed==true); CV_Assert 168 modules/shape/src/tps_trans.cpp CV_Assert(tpsComputed); CV_Assert 170 modules/shape/src/tps_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0)); CV_Assert 193 modules/shape/src/tps_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); CV_Assert 194 modules/shape/src/tps_trans.cpp CV_Assert(_matches.size()>1); CV_Assert 147 modules/stitching/include/opencv2/stitching.hpp CV_Assert(mask.type() == CV_8U && mask.cols == mask.rows); CV_Assert 120 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp CV_Assert(mask.type() == CV_8U && mask.size() == Size(3, 3)); CV_Assert 117 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp CV_Assert(src_br.x - src_tl.x + 1 == size.width && src_br.y - src_tl.y + 1 == size.height); CV_Assert 72 modules/stitching/perf/opencl/perf_warpers.cpp CV_Assert(!creator.empty()); CV_Assert 68 modules/stitching/src/autocalib.cpp CV_Assert(H.type() == CV_64F && H.size() == Size(3, 3)); CV_Assert 148 modules/stitching/src/autocalib.cpp CV_Assert(m >= 1); CV_Assert 153 modules/stitching/src/autocalib.cpp CV_Assert(Hs[i].size() == Size(3, 3) && Hs[i].type() == CV_64F); CV_Assert 87 modules/stitching/src/blenders.cpp CV_Assert(img.type() == CV_16SC3); CV_Assert 88 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_Assert 134 modules/stitching/src/blenders.cpp CV_Assert(img.type() == CV_16SC3); CV_Assert 135 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_Assert 212 modules/stitching/src/blenders.cpp CV_Assert(weight_type == CV_32F || weight_type == CV_16S); CV_Assert 282 modules/stitching/src/blenders.cpp CV_Assert(img.type() == CV_16SC3 || img.type() == CV_8UC3); CV_Assert 283 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_Assert 496 modules/stitching/src/blenders.cpp CV_Assert(src.type() == CV_16SC3); CV_Assert 515 modules/stitching/src/blenders.cpp CV_Assert(weight.type() == CV_16SC1); CV_Assert 543 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_Assert 79 modules/stitching/src/exposure_compensate.cpp CV_Assert(corners.size() == images.size() && images.size() == masks.size()); CV_Assert 166 modules/stitching/src/exposure_compensate.cpp CV_Assert(corners.size() == images.size() && images.size() == masks.size()); CV_Assert 228 modules/stitching/src/exposure_compensate.cpp CV_Assert(_image.type() == CV_8UC3); CV_Assert 147 modules/stitching/src/matchers.cpp CV_Assert(features1.descriptors.type() == features2.descriptors.type()); CV_Assert 148 modules/stitching/src/matchers.cpp CV_Assert(features2.descriptors.depth() == CV_8U || features2.descriptors.depth() == CV_32F); CV_Assert 364 modules/stitching/src/matchers.cpp CV_Assert((image.type() == CV_8UC3) || (image.type() == CV_8UC1)); CV_Assert 396 modules/stitching/src/matchers.cpp CV_Assert((image.type() == CV_8UC3) || (image.type() == CV_8UC4) || (image.type() == CV_8UC1)); CV_Assert 473 modules/stitching/src/matchers.cpp CV_Assert(image.depth() == CV_8U); CV_Assert 532 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); CV_Assert 672 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); CV_Assert 300 modules/stitching/src/motion_estimators.cpp CV_Assert(rvec.type() == CV_32F); CV_Assert 478 modules/stitching/src/motion_estimators.cpp CV_Assert(rvec.type() == CV_32F); CV_Assert 879 modules/stitching/src/motion_estimators.cpp CV_Assert(centers.size() > 0 && centers.size() <= 2); CV_Assert 206 modules/stitching/src/seam_finders.cpp CV_Assert(image1.size() == mask1.size()); CV_Assert 207 modules/stitching/src/seam_finders.cpp CV_Assert(image2.size() == mask2.size()); CV_Assert 528 modules/stitching/src/seam_finders.cpp CV_Assert(image1.channels() == 3 || image1.channels() == 4); CV_Assert 529 modules/stitching/src/seam_finders.cpp CV_Assert(image2.channels() == 3 || image2.channels() == 4); CV_Assert 530 modules/stitching/src/seam_finders.cpp CV_Assert(costFunction() == COLOR_GRAD); CV_Assert 586 modules/stitching/src/seam_finders.cpp CV_Assert(states_[comp1] & INTERS); CV_Assert 715 modules/stitching/src/seam_finders.cpp CV_Assert(states_[comp] & INTERS); CV_Assert 794 modules/stitching/src/seam_finders.cpp CV_Assert(states_[comp] & INTERS); CV_Assert 927 modules/stitching/src/seam_finders.cpp CV_Assert(seam.front() == p1); CV_Assert 928 modules/stitching/src/seam_finders.cpp CV_Assert(seam.back() == p2); CV_Assert 1094 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); CV_Assert 1339 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); CV_Assert 127 modules/stitching/src/stitcher.cpp CV_Assert(imgs.size() == imgs_.size()); CV_Assert 73 modules/stitching/src/timelapsers.cpp CV_Assert(img.type() == CV_16SC3); CV_Assert 127 modules/stitching/src/util.cpp CV_Assert(sizes.size() == corners.size()); CV_Assert 142 modules/stitching/src/util.cpp CV_Assert(sizes.size() == corners.size()); CV_Assert 53 modules/stitching/src/warpers.cpp CV_Assert(K.size() == Size(3, 3) && K.type() == CV_32F); CV_Assert 54 modules/stitching/src/warpers.cpp CV_Assert(R.size() == Size(3, 3) && R.type() == CV_32F); CV_Assert 55 modules/stitching/src/warpers.cpp CV_Assert((T.size() == Size(1, 3) || T.size() == Size(3, 1)) && T.type() == CV_32F); CV_Assert 78 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); CV_Assert 79 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); CV_Assert 80 modules/stitching/src/warpers_cuda.cpp CV_Assert( (T.size() == Size(3,1) || T.size() == Size(1,3)) && T.type() == CV_32FC1 && T.isContinuous() ); CV_Assert 84 modules/stitching/src/warpers_cuda.cpp CV_Assert( K_Rinv.isContinuous() ); CV_Assert 85 modules/stitching/src/warpers_cuda.cpp CV_Assert( R_Kinv.isContinuous() ); CV_Assert 105 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); CV_Assert 106 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); CV_Assert 110 modules/stitching/src/warpers_cuda.cpp CV_Assert( K_Rinv.isContinuous() ); CV_Assert 111 modules/stitching/src/warpers_cuda.cpp CV_Assert( R_Kinv.isContinuous() ); CV_Assert 130 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); CV_Assert 131 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); CV_Assert 135 modules/stitching/src/warpers_cuda.cpp CV_Assert( K_Rinv.isContinuous() ); CV_Assert 136 modules/stitching/src/warpers_cuda.cpp CV_Assert( R_Kinv.isContinuous() ); CV_Assert 272 modules/superres/src/btv_l1.cpp CV_Assert( cn == 1 || cn == 3 || cn == 4 ); CV_Assert 284 modules/superres/src/btv_l1.cpp CV_Assert(func != 0); CV_Assert 459 modules/superres/src/btv_l1.cpp CV_Assert(func != 0); CV_Assert 661 modules/superres/src/btv_l1.cpp CV_Assert( scale_ > 1 ); CV_Assert 662 modules/superres/src/btv_l1.cpp CV_Assert( iterations_ > 0 ); CV_Assert 663 modules/superres/src/btv_l1.cpp CV_Assert( tau_ > 0.0 ); CV_Assert 664 modules/superres/src/btv_l1.cpp CV_Assert( alpha_ > 0.0 ); CV_Assert 665 modules/superres/src/btv_l1.cpp CV_Assert( btvKernelSize_ > 0 ); CV_Assert 666 modules/superres/src/btv_l1.cpp CV_Assert( blurKernelSize_ > 0 ); CV_Assert 667 modules/superres/src/btv_l1.cpp CV_Assert( blurSigma_ >= 0.0 ); CV_Assert 155 modules/superres/src/btv_l1_cuda.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); CV_Assert 301 modules/superres/src/btv_l1_cuda.cpp CV_Assert( scale_ > 1 ); CV_Assert 302 modules/superres/src/btv_l1_cuda.cpp CV_Assert( iterations_ > 0 ); CV_Assert 303 modules/superres/src/btv_l1_cuda.cpp CV_Assert( tau_ > 0.0 ); CV_Assert 304 modules/superres/src/btv_l1_cuda.cpp CV_Assert( alpha_ > 0.0 ); CV_Assert 305 modules/superres/src/btv_l1_cuda.cpp CV_Assert( btvKernelSize_ > 0 && btvKernelSize_ <= 16 ); CV_Assert 306 modules/superres/src/btv_l1_cuda.cpp CV_Assert( blurKernelSize_ > 0 ); CV_Assert 307 modules/superres/src/btv_l1_cuda.cpp CV_Assert( blurSigma_ >= 0.0 ); CV_Assert 153 modules/superres/src/frame_source.cpp CV_Assert( vc_.isOpened() ); CV_Assert 176 modules/superres/src/frame_source.cpp CV_Assert( vc_.isOpened() ); CV_Assert 156 modules/superres/src/input_array_utility.cpp CV_Assert( src_kind >= 0 && src_kind < 10 ); CV_Assert 157 modules/superres/src/input_array_utility.cpp CV_Assert( dst_kind >= 0 && dst_kind < 10 ); CV_Assert 160 modules/superres/src/input_array_utility.cpp CV_Assert( func != 0 ); CV_Assert 170 modules/superres/src/input_array_utility.cpp CV_Assert( scn == 1 || scn == 3 || scn == 4 ); CV_Assert 171 modules/superres/src/input_array_utility.cpp CV_Assert( cn == 1 || cn == 3 || cn == 4 ); CV_Assert 183 modules/superres/src/input_array_utility.cpp CV_Assert( code >= 0 ); CV_Assert 203 modules/superres/src/input_array_utility.cpp CV_Assert( src.depth() <= CV_64F ); CV_Assert 204 modules/superres/src/input_array_utility.cpp CV_Assert( depth == CV_8U || depth == CV_32F ); CV_Assert 93 modules/superres/src/optical_flow.cpp CV_Assert( frame1.type() == frame0.type() ); CV_Assert 94 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); CV_Assert 128 modules/superres/src/optical_flow.cpp CV_Assert( frame1.type() == frame0.type() ); CV_Assert 129 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); CV_Assert 440 modules/superres/src/optical_flow.cpp CV_Assert( frame1.type() == frame0.type() ); CV_Assert 441 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); CV_Assert 66 modules/superres/test/test_superres.cpp CV_Assert( base_ ); CV_Assert 107 modules/superres/test/test_superres.cpp CV_Assert( base_ ); CV_Assert 220 modules/ts/include/opencv2/ts/ocl_test.hpp CV_Assert(v >= minVal && (v < maxVal || (v == minVal && v == maxVal))); CV_Assert 589 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); CV_Assert 611 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); CV_Assert 78 modules/ts/src/ts_func.cpp CV_Assert((typeMask & _OutputArray::DEPTH_MASK_ALL) != 0); CV_Assert 94 modules/ts/src/ts_func.cpp CV_Assert(val != -1); CV_Assert 104 modules/ts/src/ts_func.cpp CV_Assert(val != -1); CV_Assert 159 modules/ts/src/ts_func.cpp CV_Assert( !a.empty() || !b.empty() ); CV_Assert 174 modules/ts/src/ts_func.cpp CV_Assert(a.size == b.size); CV_Assert 188 modules/ts/src/ts_func.cpp CV_Assert(planes[0].rows == 1); CV_Assert 275 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 355 modules/ts/src/ts_func.cpp CV_Assert( src.size == mask.size && mask.type() == CV_8U ); CV_Assert 416 modules/ts/src/ts_func.cpp CV_Assert( dst.size == mask.size && mask.type() == CV_8U ); CV_Assert 442 modules/ts/src/ts_func.cpp CV_Assert( dst.size == src.size && src.depth() == dst.depth() && CV_Assert 468 modules/ts/src/ts_func.cpp CV_Assert( 0 <= coi && coi < src.channels() ); CV_Assert 492 modules/ts/src/ts_func.cpp CV_Assert(src.dims == 2); CV_Assert 587 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 648 modules/ts/src/ts_func.cpp CV_Assert( kernel.type() == CV_8U ); CV_Assert 692 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 705 modules/ts/src/ts_func.cpp CV_Assert( kernel.type() == CV_8U ); CV_Assert 749 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 782 modules/ts/src/ts_func.cpp CV_Assert( kernel.type() == CV_32F || kernel.type() == CV_64F ); CV_Assert 826 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 1044 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); CV_Assert 1092 modules/ts/src/ts_func.cpp CV_Assert(0); CV_Assert 1115 modules/ts/src/ts_func.cpp CV_Assert( mask >= 0 ); CV_Assert 1253 modules/ts/src/ts_func.cpp CV_Assert( src.depth() == CV_8U ); CV_Assert 1271 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src.size == mask.size && mask.type() == CV_8U) ); CV_Assert 1272 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); CV_Assert 1334 modules/ts/src/ts_func.cpp CV_Assert( temp.depth() == CV_8U ); CV_Assert 1352 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); CV_Assert 1353 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src1.size == mask.size && mask.type() == CV_8U) ); CV_Assert 1354 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); CV_Assert 1404 modules/ts/src/ts_func.cpp CV_Assert( _src1.depth() == CV_8U ); CV_Assert 1420 modules/ts/src/ts_func.cpp CV_Assert( src1.size == src2.size && src1.type() == src2.type() ); CV_Assert 1517 modules/ts/src/ts_func.cpp CV_Assert( op == '&' || op == '|' || op == '^' ); CV_Assert 1518 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); CV_Assert 1540 modules/ts/src/ts_func.cpp CV_Assert( op == '&' || op == '|' || op == '^' || op == '~' ); CV_Assert 1635 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.channels() == 1 && src1.size == src2.size ); CV_Assert 1682 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); CV_Assert 1813 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); CV_Assert 1968 modules/ts/src/ts_func.cpp CV_Assert( arr.type() == refarr.type() && arr.size == refarr.size ); CV_Assert 2229 modules/ts/src/ts_func.cpp CV_Assert( a.type() == b.type() && a.dims == 2 && b.dims == 2 && cn <= 2 ); CV_Assert 2256 modules/ts/src/ts_func.cpp CV_Assert( c.dims == 2 && c.type() == a.type() && c_rows == a_rows && c_cols == b_cols ); CV_Assert 2299 modules/ts/src/ts_func.cpp CV_Assert( scn <= 4 && dcn <= 4 && CV_Assert 2381 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); CV_Assert 2521 modules/ts/src/ts_func.cpp CV_Assert( src1.empty() || (src1.type() == src2.type() && src1.size == src2.size) ); CV_Assert 2603 modules/ts/src/ts_func.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.size == src.size)); CV_Assert 2656 modules/ts/src/ts_func.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); CV_Assert 2722 modules/ts/src/ts_func.cpp CV_Assert( (_aperture_size == -1 || (_aperture_size >= 1 && _aperture_size % 2 == 1)) && CV_Assert 2828 modules/ts/src/ts_func.cpp CV_Assert(d == (int)ofs.size()); CV_Assert 2895 modules/ts/src/ts_func.cpp CV_Assert( !m.loc || ((int)m.loc->size() == m.m->dims && m.m->dims <= 2) ); CV_Assert 977 modules/ts/src/ts_perf.cpp CV_Assert(compensation < 0.01 * cv::getTickFrequency()); CV_Assert 1289 modules/ts/src/ts_perf.cpp CV_Assert(metrics.samples <= (unsigned int)currentIter); CV_Assert 1853 modules/ts/src/ts_perf.cpp CV_Assert(pts.size() == (size_t)desc.rows); CV_Assert 133 modules/video/src/bgfg_KNN.cpp CV_Assert( nchannels <= CV_CN_MAX ); CV_Assert 198 modules/video/src/bgfg_KNN.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 573 modules/video/src/bgfg_KNN.cpp CV_Assert(learningRate >= 0); CV_Assert 190 modules/video/src/bgfg_gaussmix2.cpp CV_Assert( nchannels <= CV_CN_MAX ); CV_Assert 191 modules/video/src/bgfg_gaussmix2.cpp CV_Assert( nmixtures <= 255); CV_Assert 269 modules/video/src/bgfg_gaussmix2.cpp CV_Assert( !kernel_apply.empty() ); CV_Assert 298 modules/video/src/bgfg_gaussmix2.cpp CV_Assert( (String)fn["name"] == name_ ); CV_Assert 756 modules/video/src/bgfg_gaussmix2.cpp CV_Assert(learningRate >= 0); CV_Assert 796 modules/video/src/bgfg_gaussmix2.cpp CV_Assert(frameType == CV_8UC1 || frameType == CV_8UC3); CV_Assert 843 modules/video/src/bgfg_gaussmix2.cpp CV_Assert(learningRate >= 0); CV_Assert 868 modules/video/src/bgfg_gaussmix2.cpp CV_Assert(nchannels == 1 || nchannels == 3); CV_Assert 59 modules/video/src/camshift.cpp CV_Assert( cn == 1 ); CV_Assert 274 modules/video/src/compat_video.cpp CV_Assert( featuresA && featuresB ); CV_Assert 298 modules/video/src/compat_video.cpp CV_Assert( flow.size() == prev.size() && flow.type() == CV_32FC2 ); CV_Assert 57 modules/video/src/ecc.cpp CV_Assert(src1.size() == src2.size()); CV_Assert 58 modules/video/src/ecc.cpp CV_Assert(src1.size() == src3.size()); CV_Assert 59 modules/video/src/ecc.cpp CV_Assert(src1.size() == src4.size()); CV_Assert 61 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); CV_Assert 62 modules/video/src/ecc.cpp CV_Assert(dst.cols == (src1.cols*8)); CV_Assert 63 modules/video/src/ecc.cpp CV_Assert(dst.type() == CV_32FC1); CV_Assert 65 modules/video/src/ecc.cpp CV_Assert(src5.isContinuous()); CV_Assert 130 modules/video/src/ecc.cpp CV_Assert( src1.size()==src2.size()); CV_Assert 131 modules/video/src/ecc.cpp CV_Assert( src1.size()==src3.size()); CV_Assert 132 modules/video/src/ecc.cpp CV_Assert( src1.size()==src4.size()); CV_Assert 134 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); CV_Assert 135 modules/video/src/ecc.cpp CV_Assert(dst.cols == (src1.cols*3)); CV_Assert 136 modules/video/src/ecc.cpp CV_Assert(dst.type() == CV_32FC1); CV_Assert 138 modules/video/src/ecc.cpp CV_Assert(src5.isContinuous()); CV_Assert 167 modules/video/src/ecc.cpp CV_Assert(src1.size() == src2.size()); CV_Assert 168 modules/video/src/ecc.cpp CV_Assert(src1.size() == src3.size()); CV_Assert 169 modules/video/src/ecc.cpp CV_Assert(src1.size() == src4.size()); CV_Assert 171 modules/video/src/ecc.cpp CV_Assert(src1.rows == dst.rows); CV_Assert 172 modules/video/src/ecc.cpp CV_Assert(dst.cols == (6*src1.cols)); CV_Assert 174 modules/video/src/ecc.cpp CV_Assert(dst.type() == CV_32FC1); CV_Assert 193 modules/video/src/ecc.cpp CV_Assert( src1.size()==src2.size()); CV_Assert 195 modules/video/src/ecc.cpp CV_Assert( src1.rows == dst.rows); CV_Assert 196 modules/video/src/ecc.cpp CV_Assert(dst.cols == (src1.cols*2)); CV_Assert 197 modules/video/src/ecc.cpp CV_Assert(dst.type() == CV_32FC1); CV_Assert 219 modules/video/src/ecc.cpp CV_Assert(src1.rows == src2.rows); CV_Assert 220 modules/video/src/ecc.cpp CV_Assert((src1.cols % src2.cols) == 0); CV_Assert 233 modules/video/src/ecc.cpp CV_Assert(dst.cols == dst.rows); //dst is square (and symmetric) CV_Assert 252 modules/video/src/ecc.cpp CV_Assert (map_matrix.type() == CV_32FC1); CV_Assert 253 modules/video/src/ecc.cpp CV_Assert (update.type() == CV_32FC1); CV_Assert 255 modules/video/src/ecc.cpp CV_Assert (motionType == MOTION_TRANSLATION || motionType == MOTION_EUCLIDEAN || CV_Assert 259 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 3 && update.rows == 8); CV_Assert 261 modules/video/src/ecc.cpp CV_Assert(map_matrix.rows == 2 && update.rows == 6); CV_Assert 263 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 2 && update.rows == 3); CV_Assert 265 modules/video/src/ecc.cpp CV_Assert (map_matrix.rows == 2 && update.rows == 2); CV_Assert 267 modules/video/src/ecc.cpp CV_Assert (update.cols == 1); CV_Assert 269 modules/video/src/ecc.cpp CV_Assert( map_matrix.isContinuous()); CV_Assert 270 modules/video/src/ecc.cpp CV_Assert( update.isContinuous() ); CV_Assert 329 modules/video/src/ecc.cpp CV_Assert(!src.empty()); CV_Assert 330 modules/video/src/ecc.cpp CV_Assert(!dst.empty()); CV_Assert 343 modules/video/src/ecc.cpp CV_Assert (map.cols == 3); CV_Assert 344 modules/video/src/ecc.cpp CV_Assert (map.rows == 2 || map.rows ==3); CV_Assert 346 modules/video/src/ecc.cpp CV_Assert (motionType == MOTION_AFFINE || motionType == MOTION_HOMOGRAPHY || CV_Assert 350 modules/video/src/ecc.cpp CV_Assert (map.rows ==3); CV_Assert 353 modules/video/src/ecc.cpp CV_Assert (criteria.type & TermCriteria::COUNT || criteria.type & TermCriteria::EPS); CV_Assert 54 modules/video/src/kalman.cpp CV_Assert( DP > 0 && MP > 0 ); CV_Assert 55 modules/video/src/kalman.cpp CV_Assert( type == CV_32F || type == CV_64F ); CV_Assert 57 modules/video/src/lkpyramid.cpp CV_Assert(depth == CV_8U); CV_Assert 748 modules/video/src/lkpyramid.cpp CV_Assert(img.depth() == CV_8U && winSize.width > 2 && winSize.height > 2 ); CV_Assert 992 modules/video/src/lkpyramid.cpp CV_Assert(I.depth() == CV_32F && J.depth() == CV_32F); CV_Assert 1107 modules/video/src/lkpyramid.cpp CV_Assert( maxLevel >= 0 && winSize.width > 2 && winSize.height > 2 ); CV_Assert 1110 modules/video/src/lkpyramid.cpp CV_Assert( (npoints = prevPtsMat.checkVector(2, CV_32F, true)) >= 0 ); CV_Assert 1124 modules/video/src/lkpyramid.cpp CV_Assert( nextPtsMat.checkVector(2, CV_32F, true) == npoints ); CV_Assert 1131 modules/video/src/lkpyramid.cpp CV_Assert( statusMat.isContinuous() ); CV_Assert 1142 modules/video/src/lkpyramid.cpp CV_Assert( errMat.isContinuous() ); CV_Assert 1157 modules/video/src/lkpyramid.cpp CV_Assert(levels1 >= 0); CV_Assert 1171 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height CV_Assert 1185 modules/video/src/lkpyramid.cpp CV_Assert(levels2 >= 0); CV_Assert 1199 modules/video/src/lkpyramid.cpp CV_Assert(ofs.x >= winSize.width && ofs.y >= winSize.height CV_Assert 1244 modules/video/src/lkpyramid.cpp CV_Assert(prevPyr[level * lvlStep1].size() == nextPyr[level * lvlStep2].size()); CV_Assert 1245 modules/video/src/lkpyramid.cpp CV_Assert(prevPyr[level * lvlStep1].type() == nextPyr[level * lvlStep2].type()); CV_Assert 1268 modules/video/src/lkpyramid.cpp CV_Assert( M.isContinuous() ); CV_Assert 1386 modules/video/src/lkpyramid.cpp CV_Assert( cn == 1 || cn == 3 || cn == 4 ); CV_Assert 120 modules/video/src/optflowgf.cpp CV_Assert( src.type() == CV_32FC1 ); CV_Assert 614 modules/video/src/optflowgf.cpp CV_Assert(frame0.channels() == 1 && frame1.channels() == 1); CV_Assert 615 modules/video/src/optflowgf.cpp CV_Assert(frame0.size() == frame1.size()); CV_Assert 616 modules/video/src/optflowgf.cpp CV_Assert(polyN == 5 || polyN == 7); CV_Assert 617 modules/video/src/optflowgf.cpp CV_Assert(!fastPyramids || std::abs(pyrScale - 0.5) < 1e-6); CV_Assert 854 modules/video/src/optflowgf.cpp CV_Assert(dst.size() == src.size()); CV_Assert 1097 modules/video/src/optflowgf.cpp CV_Assert( prev0.size() == next0.size() && prev0.channels() == next0.channels() && CV_Assert 382 modules/video/src/tvl1flow.cpp CV_Assert( I0.type() == CV_8UC1 || I0.type() == CV_32FC1 ); CV_Assert 383 modules/video/src/tvl1flow.cpp CV_Assert( I0.size() == I1.size() ); CV_Assert 384 modules/video/src/tvl1flow.cpp CV_Assert( I0.type() == I1.type() ); CV_Assert 385 modules/video/src/tvl1flow.cpp CV_Assert( !useInitialFlow || (_flow.size() == I0.size() && _flow.type() == CV_32FC2) ); CV_Assert 386 modules/video/src/tvl1flow.cpp CV_Assert( nscales > 0 ); CV_Assert 507 modules/video/src/tvl1flow.cpp CV_Assert(I0.type() == CV_8UC1 || I0.type() == CV_32FC1); CV_Assert 508 modules/video/src/tvl1flow.cpp CV_Assert(I0.size() == I1.size()); CV_Assert 509 modules/video/src/tvl1flow.cpp CV_Assert(I0.type() == I1.type()); CV_Assert 510 modules/video/src/tvl1flow.cpp CV_Assert(!useInitialFlow || (_flow.size() == I0.size() && _flow.type() == CV_32FC2)); CV_Assert 511 modules/video/src/tvl1flow.cpp CV_Assert(nscales > 0); CV_Assert 90 modules/video/test/test_ecc.cpp CV_Assert(mat1.rows == mat2.rows); CV_Assert 91 modules/video/test/test_ecc.cpp CV_Assert(mat1.cols == mat2.cols); CV_Assert 90 modules/video/test/test_tvl1optflow.cpp CV_Assert( tag == FLO_TAG_FLOAT ); CV_Assert 238 modules/videoio/src/cap_ffmpeg.cpp CV_Assert(image->depth == 8); CV_Assert 1378 modules/videoio/src/cap_gstreamer.cpp CV_Assert(!"Gstreamer 0.10.29 or newer is required for grayscale input"); CV_Assert 132 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( wsz == wsz0 ); CV_Assert 153 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert(m_f && data && m_current && count >= 0); CV_Assert 210 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( delta < m_current - m_start ); CV_Assert 398 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert(fps >= 1); CV_Assert 523 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert(fourcc != 0); CV_Assert 579 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height ); CV_Assert 584 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); CV_Assert 589 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); CV_Assert 594 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height*3 ); CV_Assert 1128 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( data && width > 0 && height > 0 ); CV_Assert 112 modules/videoio/src/cap_openni.cpp CV_Assert( depthGenerator.IsValid() ); CV_Assert 113 modules/videoio/src/cap_openni.cpp CV_Assert( imageGenerator.IsValid() ); CV_Assert 134 modules/videoio/src/cap_openni.cpp CV_Assert( task ); CV_Assert 149 modules/videoio/src/cap_openni.cpp CV_Assert( depthGenerator.IsValid() ); CV_Assert 150 modules/videoio/src/cap_openni.cpp CV_Assert( imageGenerator.IsValid() ); CV_Assert 346 modules/videoio/src/cap_openni.cpp CV_Assert( depthQueue.try_pop(tmp) ); CV_Assert 347 modules/videoio/src/cap_openni.cpp CV_Assert( depthQueue.try_push(depthPtr) ); CV_Assert 364 modules/videoio/src/cap_openni.cpp CV_Assert( imageQueue.try_pop(tmp) ); CV_Assert 365 modules/videoio/src/cap_openni.cpp CV_Assert( imageQueue.try_push(imagePtr) ); CV_Assert 975 modules/videoio/src/cap_openni.cpp CV_Assert( depthGenerator.IsValid() ); CV_Assert 1222 modules/videoio/src/cap_openni.cpp CV_Assert( depth.type() == CV_16UC1 ); CV_Assert 1306 modules/videoio/src/cap_openni.cpp CV_Assert( imageMetaData.BytesPerPixel() == 3 ); // RGB CV_Assert 1318 modules/videoio/src/cap_openni.cpp CV_Assert( outputType < outputMapsTypesCount && outputType >= 0); CV_Assert 250 modules/videoio/src/cap_openni2.cpp CV_Assert(depth.setVideoMode(defaultDepthOutputMode()) == openni::STATUS_OK); // xn::DepthGenerator supports VGA only! (Jan 2011) CV_Assert 277 modules/videoio/src/cap_openni2.cpp CV_Assert(color.setVideoMode(defaultColorOutputMode()) == openni::STATUS_OK); CV_Assert 564 modules/videoio/src/cap_openni2.cpp CV_Assert( depth.isValid() ); CV_Assert 777 modules/videoio/src/cap_openni2.cpp CV_Assert( depth.type() == CV_16UC1 ); CV_Assert 860 modules/videoio/src/cap_openni2.cpp CV_Assert(colorFrame.getVideoMode().getPixelFormat() == openni::PIXEL_FORMAT_RGB888); // RGB CV_Assert 872 modules/videoio/src/cap_openni2.cpp CV_Assert( outputType < outputMapsTypesCount && outputType >= 0); CV_Assert 200 modules/videoio/test/test_ffmpeg.cpp CV_Assert( !img0.empty() && !img.empty() && img_next.empty() ); CV_Assert 203 modules/videoio/test/test_ffmpeg.cpp CV_Assert( diff == 0 ); CV_Assert 244 modules/videoio/test/test_ffmpeg.cpp CV_Assert(writers->operator[](i)->isOpened()); CV_Assert 284 modules/videoio/test/test_ffmpeg.cpp CV_Assert(writer != NULL); CV_Assert 285 modules/videoio/test/test_ffmpeg.cpp CV_Assert(writer->isOpened()); CV_Assert 326 modules/videoio/test/test_ffmpeg.cpp CV_Assert(readers->operator[](i)->isOpened()); CV_Assert 348 modules/videoio/test/test_ffmpeg.cpp CV_Assert(capture != NULL); CV_Assert 349 modules/videoio/test/test_ffmpeg.cpp CV_Assert(capture->isOpened()); CV_Assert 353 modules/videoio/test/test_ffmpeg.cpp CV_Assert(frameCount == WriteVideo_Invoker::FrameCount); CV_Assert 58 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp CV_Assert(mask.type() == CV_8U); CV_Assert 104 modules/videostab/include/opencv2/videostab/motion_core.hpp CV_Assert(model < MM_UNKNOWN); CV_Assert 73 modules/videostab/src/deblurring.cpp CV_Assert(frame.type() == CV_8UC3); CV_Assert 64 modules/videostab/src/global_motion.cpp CV_Assert(points0.rows == 1 && points1.rows == 1 && mask.rows == 1); CV_Assert 65 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == CV_32FC2 && points1.type() == CV_32FC2 && mask.type() == CV_8U); CV_Assert 66 modules/videostab/src/global_motion.cpp CV_Assert(points0.cols == mask.cols && points1.cols == mask.cols); CV_Assert 359 modules/videostab/src/global_motion.cpp CV_Assert(model <= MM_AFFINE); CV_Assert 360 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 362 modules/videostab/src/global_motion.cpp CV_Assert(points1.getMat().checkVector(2) == npoints); CV_Assert 383 modules/videostab/src/global_motion.cpp CV_Assert(model <= MM_AFFINE); CV_Assert 384 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 386 modules/videostab/src/global_motion.cpp CV_Assert(points1.getMat().checkVector(2) == npoints); CV_Assert 491 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 493 modules/videostab/src/global_motion.cpp CV_Assert(points1.getMat().checkVector(2) == npoints); CV_Assert 533 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 535 modules/videostab/src/global_motion.cpp CV_Assert(points1.getMat().checkVector(2) == npoints); CV_Assert 545 modules/videostab/src/global_motion.cpp CV_Assert(motionModel() <= MM_AFFINE && motionModel() != MM_RIGID); CV_Assert 663 modules/videostab/src/global_motion.cpp CV_Assert(file_.is_open()); CV_Assert 683 modules/videostab/src/global_motion.cpp CV_Assert(file_.is_open()); CV_Assert 774 modules/videostab/src/global_motion.cpp CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); CV_Assert 127 modules/videostab/src/inpainting.cpp CV_Assert(frame.type() == CV_8UC3); CV_Assert 128 modules/videostab/src/inpainting.cpp CV_Assert(mask.size() == frame.size() && mask.type() == CV_8U); CV_Assert 202 modules/videostab/src/inpainting.cpp CV_Assert(frame0.type() == CV_8UC3 && frame1.type() == CV_8UC3); CV_Assert 203 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == frame0.size()); CV_Assert 204 modules/videostab/src/inpainting.cpp CV_Assert(frame0.size() == frame1.size()); CV_Assert 205 modules/videostab/src/inpainting.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); CV_Assert 477 modules/videostab/src/inpainting.cpp CV_Assert(flowX.type() == CV_32F && flowX.size() == mask0.size()); CV_Assert 478 modules/videostab/src/inpainting.cpp CV_Assert(flowY.type() == CV_32F && flowY.size() == mask0.size()); CV_Assert 479 modules/videostab/src/inpainting.cpp CV_Assert(errors.type() == CV_32F && errors.size() == mask0.size()); CV_Assert 480 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U); CV_Assert 481 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == mask0.size()); CV_Assert 511 modules/videostab/src/inpainting.cpp CV_Assert(flowMask.type() == CV_8U); CV_Assert 512 modules/videostab/src/inpainting.cpp CV_Assert(flowX.type() == CV_32F && flowX.size() == flowMask.size()); CV_Assert 513 modules/videostab/src/inpainting.cpp CV_Assert(flowY.type() == CV_32F && flowY.size() == flowMask.size()); CV_Assert 514 modules/videostab/src/inpainting.cpp CV_Assert(frame1.type() == CV_8UC3 && frame1.size() == flowMask.size()); CV_Assert 515 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == flowMask.size()); CV_Assert 516 modules/videostab/src/inpainting.cpp CV_Assert(frame0.type() == CV_8UC3 && frame0.size() == flowMask.size()); CV_Assert 517 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == flowMask.size()); CV_Assert 145 modules/videostab/src/motion_stabilizing.cpp CV_Assert(model_ <= MM_AFFINE); CV_Assert 641 modules/videostab/src/motion_stabilizing.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); CV_Assert 676 modules/videostab/src/motion_stabilizing.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); CV_Assert 69 modules/videostab/src/optical_flow.cpp CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); CV_Assert 117 modules/videostab/src/optical_flow.cpp CV_Assert(cuda::getCudaEnabledDeviceCount() > 0); CV_Assert 54 modules/videostab/src/outlier_rejection.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 55 modules/videostab/src/outlier_rejection.cpp CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); CV_Assert 73 modules/videostab/src/outlier_rejection.cpp CV_Assert(points0.type() == points1.type()); CV_Assert 74 modules/videostab/src/outlier_rejection.cpp CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); CV_Assert 69 modules/videostab/src/wobble_suppression.cpp CV_Assert(ml.size() == Size(3, 3) && ml.type() == CV_32F && ml.isContinuous()); CV_Assert 70 modules/videostab/src/wobble_suppression.cpp CV_Assert(mr.size() == Size(3, 3) && mr.type() == CV_32F && mr.isContinuous()); CV_Assert 102 modules/videostab/src/wobble_suppression.cpp CV_Assert(motions_ && stabilizationMotions_); CV_Assert 154 modules/videostab/src/wobble_suppression.cpp CV_Assert(motions_ && stabilizationMotions_); CV_Assert 71 modules/viz/src/clouds.cpp CV_Assert(!cloud.empty() && !colors.empty()); CV_Assert 235 modules/viz/src/clouds.cpp CV_Assert("Correctness check." && actor); CV_Assert 252 modules/viz/src/clouds.cpp CV_Assert("Incompatible widget type." && actor); CV_Assert 255 modules/viz/src/clouds.cpp CV_Assert("Need to add at least one cloud." && mapper); CV_Assert 280 modules/viz/src/clouds.cpp CV_Assert(cloud.type() == CV_32FC3 || cloud.type() == CV_64FC3 || cloud.type() == CV_32FC4 || cloud.type() == CV_64FC4); CV_Assert 281 modules/viz/src/clouds.cpp CV_Assert(cloud.size() == normals.size() && cloud.type() == normals.type()); CV_Assert 363 modules/viz/src/clouds.cpp CV_Assert(mesh.cloud.rows == 1 && mesh.polygons.type() == CV_32SC1); CV_Assert 486 modules/viz/src/clouds.cpp CV_Assert("Widget is not 3D actor." && widget_actor); CV_Assert 489 modules/viz/src/clouds.cpp CV_Assert("Widget doesn't have a polydata mapper" && widget_mapper); CV_Assert 495 modules/viz/src/clouds.cpp CV_Assert("Correctness check" && append_filter); CV_Assert 505 modules/viz/src/clouds.cpp CV_Assert("Correctness check" && append_filter); CV_Assert 517 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && actor); CV_Assert 522 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && textSource); CV_Assert 532 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && actor); CV_Assert 536 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && textSource); CV_Assert 579 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && actor); CV_Assert 586 modules/viz/src/shapes.cpp CV_Assert("This widget does not support text." && actor); CV_Assert 595 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_Assert 628 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_Assert 631 modules/viz/src/shapes.cpp CV_Assert("This widget does not support overlay image." && actor); CV_Assert 634 modules/viz/src/shapes.cpp CV_Assert("This widget does not support overlay image." && mapper); CV_Assert 672 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_Assert 702 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_Assert 717 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_Assert 720 modules/viz/src/shapes.cpp CV_Assert("This widget does not support 3D image." && actor); CV_Assert 841 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); CV_Assert 875 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); CV_Assert 1028 modules/viz/src/shapes.cpp CV_Assert(_path.kind() == _InputArray::STD_VECTOR || _path.kind() == _InputArray::MAT); CV_Assert 1029 modules/viz/src/shapes.cpp CV_Assert(_path.type() == CV_32FC(16) || _path.type() == CV_64FC(16)); CV_Assert 67 modules/viz/src/types.cpp CV_Assert("File does not exist or file format is not supported." && polydata); CV_Assert 102 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); CV_Assert 122 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); CV_Assert 148 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); CV_Assert 165 modules/viz/src/types.cpp CV_Assert(window_size.width > 0 && window_size.height > 0); CV_Assert 112 modules/viz/src/vizcore.cpp CV_Assert(vm_itr != storage.m.end()); CV_Assert 120 modules/viz/src/vizcore.cpp CV_Assert(vm_itr == storage.m.end()); CV_Assert 172 modules/viz/src/vizcore.cpp CV_Assert(file.size() > 4 && "Extention is required"); CV_Assert 197 modules/viz/src/vizcore.cpp CV_Assert(!"Unsupported format"); CV_Assert 205 modules/viz/src/vizcore.cpp CV_Assert(file.size() > 4 && "Extention is required"); CV_Assert 217 modules/viz/src/vizcore.cpp CV_Assert(vtkPLYReader::CanReadFile(file.c_str())); CV_Assert 231 modules/viz/src/vizcore.cpp CV_Assert(!"Unsupported format"); CV_Assert 271 modules/viz/src/vizcore.cpp CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); CV_Assert 305 modules/viz/src/vizcore.cpp CV_Assert(pose.type() == CV_32FC(16) || pose.type() == CV_64FC(16)); CV_Assert 314 modules/viz/src/vizcore.cpp CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); CV_Assert 328 modules/viz/src/vizcore.cpp CV_Assert(!"Unsupported array kind"); CV_Assert 225 modules/viz/src/vizimpl.cpp CV_Assert("Widget does not exist." && exists); CV_Assert 226 modules/viz/src/vizimpl.cpp CV_Assert("Widget could not be removed." && removeActorFromRenderer(wam_itr->second)); CV_Assert 235 modules/viz/src/vizimpl.cpp CV_Assert("Widget does not exist." && exists); CV_Assert 247 modules/viz/src/vizimpl.cpp CV_Assert("Widget does not exist." && exists); CV_Assert 250 modules/viz/src/vizimpl.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 262 modules/viz/src/vizimpl.cpp CV_Assert("Widget does not exist." && exists); CV_Assert 265 modules/viz/src/vizimpl.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 285 modules/viz/src/vizimpl.cpp CV_Assert("Widget does not exist." && exists); CV_Assert 288 modules/viz/src/vizimpl.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 486 modules/viz/src/vizimpl.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 74 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(vtktype == VTK_FLOAT || vtktype == VTK_DOUBLE); CV_Assert 98 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert((channels == 3 || channels == 4) && "Only 3- or 4-channel color data support is implemented"); CV_Assert 99 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)scalars_data->GetNumberOfTuples()); CV_Assert 118 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert((vtktype == VTK_FLOAT || VTK_FLOAT == VTK_DOUBLE) && (channels == 3 || channels == 4)); CV_Assert 119 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)normals_data->GetNumberOfTuples()); CV_Assert 137 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(vtktype == VTK_FLOAT || VTK_FLOAT == VTK_DOUBLE); CV_Assert 138 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)coords_data->GetNumberOfTuples()); CV_Assert 71 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_cloud.depth() == CV_32F || _cloud.depth() == CV_64F); CV_Assert 72 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_cloud.channels() == 3 || _cloud.channels() == 4); CV_Assert 94 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.depth() == CV_8U && _colors.channels() <= 4 && _colors.channels() != 2); CV_Assert 95 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.size() == _cloud.size()); CV_Assert 115 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.depth() == CV_32F || _normals.depth() == CV_64F); CV_Assert 116 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.channels() == 3 || _normals.channels() == 4); CV_Assert 117 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.size() == _cloud.size()); CV_Assert 131 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(!"Unsupported normals/cloud type"); CV_Assert 143 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_tcoords.depth() == CV_32F || _tcoords.depth() == CV_64F); CV_Assert 144 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_tcoords.channels() == 2 && _tcoords.size() == _cloud.size()); CV_Assert 158 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(!"Unsupported tcoords/cloud type"); CV_Assert 81 modules/viz/src/vtk/vtkImageMatSource.cpp CV_Assert(_image.depth() == CV_8U && (_image.channels() == 1 || _image.channels() == 3 || _image.channels() == 4)); CV_Assert 57 modules/viz/src/vtk/vtkTrajectorySource.cpp CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); CV_Assert 58 modules/viz/src/vtk/vtkTrajectorySource.cpp CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); CV_Assert 85 modules/viz/src/vtk/vtkTrajectorySource.cpp CV_Assert(_traj.kind() == _InputArray::STD_VECTOR || _traj.kind() == _InputArray::MAT); CV_Assert 86 modules/viz/src/vtk/vtkTrajectorySource.cpp CV_Assert(_traj.type() == CV_32FC(16) || _traj.type() == CV_64FC(16)); CV_Assert 87 modules/viz/src/widget.cpp CV_Assert(vtkPLYReader::CanReadFile(file_name.c_str())); CV_Assert 109 modules/viz/src/widget.cpp CV_Assert("Widget type is not supported." && actor); CV_Assert 120 modules/viz/src/widget.cpp CV_Assert("Widget does not have text content." && text_actor); CV_Assert 144 modules/viz/src/widget.cpp CV_Assert("Can't set shading property for such type of widget" && mapper); CV_Assert 157 modules/viz/src/widget.cpp CV_Assert("Can't set shading property for such type of widget" && mapper); CV_Assert 169 modules/viz/src/widget.cpp CV_Assert("setPointCloudRenderingProperties: Unknown property"); CV_Assert 177 modules/viz/src/widget.cpp CV_Assert("Widget type is not supported." && actor); CV_Assert 190 modules/viz/src/widget.cpp CV_Assert("Widget does not have text content." && text_actor); CV_Assert 215 modules/viz/src/widget.cpp CV_Assert("getPointCloudRenderingProperties: Unknown property"); CV_Assert 239 modules/viz/src/widget.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 249 modules/viz/src/widget.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 268 modules/viz/src/widget.cpp CV_Assert("Widget is not 3D." && actor); CV_Assert 275 modules/viz/src/widget.cpp CV_Assert("Widget is not 3D actor." && actor); CV_Assert 278 modules/viz/src/widget.cpp CV_Assert("Widget doesn't have a polydata mapper" && mapper); CV_Assert 288 modules/viz/src/widget.cpp CV_Assert("Widget type is not supported." && actor); CV_Assert 300 modules/viz/src/widget.cpp CV_Assert("Widget cannot be cast." && actor); CV_Assert 313 modules/viz/src/widget.cpp CV_Assert("Widget type is not supported." && actor); CV_Assert 322 modules/viz/src/widget.cpp CV_Assert("Widget cannot be cast." && actor); CV_Assert 29 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp CV_Assert(detector); CV_Assert 60 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp CV_Assert(_mainDetector); CV_Assert 61 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp CV_Assert(_trackingDetector); CV_Assert 221 samples/cpp/calibration.cpp CV_Assert(rvecs[0].type() == tvecs[0].type()); CV_Assert 228 samples/cpp/calibration.cpp CV_Assert(rvecs[i].rows == 3 && rvecs[i].cols == 1); CV_Assert 229 samples/cpp/calibration.cpp CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); CV_Assert 26 samples/cpp/dbt_face_detection.cpp CV_Assert(detector); CV_Assert 136 samples/cpp/grabcut.cpp CV_Assert( !mask.empty() ); CV_Assert 207 samples/cpp/grabcut.cpp CV_Assert( bgdPxls.empty() && fgdPxls.empty() && prBgdPxls.empty() && prFgdPxls.empty() ); CV_Assert 229 samples/cpp/grabcut.cpp CV_Assert( bgdPxls.empty() && fgdPxls.empty() && prBgdPxls.empty() && prFgdPxls.empty() ); CV_Assert 79 samples/cpp/image_alignment.cpp CV_Assert(warp.type()==CV_32FC1); CV_Assert 107 samples/cpp/image_alignment.cpp CV_Assert(warp.type()==CV_32FC1); CV_Assert 29 samples/cpp/openni_capture.cpp CV_Assert( !gray.empty() ); CV_Assert 30 samples/cpp/openni_capture.cpp CV_Assert( gray.type() == CV_8UC1 ); CV_Assert 352 samples/cpp/select3dobj.cpp CV_Assert( nviews == roiList.size() && nviews == poseList.size() ); CV_Assert 499 samples/cpp/select3dobj.cpp CV_Assert(result == 0); CV_Assert 818 samples/cpp/stitching_detailed.cpp CV_Assert(timelapse); CV_Assert 33 samples/cpp/train_HOG.cpp CV_Assert( alpha.total() == 1 && svidx.total() == 1 && sv_total == 1 ); CV_Assert 34 samples/cpp/train_HOG.cpp CV_Assert( (alpha.type() == CV_64F && alpha.at<double>(0) == 1.) || CV_Assert 36 samples/cpp/train_HOG.cpp CV_Assert( sv.type() == CV_32F ); CV_Assert 61 samples/cpp/train_HOG.cpp CV_Assert( itr->cols == 1 || CV_Assert 425 samples/cpp/train_HOG.cpp CV_Assert( old < labels.size() ); CV_Assert 534 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp CV_Assert(rvecs[0].type() == tvecs[0].type()); CV_Assert 541 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp CV_Assert(rvecs[i].rows == 3 && rvecs[i].cols == 1); CV_Assert 542 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp CV_Assert(tvecs[i].rows == 3 && tvecs[i].cols == 1); CV_Assert 137 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); CV_Assert 168 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); CV_Assert 200 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); CV_Assert 64 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp CV_Assert(myImage.depth() == CV_8U); // accept only uchar images CV_Assert 29 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp CV_Assert(argc == 2); CV_Assert 190 samples/gpu/cascadeclassifier.cpp CV_Assert(!image.empty()); CV_Assert 195 samples/gpu/cascadeclassifier.cpp CV_Assert(capture.isOpened()); CV_Assert 200 samples/gpu/cascadeclassifier.cpp CV_Assert(capture.isOpened()); CV_Assert 132 samples/gpu/driver_api_stereo_multi.cpp CV_Assert(!left.empty()); CV_Assert 137 samples/gpu/driver_api_stereo_multi.cpp CV_Assert(!right.empty()); CV_Assert 37 samples/gpu/surf_keypoint_matcher.cpp CV_Assert(!img1.empty()); CV_Assert 42 samples/gpu/surf_keypoint_matcher.cpp CV_Assert(!img2.empty());