empty 709 3rdparty/include/opencl/1.2/CL/cl.hpp while(!empty()) { empty 890 3rdparty/include/opencl/1.2/CL/cl.hpp if( !vec.empty() ) { empty 132 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (layerName.empty()) empty 131 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (layerName.empty()) empty 31 apps/traincascade/HOGfeatures.cpp CV_DbgAssert( !hist.empty()); empty 243 apps/traincascade/boost.cpp CV_Assert( !boostTypeStr.empty() ); empty 296 apps/traincascade/boost.cpp CV_Assert( !boostTypeStr.empty() ); empty 839 apps/traincascade/boost.cpp if ( vi < numPrecalcVal && !valCache.empty() ) empty 997 apps/traincascade/boost.cpp while (!internalNodesQueue.empty()) empty 1023 apps/traincascade/boost.cpp fidx = featureMap.empty() ? fidx : featureMap.at<int>(0, fidx); empty 28 apps/traincascade/cascadeclassifier.cpp CV_Assert( !stageTypeStr.empty() ); empty 34 apps/traincascade/cascadeclassifier.cpp CV_Assert( !stageTypeStr.empty() ); empty 42 apps/traincascade/cascadeclassifier.cpp if ( node.empty() ) empty 144 apps/traincascade/cascadeclassifier.cpp if( _cascadeDirName.empty() || _posFilename.empty() || _negFilename.empty() ) empty 395 apps/traincascade/cascadeclassifier.cpp if (!rnode.empty() || !rnode.isSeq()) empty 473 apps/traincascade/cascadeclassifier.cpp while (!inner_nodes_queue.empty()) empty 51 apps/traincascade/features.cpp if ( node.empty() ) empty 32 apps/traincascade/haarfeatures.cpp CV_Assert( !modeStr.empty() ); empty 100 apps/traincascade/haarfeatures.cpp CV_DbgAssert( !sum.empty() && !tilted.empty() && !normfactor.empty() ); empty 39 apps/traincascade/imagestorage.cpp if (str.empty()) break; empty 57 apps/traincascade/imagestorage.cpp if( src.empty() ){ empty 67 apps/traincascade/imagestorage.cpp if( !src.empty() && src.type() == CV_8UC1 empty 72 apps/traincascade/imagestorage.cpp if( src.empty() ) empty 85 apps/traincascade/imagestorage.cpp CV_Assert( !_img.empty() ); empty 90 apps/traincascade/imagestorage.cpp if( img.empty() ) empty 24 apps/traincascade/lbpfeatures.cpp CV_DbgAssert( !sum.empty() ); empty 1746 apps/traincascade/old_ml_boost.cpp if( !have_active_cat_vars && missing.empty() && !weak_responses ) empty 1771 apps/traincascade/old_ml_boost.cpp const uchar* m = !missing.empty() ? missing.ptr<uchar>() : 0; empty 2157 apps/traincascade/old_ml_boost.cpp return predict(&sample, _missing.empty() ? 0 : &mmask, 0, empty 181 modules/calib3d/misc/java/test/Calib3dTest.java assertTrue(!corners.empty()); empty 189 modules/calib3d/misc/java/test/Calib3dTest.java assertTrue(!corners.empty()); empty 61 modules/calib3d/perf/opencl/perf_stereobm.cpp ASSERT_FALSE(left.empty()); empty 62 modules/calib3d/perf/opencl/perf_stereobm.cpp ASSERT_FALSE(right.empty()); empty 29 modules/calib3d/perf/perf_cicrlesGrid.cpp if (frame.empty()) empty 1935 modules/calib3d/src/calibinit.cpp if( corners.empty() ) empty 1967 modules/calib3d/src/calibinit.cpp return !centers.empty(); empty 3181 modules/calib3d/src/calibration.cpp if( distCoeffs.empty() ) empty 3610 modules/calib3d/src/calibration.cpp if( !_imgpt1.empty() && _imgpt3.empty() ) empty 142 modules/calib3d/src/circlesgrid.cpp if(points.empty()) empty 149 modules/calib3d/src/circlesgrid.cpp if(patternPoints.empty()) empty 222 modules/calib3d/src/circlesgrid.cpp CV_Assert(!corners.empty()); empty 819 modules/calib3d/src/circlesgrid.cpp CV_Assert( !centers.empty() ); empty 841 modules/calib3d/src/circlesgrid.cpp if (H.empty()) empty 1064 modules/calib3d/src/circlesgrid.cpp if (samples.empty()) empty 1083 modules/calib3d/src/circlesgrid.cpp if (filteredSamples.empty()) empty 1270 modules/calib3d/src/circlesgrid.cpp if (longestPaths.empty() || (maxVal == longestPaths[0].length && graphIdx == bestGraphIdx)) empty 127 modules/calib3d/src/compat_ptsetreg.cpp assert( !err.empty() ); empty 327 modules/calib3d/src/compat_ptsetreg.cpp if( H0.empty() ) empty 353 modules/calib3d/src/compat_ptsetreg.cpp if( FM0.empty() ) empty 318 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); empty 319 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); empty 339 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) empty 345 modules/calib3d/src/fisheye.cpp else if (!R.empty() && R.size() == Size(3, 3)) empty 348 modules/calib3d/src/fisheye.cpp if(!P.empty()) empty 410 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3, 3) && (D.empty() || D.total() == 4)); empty 411 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); empty 412 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); empty 429 modules/calib3d/src/fisheye.cpp if (!D.empty()) empty 433 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) empty 439 modules/calib3d/src/fisheye.cpp else if (!R.empty() && R.size() == Size(3, 3)) empty 443 modules/calib3d/src/fisheye.cpp if (!P.empty()) empty 515 modules/calib3d/src/fisheye.cpp CV_Assert((D.empty() || D.total() == 4) && (D.depth() == CV_32F || D.depth() == CV_64F || D.empty())); empty 601 modules/calib3d/src/fisheye.cpp 0, 0, 1)).convertTo(P, P.empty() ? K.type() : P.type()); empty 651 modules/calib3d/src/fisheye.cpp Mat(ri1, false).convertTo(R1, R1.empty() ? CV_64F : R1.type()); empty 653 modules/calib3d/src/fisheye.cpp Mat(ri2, false).convertTo(R2, R2.empty() ? CV_64F : R2.type()); empty 674 modules/calib3d/src/fisheye.cpp 0, 0, 1, 0), false).convertTo(P1, P1.empty() ? CV_64F : P1.type()); empty 678 modules/calib3d/src/fisheye.cpp 0, 0, 1, 0), false).convertTo(P2, P2.empty() ? CV_64F : P2.type()); empty 684 modules/calib3d/src/fisheye.cpp 0, 0, -1./tnew[0], (cc_new[0].x - cc_new[1].x)/tnew[0]), false).convertTo(Q, Q.empty() ? CV_64F : Q.depth()); empty 694 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && !imagePoints.empty() && objectPoints.total() == imagePoints.total()); empty 697 modules/calib3d/src/fisheye.cpp CV_Assert((!K.empty() && K.size() == Size(3,3)) || K.empty()); empty 698 modules/calib3d/src/fisheye.cpp CV_Assert((!D.empty() && D.total() == 4) || D.empty()); empty 699 modules/calib3d/src/fisheye.cpp CV_Assert((!rvecs.empty() && rvecs.channels() == 3) || rvecs.empty()); empty 700 modules/calib3d/src/fisheye.cpp CV_Assert((!tvecs.empty() && tvecs.channels() == 3) || tvecs.empty()); empty 702 modules/calib3d/src/fisheye.cpp CV_Assert(((flags & CALIB_USE_INTRINSIC_GUESS) && !K.empty() && !D.empty()) || !(flags & CALIB_USE_INTRINSIC_GUESS)); empty 795 modules/calib3d/src/fisheye.cpp if (K.needed()) cv::Mat(_K).convertTo(K, K.empty() ? CV_64FC1 : K.type()); empty 796 modules/calib3d/src/fisheye.cpp if (D.needed()) cv::Mat(finalParam.k).convertTo(D, D.empty() ? CV_64FC1 : D.type()); empty 808 modules/calib3d/src/fisheye.cpp if (rvecs.needed()) cv::Mat(omc).convertTo(rvecs, rvecs.empty() ? CV_64FC3 : rvecs.type()); empty 809 modules/calib3d/src/fisheye.cpp if (tvecs.needed()) cv::Mat(Tc).convertTo(tvecs, tvecs.empty() ? CV_64FC3 : tvecs.type()); empty 822 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && !imagePoints1.empty() && !imagePoints2.empty()); empty 828 modules/calib3d/src/fisheye.cpp CV_Assert((!K1.empty() && K1.size() == Size(3,3)) || K1.empty()); empty 829 modules/calib3d/src/fisheye.cpp CV_Assert((!D1.empty() && D1.total() == 4) || D1.empty()); empty 830 modules/calib3d/src/fisheye.cpp CV_Assert((!K2.empty() && K1.size() == Size(3,3)) || K2.empty()); empty 831 modules/calib3d/src/fisheye.cpp CV_Assert((!D2.empty() && D1.total() == 4) || D2.empty()); empty 833 modules/calib3d/src/fisheye.cpp CV_Assert(((flags & CALIB_FIX_INTRINSIC) && !K1.empty() && !K2.empty() && !D1.empty() && !D2.empty()) || !(flags & CALIB_FIX_INTRINSIC)); empty 854 modules/calib3d/src/fisheye.cpp if (!K1.empty()) K1.getMat().convertTo(_K1, CV_64FC1); empty 855 modules/calib3d/src/fisheye.cpp if (!D1.empty()) D1.getMat().convertTo(_D1, CV_64FC1); empty 856 modules/calib3d/src/fisheye.cpp if (!K2.empty()) K2.getMat().convertTo(_K2, CV_64FC1); empty 857 modules/calib3d/src/fisheye.cpp if (!D2.empty()) D2.getMat().convertTo(_D2, CV_64FC1); empty 1044 modules/calib3d/src/fisheye.cpp if (K1.needed()) cv::Mat(_K1).convertTo(K1, K1.empty() ? CV_64FC1 : K1.type()); empty 1045 modules/calib3d/src/fisheye.cpp if (K2.needed()) cv::Mat(_K2).convertTo(K2, K2.empty() ? CV_64FC1 : K2.type()); empty 1046 modules/calib3d/src/fisheye.cpp if (D1.needed()) cv::Mat(intrinsicLeft.k).convertTo(D1, D1.empty() ? CV_64FC1 : D1.type()); empty 1047 modules/calib3d/src/fisheye.cpp if (D2.needed()) cv::Mat(intrinsicRight.k).convertTo(D2, D2.empty() ? CV_64FC1 : D2.type()); empty 1048 modules/calib3d/src/fisheye.cpp if (R.needed()) _R.convertTo(R, R.empty() ? CV_64FC1 : R.type()); empty 1049 modules/calib3d/src/fisheye.cpp if (T.needed()) cv::Mat(Tcur).convertTo(T, T.empty() ? CV_64FC1 : T.type()); empty 1148 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && objectPoints.type() == CV_64FC3); empty 1159 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && objectPoints.type() == CV_64FC3); empty 1160 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && imagePoints.type() == CV_64FC2); empty 1299 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && imagePoints.type() == CV_64FC2); empty 1316 modules/calib3d/src/fisheye.cpp CV_Assert(!_objectPoints.empty() && _objectPoints.type() == CV_64FC3); empty 1317 modules/calib3d/src/fisheye.cpp CV_Assert(!_imagePoints.empty() && _imagePoints.type() == CV_64FC2); empty 1356 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); empty 1357 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); empty 1360 modules/calib3d/src/fisheye.cpp if (omc.empty()) omc.create(1, (int)objectPoints.total(), CV_64FC3); empty 1361 modules/calib3d/src/fisheye.cpp if (Tc.empty()) Tc.create(1, (int)objectPoints.total(), CV_64FC3); empty 1391 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); empty 1392 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); empty 1394 modules/calib3d/src/fisheye.cpp CV_Assert(!omc.empty() && omc.type() == CV_64FC3); empty 1395 modules/calib3d/src/fisheye.cpp CV_Assert(!Tc.empty() && Tc.type() == CV_64FC3); empty 1456 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && (objectPoints.type() == CV_32FC3 || objectPoints.type() == CV_64FC3)); empty 1457 modules/calib3d/src/fisheye.cpp CV_Assert(!imagePoints.empty() && (imagePoints.type() == CV_32FC2 || imagePoints.type() == CV_64FC2)); empty 1459 modules/calib3d/src/fisheye.cpp CV_Assert(!omc.empty() && omc.type() == CV_64FC3); empty 1460 modules/calib3d/src/fisheye.cpp CV_Assert(!Tc.empty() && Tc.type() == CV_64FC3); empty 1612 modules/calib3d/src/fisheye.cpp CV_Assert(!row.empty() && row.rows == 1); empty 538 modules/calib3d/src/five-point.cpp if (!_mask.empty()) empty 547 modules/calib3d/src/five-point.cpp if (_mask.empty() && _mask.needed()) empty 615 modules/calib3d/src/rho.cpp int areAllAllocsSuccessful = !mem.perObj.empty(); empty 92 modules/calib3d/src/stereobm.cpp if(k.empty()) empty 176 modules/calib3d/src/stereobm.cpp if(k.empty()) empty 917 modules/calib3d/src/stereobm.cpp if(k.empty()) empty 386 modules/calib3d/src/stereosgbm.cpp if( buffer.empty() || !buffer.isContinuous() || empty 983 modules/calib3d/src/stereosgbm.cpp if( !_buf.isContinuous() || _buf.empty() || _buf.cols*_buf.rows*_buf.elemSize() < bufSize ) empty 67 modules/calib3d/test/opencl/test_stereobm.cpp ASSERT_FALSE(left.empty()); empty 68 modules/calib3d/test/opencl/test_stereobm.cpp ASSERT_FALSE(right.empty()); empty 976 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( !leftF.empty() && !rightF.empty() && !leftF[0].empty() && !rightF[0].empty() ); empty 1433 modules/calib3d/test/test_cameracalibration.cpp if(left.empty() || right.empty()) empty 62 modules/calib3d/test/test_chesscorners.cpp if( !u.empty() ) empty 69 modules/calib3d/test/test_chesscorners.cpp if (!v.empty()) empty 201 modules/calib3d/test/test_chesscorners.cpp if( !fs.isOpened() || board_list.empty() || !board_list.isSeq() || board_list.size() % 2 != 0 ) empty 205 modules/calib3d/test/test_chesscorners.cpp fs.isOpened(), (int)board_list.empty(), board_list.isSeq(), board_list.size()%2); empty 223 modules/calib3d/test/test_chesscorners.cpp if( gray.empty() ) empty 87 modules/calib3d/test/test_chesscorners_badarg.cpp (CvPoint2D32f*)(corners.empty() ? 0 : &corners[0]), empty 113 modules/calib3d/test/test_chesscorners_timing.cpp if( img2.empty() ) empty 113 modules/calib3d/test/test_fisheye.cpp if (correct.empty()) empty 123 modules/calib3d/test/test_fisheye.cpp if (correct.empty()) empty 134 modules/calib3d/test/test_fisheye.cpp if (correct.empty()) empty 421 modules/calib3d/test/test_fisheye.cpp if (l.empty() || r.empty()) empty 435 modules/calib3d/test/test_fisheye.cpp if (correct.empty()) empty 595 modules/calib3d/test/test_fisheye.cpp if (item1.empty()) empty 598 modules/calib3d/test/test_fisheye.cpp if (item2.empty()) empty 501 modules/calib3d/test/test_fundam.cpp if( !noise.empty() ) empty 619 modules/calib3d/test/test_homography.cpp ASSERT_TRUE(!h.empty()); empty 703 modules/calib3d/test/test_homography.cpp ASSERT_TRUE(!H0.empty()); empty 705 modules/calib3d/test/test_homography.cpp ASSERT_TRUE(!H1.empty()); empty 77 modules/calib3d/test/test_stereomatching.cpp if( _img.empty() ) empty 97 modules/calib3d/test/test_stereomatching.cpp if( dispMap.empty() ) empty 107 modules/calib3d/test/test_stereomatching.cpp if( mask.empty() ) empty 120 modules/calib3d/test/test_stereomatching.cpp if( !rightDispMap.empty() ) empty 127 modules/calib3d/test/test_stereomatching.cpp if( !leftUnknDispMask.empty() ) empty 129 modules/calib3d/test/test_stereomatching.cpp if( !rightUnknDispMask.empty() ) empty 134 modules/calib3d/test/test_stereomatching.cpp if( leftUnknDispMask.empty() ) empty 138 modules/calib3d/test/test_stereomatching.cpp if( !rightDispMap.empty() ) empty 140 modules/calib3d/test/test_stereomatching.cpp if( rightUnknDispMask.empty() ) empty 163 modules/calib3d/test/test_stereomatching.cpp if( _rightDisp.empty() ) empty 165 modules/calib3d/test/test_stereomatching.cpp if( !rightUnknDispMask.empty() ) empty 173 modules/calib3d/test/test_stereomatching.cpp if( !leftUnknDispMask.empty() && leftUnknDispMask.at<uchar>(leftY,leftX) ) empty 199 modules/calib3d/test/test_stereomatching.cpp if( !leftUnknDispMask.empty() && leftUnknDispMask.at<uchar>(leftY,leftX) ) empty 207 modules/calib3d/test/test_stereomatching.cpp if( !rightUnknDispMask.empty() && rightUnknDispMask.at<uchar>(rightY,rightX) ) empty 232 modules/calib3d/test/test_stereomatching.cpp if( disp.empty() ) empty 236 modules/calib3d/test/test_stereomatching.cpp if( !unknDispMask.empty() ) empty 240 modules/calib3d/test/test_stereomatching.cpp if( !unknDispMask.empty() ) empty 243 modules/calib3d/test/test_stereomatching.cpp if( !unknDispMask.empty() ) empty 247 modules/calib3d/test/test_stereomatching.cpp if( !unknDispMask.empty() ) empty 277 modules/calib3d/test/test_stereomatching.cpp if( !mask.empty() ) empty 300 modules/calib3d/test/test_stereomatching.cpp if( !mask.empty() ) empty 403 modules/calib3d/test/test_stereomatching.cpp assert( !algorithmName.empty() ); empty 404 modules/calib3d/test/test_stereomatching.cpp if( dataPath.empty() ) empty 456 modules/calib3d/test/test_stereomatching.cpp if( leftImg.empty() || rightImg.empty() || trueLeftDisp.empty() ) empty 469 modules/calib3d/test/test_stereomatching.cpp if( !trueRightDisp.empty() ) empty 550 modules/calib3d/test/test_stereomatching.cpp assert( trueRightDisp.empty() || trueRightDisp.type() == CV_32FC1 ); empty 559 modules/calib3d/test/test_stereomatching.cpp if( !trueRightDisp.empty() ) empty 2955 modules/core/include/opencv2/core.hpp return !obj->empty() ? obj : Ptr<_Tp>(); empty 2973 modules/core/include/opencv2/core.hpp FileNode fn = objname.empty() ? fs.getFirstTopLevelNode() : fs[objname]; empty 2976 modules/core/include/opencv2/core.hpp return !obj->empty() ? obj : Ptr<_Tp>(); empty 2992 modules/core/include/opencv2/core.hpp FileNode fn = objname.empty() ? fs.getFirstTopLevelNode() : fs[objname]; empty 2995 modules/core/include/opencv2/core.hpp return !obj->empty() ? obj : Ptr<_Tp>(); empty 2865 modules/core/include/opencv2/core/core_c.h bool empty() const; empty 3006 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline bool Seq<_Tp>::empty() const empty 275 modules/core/include/opencv2/core/cuda.hpp bool empty() const; empty 412 modules/core/include/opencv2/core/cuda.hpp bool empty() const; empty 398 modules/core/include/opencv2/core/cvstd.hpp bool empty() const; empty 520 modules/core/include/opencv2/core/cvstd.hpp bool empty() const; empty 78 modules/core/include/opencv2/core/cvstd.inl.hpp if (!str.empty()) empty 100 modules/core/include/opencv2/core/cvstd.inl.hpp if (!str.empty()) empty 215 modules/core/include/opencv2/core/mat.hpp bool empty() const; empty 1615 modules/core/include/opencv2/core/mat.hpp bool empty() const; empty 2271 modules/core/include/opencv2/core/mat.hpp bool empty() const; empty 460 modules/core/include/opencv2/core/mat.inl.hpp if(vec.empty()) empty 3192 modules/core/include/opencv2/core/mat.inl.hpp if(vec.empty()) empty 351 modules/core/include/opencv2/core/ocl.hpp bool empty() const; empty 260 modules/core/include/opencv2/core/opengl.hpp bool empty() const; empty 385 modules/core/include/opencv2/core/opengl.hpp bool empty() const; empty 464 modules/core/include/opencv2/core/opengl.hpp bool empty() const; empty 515 modules/core/include/opencv2/core/persistence.hpp CV_WRAP bool empty() const; empty 778 modules/core/include/opencv2/core/persistence.hpp fs->writeRaw(fmt, !vec.empty() ? (uchar*)&vec[0] : 0, vec.size() * sizeof(_Tp)); empty 812 modules/core/include/opencv2/core/persistence.hpp it->readRaw(fmt, !vec.empty() ? (uchar*)&vec[0] : 0, count*sizeof(_Tp)); empty 537 modules/core/include/opencv2/core/types.hpp bool empty() const; empty 17 modules/core/misc/java/src/java/core+MatOfByte.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfByte.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 19 modules/core/misc/java/src/java/core+MatOfDMatch.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 30 modules/core/misc/java/src/java/core+MatOfDMatch.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfDouble.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfDouble.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfFloat.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfFloat.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfFloat4.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfFloat4.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfFloat6.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfFloat6.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 18 modules/core/misc/java/src/java/core+MatOfInt.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 29 modules/core/misc/java/src/java/core+MatOfInt.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 18 modules/core/misc/java/src/java/core+MatOfInt4.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 29 modules/core/misc/java/src/java/core+MatOfInt4.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 19 modules/core/misc/java/src/java/core+MatOfKeyPoint.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 30 modules/core/misc/java/src/java/core+MatOfKeyPoint.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfPoint.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfPoint.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfPoint2f.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfPoint2f.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfPoint3.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfPoint3.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 17 modules/core/misc/java/src/java/core+MatOfPoint3f.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 28 modules/core/misc/java/src/java/core+MatOfPoint3f.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 18 modules/core/misc/java/src/java/core+MatOfRect.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 29 modules/core/misc/java/src/java/core+MatOfRect.java if( !empty() && checkVector(_channels, _depth) < 0 ) empty 33 modules/core/misc/java/src/java/core+Range.java return empty() ? 0 : end - start; empty 1943 modules/core/misc/java/test/CoreTest.java assertTrue(u.empty()); empty 1944 modules/core/misc/java/test/CoreTest.java assertTrue(vt.empty()); empty 257 modules/core/misc/java/test/MatTest.java assertTrue(dst.empty()); empty 258 modules/core/misc/java/test/MatTest.java assertTrue(!gray0.empty()); empty 515 modules/core/misc/java/test/MatTest.java assertTrue(m.empty()); empty 520 modules/core/misc/java/test/MatTest.java assertFalse(gray.empty()); empty 523 modules/core/misc/java/test/MatTest.java assertFalse(rgb.empty()); empty 528 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 532 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 538 modules/core/misc/java/test/MatTest.java assertFalse(gray.empty()); empty 541 modules/core/misc/java/test/MatTest.java assertFalse(rgb.empty()); empty 546 modules/core/misc/java/test/MatTest.java assertFalse(m1.empty()); empty 550 modules/core/misc/java/test/MatTest.java assertFalse(m2.empty()); empty 558 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 567 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 591 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 598 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 604 modules/core/misc/java/test/MatTest.java assertFalse(dst.empty()); empty 793 modules/core/misc/java/test/MatTest.java assertFalse(gray0.empty()); empty 798 modules/core/misc/java/test/MatTest.java assertTrue(gray0.empty()); empty 36 modules/core/misc/java/test/RangeTest.java flag = r1.empty(); empty 39 modules/core/misc/java/test/RangeTest.java flag = r2.empty(); empty 1440 modules/core/src/arithm.cpp bool haveMask = !_mask.empty(); empty 1467 modules/core/src/arithm.cpp if (k.empty()) empty 1528 modules/core/src/arithm.cpp bool haveMask = !_mask.empty(), haveScalar = false; empty 1813 modules/core/src/arithm.cpp bool haveMask = !_mask.empty(); empty 1862 modules/core/src/arithm.cpp if (k.empty()) empty 1879 modules/core/src/arithm.cpp if( !src2sc.empty() ) empty 1932 modules/core/src/arithm.cpp bool haveMask = !_mask.empty(); empty 2269 modules/core/src/arithm.cpp mask.empty()) empty 4924 modules/core/src/arithm.cpp if (k.empty()) empty 5610 modules/core/src/arithm.cpp if (ker.empty()) empty 428 modules/core/src/command_line_parser.cpp while (!str.empty()) empty 499 modules/core/src/command_line_parser.cpp while (!str.empty()) empty 503 modules/core/src/command_line_parser.cpp if (!word.empty() || create_empty_item) empty 124 modules/core/src/conjugate_gradient.cpp CV_Assert(_Function.empty()==false); empty 889 modules/core/src/convert.cpp if (k.empty()) empty 919 modules/core/src/convert.cpp if( m.empty() ) empty 925 modules/core/src/convert.cpp CV_Assert( !_mv.fixedType() || _mv.empty() || _mv.type() == m.depth() ); empty 1022 modules/core/src/convert.cpp CV_Assert(!src.empty()); empty 1060 modules/core/src/convert.cpp if (k.empty()) empty 1087 modules/core/src/convert.cpp merge(!mv.empty() ? &mv[0] : 0, mv.size(), _dst); empty 1329 modules/core/src/convert.cpp if (k.empty()) empty 1381 modules/core/src/convert.cpp if (fromTo.empty()) empty 5516 modules/core/src/convert.cpp if (k.empty()) empty 5692 modules/core/src/convert.cpp if (k.empty()) empty 5988 modules/core/src/convert.cpp if( _mask.empty() ) empty 6031 modules/core/src/convert.cpp if (k.empty()) empty 6102 modules/core/src/convert.cpp if( _mask.empty() ) empty 286 modules/core/src/copy.cpp if( empty() ) empty 467 modules/core/src/copy.cpp if( empty() ) empty 473 modules/core/src/copy.cpp CV_Assert( mask.empty() || (mask.type() == CV_8U && size == mask.size) ); empty 480 modules/core/src/copy.cpp if (!mask.empty() && (dims <= 2 || (isContinuous() && mask.isContinuous())) && empty 559 modules/core/src/copy.cpp const Mat* arrays[] = { this, !mask.empty() ? &mask : 0, 0 }; empty 704 modules/core/src/copy.cpp if (k.empty()) empty 856 modules/core/src/copy.cpp if (k.empty()) empty 1106 modules/core/src/copy.cpp if (k.empty()) empty 263 modules/core/src/cuda_gpu_mat.cpp if (obj.empty() || obj.type() != type || !obj.isContinuous() || obj.size().area() < area) empty 296 modules/core/src/cuda_gpu_mat.cpp if (obj.empty() || obj.type() != type || obj.data != obj.datastart) empty 358 modules/core/src/cuda_gpu_mat.cpp else if (!_src.empty()) empty 157 modules/core/src/cuda_host_mem.cpp if (a.empty()) empty 169 modules/core/src/cuda_info.cpp return !features.empty() && (features.back() >= feature_set); empty 184 modules/core/src/cuda_info.cpp return !ptx.empty() && (ptx.front() <= major * 10 + minor); empty 189 modules/core/src/cuda_info.cpp return !ptx.empty() && (ptx.back() >= major * 10 + minor); empty 194 modules/core/src/cuda_info.cpp return !bin.empty() && (bin.back() >= major * 10 + minor); empty 361 modules/core/src/cuda_stream.cpp if (streams_.empty()) empty 371 modules/core/src/cuda_stream.cpp if (streams_[deviceId].empty()) empty 385 modules/core/src/cuda_stream.cpp if (pools_.empty()) empty 181 modules/core/src/downhill_simplex.cpp CV_Assert( !_Function.empty() ); empty 197 modules/core/src/downhill_simplex.cpp if( !x.empty() ) empty 240 modules/core/src/downhill_simplex.cpp if( x0.empty() ) empty 1920 modules/core/src/dxt.cpp if (k.empty()) empty 2933 modules/core/src/dxt.cpp if (k.empty()) empty 245 modules/core/src/glob.cpp if (wildchart.empty() || wildcmp(name, wildchart.c_str())) empty 722 modules/core/src/lapack.cpp CV_Assert( !mat.empty() ); empty 1627 modules/core/src/lapack.cpp if( !u.empty() ) empty 1638 modules/core/src/lapack.cpp if( !v.empty() ) empty 185 modules/core/src/lda.cpp if(!mean.empty() && (mean.total() != (size_t) d)) { empty 194 modules/core/src/lda.cpp if(!mean.empty()) { empty 223 modules/core/src/lda.cpp if(!mean.empty() && (mean.total() != (size_t) W.rows)) { empty 234 modules/core/src/lda.cpp if(!mean.empty()) { empty 77 modules/core/src/mathfuncs.cpp format("-D %s -D %s -D dstT=%s -D rowsPerWI=%d%s", _src2.empty() ? "UNARY_OP" : "BINARY_OP", empty 80 modules/core/src/mathfuncs.cpp if (k.empty()) empty 91 modules/core/src/mathfuncs.cpp if (src2.empty()) empty 317 modules/core/src/mathfuncs.cpp if (k.empty()) empty 601 modules/core/src/mathfuncs.cpp if (k.empty()) empty 625 modules/core/src/mathfuncs.cpp CV_Assert((depth == CV_32F || depth == CV_64F) && (src1.empty() || src1.type() == type)); empty 627 modules/core/src/mathfuncs.cpp CV_OCL_RUN(!src1.empty() && src2.dims() <= 2 && dst1.isUMat() && dst2.isUMat(), empty 631 modules/core/src/mathfuncs.cpp CV_Assert( Mag.empty() || Angle.size == Mag.size); empty 1330 modules/core/src/mathfuncs.cpp if (k.empty()) empty 1728 modules/core/src/mathfuncs.cpp if (k.empty()) empty 848 modules/core/src/matmul.cpp if (k.empty()) empty 919 modules/core/src/matmul.cpp if( !C.empty() ) empty 1341 modules/core/src/matmul.cpp if( C.empty() ) empty 2293 modules/core/src/matmul.cpp if (k.empty()) empty 2785 modules/core/src/matmul.cpp if( !delta.empty() ) empty 2804 modules/core/src/matmul.cpp if( !delta.empty() ) empty 3398 modules/core/src/matmul.cpp flags, !evals.empty() ? evals.rows + evals.cols - 1 : 0); empty 589 modules/core/src/matop.cpp return !expr.a.empty() ? expr.a.size() : expr.b.empty() ? expr.b.size() : expr.c.size(); empty 594 modules/core/src/matop.cpp return !expr.a.empty() ? expr.a.type() : expr.b.empty() ? expr.b.type() : expr.c.type(); empty 1154 modules/core/src/matrix.cpp return !v.empty() ? Mat(size(), t, (void*)&v[0]) : Mat(); empty 1182 modules/core/src/matrix.cpp return !v.empty() ? Mat(size(i), t, (void*)&v[0]) : Mat(); empty 1513 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); empty 1525 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); empty 1535 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); empty 1807 modules/core/src/matrix.cpp if( vv.empty() ) empty 1819 modules/core/src/matrix.cpp if( vv.empty() ) empty 1856 modules/core/src/matrix.cpp return ((const Mat*)obj)->empty(); empty 1859 modules/core/src/matrix.cpp return ((const UMat*)obj)->empty(); empty 1870 modules/core/src/matrix.cpp return v.empty(); empty 1876 modules/core/src/matrix.cpp return v.empty(); empty 1885 modules/core/src/matrix.cpp return vv.empty(); empty 1891 modules/core/src/matrix.cpp return vv.empty(); empty 1897 modules/core/src/matrix.cpp return vv.empty(); empty 1901 modules/core/src/matrix.cpp return ((const ogl::Buffer*)obj)->empty(); empty 1904 modules/core/src/matrix.cpp return ((const cuda::GpuMat*)obj)->empty(); empty 1907 modules/core/src/matrix.cpp return ((const cuda::HostMem*)obj)->empty(); empty 2260 modules/core/src/matrix.cpp if( d == 2 && m.dims == 2 && !m.empty() && empty 2398 modules/core/src/matrix.cpp CV_Assert( v[j].empty() ); empty 2457 modules/core/src/matrix.cpp CV_Assert( v[j].empty() ); empty 2761 modules/core/src/matrix.cpp hconcat(!src.empty() ? &src[0] : 0, src.size(), dst); empty 2801 modules/core/src/matrix.cpp vconcat(!src.empty() ? &src[0] : 0, src.size(), dst); empty 2831 modules/core/src/matrix.cpp if (k.empty()) empty 3068 modules/core/src/matrix.cpp if (k.empty()) empty 3102 modules/core/src/matrix.cpp if( src.empty() ) empty 3572 modules/core/src/matrix.cpp if (k.empty()) empty 3604 modules/core/src/matrix.cpp if (k.empty()) empty 4233 modules/core/src/matrix.cpp CV_Assert( !centers.empty() ); empty 3537 modules/core/src/ocl.cpp if(_buf.empty()) empty 3677 modules/core/src/ocl.cpp return !bin.empty(); empty 3816 modules/core/src/ocl.cpp if (reservedEntries_.empty()) empty 3855 modules/core/src/ocl.cpp CV_DbgAssert(!reservedEntries_.empty()); empty 3889 modules/core/src/ocl.cpp CV_Assert(reservedEntries_.empty()); empty 5423 modules/core/src/ocl.cpp if (!src.empty()) \ empty 5513 modules/core/src/ocl.cpp if (!buildOptions.empty()) empty 5590 modules/core/src/ocl.cpp CV_Assert(!src.empty()); empty 5687 modules/core/src/ocl.cpp if (d.imageFromBufferSupport() && !m.empty()) empty 299 modules/core/src/opengl.cpp static const Ptr<Impl>& empty(); empty 462 modules/core/src/opengl.cpp impl_ = Impl::empty(); empty 557 modules/core/src/opengl.cpp impl_ = Impl::empty(); empty 843 modules/core/src/opengl.cpp static const Ptr<Impl> empty(); empty 946 modules/core/src/opengl.cpp impl_ = Impl::empty(); empty 1078 modules/core/src/opengl.cpp impl_ = Impl::empty(); empty 1336 modules/core/src/opengl.cpp CV_Assert( texCoord_.empty() || texCoord_.size().area() == size_ ); empty 1337 modules/core/src/opengl.cpp CV_Assert( normal_.empty() || normal_.size().area() == size_ ); empty 1338 modules/core/src/opengl.cpp CV_Assert( color_.empty() || color_.size().area() == size_ ); empty 1340 modules/core/src/opengl.cpp if (texCoord_.empty()) empty 1356 modules/core/src/opengl.cpp if (normal_.empty()) empty 1372 modules/core/src/opengl.cpp if (color_.empty()) empty 1390 modules/core/src/opengl.cpp if (vertex_.empty()) empty 1421 modules/core/src/opengl.cpp if (!tex.empty()) empty 1493 modules/core/src/opengl.cpp if (!arr.empty()) empty 1513 modules/core/src/opengl.cpp if (!arr.empty() && !indices.empty()) empty 133 modules/core/src/out.cpp if (mtx.empty()) empty 102 modules/core/src/pca.cpp if( !_mean.empty() ) empty 163 modules/core/src/pca.cpp CV_Assert( !fs.empty() ); empty 239 modules/core/src/pca.cpp if( !_mean.empty() ) empty 295 modules/core/src/pca.cpp CV_Assert( !mean.empty() && !eigenvectors.empty() && empty 325 modules/core/src/pca.cpp CV_Assert( !mean.empty() && !eigenvectors.empty() && empty 5164 modules/core/src/persistence.cpp !encoding.empty() ? encoding.c_str() : 0)); empty 5207 modules/core/src/persistence.cpp if( fs.structs.empty() ) empty 5213 modules/core/src/persistence.cpp fs.state = fs.structs.empty() || fs.structs.back() == '{' ? empty 5503 modules/core/src/persistence.cpp cvStartWriteStruct(**fs, !name.empty() ? name.c_str() : 0, flags, empty 5504 modules/core/src/persistence.cpp !typeName.empty() ? typeName.c_str() : 0); empty 5522 modules/core/src/persistence.cpp fs->state = fs->structs.empty() || fs->structs.back() == '{' ? empty 5531 modules/core/src/persistence.cpp if( node.empty() ) empty 5556 modules/core/src/persistence.cpp if( node.empty() ) empty 1096 modules/core/src/stat.cpp if (k.empty()) empty 1277 modules/core/src/stat.cpp if (k.empty()) empty 1357 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); empty 1370 modules/core/src/stat.cpp if( !mask.empty() ) empty 1553 modules/core/src/stat.cpp if (k.empty()) empty 1627 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); empty 1667 modules/core/src/stat.cpp if( !mask.empty() ) empty 2058 modules/core/src/stat.cpp bool doubleSupport = dev.doubleFPConfig() > 0, haveMask = !_mask.empty(), empty 2121 modules/core/src/stat.cpp if (k.empty()) empty 2191 modules/core/src/stat.cpp CV_Assert( (cn == 1 && (_mask.empty() || _mask.type() == CV_8U)) || empty 2192 modules/core/src/stat.cpp (cn > 1 && _mask.empty() && !minIdx && !maxIdx) ); empty 2194 modules/core/src/stat.cpp CV_OCL_RUN(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2 && (_mask.empty() || _src.size() == _mask.size()), empty 2208 modules/core/src/stat.cpp if( !mask.empty() ) empty 2646 modules/core/src/stat.cpp if( !mask.empty() ) empty 2799 modules/core/src/stat.cpp if( src.isContinuous() && mask.empty() ) empty 2850 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); empty 2854 modules/core/src/stat.cpp if( !mask.empty() ) empty 3025 modules/core/src/stat.cpp if( !mask.empty() ) empty 3137 modules/core/src/stat.cpp if( !mask.empty() ) empty 3295 modules/core/src/stat.cpp if( src1.isContinuous() && src2.isContinuous() && mask.empty() ) empty 3333 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); empty 3337 modules/core/src/stat.cpp if( !mask.empty() ) empty 3682 modules/core/src/stat.cpp CV_Assert( K == 1 && update == 0 && mask.empty() ); empty 555 modules/core/src/system.cpp if (temp_file.empty()) empty 66 modules/core/src/types.cpp if( keypointIndexes.empty() ) empty 630 modules/core/src/umatrix.cpp if( empty() ) empty 665 modules/core/src/umatrix.cpp if( _mask.empty() ) empty 690 modules/core/src/umatrix.cpp if (!k.empty()) empty 741 modules/core/src/umatrix.cpp if (!k.empty()) empty 771 modules/core/src/umatrix.cpp bool haveMask = !_mask.empty(); empty 793 modules/core/src/umatrix.cpp if( !setK.empty() ) empty 885 modules/core/src/umatrix.cpp if (k.empty()) empty 104 modules/core/test/test_arithm.cpp if( !mask.empty() ) empty 120 modules/core/test/test_arithm.cpp if( mask.empty() ) empty 133 modules/core/test/test_arithm.cpp if( mask.empty() ) empty 146 modules/core/test/test_arithm.cpp if( mask.empty() ) empty 159 modules/core/test/test_arithm.cpp if( mask.empty() ) empty 293 modules/core/test/test_arithm.cpp if( !mask.empty() ) empty 326 modules/core/test/test_arithm.cpp if( !mask.empty() ) empty 1164 modules/core/test/test_arithm.cpp if( !mask.empty() ) empty 1173 modules/core/test/test_arithm.cpp if( !mask.empty() ) empty 1365 modules/core/test/test_arithm.cpp cvtest::MatInfo(!src.empty() ? src[0] : Mat()) << "\ntestCase #" << testIdx << "\n"; empty 1618 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1644 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1657 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1681 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1706 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1730 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1755 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1782 modules/core/test/test_arithm.cpp ASSERT_FALSE(dst.empty()); empty 1802 modules/core/test/test_arithm.cpp ASSERT_TRUE(pts.empty() && pts2.empty()); empty 47 modules/core/test/test_dxt.cpp if( wave.empty() ) empty 168 modules/core/test/test_dxt.cpp if( wave.empty() ) empty 791 modules/core/test/test_dxt.cpp Mat& dst = !test_mat[TEMP].empty() && !test_mat[TEMP][0].empty() ? empty 414 modules/core/test/test_io.cpp if(node.empty()) empty 440 modules/core/test/test_io.cpp Mat empty; empty 462 modules/core/test/test_io.cpp fs << "empty" << empty; empty 480 modules/core/test/test_io.cpp fs["empty"] >> empty; empty 489 modules/core/test/test_io.cpp CV_Assert( mi2.empty() ); empty 490 modules/core/test/test_io.cpp CV_Assert( mv2.empty() ); empty 494 modules/core/test/test_io.cpp CV_Assert( vudt2.empty() ); empty 1220 modules/core/test/test_mat.cpp TEST(Core_InputArray, empty) empty 1223 modules/core/test/test_mat.cpp ASSERT_TRUE( _InputArray(data).empty() ); empty 786 modules/core/test/test_math.cpp if( !delta.empty() ) empty 2173 modules/core/test/test_math.cpp if( !b.empty() ) empty 2179 modules/core/test/test_math.cpp if( !b.empty() ) empty 257 modules/core/test/test_ptr.cpp EXPECT_TRUE(p.empty()); empty 266 modules/core/test/test_ptr.cpp EXPECT_FALSE(p.empty()); empty 151 modules/core/test/test_umat.cpp ASSERT_EQ(ub.empty(), ub.cols*ub.rows == 0); empty 153 modules/core/test/test_umat.cpp ASSERT_TRUE( ub.empty() ); empty 177 modules/cudaarithm/src/arithm.cpp CV_Assert( src2.type() == src1.type() && (src3.empty() || src3.type() == src1.type()) ); empty 201 modules/cudaarithm/src/arithm.cpp CV_Assert( src3.empty() || src3Size == dstSize ); empty 207 modules/cudaarithm/src/arithm.cpp if (src3.empty()) empty 123 modules/cudaarithm/src/element_operations.cpp if (!scalar.empty()) empty 131 modules/cudaarithm/src/element_operations.cpp const int sdepth = src1.empty() ? src2.depth() : src1.depth(); empty 132 modules/cudaarithm/src/element_operations.cpp const int cn = src1.empty() ? src2.channels() : src1.channels(); empty 133 modules/cudaarithm/src/element_operations.cpp const Size size = src1.empty() ? src2.size() : src1.size(); empty 141 modules/cudaarithm/src/element_operations.cpp CV_Assert( !scalar.empty() || (src2.type() == src1.type() && src2.size() == src1.size()) ); empty 142 modules/cudaarithm/src/element_operations.cpp CV_Assert( mask.empty() || (cn == 1 && mask.size() == size && mask.type() == CV_8UC1) ); empty 63 modules/cudaarithm/test/test_buffer_pool.cpp EXPECT_FALSE( buf0.empty() ); empty 68 modules/cudaarithm/test/test_buffer_pool.cpp EXPECT_FALSE( buf1.empty() ); empty 77 modules/cudaarithm/test/test_buffer_pool.cpp EXPECT_FALSE( buf2.empty() ); empty 86 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 113 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 140 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 189 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 217 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 244 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 278 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 303 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 351 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 382 modules/cudabgsegm/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 100 modules/cudabgsegm/test/test_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 113 modules/cudabgsegm/test/test_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 158 modules/cudabgsegm/test/test_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 129 modules/cudacodec/perf/perf_video.cpp ASSERT_FALSE(frame.empty()); empty 133 modules/cudacodec/perf/perf_video.cpp if (d_writer.empty()) empty 148 modules/cudacodec/perf/perf_video.cpp ASSERT_FALSE(frame.empty()); empty 133 modules/cudacodec/src/video_reader.cpp if (frames_.empty()) empty 169 modules/cudacodec/src/video_reader.cpp if (frames_.empty()) empty 191 modules/cudacodec/src/video_reader.cpp if (frames_.empty()) empty 200 modules/cudacodec/src/video_reader.cpp CV_Assert( !filename.empty() ); empty 60 modules/cudacodec/src/video_source.cpp CV_Assert( !source_.empty() ); empty 67 modules/cudacodec/test/test_video.cpp ASSERT_FALSE(frame.empty()); empty 96 modules/cudacodec/test/test_video.cpp ASSERT_FALSE(frame.empty()); empty 100 modules/cudacodec/test/test_video.cpp if (d_writer.empty()) empty 115 modules/cudacodec/test/test_video.cpp ASSERT_FALSE(frame.empty()); empty 125 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp virtual bool empty() const = 0; empty 60 modules/cudafeatures2d/perf/perf_features2d.cpp ASSERT_FALSE(img.empty()); empty 106 modules/cudafeatures2d/perf/perf_features2d.cpp ASSERT_FALSE(img.empty()); empty 135 modules/cudafeatures2d/src/brute_force_matcher.cpp if (trainDescCollection.empty()) empty 138 modules/cudafeatures2d/src/brute_force_matcher.cpp if (masks.empty()) empty 165 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.cols == train.rows) ); empty 203 modules/cudafeatures2d/src/brute_force_matcher.cpp return trainDescCollection_.empty(); empty 325 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || train.empty()) empty 333 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); empty 386 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || trainDescCollection_.empty()) empty 453 modules/cudafeatures2d/src/brute_force_matcher.cpp if (gpu_matches.empty()) empty 528 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || trainDescCollection_.empty()) empty 546 modules/cudafeatures2d/src/brute_force_matcher.cpp knnMatch(query, trainDescCollection_[imgIdx], curMatches, k, masks.empty() ? GpuMat() : masks[imgIdx]); empty 567 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >::iterator new_end = std::remove_if(matches.begin(), matches.end(), std::mem_fun_ref(&std::vector<DMatch>::empty)); empty 585 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || train.empty()) empty 593 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); empty 670 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || trainDescCollection_.empty()) empty 740 modules/cudafeatures2d/src/brute_force_matcher.cpp if (gpu_matches.empty()) empty 809 modules/cudafeatures2d/src/brute_force_matcher.cpp if (compactResult && curMatches.empty()) empty 854 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || train.empty()) empty 862 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.rows == query.rows && mask.cols == train.rows) ); empty 922 modules/cudafeatures2d/src/brute_force_matcher.cpp if (query.empty() || trainDescCollection_.empty()) empty 997 modules/cudafeatures2d/src/brute_force_matcher.cpp if (gpu_matches.empty()) empty 100 modules/cudafeatures2d/src/fast.cpp if (_image.empty()) empty 121 modules/cudafeatures2d/src/fast.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == img.size()) ); empty 168 modules/cudafeatures2d/src/fast.cpp if (_gpu_keypoints.empty()) empty 54 modules/cudafeatures2d/src/feature2d_async.cpp if (image.empty()) empty 68 modules/cudafeatures2d/src/feature2d_async.cpp if (image.empty()) empty 605 modules/cudafeatures2d/src/orb.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); empty 627 modules/cudafeatures2d/src/orb.cpp if (!mask.empty()) empty 634 modules/cudafeatures2d/src/orb.cpp if (!mask.empty()) empty 645 modules/cudafeatures2d/src/orb.cpp if (!mask.empty()) empty 808 modules/cudafeatures2d/src/orb.cpp if (_gpu_keypoints.empty()) empty 77 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_FALSE(image.empty()); empty 160 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_FALSE(image.empty()); empty 535 modules/cudafilters/src/filtering.cpp Size ksize = !kernel.empty() ? _kernel.size() : Size(3, 3); empty 539 modules/cudafilters/src/filtering.cpp if (kernel.empty()) empty 64 modules/cudaimgproc/perf/perf_canny.cpp ASSERT_FALSE(image.empty()); empty 68 modules/cudaimgproc/perf/perf_corners.cpp ASSERT_FALSE(img.empty()); empty 112 modules/cudaimgproc/perf/perf_corners.cpp ASSERT_FALSE(img.empty()); empty 62 modules/cudaimgproc/perf/perf_gftt.cpp ASSERT_FALSE(image.empty()); empty 146 modules/cudaimgproc/perf/perf_hough.cpp ASSERT_FALSE(image.empty()); empty 237 modules/cudaimgproc/perf/perf_hough.cpp ASSERT_FALSE(templ.empty()); empty 285 modules/cudaimgproc/perf/perf_hough.cpp ASSERT_FALSE(templ.empty()); empty 60 modules/cudaimgproc/perf/perf_mean_shift.cpp ASSERT_FALSE(img.empty()); empty 96 modules/cudaimgproc/perf/perf_mean_shift.cpp ASSERT_FALSE(img.empty()); empty 130 modules/cudaimgproc/perf/perf_mean_shift.cpp ASSERT_FALSE(img.empty()); empty 2113 modules/cudaimgproc/src/color.cpp CV_Assert( !_src.empty() ); empty 108 modules/cudaimgproc/src/gftt.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); empty 173 modules/cudaimgproc/src/gftt.cpp if (!m.empty()) empty 180 modules/cudaimgproc/src/hough_lines.cpp if (d_lines.empty()) empty 79 modules/cudaimgproc/test/test_canny.cpp ASSERT_FALSE(img.empty()); empty 2360 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2374 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2388 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2402 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2416 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2430 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2444 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2458 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(img.empty()) << "Can't load input image"; empty 2493 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(src.empty()); empty 81 modules/cudaimgproc/test/test_corners.cpp ASSERT_FALSE(src.empty()); empty 129 modules/cudaimgproc/test/test_corners.cpp ASSERT_FALSE(src.empty()); empty 74 modules/cudaimgproc/test/test_gftt.cpp ASSERT_FALSE(image.empty()); empty 84 modules/cudaimgproc/test/test_gftt.cpp ASSERT_FALSE(d_pts.empty()); empty 124 modules/cudaimgproc/test/test_gftt.cpp ASSERT_TRUE(corners.empty()); empty 161 modules/cudaimgproc/test/test_hough.cpp ASSERT_FALSE(circles.empty()); empty 203 modules/cudaimgproc/test/test_hough.cpp ASSERT_FALSE(templ.empty()); empty 193 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(image.empty()); empty 196 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(pattern.empty()); empty 240 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(image.empty()); empty 243 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(pattern.empty()); empty 291 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(scene.empty()); empty 294 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(templ.empty()); empty 316 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(scene.empty()); empty 319 modules/cudaimgproc/test/test_match_template.cpp ASSERT_FALSE(templ.empty()); empty 68 modules/cudaimgproc/test/test_mean_shift.cpp ASSERT_FALSE(img.empty()); empty 82 modules/cudaimgproc/test/test_mean_shift.cpp ASSERT_FALSE(img_template.empty()); empty 108 modules/cudaimgproc/test/test_mean_shift.cpp ASSERT_FALSE(spmap_template.empty()); empty 150 modules/cudaimgproc/test/test_mean_shift.cpp ASSERT_FALSE(img.empty()); empty 159 modules/cudaimgproc/test/test_mean_shift.cpp ASSERT_FALSE(dst_gold.empty()); empty 87 modules/cudalegacy/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 102 modules/cudalegacy/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 119 modules/cudalegacy/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 159 modules/cudalegacy/perf/perf_bgsegm.cpp ASSERT_FALSE(frame.empty()); empty 187 modules/cudalegacy/perf/perf_bgsegm.cpp if (frame.empty()) empty 219 modules/cudalegacy/perf/perf_bgsegm.cpp if (frame.empty()) empty 150 modules/cudalegacy/perf/perf_labeling.cpp ASSERT_FALSE(image.empty()); empty 173 modules/cudalegacy/perf/perf_labeling.cpp ASSERT_FALSE(image.empty()); empty 113 modules/cudalegacy/src/calib3d.cpp CV_Assert(dist_coef.empty()); // Undistortion isn't supported empty 73 modules/cudalegacy/src/graphcuts.cpp CV_Assert(!image.empty()); empty 107 modules/cudalegacy/src/graphcuts.cpp CV_Assert(!mask.empty() && mask.type() == CV_8U); empty 98 modules/cudalegacy/test/NCVTestSourceProvider.hpp ncvAssertPrintReturn(!image.empty(), "NCVTestSourceProvider ctor:: PGM file error", ); empty 67 modules/cudaobjdetect/perf/perf_objdetect.cpp ASSERT_FALSE(img.empty()); empty 106 modules/cudaobjdetect/perf/perf_objdetect.cpp ASSERT_FALSE(img.empty()); empty 144 modules/cudaobjdetect/perf/perf_objdetect.cpp ASSERT_FALSE(img.empty()); empty 206 modules/cudaobjdetect/src/cascadeclassifier.cpp if (_gpu_objects.empty()) empty 590 modules/cudaobjdetect/src/cascadeclassifier.cpp if (minNeighbors_ <= 0 || objects.empty()) empty 611 modules/cudaobjdetect/src/cascadeclassifier.cpp if (_gpu_objects.empty()) empty 669 modules/cudaobjdetect/src/cascadeclassifier.cpp if (fn.empty()) empty 678 modules/cudaobjdetect/src/cascadeclassifier.cpp if (fn.empty()) empty 697 modules/cudaobjdetect/src/cascadeclassifier.cpp if (fns.empty()) empty 715 modules/cudaobjdetect/src/cascadeclassifier.cpp if ( internalNodes.empty() || leafValues.empty() ) empty 749 modules/cudaobjdetect/src/cascadeclassifier.cpp if( fn.empty() ) empty 780 modules/cudaobjdetect/src/cascadeclassifier.cpp if (resuzeBuffer.empty() || frame.width > resuzeBuffer.cols || frame.height > resuzeBuffer.rows) empty 294 modules/cudaobjdetect/src/hog.cpp if (detector_.empty()) empty 158 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(img_rgb.empty()); empty 177 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(img_rgb.empty()); empty 236 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(img.empty()); empty 298 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(d_cascade.empty()); empty 322 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(cpuClassifier.empty()); empty 328 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_FALSE(image.empty()); empty 62 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 65 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 120 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 123 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 189 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 192 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 231 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 234 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 284 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 287 modules/cudaoptflow/perf/perf_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 181 modules/cudaoptflow/src/farneback.cpp if (!mat.empty() && mat.type() == type && mat.rows >= rows && mat.cols >= cols) empty 118 modules/cudaoptflow/src/pyrlk.cpp if (prevPts.empty()) empty 69 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 72 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 133 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 136 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 190 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 193 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 294 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 297 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 359 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame0.empty()); empty 362 modules/cudaoptflow/test/test_optflow.cpp ASSERT_FALSE(frame1.empty()); empty 61 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgLeft.empty()); empty 64 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgRight.empty()); empty 101 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgLeft.empty()); empty 104 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgRight.empty()); empty 135 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgLeft.empty()); empty 138 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(imgRight.empty()); empty 167 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(img.empty()); empty 170 modules/cudastereo/perf/perf_stereo.cpp ASSERT_FALSE(disp.empty()); empty 70 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(left_image.empty()); empty 71 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(right_image.empty()); empty 72 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(disp_gold.empty()); empty 105 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(left_image.empty()); empty 106 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(right_image.empty()); empty 107 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(disp_gold.empty()); empty 154 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(left_image.empty()); empty 155 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(right_image.empty()); empty 156 modules/cudastereo/test/test_stereo.cpp ASSERT_FALSE(disp_gold.empty()); empty 258 modules/cudawarping/test/test_warp_affine.cpp ASSERT_FALSE(src.empty()); empty 261 modules/cudawarping/test/test_warp_perspective.cpp ASSERT_FALSE(src.empty()); empty 200 modules/features2d/include/opencv2/features2d.hpp CV_WRAP virtual bool empty() const; empty 770 modules/features2d/include/opencv2/features2d.hpp CV_WRAP virtual bool empty() const; empty 24 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP bool empty() const empty 25 modules/features2d/misc/java/src/cpp/features2d_manual.hpp { return wrapped->empty(); } empty 196 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP bool empty() const empty 197 modules/features2d/misc/java/src/cpp/features2d_manual.hpp { return wrapped->empty(); } empty 310 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP bool empty() const empty 311 modules/features2d/misc/java/src/cpp/features2d_manual.hpp { return wrapped->empty(); } empty 72 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java assertFalse(extractor.empty()); empty 99 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertFalse(matcher.empty()); empty 107 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 130 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertTrue(cloned.empty()); empty 138 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 83 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertFalse(matcher.empty()); empty 91 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 114 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertTrue(cloned.empty()); empty 122 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 216 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertTrue(matches.get(0).empty()); empty 219 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertTrue(matches.get(3).empty()); empty 82 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertFalse(matcher.empty()); empty 90 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 113 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertTrue(cloned.empty()); empty 121 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 99 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertFalse(matcher.empty()); empty 107 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertTrue(matcher.empty()); empty 130 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertTrue(cloned.empty()); empty 138 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertTrue(matcher.empty()); empty 104 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertFalse(matcher.empty()); empty 112 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertTrue(matcher.empty()); empty 135 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertTrue(cloned.empty()); empty 143 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertTrue(matcher.empty()); empty 79 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java assertFalse(detector.empty()); empty 172 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java assertFalse(matcher.empty()); empty 180 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 201 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java assertTrue(cloned.empty()); empty 209 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java assertTrue(matcher.empty()); empty 74 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java assertFalse(extractor.empty()); empty 78 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java assertFalse(extractor.empty()); empty 94 modules/features2d/misc/java/test/STARFeatureDetectorTest.java assertFalse(detector.empty()); empty 88 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java assertFalse(extractor.empty()); empty 130 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java assertFalse(detector.empty()); empty 28 modules/features2d/perf/opencl/perf_fast.cpp if (mframe.empty()) empty 36 modules/features2d/perf/opencl/perf_fast.cpp ASSERT_FALSE( fd.empty() ); empty 18 modules/features2d/perf/opencl/perf_orb.cpp if (mframe.empty()) empty 39 modules/features2d/perf/opencl/perf_orb.cpp if (mframe.empty()) empty 70 modules/features2d/perf/opencl/perf_orb.cpp if (mframe.empty()) empty 30 modules/features2d/perf/perf_agast.cpp if (frame.empty()) empty 36 modules/features2d/perf/perf_agast.cpp ASSERT_FALSE( fd.empty() ); empty 28 modules/features2d/perf/perf_fast.cpp if (frame.empty()) empty 34 modules/features2d/perf/perf_fast.cpp ASSERT_FALSE( fd.empty() ); empty 20 modules/features2d/perf/perf_orb.cpp if (frame.empty()) empty 39 modules/features2d/perf/perf_orb.cpp if (frame.empty()) empty 62 modules/features2d/perf/perf_orb.cpp if (frame.empty()) empty 182 modules/features2d/src/akaze.cpp CV_Assert( ! img1_32.empty() ); empty 203 modules/features2d/src/akaze.cpp if (!mask.empty()) empty 55 modules/features2d/src/bagofwords.cpp CV_Assert( !_descriptors.empty() ); empty 56 modules/features2d/src/bagofwords.cpp if( !descriptors.empty() ) empty 77 modules/features2d/src/bagofwords.cpp return descriptors.empty() ? 0 : size; empty 92 modules/features2d/src/bagofwords.cpp CV_Assert( !descriptors.empty() ); empty 148 modules/features2d/src/bagofwords.cpp if( keypoints.empty() ) empty 165 modules/features2d/src/bagofwords.cpp return vocabulary.empty() ? 0 : vocabulary.rows; empty 175 modules/features2d/src/bagofwords.cpp CV_Assert( !vocabulary.empty() ); empty 2185 modules/features2d/src/brisk.cpp CV_Assert(!mat.empty()); empty 55 modules/features2d/src/draw.cpp CV_Assert( !img.empty() ); empty 113 modules/features2d/src/draw.cpp CV_Assert( !outImage.empty() ); empty 195 modules/features2d/src/draw.cpp if( !matchesMask.empty() && matchesMask.size() != matches1to2.size() ) empty 205 modules/features2d/src/draw.cpp if( matchesMask.empty() || matchesMask[m] ) empty 224 modules/features2d/src/draw.cpp if( !matchesMask.empty() && matchesMask.size() != matches1to2.size() ) empty 238 modules/features2d/src/draw.cpp if( matchesMask.empty() || matchesMask[i][j] ) empty 182 modules/features2d/src/evaluation.cpp if( !src.empty() ) empty 197 modules/features2d/src/evaluation.cpp if( !src.empty() ) empty 211 modules/features2d/src/evaluation.cpp if( !src.empty() ) empty 213 modules/features2d/src/evaluation.cpp CV_Assert( !H.empty() && H.cols == 3 && H.rows == 3); empty 224 modules/features2d/src/evaluation.cpp if( !keypoints.empty() ) empty 322 modules/features2d/src/evaluation.cpp if( keypoints1.empty() || keypoints2t.empty() ) empty 434 modules/features2d/src/evaluation.cpp if( overlaps.empty() ) empty 464 modules/features2d/src/evaluation.cpp if( (keypoints1->empty() || keypoints2->empty()) && !fdetector ) empty 467 modules/features2d/src/evaluation.cpp if( keypoints1->empty() ) empty 469 modules/features2d/src/evaluation.cpp if( keypoints2->empty() ) empty 268 modules/features2d/src/fast.cpp if (fastKptKernel.empty()) empty 306 modules/features2d/src/fast.cpp if (fastNMSKernel.empty()) empty 63 modules/features2d/src/feature2d.cpp if( image.empty() ) empty 81 modules/features2d/src/feature2d.cpp if( !_masks.empty() ) empty 91 modules/features2d/src/feature2d.cpp detect(images[i], keypoints[i], masks.empty() ? Mat() : masks[i] ); empty 105 modules/features2d/src/feature2d.cpp if( image.empty() ) empty 138 modules/features2d/src/kaze.cpp if (!mask.empty()) empty 159 modules/features2d/src/keypoint.cpp if( mask.empty() ) empty 66 modules/features2d/src/matchers.cpp if (query.empty() || train.empty()) empty 97 modules/features2d/src/matchers.cpp if(k.empty()) empty 119 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) empty 152 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) empty 164 modules/features2d/src/matchers.cpp if (query.empty() || train.empty()) empty 197 modules/features2d/src/matchers.cpp if(k.empty()) empty 219 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) empty 256 modules/features2d/src/matchers.cpp if (compactResult && curMatches.empty()) empty 264 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty()) empty 276 modules/features2d/src/matchers.cpp if (query.empty() || train.empty()) empty 284 modules/features2d/src/matchers.cpp if (trainIdx.empty()) empty 306 modules/features2d/src/matchers.cpp if (k.empty()) empty 333 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty() || _nMatches.empty()) empty 384 modules/features2d/src/matchers.cpp if (trainIdx.empty() || distance.empty() || nMatches.empty()) empty 424 modules/features2d/src/matchers.cpp if( !descriptors[i-1].empty() ) empty 434 modules/features2d/src/matchers.cpp if( descriptors[0].empty() ) return; empty 448 modules/features2d/src/matchers.cpp if( !descriptors[i].empty() ) empty 508 modules/features2d/src/matchers.cpp if( !knnMatches[i].empty() ) empty 557 modules/features2d/src/matchers.cpp return trainDescCollection.empty() && utrainDescCollection.empty(); empty 601 modules/features2d/src/matchers.cpp if( isMaskSupported() && !masks.empty() ) empty 608 modules/features2d/src/matchers.cpp if( !masks[i].empty() && (!trainDescCollection[i].empty() || !utrainDescCollection[i].empty() ) ) empty 610 modules/features2d/src/matchers.cpp int rows = trainDescCollection[i].empty() ? utrainDescCollection[i].rows : trainDescCollection[i].rows; empty 622 modules/features2d/src/matchers.cpp if( empty() || queryDescriptors.empty() ) empty 637 modules/features2d/src/matchers.cpp if( empty() || queryDescriptors.empty() ) empty 657 modules/features2d/src/matchers.cpp return mask.empty() || mask.at<uchar>(queryIdx, trainIdx); empty 668 modules/features2d/src/matchers.cpp if( !masks[i].empty() && (countNonZero(masks[i].row(queryIdx)) == 0) ) empty 672 modules/features2d/src/matchers.cpp return !masks.empty() && outCount == masks.size() ; empty 721 modules/features2d/src/matchers.cpp int trainDescType = trainDescCollection.empty() ? utrainDescCollection[0].type() : trainDescCollection[0].type(); empty 727 modules/features2d/src/matchers.cpp if( _queryDescriptors.empty() || (trainDescCollection.empty() && utrainDescCollection.empty())) empty 736 modules/features2d/src/matchers.cpp if(!trainDescCollection.empty() && !utrainDescCollection.empty()) empty 747 modules/features2d/src/matchers.cpp int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)trainDescCollection.size(); empty 748 modules/features2d/src/matchers.cpp Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescCollection[0].size(); empty 749 modules/features2d/src/matchers.cpp int trainDescOffset = trainDescCollection.empty() ? (int)utrainDescCollection[0].offset : 0; empty 757 modules/features2d/src/matchers.cpp if(trainDescCollection.empty()) empty 776 modules/features2d/src/matchers.cpp if(trainDescCollection.empty()) empty 796 modules/features2d/src/matchers.cpp if(trainDescCollection.empty() && !utrainDescCollection.empty()) empty 821 modules/features2d/src/matchers.cpp normType, knn, masks.empty() ? Mat() : masks[iIdx], update, crossCheck); empty 849 modules/features2d/src/matchers.cpp if( mq.empty() && compactResult ) empty 868 modules/features2d/src/matchers.cpp int trainDescType = trainDescCollection.empty() ? utrainDescCollection[0].type() : trainDescCollection[0].type(); empty 871 modules/features2d/src/matchers.cpp if( _queryDescriptors.empty() || (trainDescCollection.empty() && utrainDescCollection.empty())) empty 880 modules/features2d/src/matchers.cpp if(!trainDescCollection.empty() && !utrainDescCollection.empty()) empty 891 modules/features2d/src/matchers.cpp int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)trainDescCollection.size(); empty 892 modules/features2d/src/matchers.cpp Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescCollection[0].size(); empty 893 modules/features2d/src/matchers.cpp int trainDescOffset = trainDescCollection.empty() ? (int)utrainDescCollection[0].offset : 0; empty 899 modules/features2d/src/matchers.cpp if (trainDescCollection.empty()) empty 918 modules/features2d/src/matchers.cpp if(trainDescCollection.empty() && !utrainDescCollection.empty()) empty 939 modules/features2d/src/matchers.cpp normType, 0, masks.empty() ? Mat() : masks[iIdx], 0, false); empty 961 modules/features2d/src/matchers.cpp if( matches[qIdx].empty() && compactResult ) empty 1049 modules/features2d/src/matchers.cpp if (!utrainDescCollection.empty()) empty 1075 modules/features2d/src/mser.cpp (mask.empty() || mask.at<uchar>(cvRound(rect.center.y), cvRound(rect.center.x)) != 0) ) empty 54 modules/features2d/src/orb.cpp if(v.empty()) empty 74 modules/features2d/src/orb.cpp if( hr_ker.empty() ) empty 92 modules/features2d/src/orb.cpp if( icangle_ker.empty() ) empty 113 modules/features2d/src/orb.cpp if( desc_ker.empty() ) empty 825 modules/features2d/src/orb.cpp Mat mask = maskPyramid.empty() ? Mat() : maskPyramid(layerInfo[level]); empty 954 modules/features2d/src/orb.cpp if( (!do_keypoints && !do_descriptors) || _image.empty() ) empty 1024 modules/features2d/src/orb.cpp if( !mask.empty() ) empty 1039 modules/features2d/src/orb.cpp if( !mask.empty() ) empty 1049 modules/features2d/src/orb.cpp if( !mask.empty() ) empty 1058 modules/features2d/src/orb.cpp if (!mask.empty()) empty 1066 modules/features2d/src/orb.cpp if( !mask.empty() ) empty 67 modules/features2d/test/test_agast.cpp if (image1.empty() || image2.empty()) empty 65 modules/features2d/test/test_brisk.cpp if (image1.empty() || image2.empty()) empty 197 modules/features2d/test/test_descriptors_regression.cpp if( img.empty() ) empty 205 modules/features2d/test/test_descriptors_regression.cpp if(!detector.empty()) { empty 210 modules/features2d/test/test_descriptors_regression.cpp if(!keypoints.empty()) empty 240 modules/features2d/test/test_descriptors_regression.cpp if( !validDescriptors.empty() ) empty 90 modules/features2d/test/test_detectors_regression.cpp if( !keypoints.empty() ) empty 176 modules/features2d/test/test_detectors_regression.cpp assert( !fdetector.empty() ); empty 182 modules/features2d/test/test_detectors_regression.cpp if( image.empty() ) empty 202 modules/features2d/test/test_detectors_regression.cpp if( validKeypoints.empty() ) empty 67 modules/features2d/test/test_fast.cpp if (image1.empty() || image2.empty()) empty 70 modules/features2d/test/test_keypoints.cpp if(image.empty()) empty 80 modules/features2d/test/test_keypoints.cpp if(keypoints.empty()) empty 83 modules/features2d/test/test_matchers_algorithmic.cpp assert( !dmatcher.empty() ); empty 54 modules/features2d/test/test_orb.cpp ASSERT_FALSE(image.empty()); empty 156 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(H.empty()) empty 210 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(image0.empty()) empty 322 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(image0.empty()) empty 406 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(image0.empty()) empty 525 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(image0.empty()) empty 282 modules/flann/include/opencv2/flann/any.h bool empty() const empty 85 modules/flann/include/opencv2/flann/dynamic_bitset.h bool empty() const empty 87 modules/flann/include/opencv2/flann/dynamic_bitset.h return bitset_.empty(); empty 94 modules/flann/include/opencv2/flann/heap.h bool empty() empty 422 modules/flann/include/opencv2/flann/lsh_table.h if ((buckets_speed_.empty()) && (buckets_space_.empty())) { empty 430 modules/flann/include/opencv2/flann/lsh_table.h if (!buckets_speed_.empty()) { empty 1788 modules/highgui/src/window_QT.cpp if (!vect_QActions.empty()) empty 1741 modules/highgui/src/window_gtk.cpp if (!filename.empty()) empty 41 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(!dst.empty()); empty 49 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(!dst.empty()); empty 131 modules/imgcodecs/src/bitstrm.cpp if( buf.empty() ) empty 128 modules/imgcodecs/src/grfmt_base.cpp if(!m_last_error.empty()) empty 81 modules/imgcodecs/src/grfmt_bmp.cpp if( !m_buf.empty() ) empty 138 modules/imgcodecs/src/grfmt_hdr.cpp CV_Assert(params.empty() || params[0] == HDR_NONE || params[0] == HDR_RLE); empty 145 modules/imgcodecs/src/grfmt_hdr.cpp if(params.empty() || params[0] == HDR_RLE) { empty 228 modules/imgcodecs/src/grfmt_jpeg.cpp if( !m_buf.empty() ) empty 276 modules/imgcodecs/src/grfmt_jpeg2000.cpp if (!clr.empty()) empty 162 modules/imgcodecs/src/grfmt_png.cpp if( !m_buf.empty() ) empty 171 modules/imgcodecs/src/grfmt_png.cpp if( !m_buf.empty() || m_f ) empty 132 modules/imgcodecs/src/grfmt_pxm.cpp if( !m_buf.empty() ) empty 98 modules/imgcodecs/src/grfmt_webp.cpp if (m_buf.empty()) empty 391 modules/imgcodecs/src/loadsave.cpp return !mats.empty(); empty 470 modules/imgcodecs/src/loadsave.cpp CV_Assert(!buf.empty() && buf.isContinuous()); empty 494 modules/imgcodecs/src/loadsave.cpp if( !filename.empty() ) empty 536 modules/imgcodecs/src/loadsave.cpp if( !filename.empty() ) empty 628 modules/imgcodecs/src/loadsave.cpp return !decoder.empty(); empty 634 modules/imgcodecs/src/loadsave.cpp return !encoder.empty(); empty 70 modules/imgcodecs/test/test_drawing.cpp if( valImg.empty() ) empty 79 modules/imgcodecs/test/test_grfmt.cpp pages.empty()) empty 143 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 183 modules/imgcodecs/test/test_grfmt.cpp if(ext_from_int(ext).empty()) empty 201 modules/imgcodecs/test/test_grfmt.cpp if (img_test.empty()) ts->set_failed_test_info(ts->FAIL_MISMATCH); empty 229 modules/imgcodecs/test/test_grfmt.cpp if (img_test.empty()) ts->set_failed_test_info(ts->FAIL_MISMATCH); empty 260 modules/imgcodecs/test/test_grfmt.cpp if (img_test.empty()) ts->set_failed_test_info(ts->FAIL_MISMATCH); empty 382 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 402 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 420 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 438 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 479 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 503 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 527 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 652 modules/imgcodecs/test/test_grfmt.cpp if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 655 modules/imgcodecs/test/test_grfmt.cpp if (tiled8.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 659 modules/imgcodecs/test/test_grfmt.cpp if (tiled16.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); empty 757 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 793 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(decode.empty()); empty 796 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img_webp.empty()); empty 806 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 818 modules/imgcodecs/test/test_grfmt.cpp EXPECT_FALSE(img_webp.empty()); empty 830 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img.empty()); empty 843 modules/imgcodecs/test/test_grfmt.cpp EXPECT_FALSE(img_webp.empty()); empty 857 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img_rle.empty()) << "Could not open " << name_rle; empty 859 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(img_no_rle.empty()) << "Could not open " << name_no_rle; empty 870 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(written_img.empty()) << "Could not open " << tmp_file_name; empty 897 modules/imgproc/misc/java/test/ImgprocTest.java assertFalse(mtx.empty()); empty 904 modules/imgproc/misc/java/test/ImgprocTest.java assertFalse(mtx.empty()); empty 70 modules/imgproc/perf/opencl/perf_gftt.cpp ASSERT_FALSE(img.empty()) << "could not load " << fileName; empty 312 modules/imgproc/perf/opencl/perf_imgproc.cpp ASSERT_TRUE(!_img.empty()) << "can't open aloe-L.png"; empty 28 modules/imgproc/perf/perf_canny.cpp if (img.empty()) empty 31 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; empty 58 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; empty 85 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; empty 53 modules/imgproc/perf/perf_filter2d.cpp if( sourceImage.empty() ) empty 29 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp if (image.empty()) empty 29 modules/imgproc/perf/perf_houghLines.cpp if (image.empty()) empty 797 modules/imgproc/src/accum.cpp bool haveMask = !_mask.empty(), doubleSupport = dev.doubleFPConfig() > 0; empty 814 modules/imgproc/src/accum.cpp if (k.empty()) empty 852 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); empty 862 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) empty 870 modules/imgproc/src/accum.cpp if (mask.empty()) empty 901 modules/imgproc/src/accum.cpp if (mask.empty()) empty 937 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); empty 947 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) empty 955 modules/imgproc/src/accum.cpp if (mask.empty()) empty 984 modules/imgproc/src/accum.cpp if (mask.empty()) empty 1022 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src1.sameSize(_mask) && _mask.type() == CV_8U) ); empty 1041 modules/imgproc/src/accum.cpp if (mask.empty()) empty 1071 modules/imgproc/src/accum.cpp if (mask.empty()) empty 1109 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); empty 1129 modules/imgproc/src/accum.cpp if (mask.empty()) empty 1158 modules/imgproc/src/accum.cpp if (mask.empty()) empty 104 modules/imgproc/src/blend.cpp if (k.empty()) empty 148 modules/imgproc/src/canny.cpp if (with_sobel.empty()) empty 178 modules/imgproc/src/canny.cpp if (without_sobel.empty()) empty 209 modules/imgproc/src/canny.cpp if (edgesHysteresis.empty()) empty 220 modules/imgproc/src/canny.cpp if (getEdgesKernel.empty()) empty 67 modules/imgproc/src/clahe.cpp if(k.empty()) empty 97 modules/imgproc/src/clahe.cpp if(k.empty()) empty 6964 modules/imgproc/src/color.cpp if (k.empty()) empty 7015 modules/imgproc/src/color.cpp if (k.empty()) empty 7072 modules/imgproc/src/color.cpp if (k.empty()) empty 7130 modules/imgproc/src/color.cpp if (k.empty()) empty 7145 modules/imgproc/src/color.cpp if (srgb && usRGBGammaTab.empty()) empty 7147 modules/imgproc/src/color.cpp else if (ulinearGammaTab.empty()) empty 7149 modules/imgproc/src/color.cpp if (uLabCbrtTab.empty()) empty 7186 modules/imgproc/src/color.cpp if (srgb && usRGBGammaTab.empty()) empty 7188 modules/imgproc/src/color.cpp if (!lab && uLabCbrtTab.empty()) empty 7254 modules/imgproc/src/color.cpp if (k.empty()) empty 7260 modules/imgproc/src/color.cpp if (srgb && usRGBInvGammaTab.empty()) empty 7314 modules/imgproc/src/color.cpp if( !k.empty() ) empty 1712 modules/imgproc/src/contours.cpp CV_Assert(_contours.empty() || (_contours.channels() == 2 && _contours.depth() == CV_32S)); empty 411 modules/imgproc/src/corner.cpp if (k.empty()) empty 470 modules/imgproc/src/corner.cpp if (cornelKernel.empty()) empty 511 modules/imgproc/src/corner.cpp if (k.empty()) empty 1623 modules/imgproc/src/demosaicing.cpp CV_Assert(!src.empty()); empty 740 modules/imgproc/src/deriv.cpp if (k.empty()) empty 776 modules/imgproc/src/deriv.cpp if (k.empty()) empty 2259 modules/imgproc/src/drawing.cpp !ci.empty() ? (void*)ci.ptr() : 0, (int)ci.total(), empty 2307 modules/imgproc/src/drawing.cpp if( ci.empty() ) empty 2315 modules/imgproc/src/drawing.cpp if( hierarchy.empty() || maxLevel == 0 ) empty 1159 modules/imgproc/src/emd.cpp return cvCalcEMD2( &_csignature1, &_csignature2, distType, 0, cost.empty() ? 0 : &_ccost, empty 86 modules/imgproc/src/featureselect.cpp bool haveMask = !_mask.empty(); empty 105 modules/imgproc/src/featureselect.cpp if (k.empty()) empty 128 modules/imgproc/src/featureselect.cpp if (k2.empty()) empty 141 modules/imgproc/src/featureselect.cpp if (k.empty()) empty 271 modules/imgproc/src/featureselect.cpp CV_Assert( _mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image)) ); empty 278 modules/imgproc/src/featureselect.cpp if (image.empty()) empty 173 modules/imgproc/src/filter.cpp const uchar* constVal = !constBorderValue.empty() ? &constBorderValue[0] : 0; empty 4244 modules/imgproc/src/filter.cpp if (k.empty()) empty 4294 modules/imgproc/src/filter.cpp if (k.empty()) empty 4344 modules/imgproc/src/filter.cpp if (k.empty()) empty 479 modules/imgproc/src/floodfill.cpp if( !_mask.empty() ) empty 497 modules/imgproc/src/floodfill.cpp bool is_simple = mask.empty() && (flags & FLOODFILL_MASK_ONLY) == 0; empty 546 modules/imgproc/src/floodfill.cpp if( mask.empty() ) empty 291 modules/imgproc/src/gcgraph.hpp while( !orphans.empty() ) empty 165 modules/imgproc/src/generalized_hough.cpp if (!posOutBuf_.empty()) empty 196 modules/imgproc/src/generalized_hough.cpp if (!posOutBuf_.empty()) empty 221 modules/imgproc/src/generalized_hough.cpp const bool hasVotes = !voteOutBuf_.empty(); empty 301 modules/imgproc/src/generalized_hough.cpp const bool hasVotes = !voteOutBuf_.empty(); empty 90 modules/imgproc/src/grabcut.cpp if( _model.empty() ) empty 324 modules/imgproc/src/grabcut.cpp if( mask.empty() ) empty 379 modules/imgproc/src/grabcut.cpp CV_Assert( !bgdSamples.empty() && !fgdSamples.empty() ); empty 537 modules/imgproc/src/grabcut.cpp if( img.empty() ) empty 157 modules/imgproc/src/histogram.cpp if( !mask.empty() ) empty 1240 modules/imgproc/src/histogram.cpp channels[0] == 0 && mask.empty() && images[0].dims <= 2 && empty 1277 modules/imgproc/src/histogram.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); empty 1450 modules/imgproc/src/histogram.cpp CV_Assert( mask.empty() || mask.type() == CV_8UC1 ); empty 1497 modules/imgproc/src/histogram.cpp if (k1.empty()) empty 1516 modules/imgproc/src/histogram.cpp if (k2.empty()) empty 1554 modules/imgproc/src/histogram.cpp channels[0] == 0 && images.isUMatVector() && mask.empty() && !accumulate && empty 1887 modules/imgproc/src/histogram.cpp CV_Assert( dims > 0 && !hist.empty() ); empty 2138 modules/imgproc/src/histogram.cpp if (lutk.empty()) empty 2150 modules/imgproc/src/histogram.cpp if (mapk.empty()) empty 2174 modules/imgproc/src/histogram.cpp if (lutk1.empty()) empty 2186 modules/imgproc/src/histogram.cpp if (lutk2.empty()) empty 2196 modules/imgproc/src/histogram.cpp if (mapk.empty()) empty 3589 modules/imgproc/src/histogram.cpp if (k1.empty()) empty 3626 modules/imgproc/src/histogram.cpp if (_src.empty()) empty 677 modules/imgproc/src/hough.cpp if (pointListKernel.empty()) empty 709 modules/imgproc/src/hough.cpp if (fillAccumKernel.empty()) empty 720 modules/imgproc/src/hough.cpp if (fillAccumKernel.empty()) empty 769 modules/imgproc/src/hough.cpp if (getLinesKernel.empty()) empty 822 modules/imgproc/src/hough.cpp if (getLinesKernel.empty()) empty 2928 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 2993 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 3010 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 3022 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 3051 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 3058 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 4274 modules/imgproc/src/imgwarp.cpp if( m1->type() == CV_16SC2 && m2->empty() ) // the data is already in the right format empty 4500 modules/imgproc/src/imgwarp.cpp if( (map1.type() == CV_16SC2 && (map2.type() == CV_16UC1 || map2.empty())) || empty 4501 modules/imgproc/src/imgwarp.cpp (map2.type() == CV_16SC2 && (map1.type() == CV_16UC1 || map1.empty())) ) empty 4513 modules/imgproc/src/imgwarp.cpp if (map1.type() == CV_32FC2 && map2.empty()) empty 4518 modules/imgproc/src/imgwarp.cpp if (!map2.empty()) empty 4559 modules/imgproc/src/imgwarp.cpp if (map2.empty()) empty 4662 modules/imgproc/src/imgwarp.cpp CV_Assert( _map2.empty() || (_map2.size() == _map1.size())); empty 4746 modules/imgproc/src/imgwarp.cpp if( (map1.type() == CV_16SC2 && (map2.type() == CV_16UC1 || map2.type() == CV_16SC1 || map2.empty())) || empty 4747 modules/imgproc/src/imgwarp.cpp (map2.type() == CV_16SC2 && (map1.type() == CV_16UC1 || map1.type() == CV_16SC1 || map1.empty())) ) empty 4754 modules/imgproc/src/imgwarp.cpp CV_Assert( ((map1.type() == CV_32FC2 || map1.type() == CV_16SC2) && map2.empty()) || empty 4778 modules/imgproc/src/imgwarp.cpp (m1type == CV_32FC2 && m2->empty()) ); empty 4805 modules/imgproc/src/imgwarp.cpp if( !dstmap2.empty() && dstmap2.type() == m2->type() ) empty 4824 modules/imgproc/src/imgwarp.cpp if( m1->isContinuous() && (m2->empty() || m2->isContinuous()) && empty 4825 modules/imgproc/src/imgwarp.cpp dstmap1.isContinuous() && (dstmap2.empty() || dstmap2.isContinuous()) ) empty 5515 modules/imgproc/src/imgwarp.cpp if (k.empty()) empty 139 modules/imgproc/src/intersection.cpp if( !intersection.empty() ) empty 239 modules/imgproc/src/intersection.cpp if( intersection.empty() ) empty 416 modules/imgproc/src/lsd.cpp CV_Assert(!img.empty() && img.channels() == 1); empty 1157 modules/imgproc/src/lsd.cpp CV_Assert(!_image.empty() && (_image.channels() == 1 || _image.channels() == 3)); empty 492 modules/imgproc/src/moments.cpp if( k.empty() ) empty 1301 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3,3); empty 1313 modules/imgproc/src/morph.cpp if( kernel.empty() ) empty 1353 modules/imgproc/src/morph.cpp bool haveExtraMat = !_extraMat.empty(); empty 1453 modules/imgproc/src/morph.cpp if (kernel.empty()) empty 1506 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3, 3), ssize = _src.size(); empty 1512 modules/imgproc/src/morph.cpp bool haveExtraMat = !_extraMat.empty(); empty 1515 modules/imgproc/src/morph.cpp if (kernel.empty()) empty 1604 modules/imgproc/src/morph.cpp if (kernels[i].empty()) empty 1683 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3,3); empty 1698 modules/imgproc/src/morph.cpp if (kernel.empty()) empty 1827 modules/imgproc/src/morph.cpp if (kernel.empty()) empty 501 modules/imgproc/src/phasecorr.cpp if(!window.empty()) empty 517 modules/imgproc/src/phasecorr.cpp if(!window.empty()) empty 532 modules/imgproc/src/phasecorr.cpp if(!paddedWin.empty()) empty 856 modules/imgproc/src/pyramids.cpp CV_Assert( !_src.empty() ); empty 1105 modules/imgproc/src/pyramids.cpp if (k.empty()) empty 1158 modules/imgproc/src/pyramids.cpp if (k.empty()) empty 337 modules/imgproc/src/segmentation.cpp if( src0.empty() ) empty 1172 modules/imgproc/src/smooth.cpp if (kernel.empty()) empty 2608 modules/imgproc/src/smooth.cpp if (k.empty()) empty 3038 modules/imgproc/src/smooth.cpp if (k.empty()) empty 761 modules/imgproc/src/subdivision2d.cpp if( idx.empty() ) empty 768 modules/imgproc/src/subdivision2d.cpp int k = idx.empty() ? (int)i : idx[i]; empty 355 modules/imgproc/src/sumpixels.cpp if (kcols.empty()) empty 368 modules/imgproc/src/sumpixels.cpp if (krows.empty()) empty 395 modules/imgproc/src/sumpixels.cpp if (kcols.empty()) empty 409 modules/imgproc/src/sumpixels.cpp if (krows.empty()) empty 68 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 96 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 279 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 324 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 356 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 382 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 413 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 448 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 483 modules/imgproc/src/templmatch.cpp if (k.empty()) empty 902 modules/imgproc/src/templmatch.cpp if (!_mask.empty()) empty 1159 modules/imgproc/src/thresh.cpp if (k.empty()) empty 85 modules/imgproc/src/undistort.cpp if( !newCameraMatrix.empty() ) empty 90 modules/imgproc/src/undistort.cpp if( !matR.empty() ) empty 93 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) empty 134 modules/imgproc/src/undistort.cpp float* m2f = map2.empty() ? 0 : map2.ptr<float>(i); empty 187 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) empty 195 modules/imgproc/src/undistort.cpp if( !newCameraMatrix.empty() ) empty 408 modules/imgproc/src/undistort.cpp if( !R.empty() ) empty 410 modules/imgproc/src/undistort.cpp if( !P.empty() ) empty 412 modules/imgproc/src/undistort.cpp if( !distCoeffs.empty() ) empty 80 modules/imgproc/test/ocl/test_canny.cpp ASSERT_FALSE(img.empty()) << "cann't load shared/fruits.png"; empty 75 modules/imgproc/test/ocl/test_gftt.cpp ASSERT_FALSE(frame.empty()) << "could not load gpu/opticalflow/rubberwhale1.png"; empty 104 modules/imgproc/test/ocl/test_gftt.cpp ASSERT_FALSE(points.empty()); empty 108 modules/imgproc/test/ocl/test_gftt.cpp ASSERT_FALSE(upoints.empty()); empty 136 modules/imgproc/test/ocl/test_gftt.cpp ASSERT_TRUE(upoints.empty()); empty 199 modules/imgproc/test/ocl/test_imgproc.cpp ASSERT_FALSE(image.empty()); empty 1696 modules/imgproc/test/test_color.cpp CV_Assert( !given.empty() && !gold.empty() ); empty 1719 modules/imgproc/test/test_color.cpp CV_Assert( !given.empty() ); empty 1723 modules/imgproc/test/test_color.cpp if (gold.empty()) empty 1811 modules/imgproc/test/test_color.cpp if ( src.empty() ) empty 1822 modules/imgproc/test/test_color.cpp CV_Assert(!bayer.empty() && bayer.type() == CV_8UC1); empty 1830 modules/imgproc/test/test_color.cpp if ( reference.empty() ) empty 1913 modules/imgproc/test/test_color.cpp if (!src.empty()) empty 1956 modules/imgproc/test/test_color.cpp if (dst.empty()) empty 2098 modules/imgproc/test/test_color.cpp if (src.empty()) empty 2126 modules/imgproc/test/test_color.cpp CV_Assert(!bayer.empty() && (bayer.type() == CV_8UC1 || bayer.type() == CV_16UC1)); empty 2151 modules/imgproc/test/test_color.cpp CV_Assert(!raw.empty()); empty 67 modules/imgproc/test/test_connectedcomponents.cpp if (orig.empty()) empty 88 modules/imgproc/test/test_connectedcomponents.cpp if( exp.empty() || orig.size() != exp.size() ) empty 250 modules/imgproc/test/test_filter.cpp anchor.x, anchor.y, shape, eldata.empty() ? 0 : &eldata[0] ); empty 216 modules/imgproc/test/test_floodfill.cpp if( mask.empty() ) empty 84 modules/imgproc/test/test_grabcut.cpp if (img.empty() || (!mask_prob.empty() && img.size() != mask_prob.size()) || empty 85 modules/imgproc/test/test_grabcut.cpp (!exp_mask1.empty() && img.size() != exp_mask1.size()) || empty 86 modules/imgproc/test/test_grabcut.cpp (!exp_mask2.empty() && img.size() != exp_mask2.size()) ) empty 102 modules/imgproc/test/test_grabcut.cpp if( mask_prob.empty() ) empty 107 modules/imgproc/test/test_grabcut.cpp if( exp_mask1.empty() ) empty 126 modules/imgproc/test/test_grabcut.cpp if( exp_mask2.empty() ) empty 75 modules/imgproc/test/test_houghLines.cpp if (!expect.empty() && !actual.empty()) empty 147 modules/imgproc/test/test_houghLines.cpp EXPECT_FALSE(src.empty()) << "Invalid test image: " << filename; empty 157 modules/imgproc/test/test_houghLines.cpp EXPECT_FALSE(dst.empty()) << "Failed Canny edge detector"; empty 171 modules/imgproc/test/test_houghLines.cpp if (node.empty()) empty 134 modules/imgproc/test/test_imgwarp_strict.cpp return str.empty() ? "Unsupported/Unkown interpolation type" : str; empty 774 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(((interpolation == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16UC1 || empty 830 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && mapy.empty()); empty 1100 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16SC1)); empty 1227 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16SC1)); empty 121 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.empty()); empty 68 modules/imgproc/test/test_watershed.cpp if (orig.empty() || !fs.isOpened()) empty 88 modules/imgproc/test/test_watershed.cpp if(!exp.empty()) empty 110 modules/imgproc/test/test_watershed.cpp if(!exp.empty()) empty 118 modules/imgproc/test/test_watershed.cpp if( exp.empty() || orig.size() != exp.size() ) empty 98 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(dst.empty()); empty 61 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(imgBGR != null && !imgBGR.empty() && imgBGR.channels() == 3); empty 77 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgRGBA.empty() && imgRGBA.channels() == 4); empty 95 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgRGB.empty() && imgRGB.channels() == 3); empty 113 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgGray.empty() && imgGray.channels() == 1); empty 890 modules/java/generator/src/cpp/Mat.cpp return me->empty( ); empty 345 modules/java/generator/src/java/android+JavaCameraView.java if (!mFrameChain[1 - mChainIdx].empty()) empty 128 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(dst.empty()); empty 304 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual bool empty() const; empty 358 modules/ml/include/opencv2/ml.hpp return !model.empty() && model->train(data, flags) ? model : Ptr<_Tp>(); empty 659 modules/ml/src/ann_mlp.cpp if( layer_sizes.empty() ) empty 753 modules/ml/src/ann_mlp.cpp const double* sw = _sw.empty() ? 0 : _sw.ptr<double>(); empty 1150 modules/ml/src/ann_mlp.cpp if( layer_sizes.empty() ) empty 1182 modules/ml/src/ann_mlp.cpp if( !activ_func_name.empty() ) empty 1205 modules/ml/src/ann_mlp.cpp if( !tpn.empty() ) empty 1228 modules/ml/src/ann_mlp.cpp if( !tcn.empty() ) empty 1233 modules/ml/src/ann_mlp.cpp if( !tcn_e.empty() ) empty 1238 modules/ml/src/ann_mlp.cpp if( !tcn_i.empty() ) empty 1294 modules/ml/src/ann_mlp.cpp return layer_sizes.empty() ? 0 : layer_sizes[0]; empty 387 modules/ml/src/boost.cpp if( roots.empty() ) empty 413 modules/ml/src/boost.cpp String bts = (String)(fn["boosting_type"].empty() ? empty 421 modules/ml/src/boost.cpp bparams.weightTrimRate = (double)(fn["weight_trimming_rate"].empty() ? empty 55 modules/ml/src/data.cpp if( idx.empty() ) empty 131 modules/ml/src/data.cpp return !sampleIdx.empty() ? (int)sampleIdx.total() : empty 136 modules/ml/src/data.cpp return !trainSampleIdx.empty() ? (int)trainSampleIdx.total() : getNSamples(); empty 140 modules/ml/src/data.cpp return !testSampleIdx.empty() ? (int)testSampleIdx.total() : 0; empty 144 modules/ml/src/data.cpp return !varIdx.empty() ? (int)varIdx.total() : getNAllVars(); empty 158 modules/ml/src/data.cpp return classLabels.empty() ? VAR_ORDERED : VAR_CATEGORICAL; empty 160 modules/ml/src/data.cpp Mat getTrainSampleIdx() const { return !trainSampleIdx.empty() ? trainSampleIdx : sampleIdx; } empty 173 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(sampleWeights, idx); empty 186 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(responses, idx); empty 191 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(normCatResponses, idx); empty 253 modules/ml/src/data.cpp if( !sampleIdx.empty() ) empty 262 modules/ml/src/data.cpp if( !sampleWeights.empty() ) empty 271 modules/ml/src/data.cpp if( !varIdx.empty() ) empty 282 modules/ml/src/data.cpp if( !responses.empty() ) empty 303 modules/ml/src/data.cpp if( !varType.empty() ) empty 331 modules/ml/src/data.cpp bool haveMissing = !missing.empty(); empty 392 modules/ml/src/data.cpp if( !tempCatOfs.empty() ) empty 569 modules/ml/src/data.cpp if( rowvals.empty() ) empty 572 modules/ml/src/data.cpp if( !varTypeSpec.empty() && varTypeSpec.size() > 0 ) empty 642 modules/ml/src/data.cpp bool ok = !samples.empty(); empty 771 modules/ml/src/data.cpp const int* sptr = !sampleIdx.empty() ? sampleIdx.ptr<int>() : 0; empty 789 modules/ml/src/data.cpp if( !trainSampleIdx.empty() && !testSampleIdx.empty() ) empty 823 modules/ml/src/data.cpp if( samples.empty() ) empty 826 modules/ml/src/data.cpp if( (!compressSamples || (trainSampleIdx.empty() && sampleIdx.empty())) && empty 827 modules/ml/src/data.cpp (!compressVars || varIdx.empty()) && empty 834 modules/ml/src/data.cpp const int* sptr = !sidx.empty() ? sidx.ptr<int>() : 0; empty 835 modules/ml/src/data.cpp const int* vptr = !vidx.empty() ? vidx.ptr<int>() : 0; empty 142 modules/ml/src/em.cpp setTrainData(START_E_STEP, samplesMat, 0, !_means0.empty() ? &means0 : 0, empty 143 modules/ml/src/em.cpp !_covs0.empty() ? &covs0 : 0, !_weights0.empty() ? &weights0 : 0); empty 156 modules/ml/src/em.cpp setTrainData(START_M_STEP, samplesMat, !_probs0.empty() ? &probs0 : 0, 0, 0, 0); empty 194 modules/ml/src/em.cpp CV_Assert(!sample.empty()); empty 212 modules/ml/src/em.cpp return computeProbabilities(sample, !probs.empty() ? &probs : 0, ptype); empty 217 modules/ml/src/em.cpp return !means.empty(); empty 240 modules/ml/src/em.cpp CV_Assert(!samples.empty()); empty 257 modules/ml/src/em.cpp (!probs->empty() && empty 262 modules/ml/src/em.cpp (!weights->empty() && empty 267 modules/ml/src/em.cpp (!means->empty() && empty 272 modules/ml/src/em.cpp (!covs->empty() && empty 280 modules/ml/src/em.cpp CV_Assert(!m.empty() && m.size() == covSize && (m.channels() == 1)); empty 364 modules/ml/src/em.cpp CV_Assert(!covs.empty()); empty 371 modules/ml/src/em.cpp CV_Assert(!covs[clusterIndex].empty()); empty 406 modules/ml/src/em.cpp if(!means.empty()) empty 416 modules/ml/src/em.cpp TermCriteria(TermCriteria::COUNT, means.empty() ? 10 : 1, 0.5), empty 443 modules/ml/src/em.cpp CV_Assert(!clusterSamples.empty()); empty 455 modules/ml/src/em.cpp CV_Assert(!covsEigenValues.empty()); empty 481 modules/ml/src/em.cpp if(covs.empty()) empty 483 modules/ml/src/em.cpp CV_Assert(weights.empty()); empty 488 modules/ml/src/em.cpp if(!covs.empty() && covsEigenValues.empty() ) empty 490 modules/ml/src/em.cpp CV_Assert(invCovsEigenValues.empty()); empty 566 modules/ml/src/em.cpp CV_Assert(!means.empty()); empty 601 modules/ml/src/em.cpp CV_DbgAssert(!logWeightDivDet.empty()); empty 1352 modules/ml/src/gbt.cpp return train( &_trainData, tflag, &_responses, varIdx.empty() ? 0 : &_varIdx, empty 1353 modules/ml/src/gbt.cpp sampleIdx.empty() ? 0 : &_sampleIdx, varType.empty() ? 0 : &_varType, empty 1354 modules/ml/src/gbt.cpp missingDataMask.empty() ? 0 : &_missingDataMask, _params, update); empty 1361 modules/ml/src/gbt.cpp return predict(&_sample, _missing.empty() ? 0 : &miss, 0, empty 100 modules/ml/src/inner_functions.cpp if( !resp.empty() ) empty 167 modules/ml/src/kdtree.cpp CV_Assert(_points.type() == CV_32F && !_points.empty()); empty 187 modules/ml/src/kdtree.cpp if( !_labels.empty() ) empty 504 modules/ml/src/kdtree.cpp const int* srclabels = !labels.empty() ? &labels[0] : 0; empty 511 modules/ml/src/kdtree.cpp if( !pts.empty() ) empty 530 modules/ml/src/kdtree.cpp return !points.empty() ? points.cols : 0; empty 79 modules/ml/src/knearest.cpp bool update = (flags & ml::KNearest::UPDATE_MODEL) != 0 && !samples.empty(); empty 463 modules/ml/src/knearest.cpp bool isTrained() const { return !impl->samples.empty(); } empty 105 modules/ml/src/lr.cpp virtual bool isTrained() const { return !learnt_thetas.empty(); } empty 135 modules/ml/src/lr.cpp CV_Assert( !_labels_i.empty() && !_data_i.empty()); empty 555 modules/ml/src/lr.cpp CV_Assert( !lmap.empty() ); empty 596 modules/ml/src/lr.cpp if(fn.empty()) empty 204 modules/ml/src/nbayes.cpp results_prob = !_results_prob.empty() ? &_results_prob : 0; empty 229 modules/ml/src/nbayes.cpp const int* vptr = vidx && !vidx->empty() ? vidx->ptr<int>() : 0; empty 345 modules/ml/src/nbayes.cpp fs << "var_count" << (var_idx.empty() ? nallvars : (int)var_idx.total()); empty 348 modules/ml/src/nbayes.cpp if( !var_idx.empty() ) empty 396 modules/ml/src/nbayes.cpp if( cls_labels.empty() || nclasses < 1 ) empty 443 modules/ml/src/nbayes.cpp bool isTrained() const { return !avg.empty(); } empty 294 modules/ml/src/precomp.hpp bool isTrained() const { return !roots.empty(); } empty 296 modules/ml/src/precomp.hpp int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } empty 144 modules/ml/src/rtrees.cpp const int* vidx = !varIdx.empty() ? &varIdx[0] : 0; empty 294 modules/ml/src/rtrees.cpp if( roots.empty() ) empty 300 modules/ml/src/rtrees.cpp if( !varImportance.empty() ) empty 1373 modules/ml/src/svm.cpp if( !_responses.empty() ) empty 1416 modules/ml/src/svm.cpp if( svmType == C_SVC && !params.classWeights.empty() ) empty 1481 modules/ml/src/svm.cpp if( !class_weights.empty() ) empty 1608 modules/ml/src/svm.cpp if( responses.empty() ) empty 1788 modules/ml/src/svm.cpp else if( !responses.empty() ) empty 1841 modules/ml/src/svm.cpp int class_count = !svm->class_labels.empty() ? (int)svm->class_labels.total() : svmType == ONE_CLASS ? 1 : 0; empty 2004 modules/ml/src/svm.cpp return !sv.empty(); empty 2024 modules/ml/src/svm.cpp int class_count = !class_labels.empty() ? (int)class_labels.total() : empty 2037 modules/ml/src/svm.cpp if( !class_labels.empty() ) empty 2040 modules/ml/src/svm.cpp if( !params.classWeights.empty() ) empty 2087 modules/ml/src/svm.cpp String svm_type_str = (String)(fn["svm_type"].empty() ? fn["svmType"] : fn["svm_type"]); empty 2099 modules/ml/src/svm.cpp if( kernel_node.empty() ) empty 2126 modules/ml/src/svm.cpp if( !tcnode.empty() ) empty 2155 modules/ml/src/svm.cpp if( !m.empty() ) empty 2158 modules/ml/src/svm.cpp if( !m.empty() ) empty 2161 modules/ml/src/svm.cpp if( class_count > 1 && (class_labels.empty() || (int)class_labels.total() != class_count)) empty 104 modules/ml/src/tree.cpp if( !sidx0.empty() ) empty 152 modules/ml/src/tree.cpp if( !vidx0.empty() ) empty 178 modules/ml/src/tree.cpp if( !class_weights.empty() ) empty 1376 modules/ml/src/tree.cpp const int* cvidx = (flags & (COMPRESSED_INPUT|PREPROCESSED_INPUT)) == 0 && !varIdx.empty() ? &compVarIdx[0] : 0; empty 1378 modules/ml/src/tree.cpp const Vec2i* cofs = !catOfs.empty() ? &catOfs[0] : 0; empty 1379 modules/ml/src/tree.cpp const int* cmap = !catMap.empty() ? &catMap[0] : 0; empty 1381 modules/ml/src/tree.cpp const float* missingSubstPtr = !missingSubst.empty() ? &missingSubst[0] : 0; empty 1496 modules/ml/src/tree.cpp CV_Assert( !roots.empty() ); empty 1545 modules/ml/src/tree.cpp if( !params.priors.empty() ) empty 1570 modules/ml/src/tree.cpp if( !varIdx.empty() ) empty 1578 modules/ml/src/tree.cpp if( !catOfs.empty() ) empty 1580 modules/ml/src/tree.cpp if( !catMap.empty() ) empty 1582 modules/ml/src/tree.cpp if( !classLabels.empty() ) empty 1584 modules/ml/src/tree.cpp if( !missingSubst.empty() ) empty 1700 modules/ml/src/tree.cpp if( !tparams_node.empty() ) // training parameters are not necessary empty 1703 modules/ml/src/tree.cpp params0.setMaxCategories((int)(tparams_node["max_categories"].empty() ? 16 : tparams_node["max_categories"])); empty 1730 modules/ml/src/tree.cpp if (!varIdx.empty()) empty 1790 modules/ml/src/tree.cpp if (globalVarIdx || varIdx.empty()) empty 1816 modules/ml/src/tree.cpp if( fns.empty() ) empty 1850 modules/ml/src/tree.cpp if( cmpNode.empty() ) empty 1873 modules/ml/src/tree.cpp if( !sfn.empty() ) empty 1934 modules/ml/src/tree.cpp CV_Assert( !fnodes.empty() ); empty 84 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !data.empty() && data.rows == total ); empty 143 modules/ml/test/test_emknearestkmeans.cpp assert( !labels.empty() ); empty 187 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !labels.empty() && !origLabels.empty() ); empty 617 modules/ml/test/test_emknearestkmeans.cpp if( data.empty() ) empty 95 modules/ml/test/test_mltests2.cpp if( !_data->getMissing().empty() ) empty 109 modules/ml/test/test_mltests2.cpp int si, n = !train_sidx.empty() ? (int)train_sidx.total() : nresponses; empty 137 modules/ml/test/test_mltests2.cpp int* sidx = !sample_idx.empty() ? sample_idx.ptr<int>() : 0; empty 276 modules/ml/test/test_mltests2.cpp if ( dataPath.empty() ) empty 286 modules/ml/test/test_mltests2.cpp CV_DbgAssert( !dataParamsNode.empty() ); empty 288 modules/ml/test/test_mltests2.cpp CV_DbgAssert( !dataParamsNode["LS"].empty() ); empty 291 modules/ml/test/test_mltests2.cpp CV_DbgAssert( !dataParamsNode["resp_idx"].empty() ); empty 294 modules/ml/test/test_mltests2.cpp CV_DbgAssert( !dataParamsNode["types"].empty() ); empty 298 modules/ml/test/test_mltests2.cpp if( data.empty() ) empty 439 modules/ml/test/test_mltests2.cpp if( !model.empty() ) empty 462 modules/ml/test/test_mltests2.cpp if( !_resp.empty() && resp ) empty 178 modules/ml/test/test_save_load.cpp if (piece.empty()) empty 178 modules/objdetect/include/opencv2/objdetect.hpp virtual bool empty() const = 0; empty 232 modules/objdetect/include/opencv2/objdetect.hpp CV_WRAP bool empty() const; empty 95 modules/objdetect/misc/java/test/CascadeClassifierTest.java assertTrue(cc.empty()); empty 101 modules/objdetect/misc/java/test/CascadeClassifierTest.java assertTrue(!cc.empty()); empty 33 modules/objdetect/perf/opencl/perf_cascades.cpp if (cc.empty()) empty 37 modules/objdetect/perf/opencl/perf_cascades.cpp if (img.empty()) empty 77 modules/objdetect/perf/opencl/perf_hogdetect.cpp ASSERT_FALSE(src.empty()); empty 54 modules/objdetect/src/cascadedetect.cpp if(v.empty()) empty 62 modules/objdetect/src/cascadedetect.cpp if( groupThreshold <= 0 || rectList.empty() ) empty 94 modules/objdetect/src/cascadedetect.cpp if ( levelWeights && weights && !weights->empty() && !levelWeights->empty() ) empty 389 modules/objdetect/src/cascadedetect.cpp if (scaleData.empty()) empty 427 modules/objdetect/src/cascadedetect.cpp if( scaleData.empty() ) empty 571 modules/objdetect/src/cascadedetect.cpp if(features.empty()) empty 573 modules/objdetect/src/cascadedetect.cpp if(optfeatures.empty()) empty 575 modules/objdetect/src/cascadedetect.cpp if (optfeatures_lbuf.empty()) empty 766 modules/objdetect/src/cascadedetect.cpp if(features.empty()) empty 768 modules/objdetect/src/cascadedetect.cpp if(optfeatures.empty()) empty 770 modules/objdetect/src/cascadedetect.cpp if (optfeatures_lbuf.empty()) empty 879 modules/objdetect/src/cascadedetect.cpp return !oldCascade && data.stages.empty(); empty 898 modules/objdetect/src/cascadedetect.cpp return !oldCascade.empty(); empty 1063 modules/objdetect/src/cascadedetect.cpp if( ustages.empty() ) empty 1066 modules/objdetect/src/cascadedetect.cpp if (!data.stumps.empty()) empty 1071 modules/objdetect/src/cascadedetect.cpp if( !data.subsets.empty() ) empty 1081 modules/objdetect/src/cascadedetect.cpp if( haar.empty() ) empty 1084 modules/objdetect/src/cascadedetect.cpp if( haarKernel.empty() ) empty 1094 modules/objdetect/src/cascadedetect.cpp if( haarKernel.empty() ) empty 1121 modules/objdetect/src/cascadedetect.cpp if( lbp.empty() ) empty 1124 modules/objdetect/src/cascadedetect.cpp if( lbpKernel.empty() ) empty 1134 modules/objdetect/src/cascadedetect.cpp if( lbpKernel.empty() ) empty 1177 modules/objdetect/src/cascadedetect.cpp return !oldCascade.empty(); empty 1237 modules/objdetect/src/cascadedetect.cpp maskGenerator.empty() && empty 1322 modules/objdetect/src/cascadedetect.cpp if( empty() ) empty 1366 modules/objdetect/src/cascadedetect.cpp if( empty() ) empty 1423 modules/objdetect/src/cascadedetect.cpp if( fn.empty() ) empty 1432 modules/objdetect/src/cascadedetect.cpp if( fn.empty() ) empty 1450 modules/objdetect/src/cascadedetect.cpp if(fns.empty()) empty 1463 modules/objdetect/src/cascadedetect.cpp if( internalNodes.empty() || leafValues.empty() ) empty 1542 modules/objdetect/src/cascadedetect.cpp if( fn.empty() ) empty 1568 modules/objdetect/src/cascadedetect.cpp return cc.empty() || cc->empty(); empty 1576 modules/objdetect/src/cascadedetect.cpp return !empty(); empty 1634 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1646 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1661 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1670 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1676 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1682 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1688 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1694 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 1700 modules/objdetect/src/cascadedetect.cpp CV_Assert(!empty()); empty 83 modules/objdetect/src/cascadedetect.hpp bool empty() const; empty 571 modules/objdetect/src/cascadedetect.hpp CV_Assert(!cascade.data.stumps.empty()); empty 608 modules/objdetect/src/cascadedetect.hpp CV_Assert(!cascade.data.stumps.empty()); empty 122 modules/objdetect/src/cascadedetect_convert.cpp if( sznode.empty() ) empty 173 modules/objdetect/src/cascadedetect_convert.cpp if( !leftValNode.empty() ) empty 183 modules/objdetect/src/cascadedetect_convert.cpp if( !rightValNode.empty() ) empty 390 modules/objdetect/src/detection_based_tracker.cpp if (imageSeparateDetecting.empty()) { empty 1724 modules/objdetect/src/haar.cpp if( findBiggestObject && !allCandidates.empty() && scanROI.area() == 0 ) empty 1731 modules/objdetect/src/haar.cpp if( !rectList.empty() ) empty 1761 modules/objdetect/src/haar.cpp if(!allCandidates.empty()) empty 1799 modules/objdetect/src/haar.cpp c.neighbors = !rweights.empty() ? rweights[i] : 0; empty 158 modules/objdetect/src/hog.cpp if (obj["signedGradient"].empty()) empty 174 modules/objdetect/src/hog.cpp if( !objName.empty() ) empty 190 modules/objdetect/src/hog.cpp if( !svmDetector.empty() ) empty 198 modules/objdetect/src/hog.cpp FileNode obj = !objname.empty() ? fs[objname] : fs.getFirstTopLevelNode(); empty 205 modules/objdetect/src/hog.cpp write(fs, !objName.empty() ? objName : FileStorage::getDefaultObjectName(filename)); empty 1089 modules/objdetect/src/hog.cpp if(k.empty()) empty 1134 modules/objdetect/src/hog.cpp if(k.empty()) empty 1143 modules/objdetect/src/hog.cpp if(k.empty()) empty 1209 modules/objdetect/src/hog.cpp if(k.empty()) empty 1216 modules/objdetect/src/hog.cpp if(k.empty()) empty 1228 modules/objdetect/src/hog.cpp if(k.empty()) empty 1235 modules/objdetect/src/hog.cpp if(k.empty()) empty 1262 modules/objdetect/src/hog.cpp if(k.empty()) empty 1296 modules/objdetect/src/hog.cpp if(k.empty()) empty 1433 modules/objdetect/src/hog.cpp if( !locations.empty() ) empty 1465 modules/objdetect/src/hog.cpp if( svmDetector.empty() ) empty 1499 modules/objdetect/src/hog.cpp if( !locations.empty() ) empty 1614 modules/objdetect/src/hog.cpp if (weights && (!hitsWeights.empty())) empty 1655 modules/objdetect/src/hog.cpp if(k.empty()) empty 1662 modules/objdetect/src/hog.cpp if(k.empty()) empty 1671 modules/objdetect/src/hog.cpp if(k.empty()) empty 1678 modules/objdetect/src/hog.cpp if(k.empty()) empty 1687 modules/objdetect/src/hog.cpp if(k.empty()) empty 1694 modules/objdetect/src/hog.cpp if(k.empty()) empty 1729 modules/objdetect/src/hog.cpp if (oclSvmDetector.empty()) empty 3333 modules/objdetect/src/hog.cpp if( svmDetector.empty() || locations.empty()) empty 3529 modules/objdetect/src/hog.cpp if( groupThreshold <= 0 || rectList.empty() ) empty 73 modules/objdetect/test/opencl/test_hogdetector.cpp ASSERT_FALSE(img.empty()); empty 258 modules/objdetect/test/test_cascadeandhog.cpp if( !detectorFilenames[detectorIdx].empty() ) empty 266 modules/objdetect/test/test_cascadeandhog.cpp if( image.empty() ) empty 468 modules/objdetect/test/test_cascadeandhog.cpp if( cascade.empty() ) empty 513 modules/objdetect/test/test_cascadeandhog.cpp if( detectorFilenames[di].empty() ) empty 527 modules/objdetect/test/test_cascadeandhog.cpp ASSERT_FALSE(img.empty()); empty 1010 modules/objdetect/test/test_cascadeandhog.cpp if( svmDetector.empty() ) empty 1039 modules/objdetect/test/test_cascadeandhog.cpp if( !locations.empty() ) empty 1141 modules/objdetect/test/test_cascadeandhog.cpp if( !locations.empty() ) empty 1378 modules/objdetect/test/test_cascadeandhog.cpp for( int i = 0; !cascades[i].empty(); i++ ) empty 19 modules/photo/perf/opencl/perf_denoising.cpp ASSERT_FALSE(_original.empty()) << "Could not load input image"; empty 35 modules/photo/perf/opencl/perf_denoising.cpp ASSERT_FALSE(_original.empty()) << "Could not load input image"; empty 58 modules/photo/perf/opencl/perf_denoising.cpp ASSERT_FALSE(tmp.empty()) << "Could not load input image " << original_path; empty 81 modules/photo/perf/opencl/perf_denoising.cpp ASSERT_FALSE(tmp.empty()) << "Could not load input image " << original_path; empty 62 modules/photo/src/contrast_preserve.cpp CV_Assert(!I.empty() && (I.channels()==3)); empty 144 modules/photo/src/fast_nlmeans_denoising_invoker.hpp if (dst_.empty()) empty 73 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (k.empty()) empty 128 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (k.empty()) empty 155 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp if (dst_.empty()) empty 51 modules/photo/src/hdr_common.cpp CV_Assert(!images.empty()); empty 83 modules/photo/src/inpaint.cpp CvHeapElem *mem,*empty,*head,*tail; empty 104 modules/photo/src/inpaint.cpp empty = mem+1; empty 132 modules/photo/src/inpaint.cpp CvHeapElem *tmp=empty,*add=empty; empty 133 modules/photo/src/inpaint.cpp if (empty==tail) return false; empty 135 modules/photo/src/inpaint.cpp if (tmp!=empty) { empty 138 modules/photo/src/inpaint.cpp empty = add->next; empty 144 modules/photo/src/inpaint.cpp empty = empty->next; empty 156 modules/photo/src/inpaint.cpp if (empty==tmp) return false; empty 161 modules/photo/src/inpaint.cpp tmp->prev = empty->prev; empty 162 modules/photo/src/inpaint.cpp tmp->next = empty; empty 165 modules/photo/src/inpaint.cpp empty = tmp; empty 173 modules/photo/src/inpaint.cpp if (empty==tmp) return false; empty 179 modules/photo/src/inpaint.cpp tmp->prev = empty->prev; empty 180 modules/photo/src/inpaint.cpp tmp->next = empty; empty 183 modules/photo/src/inpaint.cpp empty = tmp; empty 191 modules/photo/src/inpaint.cpp mem=empty=head=tail=NULL; empty 78 modules/photo/src/merge.cpp if(response.empty()) { empty 238 modules/photo/src/merge.cpp if(res_pyr[lvl].empty()) { empty 316 modules/photo/src/merge.cpp if(response.empty()) { empty 66 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); empty 121 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); empty 205 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); empty 289 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); empty 383 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); empty 48 modules/photo/test/ocl/test_denoising.cpp ASSERT_FALSE(image.empty()); empty 73 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 74 modules/photo/test/test_cloning.cpp ASSERT_FALSE(destination.empty()) << "Could not load destination image " << original_path2; empty 75 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path3; empty 84 modules/photo/test/test_cloning.cpp ASSERT_FALSE(reference.empty()) << "Could not load reference image " << reference_path; empty 104 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 105 modules/photo/test/test_cloning.cpp ASSERT_FALSE(destination.empty()) << "Could not load destination image " << original_path2; empty 106 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path3; empty 117 modules/photo/test/test_cloning.cpp ASSERT_FALSE(reference.empty()) << "Could not load reference image " << reference_path; empty 136 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 137 modules/photo/test/test_cloning.cpp ASSERT_FALSE(destination.empty()) << "Could not load destination image " << original_path2; empty 138 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path3; empty 149 modules/photo/test/test_cloning.cpp ASSERT_FALSE(reference.empty()) << "Could not load reference image " << reference_path; empty 166 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 167 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path2; empty 175 modules/photo/test/test_cloning.cpp ASSERT_FALSE(reference.empty()) << "Could not load reference image " << reference_path; empty 192 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 193 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path2; empty 216 modules/photo/test/test_cloning.cpp ASSERT_FALSE(source.empty()) << "Could not load source image " << original_path1; empty 217 modules/photo/test/test_cloning.cpp ASSERT_FALSE(mask.empty()) << "Could not load mask image " << original_path2; empty 225 modules/photo/test/test_cloning.cpp ASSERT_FALSE(reference.empty()) << "Could not load reference image " << reference_path; empty 59 modules/photo/test/test_decolor.cpp ASSERT_FALSE(original.empty()) << "Could not load input image " << original_path; empty 82 modules/photo/test/test_denoise_tvl1.cpp ASSERT_FALSE(img.empty()) << "Error: can't open 'lena.png'"; empty 68 modules/photo/test/test_denoising.cpp ASSERT_FALSE(original.empty()) << "Could not load input image " << original_path; empty 69 modules/photo/test/test_denoising.cpp ASSERT_FALSE(expected.empty()) << "Could not load reference image " << expected_path; empty 88 modules/photo/test/test_denoising.cpp ASSERT_FALSE(original.empty()) << "Could not load input image " << original_path; empty 89 modules/photo/test/test_denoising.cpp ASSERT_FALSE(expected.empty()) << "Could not load reference image " << expected_path; empty 106 modules/photo/test/test_denoising.cpp ASSERT_FALSE(expected.empty()) << "Could not load reference image " << expected_path; empty 113 modules/photo/test/test_denoising.cpp ASSERT_FALSE(original[i].empty()) << "Could not load input image " << original_path; empty 131 modules/photo/test/test_denoising.cpp ASSERT_FALSE(expected.empty()) << "Could not load reference image " << expected_path; empty 138 modules/photo/test/test_denoising.cpp ASSERT_FALSE(original[i].empty()) << "Could not load input image " << original_path; empty 63 modules/photo/test/test_denoising.cuda.cpp ASSERT_FALSE(bgr.empty()); empty 80 modules/photo/test/test_denoising.cuda.cpp ASSERT_FALSE(bgr_gold.empty() || gray_gold.empty()); empty 96 modules/photo/test/test_denoising.cuda.cpp ASSERT_FALSE(bgr.empty()); empty 113 modules/photo/test/test_denoising.cuda.cpp ASSERT_FALSE(bgr_gold.empty() || gray_gold.empty()); empty 50 modules/photo/test/test_hdr.cpp ASSERT_FALSE(img.empty()) << "Could not load input image " << path; empty 69 modules/photo/test/test_hdr.cpp ASSERT_FALSE(img.empty()) << "Could not load input image " << path + name; empty 71 modules/photo/test/test_inpaint.cpp if (orig.empty() || exp1.empty() || exp2.empty() || mask.empty()) empty 59 modules/photo/test/test_npr.cpp ASSERT_FALSE(source.empty()) << "Could not load input image " << original_path; empty 76 modules/photo/test/test_npr.cpp ASSERT_FALSE(source.empty()) << "Could not load input image " << original_path; empty 94 modules/photo/test/test_npr.cpp ASSERT_FALSE(source.empty()) << "Could not load input image " << original_path; empty 111 modules/photo/test/test_npr.cpp ASSERT_FALSE(source.empty()) << "Could not load input image " << original_path; empty 132 modules/photo/test/test_npr.cpp ASSERT_FALSE(source.empty()) << "Could not load input image " << original_path; empty 590 modules/python/src2/cv2.cpp return PyString_FromString(value.empty() ? "" : value.c_str()); empty 846 modules/python/src2/cv2.cpp if(value.empty()) empty 104 modules/shape/src/aff_trans.cpp CV_Assert(!affineMat.empty()); empty 222 modules/shape/src/aff_trans.cpp if (affine.empty()) empty 63 modules/shape/src/emdL1.cpp CV_Assert((sig1.rows==sig2.rows) && (sig1.cols==sig2.cols) && (!sig1.empty()) && (!sig2.empty())); empty 126 modules/shape/src/sc_dis.cpp CV_Assert((!image1.empty()) && (!image2.empty())); empty 206 modules/shape/src/sc_dis.cpp CV_Assert((!image1.empty()) && (!image2.empty())); empty 245 modules/shape/src/sc_dis.cpp if ( !transDown.empty() ) empty 256 modules/shape/src/sc_dis.cpp if ( !transDown.empty() ) empty 273 modules/shape/src/sc_dis.cpp if ( !transDown.empty() ) empty 77 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp while (!vertices.empty()) empty 72 modules/stitching/perf/opencl/perf_warpers.cpp CV_Assert(!creator.empty()); empty 97 modules/stitching/perf/perf_stich.cpp if (!pano.empty()) empty 110 modules/stitching/src/autocalib.cpp if (m.H.empty()) empty 259 modules/stitching/src/blenders.cpp if (k.empty()) empty 463 modules/stitching/src/blenders.cpp if (k.empty()) empty 639 modules/stitching/src/blenders.cpp if (pyr.empty()) empty 653 modules/stitching/src/blenders.cpp if (pyr.empty()) empty 90 modules/stitching/src/matchers.cpp if (!pairwise_matches[pair_idx].H.empty()) empty 532 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); empty 534 modules/stitching/src/matchers.cpp if (mask_.empty()) empty 606 modules/stitching/src/matchers.cpp if (matches_info.H.empty() || std::abs(determinant(matches_info.H)) < std::numeric_limits<double>::epsilon()) empty 672 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); empty 674 modules/stitching/src/matchers.cpp if (mask_.empty()) empty 127 modules/stitching/src/motion_estimators.cpp if (!pairwise_matches[subset[i]].H.empty()) empty 823 modules/stitching/src/motion_estimators.cpp if (pairwise_matches[i * num_images + j].H.empty()) empty 125 modules/stitching/src/stitcher.cpp if (!imgs.empty()) empty 429 modules/stitching/src/stitcher.cpp if (rois_.empty()) empty 116 modules/stitching/src/warpers.cpp if (!k.empty()) empty 316 modules/stitching/src/warpers.cpp if (!k.empty()) empty 364 modules/stitching/src/warpers.cpp if (!k.empty()) empty 172 modules/superres/src/btv_l1.cpp if (k.empty()) empty 250 modules/superres/src/btv_l1.cpp if (k.empty()) empty 307 modules/superres/src/btv_l1.cpp if (k.empty()) empty 426 modules/superres/src/btv_l1.cpp if (k.empty()) empty 583 modules/superres/src/btv_l1.cpp if (btvWeights_.empty() || btvKernelSize_ != curBtvKernelSize_ || alpha_ != curAlpha_) empty 686 modules/superres/src/btv_l1.cpp if (btvWeights_.empty() || btvKernelSize_ != curBtvKernelSize_ || alpha_ != curAlpha_) empty 1007 modules/superres/src/btv_l1.cpp if (curFrame_.empty()) empty 321 modules/superres/src/btv_l1_cuda.cpp if (btvWeights_.empty() || btvKernelSize_ != curBtvKernelSize_ || alpha_ != curAlpha_) empty 527 modules/superres/src/btv_l1_cuda.cpp if (curFrame_.empty()) empty 225 modules/superres/test/test_superres.cpp ASSERT_FALSE( superRes.empty() ); empty 255 modules/superres/test/test_superres.cpp ASSERT_FALSE( goldFrame.empty() ); empty 258 modules/superres/test/test_superres.cpp ASSERT_FALSE( superResFrame.empty() ); empty 3649 modules/ts/include/opencv2/ts/ts_gtest.h bool IsEmpty() const { return pathname_.empty(); } empty 10558 modules/ts/include/opencv2/ts/ts_gtest.h if ( !instantiation_name.empty() ) empty 17181 modules/ts/include/opencv2/ts/ts_gtest.h return file_name_.empty() ? NULL : file_name_.c_str(); empty 313 modules/ts/src/cuda_perf.cpp if (!new_descriptors.empty()) empty 276 modules/ts/src/cuda_test.cpp const uchar* mask_row = mask.empty() ? 0 : mask.ptr<uchar>(y); empty 507 modules/ts/src/ts.cpp if( !output_buf[SUMMARY_IDX].empty() ) empty 509 modules/ts/src/ts.cpp if( !output_buf[LOG_IDX].empty() ) empty 511 modules/ts/src/ts.cpp if( !output_buf[CONSOLE_IDX].empty() ) empty 589 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); empty 611 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); empty 219 modules/ts/src/ts_arrtest.cpp if( !test_mat[i][j].empty() ) empty 318 modules/ts/src/ts_arrtest.cpp if( !arr.empty() ) empty 155 modules/ts/src/ts_func.cpp if( a.empty() || alpha == 0 ) empty 159 modules/ts/src/ts_func.cpp CV_Assert( !a.empty() || !b.empty() ); empty 160 modules/ts/src/ts_func.cpp if( !b.empty() ) empty 168 modules/ts/src/ts_func.cpp if( b.empty() || beta == 0 ) empty 190 modules/ts/src/ts_func.cpp if(!b.empty()) empty 209 modules/ts/src/ts_func.cpp if( b.empty() ) empty 341 modules/ts/src/ts_func.cpp if(mask.empty()) empty 386 modules/ts/src/ts_func.cpp if(mask.empty()) empty 644 modules/ts/src/ts_func.cpp if( kernel.empty() ) empty 665 modules/ts/src/ts_func.cpp if( ofs.empty() ) empty 701 modules/ts/src/ts_func.cpp if( kernel.empty() ) empty 722 modules/ts/src/ts_func.cpp if( ofs.empty() ) empty 1246 modules/ts/src/ts_func.cpp if( !mask.empty() ) empty 1271 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src.size == mask.size && mask.type() == CV_8U) ); empty 1331 modules/ts/src/ts_func.cpp if( !mask.empty() ) empty 1353 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src1.size == mask.size && mask.type() == CV_8U) ); empty 2220 modules/ts/src/ts_func.cpp if( !c.empty() && c.data == d.data && (flags & cv::GEMM_3_T) ) empty 2243 modules/ts/src/ts_func.cpp if( !c.empty() ) empty 2263 modules/ts/src/ts_func.cpp !c.empty() ? c.ptr<float>() : 0, c_step, c_delta, d.ptr<float>(), empty 2267 modules/ts/src/ts_func.cpp !c.empty() ? c.ptr<double>() : 0, c_step, c_delta, d.ptr<double>(), empty 2297 modules/ts/src/ts_func.cpp bool haveShift = !shift.empty(); empty 2521 modules/ts/src/ts_func.cpp CV_Assert( src1.empty() || (src1.type() == src2.type() && src1.size == src2.size) ); empty 2603 modules/ts/src/ts_func.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.size == src.size)); empty 2806 modules/ts/src/ts_func.cpp if( !m.m || m.m->empty() ) empty 1417 modules/ts/src/ts_gtest.cpp if (str.empty() || !IsDigit(str[0])) { empty 1996 modules/ts/src/ts_gtest.cpp if (positive.empty()) { empty 3182 modules/ts/src/ts_gtest.cpp if (user_msg_string.empty()) { empty 4595 modules/ts/src/ts_gtest.cpp if (output_file_.c_str() == NULL || output_file_.empty()) { empty 5306 modules/ts/src/ts_gtest.cpp if (os_stack_trace.c_str() != NULL && !os_stack_trace.empty()) { empty 5601 modules/ts/src/ts_gtest.cpp if (!target.empty()) { empty 6668 modules/ts/src/ts_gtest.cpp return !GTEST_FLAG(internal_run_death_test).empty(); empty 6673 modules/ts/src/ts_gtest.cpp return !GTEST_FLAG(internal_run_death_test).empty(); empty 8171 modules/ts/src/ts_gtest.cpp return !pathname_.empty() && empty 182 modules/ts/src/ts_perf.cpp if (!storageInPath.empty()) empty 240 modules/ts/src/ts_perf.cpp if (!currentTestNodeName.empty()) empty 248 modules/ts/src/ts_perf.cpp if (!storageOut.isOpened() && !storageOutPath.empty()) empty 258 modules/ts/src/ts_perf.cpp else if (mode == cv::FileStorage::WRITE && !rootIn.empty()) empty 317 modules/ts/src/ts_perf.cpp if (!m.empty() && m.dims < 2) return; empty 344 modules/ts/src/ts_perf.cpp if (!actual.empty() && actual.dims < 2) return; empty 476 modules/ts/src/ts_perf.cpp if(expected.empty()) empty 478 modules/ts/src/ts_perf.cpp ASSERT_TRUE(actual.empty()) empty 533 modules/ts/src/ts_perf.cpp if(expected.empty()) empty 535 modules/ts/src/ts_perf.cpp ASSERT_TRUE(actual.empty()) empty 583 modules/ts/src/ts_perf.cpp if(!array.empty() && array.depth() == CV_USRTYPE1) empty 598 modules/ts/src/ts_perf.cpp if (!currentTestNodeName.empty()) empty 686 modules/ts/src/ts_perf.cpp if (!name.empty() && name[name.size() - 1] == '\r') // CRLF processing on Linux empty 700 modules/ts/src/ts_perf.cpp if (!perf_validation_results_outfile.empty()) empty 890 modules/ts/src/ts_perf.cpp if (!fileName_perf_validation_results_src.empty()) empty 897 modules/ts/src/ts_perf.cpp if (!perf_validation_results_outfile.empty()) empty 1003 modules/ts/src/ts_perf.cpp if (!a.empty()) empty 1014 modules/ts/src/ts_perf.cpp if (a.empty()) empty 1048 modules/ts/src/ts_perf.cpp if (a.empty()) return 0; empty 1144 modules/ts/src/ts_perf.cpp if (!perf_validation_results.empty() && !name.empty()) empty 1212 modules/ts/src/ts_perf.cpp if (!has_next && !name.empty()) empty 1632 modules/ts/src/ts_perf.cpp if (relativePath.empty()) empty 1752 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1759 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1767 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1776 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1786 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1793 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1801 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 1810 modules/ts/src/ts_perf.cpp if (!test->times.empty()) return *this; empty 45 modules/video/perf/opencl/perf_bgfg_mog2.cpp ASSERT_FALSE(frame.empty()); empty 70 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp ASSERT_FALSE(frame0.empty()) << "can't load RubberWhale1.png"; empty 73 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp ASSERT_FALSE(frame1.empty()) << "can't load RubberWhale2.png"; empty 75 modules/video/perf/opencl/perf_optflow_farneback.cpp ASSERT_FALSE(frame0.empty()) << "can't load rubberwhale1.png"; empty 78 modules/video/perf/opencl/perf_optflow_farneback.cpp ASSERT_FALSE(frame1.empty()) << "can't load rubberwhale2.png"; empty 68 modules/video/perf/opencl/perf_optflow_pyrlk.cpp ASSERT_FALSE(frame0.empty()) << "can't load rubberwhale1.png"; empty 71 modules/video/perf/opencl/perf_optflow_pyrlk.cpp ASSERT_FALSE(frame1.empty()) << "can't load rubberwhale2.png"; empty 44 modules/video/perf/perf_optflowpyrlk.cpp if (img1.empty()) FAIL() << "Unable to load source image " << filename1; empty 45 modules/video/perf/perf_optflowpyrlk.cpp if (img2.empty()) FAIL() << "Unable to load source image " << filename2; empty 117 modules/video/perf/perf_optflowpyrlk.cpp if (img1.empty()) FAIL() << "Unable to load source image " << filename1; empty 118 modules/video/perf/perf_optflowpyrlk.cpp if (img2.empty()) FAIL() << "Unable to load source image " << filename2; empty 20 modules/video/perf/perf_tvl1optflow.cpp ASSERT_FALSE(frame1.empty()); empty 21 modules/video/perf/perf_tvl1optflow.cpp ASSERT_FALSE(frame2.empty()); empty 198 modules/video/src/bgfg_gaussmix2.cpp if (kernel_apply.empty() || kernel_getBg.empty()) empty 266 modules/video/src/bgfg_gaussmix2.cpp if (!kernel_apply.empty()) empty 269 modules/video/src/bgfg_gaussmix2.cpp CV_Assert( !kernel_apply.empty() ); empty 311 modules/video/src/compat_video.cpp if( matM.empty() ) empty 329 modules/video/src/ecc.cpp CV_Assert(!src.empty()); empty 330 modules/video/src/ecc.cpp CV_Assert(!dst.empty()); empty 406 modules/video/src/ecc.cpp if(inputMask.empty()) empty 87 modules/video/src/kalman.cpp if( !control.empty() ) empty 775 modules/video/src/lkpyramid.cpp if(!temp.empty()) empty 797 modules/video/src/lkpyramid.cpp if(!temp.empty()) empty 814 modules/video/src/lkpyramid.cpp if(!deriv.empty()) empty 1042 modules/video/src/lkpyramid.cpp if (_prevPts.empty() || _prevPts.type() != CV_32FC2 || (!_prevPts.isContinuous())) empty 1050 modules/video/src/lkpyramid.cpp if (_nextPts.empty() || _nextPts.type() != CV_32FC2 || (!_prevPts.isContinuous())) empty 688 modules/video/src/optflowgf.cpp if (prevFlowX.empty()) empty 834 modules/video/src/optflowgf.cpp if (!mat.empty() && mat.type() == type && mat.rows >= rows && mat.cols >= cols) empty 1064 modules/video/src/optflowgf.cpp if (!_flow0.empty()) empty 1128 modules/video/src/optflowgf.cpp if( prevFlow.empty() ) empty 1191 modules/video/src/tvl1flow.cpp CV_DbgAssert(u1.empty() || u1.size() == I0.size()); empty 1194 modules/video/src/tvl1flow.cpp if (u1.empty()) empty 60 modules/video/test/ocl/test_bgfg_mog2.cpp ASSERT_FALSE(frame.empty()); empty 108 modules/video/test/ocl/test_bgfg_mog2.cpp ASSERT_FALSE(frame.empty()); empty 87 modules/video/test/ocl/test_optflow_farneback.cpp ASSERT_FALSE(frame0.empty()); empty 90 modules/video/test/ocl/test_optflow_farneback.cpp ASSERT_FALSE(frame1.empty()); empty 77 modules/video/test/ocl/test_optflow_tvl1flow.cpp ASSERT_FALSE(frame0.empty()); empty 80 modules/video/test/ocl/test_optflow_tvl1flow.cpp ASSERT_FALSE(frame1.empty()); empty 82 modules/video/test/ocl/test_optflowpyrlk.cpp ASSERT_FALSE(frame0.empty()); empty 86 modules/video/test/ocl/test_optflowpyrlk.cpp ASSERT_FALSE(frame1.empty()); empty 117 modules/video/test/test_ecc.cpp if (img.empty()) empty 192 modules/video/test/test_ecc.cpp if (img.empty()) empty 266 modules/video/test/test_ecc.cpp if (img.empty()) empty 342 modules/video/test/test_ecc.cpp if (img.empty()) empty 414 modules/video/test/test_ecc.cpp if (img.empty()) empty 139 modules/video/test/test_estimaterigid.cpp if (testImg.empty()) empty 123 modules/video/test/test_optflowpyrlk.cpp if( imgI2.empty() ) empty 135 modules/video/test/test_optflowpyrlk.cpp if( imgJ2.empty() ) empty 221 modules/video/test/test_optflowpyrlk.cpp ASSERT_FALSE(lenaImg.empty()); empty 152 modules/video/test/test_tvl1optflow.cpp ASSERT_FALSE(frame1.empty()); empty 153 modules/video/test/test_tvl1optflow.cpp ASSERT_FALSE(frame2.empty()); empty 638 modules/videoio/src/cap.cpp if (!icap.empty()) empty 649 modules/videoio/src/cap.cpp if (!icap.empty()) empty 657 modules/videoio/src/cap.cpp return (!cap.empty() || !icap.empty()); empty 668 modules/videoio/src/cap.cpp if (!icap.empty()) empty 675 modules/videoio/src/cap.cpp if (!icap.empty()) empty 700 modules/videoio/src/cap.cpp return !image.empty(); empty 739 modules/videoio/src/cap.cpp if (!icap.empty()) empty 746 modules/videoio/src/cap.cpp if (!icap.empty()) empty 775 modules/videoio/src/cap.cpp if (!iwriter.empty()) empty 783 modules/videoio/src/cap.cpp return !iwriter.empty() || !writer.empty(); empty 789 modules/videoio/src/cap.cpp if (!iwriter.empty()) empty 796 modules/videoio/src/cap.cpp if (!iwriter.empty()) empty 472 modules/videoio/src/cap_gphoto2.cpp if (!frame.empty()) empty 527 modules/videoio/src/cap_gphoto2.cpp if (!frame.empty()) empty 535 modules/videoio/src/cap_gphoto2.cpp if (!frame.empty()) empty 543 modules/videoio/src/cap_gphoto2.cpp if (!frame.empty()) empty 1011 modules/videoio/src/cap_gphoto2.cpp if(!buf.empty()) empty 369 modules/videoio/src/cap_mjpeg_encoder.cpp if( !frameOffset.empty() && !rawstream ) empty 386 modules/videoio/src/cap_mjpeg_encoder.cpp if( filename.empty() ) empty 532 modules/videoio/src/cap_mjpeg_encoder.cpp if( !AVIChunkSizeIndex.empty() ) empty 561 modules/videoio/src/cap_mjpeg_encoder.cpp while (!frameNumIndexes.empty()) empty 618 modules/videoio/src/cap_mjpeg_encoder.cpp return frameSize.empty() ? 0. : (double)frameSize.back(); empty 2464 modules/videoio/src/cap_msmf.cpp else if( !vd_CaptureFormats.empty() ) empty 2467 modules/videoio/src/cap_msmf.cpp if( FRM.empty() ) empty 2498 modules/videoio/src/cap_msmf.cpp if( STMMax.empty() ) empty 2502 modules/videoio/src/cap_msmf.cpp if( STMMax.empty() ) empty 2506 modules/videoio/src/cap_msmf.cpp if( VN.empty() ) empty 3853 modules/videoio/src/cap_msmf.cpp if( captureFormats.empty() ) empty 290 modules/videoio/src/cap_openni.cpp if( depthQueue.empty() ) empty 299 modules/videoio/src/cap_openni.cpp if( imageQueue.empty() ) empty 521 modules/videoio/src/cap_openni.cpp if( mat.empty() ) empty 845 modules/videoio/src/cap_openni.cpp propValue = !approxSyncGrabber.empty() && approxSyncGrabber->isRun() ? 1. : 0.; empty 878 modules/videoio/src/cap_openni.cpp if( approxSyncGrabber.empty() ) empty 893 modules/videoio/src/cap_openni.cpp else if( !propValue && !approxSyncGrabber.empty() ) empty 901 modules/videoio/src/cap_openni.cpp if( !approxSyncGrabber.empty() ) empty 905 modules/videoio/src/cap_openni.cpp if( !approxSyncGrabber.empty() ) empty 910 modules/videoio/src/cap_openni.cpp if( !approxSyncGrabber.empty() ) empty 1122 modules/videoio/src/cap_openni.cpp if( !approxSyncGrabber.empty() && approxSyncGrabber->isRun() ) empty 168 modules/videoio/src/cap_openni2.cpp if( mat.empty() ) empty 200 modules/videoio/test/test_ffmpeg.cpp CV_Assert( !img0.empty() && !img.empty() && img_next.empty() ); empty 81 modules/videoio/test/test_precomp.hpp bool empty() const { return ext.empty(); } empty 158 modules/videoio/test/test_video_io.cpp if (image.empty()) empty 195 modules/videoio/test/test_video_io.cpp if (loaded.empty()) empty 233 modules/videoio/test/test_video_io.cpp if (buf_loaded.empty()) empty 352 modules/videoio/test/test_video_io.cpp if (image.empty()) empty 368 modules/videoio/test/test_video_io.cpp if (loaded.empty()) empty 406 modules/videoio/test/test_video_io.cpp if (buf_loaded.empty()) empty 457 modules/videoio/test/test_video_io.cpp if (img.empty()) empty 519 modules/videoio/test/test_video_io.cpp if (frame.empty()) empty 561 modules/videoio/test/test_video_io.cpp if( fmt.empty() ) empty 572 modules/videoio/test/test_video_io.cpp if( fmt.empty() ) empty 92 modules/videoio/test/test_video_pos.cpp if( fmt.empty() ) empty 154 modules/videoio/test/test_video_pos.cpp if (img.empty()) empty 112 modules/videostab/include/opencv2/videostab/inpainting.hpp bool empty() const { return inpainters_.empty(); } empty 74 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp bool empty() const { return stabilizers_.empty(); } empty 712 modules/videostab/src/global_motion.cpp if (keypointsPrev_.empty()) empty 366 modules/videostab/src/inpainting.cpp while (!neighbors.empty()) empty 120 modules/videostab/src/outlier_rejection.cpp if (!cell.empty()) empty 172 modules/videostab/src/outlier_rejection.cpp if (!inliers.empty()) empty 116 modules/videostab/src/stabilizer.cpp if (!frame.empty()) empty 385 modules/videostab/src/stabilizer.cpp while (!(frame = frameSource_->nextFrame()).empty()) empty 71 modules/viz/src/clouds.cpp CV_Assert(!cloud.empty() && !colors.empty()); empty 431 modules/viz/src/clouds.cpp if (!mesh.texture.empty()) empty 595 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); empty 628 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); empty 672 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); empty 702 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); empty 717 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); empty 841 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); empty 875 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); empty 256 modules/viz/src/vizcore.cpp if (hdr.empty() || hdr.cols != pose.matrix.cols || hdr.rows != pose.matrix.rows) empty 360 modules/viz/src/vizimpl.cpp if (image.empty()) empty 91 modules/viz/src/vtk/vtkCloudMatSource.cpp if (_colors.empty()) empty 112 modules/viz/src/vtk/vtkCloudMatSource.cpp if (_normals.empty()) empty 140 modules/viz/src/vtk/vtkCloudMatSource.cpp if (_tcoords.empty()) empty 5 modules/viz/test/test_precomp.cpp if (item1.empty()) empty 8 modules/viz/test/test_precomp.cpp if (item2.empty()) empty 85 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java if (mJavaDetector.empty()) { empty 70 samples/cpp/3calibration.cpp if( !imgpt0[i].empty() ) empty 121 samples/cpp/3calibration.cpp if( !imagePoints1.empty() && !imgpt0[i].empty() ) empty 271 samples/cpp/3calibration.cpp if(!view.empty()) empty 359 samples/cpp/3calibration.cpp if(view.empty()) empty 374 samples/cpp/autofocus.cpp if (frame.empty()) empty 70 samples/cpp/bgfg_segm.cpp if( img0.empty() ) empty 75 samples/cpp/bgfg_segm.cpp if( fgimg.empty() ) empty 95 samples/cpp/bgfg_segm.cpp if(!bgimg.empty()) empty 189 samples/cpp/calibration.cpp if( !rvecs.empty() || !reprojErrs.empty() ) empty 216 samples/cpp/calibration.cpp if( !reprojErrs.empty() ) empty 219 samples/cpp/calibration.cpp if( !rvecs.empty() && !tvecs.empty() ) empty 238 samples/cpp/calibration.cpp if( !imagePoints.empty() ) empty 426 samples/cpp/calibration.cpp if( !capture.isOpened() && imageList.empty() ) empty 429 samples/cpp/calibration.cpp if( !imageList.empty() ) empty 451 samples/cpp/calibration.cpp if(view.empty()) empty 566 samples/cpp/calibration.cpp if(view.empty()) empty 110 samples/cpp/camshiftdemo.cpp if( frame.empty() ) empty 65 samples/cpp/cloning_demo.cpp if(source.empty()) empty 70 samples/cpp/cloning_demo.cpp if(destination.empty()) empty 75 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 102 samples/cpp/cloning_demo.cpp if(source.empty()) empty 107 samples/cpp/cloning_demo.cpp if(destination.empty()) empty 112 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 139 samples/cpp/cloning_demo.cpp if(source.empty()) empty 144 samples/cpp/cloning_demo.cpp if(destination.empty()) empty 149 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 174 samples/cpp/cloning_demo.cpp if(source.empty()) empty 179 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 201 samples/cpp/cloning_demo.cpp if(source.empty()) empty 206 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 228 samples/cpp/cloning_demo.cpp if(source.empty()) empty 233 samples/cpp/cloning_demo.cpp if(mask.empty()) empty 322 samples/cpp/cloning_gui.cpp if(img0.empty()) empty 327 samples/cpp/cloning_gui.cpp if(img2.empty()) empty 370 samples/cpp/cloning_gui.cpp if(img0.empty()) empty 400 samples/cpp/cloning_gui.cpp if(img0.empty()) empty 433 samples/cpp/cloning_gui.cpp if(img0.empty()) empty 56 samples/cpp/connected_components.cpp if(img.empty()) empty 79 samples/cpp/demhist.cpp if(image.empty()) empty 32 samples/cpp/dft.cpp if( img.empty() ) empty 119 samples/cpp/distrans.cpp if(gray.empty()) empty 47 samples/cpp/edge.cpp if(image.empty()) empty 24 samples/cpp/example_cmake/example.cpp if(image.empty()) empty 104 samples/cpp/facedetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) empty 106 samples/cpp/facedetect.cpp capture = cvCaptureFromCAM( inputName.empty() ? 0 : inputName.c_str()[0] - '0' ); empty 107 samples/cpp/facedetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0' ; empty 113 samples/cpp/facedetect.cpp if( image.empty() ) empty 122 samples/cpp/facedetect.cpp if(image.empty()) cout << "Couldn't read ../data/lena.jpg" << endl; empty 134 samples/cpp/facedetect.cpp if( frame.empty() ) empty 155 samples/cpp/facedetect.cpp if( !image.empty() ) empty 160 samples/cpp/facedetect.cpp else if( !inputName.empty() ) empty 176 samples/cpp/facedetect.cpp if( !image.empty() ) empty 264 samples/cpp/facedetect.cpp if( nestedCascade.empty() ) empty 150 samples/cpp/facial_features.cpp if( (!eye_cascade.empty()) && (!nose_cascade.empty()) && (!mouth_cascade.empty()) ) empty 154 samples/cpp/facial_features.cpp if(!eye_cascade.empty()) empty 171 samples/cpp/facial_features.cpp if(!nose_cascade.empty()) empty 187 samples/cpp/facial_features.cpp if(!mouth_cascade.empty()) empty 49 samples/cpp/fback.cpp if( !prevgray.empty() ) empty 79 samples/cpp/ffilldemo.cpp if( image0.empty() ) empty 59 samples/cpp/filestorage.cpp if(node.empty()) empty 43 samples/cpp/fitellipse.cpp if( image.empty() ) empty 42 samples/cpp/grabcut.cpp if( comMask.empty() || comMask.type()!=CV_8UC1 ) empty 44 samples/cpp/grabcut.cpp if( binMask.empty() || binMask.rows!=comMask.rows || binMask.cols!=comMask.cols ) empty 81 samples/cpp/grabcut.cpp if( !mask.empty() ) empty 95 samples/cpp/grabcut.cpp if( _image.empty() || _winName.empty() ) empty 105 samples/cpp/grabcut.cpp if( image->empty() || winName->empty() ) empty 136 samples/cpp/grabcut.cpp CV_Assert( !mask.empty() ); empty 207 samples/cpp/grabcut.cpp CV_Assert( bgdPxls.empty() && fgdPxls.empty() && prBgdPxls.empty() && prFgdPxls.empty() ); empty 229 samples/cpp/grabcut.cpp CV_Assert( bgdPxls.empty() && fgdPxls.empty() && prBgdPxls.empty() && prFgdPxls.empty() ); empty 285 samples/cpp/grabcut.cpp if( filename.empty() ) empty 291 samples/cpp/grabcut.cpp if( image.empty() ) empty 22 samples/cpp/houghcircles.cpp if(img.empty()) empty 22 samples/cpp/houghlines.cpp if(src.empty()) empty 46 samples/cpp/image.cpp if(img.empty()) empty 53 samples/cpp/image.cpp if( img.empty() ) // check if the image has been loaded properly empty 214 samples/cpp/image_alignment.cpp if (inputImage.empty()) empty 226 samples/cpp/image_alignment.cpp if (template_image.empty()){ empty 284 samples/cpp/image_alignment.cpp if ((!readflag) || warp_matrix.empty()) empty 45 samples/cpp/image_sequence.cpp if(image.empty()) empty 35 samples/cpp/imagelist_creator.cpp if(!m.empty()){ empty 52 samples/cpp/inpaint.cpp if(img0.empty()) empty 65 samples/cpp/laplace.cpp if( frame.empty() ) empty 89 samples/cpp/letter_recog.cpp if( model.empty() ) empty 146 samples/cpp/letter_recog.cpp if( !filename_to_save.empty() ) empty 170 samples/cpp/letter_recog.cpp if( !filename_to_load.empty() ) empty 173 samples/cpp/letter_recog.cpp if( model.empty() ) empty 206 samples/cpp/letter_recog.cpp if( !var_importance.empty() ) empty 241 samples/cpp/letter_recog.cpp if( !filename_to_load.empty() ) empty 244 samples/cpp/letter_recog.cpp if( model.empty() ) empty 337 samples/cpp/letter_recog.cpp if( !filename_to_save.empty() ) empty 363 samples/cpp/letter_recog.cpp if( !filename_to_load.empty() ) empty 366 samples/cpp/letter_recog.cpp if( model.empty() ) empty 492 samples/cpp/letter_recog.cpp if( !filename_to_load.empty() ) empty 495 samples/cpp/letter_recog.cpp if( model.empty() ) empty 70 samples/cpp/lkdemo.cpp if( frame.empty() ) empty 86 samples/cpp/lkdemo.cpp else if( !points[0].empty() ) empty 90 samples/cpp/lkdemo.cpp if(prevGray.empty()) empty 31 samples/cpp/mask_tmpl.cpp if(img.empty()) empty 38 samples/cpp/mask_tmpl.cpp if(tmpl.empty()) empty 45 samples/cpp/mask_tmpl.cpp if(mask.empty()) empty 62 samples/cpp/morphology2.cpp if( (src = imread(filename,1)).empty() ) empty 41 samples/cpp/npr_demo.cpp if(I.empty()) empty 29 samples/cpp/openni_capture.cpp CV_Assert( !gray.empty() ); empty 19 samples/cpp/phase_corr.cpp if(prev.empty()) empty 43 samples/cpp/points_classifier.cpp if( img.empty() ) empty 260 samples/cpp/points_classifier.cpp if( !modelSamples.empty() ) empty 284 samples/cpp/points_classifier.cpp if( !em_models[i].empty() ) empty 82 samples/cpp/segment_objects.cpp if(tmp_frame.empty()) empty 97 samples/cpp/segment_objects.cpp if( tmp_frame.empty() ) empty 150 samples/cpp/select3dobj.cpp if( !shownFrame.empty() ) empty 484 samples/cpp/select3dobj.cpp if( !capture.isOpened() && imageList.empty() ) empty 523 samples/cpp/select3dobj.cpp bool grabNext = !imageList.empty(); empty 530 samples/cpp/select3dobj.cpp if( !imageList.empty() ) empty 537 samples/cpp/select3dobj.cpp if( frame0.empty() ) empty 539 samples/cpp/select3dobj.cpp if( frame.empty() ) empty 573 samples/cpp/select3dobj.cpp if( box.empty() ) empty 581 samples/cpp/select3dobj.cpp if( !box.empty() ) empty 614 samples/cpp/select3dobj.cpp grabNext = !imageList.empty(); empty 619 samples/cpp/select3dobj.cpp int c = waitKey(imageList.empty() && !box.empty() ? 30 : 300); empty 105 samples/cpp/smiledetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) empty 107 samples/cpp/smiledetect.cpp capture = cvCaptureFromCAM( inputName.empty() ? 0 : inputName.c_str()[0] - '0' ); empty 108 samples/cpp/smiledetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0' ; empty 128 samples/cpp/smiledetect.cpp if( frame.empty() ) empty 154 samples/cpp/squares.cpp if( image.empty() ) empty 49 samples/cpp/starter_video.cpp if (frame.empty()) empty 88 samples/cpp/stereo_calib.cpp if(img.empty()) empty 396 samples/cpp/stereo_calib.cpp if(!ok || imagelist.empty()) empty 162 samples/cpp/stereo_match.cpp if (img1.empty()) empty 167 samples/cpp/stereo_match.cpp if (img2.empty()) empty 128 samples/cpp/stitching.cpp if (img.empty()) empty 415 samples/cpp/stitching_detailed.cpp if (full_img.empty()) empty 97 samples/cpp/train_HOG.cpp if( img.empty() ) // invalid image, just skip it. empty 340 samples/cpp/train_HOG.cpp if( !locations.empty() ) empty 384 samples/cpp/train_HOG.cpp if( img.empty() ) empty 67 samples/cpp/tree_engine.cpp if( data.empty() ) empty 50 samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp if( src1.empty() ) { printf("Error loading src1 \n"); return -1; } empty 51 samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp if( src2.empty() ) { printf("Error loading src2 \n"); return -1; } empty 99 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp if (frameReference.empty() || frameUnderTest.empty()) empty 81 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp if (src.empty()) break; // check if at end empty 29 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp if( src.empty() ) empty 26 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp if( src.empty() ) empty 38 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp if( src1.empty() ) { std::cout<< "Error loading src1"<<std::endl; return -1; } empty 39 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp if( src2.empty() ) { std::cout<< "Error loading src2"<<std::endl; return -1; } empty 37 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp if( src.empty() ) empty 39 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp if( src.empty() ) empty 36 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp if( src.empty() ) empty 55 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp if( src.empty() ) empty 68 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp if( src.empty() ) empty 44 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp if( src.empty() ) empty 31 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp if( src.empty() ) empty 31 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp if( src.empty() ) empty 33 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp if( src.empty() ) empty 35 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp if( src.empty() ) empty 32 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp if (src.empty()) empty 96 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (input.empty()) // Check for valid input empty 208 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(node.empty()) empty 274 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(view.empty()) // If there are no more images stop the loop empty 277 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( mode != CALIBRATED && !imagePoints.empty() ) empty 391 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(view.empty()) empty 502 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( !rvecs.empty() || !reprojErrs.empty() ) empty 529 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (s.writeExtrinsics && !reprojErrs.empty()) empty 532 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(s.writeExtrinsics && !rvecs.empty() && !tvecs.empty() ) empty 551 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(s.writePoints && !imagePoints.empty() ) empty 249 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp if (!intersections_list.empty()) empty 65 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (matchIterator1->empty() || matchIterator1->size() < 2) empty 73 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (matchIterator2->empty() || matchIterator2->size() < 2) empty 149 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (!matchIterator->empty()) good_matches.push_back((*matchIterator)[0]); empty 36 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp if( imgLeft.empty() || imgRight.empty() ) empty 27 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp if( I.empty()) empty 50 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp if(node.empty()) empty 44 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp if (I.empty()) empty 49 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp if( I.empty() ) // same as if( !I.data ) empty 104 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp if(image.empty()) empty 77 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp if(matched1.size() < 4 || homography.empty()) { empty 133 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp if(fs["bounding_box"].empty()) { empty 34 samples/cpp/tutorial_code/introduction/display_image/display_image.cpp if( image.empty() ) // Check for invalid input empty 20 samples/cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp if( image.empty() ) // Check for invalid input empty 105 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp if(!src.data || src.empty()) empty 38 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp if( frame.empty() ) empty 44 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp if( frame.empty() ) empty 40 samples/cpp/tutorial_code/photo/non_photorealistic_rendering/npr_demo.cpp if(I.empty()) empty 64 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 69 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(destination.empty()) empty 74 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 101 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 106 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(destination.empty()) empty 111 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 138 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 143 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(destination.empty()) empty 148 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 173 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 178 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 200 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 205 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 227 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(source.empty()) empty 232 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp if(mask.empty()) empty 321 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(img0.empty()) empty 326 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(img2.empty()) empty 369 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(img0.empty()) empty 399 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(img0.empty()) empty 432 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(img0.empty()) empty 134 samples/cpp/tutorial_code/video/bg_sub.cpp if(frame.empty()){ empty 173 samples/cpp/tutorial_code/video/bg_sub.cpp if(frame.empty()){ empty 160 samples/cpp/tvl1_optical_flow.cpp if (frame0.empty()) empty 165 samples/cpp/tvl1_optical_flow.cpp if (frame1.empty()) empty 105 samples/cpp/ufacedetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) empty 107 samples/cpp/ufacedetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0'; empty 113 samples/cpp/ufacedetect.cpp if( inputName.empty() ) empty 116 samples/cpp/ufacedetect.cpp if( image.empty() ) empty 131 samples/cpp/ufacedetect.cpp if( frame.empty() ) empty 143 samples/cpp/ufacedetect.cpp if( !image.empty() ) empty 148 samples/cpp/ufacedetect.cpp else if( !inputName.empty() ) empty 164 samples/cpp/ufacedetect.cpp if( !image.empty() ) empty 264 samples/cpp/ufacedetect.cpp if( nestedCascade.empty() ) empty 44 samples/cpp/videostab.cpp while (!(stabilizedFrame = stabilizedFrames->nextFrame()).empty()) empty 49 samples/cpp/videostab.cpp if (!outputPath.empty()) empty 360 samples/cpp/videostab.cpp if (inputPath.empty()) empty 523 samples/cpp/videostab.cpp if (!inpainters->empty()) empty 54 samples/cpp/watershed.cpp if( img0.empty() ) empty 91 samples/cpp/watershed.cpp if( contours.empty() ) empty 117 samples/gpu/bgfg_segm.cpp if (frame.empty()) empty 155 samples/gpu/bgfg_segm.cpp if (!d_bgimg.empty()) empty 161 samples/gpu/bgfg_segm.cpp if (!bgimg.empty()) empty 190 samples/gpu/cascadeclassifier.cpp CV_Assert(!image.empty()); empty 222 samples/gpu/cascadeclassifier.cpp if (frame.empty()) empty 228 samples/gpu/cascadeclassifier.cpp (image.empty() ? frame : image).copyTo(frame_cpu); empty 229 samples/gpu/cascadeclassifier.cpp frame_gpu.upload(image.empty() ? frame : image); empty 268 samples/gpu/cascadeclassifier.cpp if ((filterRects || findLargestObject) && !faces.empty()) empty 179 samples/gpu/cascadeclassifier_nvidia_api.cpp if (!image.empty()) empty 198 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(!frame.empty(), "Empty video source", -1); empty 298 samples/gpu/cascadeclassifier_nvidia_api.cpp cvtColor((image.empty() ? frame : image), gray, cv::COLOR_BGR2GRAY); empty 377 samples/gpu/cascadeclassifier_nvidia_api.cpp if (frame.empty()) empty 132 samples/gpu/driver_api_stereo_multi.cpp CV_Assert(!left.empty()); empty 137 samples/gpu/driver_api_stereo_multi.cpp CV_Assert(!right.empty()); empty 63 samples/gpu/farneback_optical_flow.cpp if (pathL.empty()) cout << "Specify left image path\n"; empty 64 samples/gpu/farneback_optical_flow.cpp if (pathR.empty()) cout << "Specify right image path\n"; empty 65 samples/gpu/farneback_optical_flow.cpp if (pathL.empty() || pathR.empty()) return -1; empty 69 samples/gpu/farneback_optical_flow.cpp if (frameL.empty()) cout << "Can't open '" << pathL << "'\n"; empty 70 samples/gpu/farneback_optical_flow.cpp if (frameR.empty()) cout << "Can't open '" << pathR << "'\n"; empty 71 samples/gpu/farneback_optical_flow.cpp if (frameL.empty() || frameR.empty()) return -1; empty 19 samples/gpu/generalized_hough.cpp if (image.empty()) empty 197 samples/gpu/hog.cpp else if (args.src.empty()) args.src = argv[i]; empty 290 samples/gpu/hog.cpp if (frame.empty()) empty 298 samples/gpu/hog.cpp while (running && !frame.empty()) empty 26 samples/gpu/houghlines.cpp if (src.empty()) empty 71 samples/gpu/houghlines.cpp if (!d_lines.empty()) empty 50 samples/gpu/morphology.cpp if (img.empty()) empty 71 samples/gpu/opengl.cpp if (img.empty()) empty 158 samples/gpu/optical_flow.cpp if (frame0.empty()) empty 163 samples/gpu/optical_flow.cpp if (frame1.empty()) empty 206 samples/gpu/performance/performance.cpp if (!filter.empty()) empty 209 samples/gpu/performance/performance.cpp if (!workdir.empty()) empty 285 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); empty 315 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); empty 340 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); empty 1068 samples/gpu/performance/tests.cpp if (img.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); empty 1168 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); empty 105 samples/gpu/pyrlk_optical_flow.cpp if (fname0.empty() || fname1.empty()) empty 121 samples/gpu/pyrlk_optical_flow.cpp if (frame0.empty() || frame1.empty()) empty 165 samples/gpu/stereo_match.cpp if (left_src.empty()) throw runtime_error("can't open file \"" + p.left + "\""); empty 166 samples/gpu/stereo_match.cpp if (right_src.empty()) throw runtime_error("can't open file \"" + p.right + "\""); empty 434 samples/gpu/stereo_multi.cpp if (leftFrame.empty() || rightFrame.empty()) empty 97 samples/gpu/super_resolution.cpp if (of.empty()) empty 146 samples/gpu/super_resolution.cpp if (result.empty()) empty 154 samples/gpu/super_resolution.cpp if (!outputVideoName.empty()) empty 37 samples/gpu/surf_keypoint_matcher.cpp CV_Assert(!img1.empty()); empty 42 samples/gpu/surf_keypoint_matcher.cpp CV_Assert(!img2.empty()); empty 61 samples/gpu/video_reader.cpp if (!cpu_times.empty() && !gpu_times.empty()) empty 52 samples/gpu/video_writer.cpp if (frame.empty()) empty 68 samples/gpu/video_writer.cpp if (d_writer.empty()) empty 81 samples/tapi/bgfg_segm.cpp if (frame.empty()) empty 110 samples/tapi/camshift.cpp if (frame.empty()) empty 69 samples/tapi/clahe.cpp if(frame.empty()) empty 89 samples/tapi/clahe.cpp if(frame.empty()) empty 186 samples/tapi/hog.cpp if (frame.empty()) empty 194 samples/tapi/hog.cpp while (running && !frame.empty()) empty 119 samples/tapi/pyrlk_optical_flow.cpp if (frame0.empty() || frame1.empty()) empty 126 samples/tapi/pyrlk_optical_flow.cpp if(vdofile.empty()) empty 134 samples/tapi/pyrlk_optical_flow.cpp if(vdofile.empty()) empty 173 samples/tapi/squares.cpp if( image.empty() ) empty 120 samples/tapi/tvl1_optical_flow.cpp if (frame0.empty() || frame1.empty()) empty 130 samples/tapi/tvl1_optical_flow.cpp if(vdofile.empty()) empty 137 samples/tapi/tvl1_optical_flow.cpp if(vdofile.empty()) empty 58 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp if (!groupFaces.empty()) { empty 138 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp if (input.empty()) {