compare 257 apps/traincascade/boost.cpp boost_type = !boostTypeStr.compare( CC_DISCRETE_BOOST ) ? CvBoost::DISCRETE : compare 258 apps/traincascade/boost.cpp !boostTypeStr.compare( CC_REAL_BOOST ) ? CvBoost::REAL : compare 259 apps/traincascade/boost.cpp !boostTypeStr.compare( CC_LOGIT_BOOST ) ? CvBoost::LOGIT : compare 260 apps/traincascade/boost.cpp !boostTypeStr.compare( CC_GENTLE_BOOST ) ? CvBoost::GENTLE : -1; compare 309 apps/traincascade/boost.cpp if( !prmName.compare( "-bt" ) ) compare 311 apps/traincascade/boost.cpp boost_type = !val.compare( CC_DISCRETE_BOOST ) ? CvBoost::DISCRETE : compare 312 apps/traincascade/boost.cpp !val.compare( CC_REAL_BOOST ) ? CvBoost::REAL : compare 313 apps/traincascade/boost.cpp !val.compare( CC_LOGIT_BOOST ) ? CvBoost::LOGIT : compare 314 apps/traincascade/boost.cpp !val.compare( CC_GENTLE_BOOST ) ? CvBoost::GENTLE : -1; compare 318 apps/traincascade/boost.cpp else if( !prmName.compare( "-minHitRate" ) ) compare 322 apps/traincascade/boost.cpp else if( !prmName.compare( "-maxFalseAlarmRate" ) ) compare 326 apps/traincascade/boost.cpp else if( !prmName.compare( "-weightTrimRate" ) ) compare 330 apps/traincascade/boost.cpp else if( !prmName.compare( "-maxDepth" ) ) compare 334 apps/traincascade/boost.cpp else if( !prmName.compare( "-maxWeakCount" ) ) compare 49 apps/traincascade/cascadeclassifier.cpp stageType = !stageTypeStr.compare( CC_BOOST ) ? BOOST : -1; compare 56 apps/traincascade/cascadeclassifier.cpp featureType = !featureTypeStr.compare( CC_HAAR ) ? CvFeatureParams::HAAR : compare 57 apps/traincascade/cascadeclassifier.cpp !featureTypeStr.compare( CC_LBP ) ? CvFeatureParams::LBP : compare 58 apps/traincascade/cascadeclassifier.cpp !featureTypeStr.compare( CC_HOG ) ? CvFeatureParams::HOG : compare 102 apps/traincascade/cascadeclassifier.cpp if( !prmName.compare( "-stageType" ) ) compare 105 apps/traincascade/cascadeclassifier.cpp if( !val.compare( stageTypes[i] ) ) compare 108 apps/traincascade/cascadeclassifier.cpp else if( !prmName.compare( "-featureType" ) ) compare 111 apps/traincascade/cascadeclassifier.cpp if( !val.compare( featureTypes[i] ) ) compare 114 apps/traincascade/cascadeclassifier.cpp else if( !prmName.compare( "-w" ) ) compare 118 apps/traincascade/cascadeclassifier.cpp else if( !prmName.compare( "-h" ) ) compare 46 apps/traincascade/haarfeatures.cpp mode = !modeStr.compare( CC_MODE_BASIC ) ? BASIC : compare 47 apps/traincascade/haarfeatures.cpp !modeStr.compare( CC_MODE_CORE ) ? CORE : compare 48 apps/traincascade/haarfeatures.cpp !modeStr.compare( CC_MODE_ALL ) ? ALL : -1; compare 72 apps/traincascade/haarfeatures.cpp if( !prmName.compare("-mode") ) compare 74 apps/traincascade/haarfeatures.cpp mode = !val.compare( CC_MODE_CORE ) ? CORE : compare 75 apps/traincascade/haarfeatures.cpp !val.compare( CC_MODE_ALL ) ? ALL : compare 76 apps/traincascade/haarfeatures.cpp !val.compare( CC_MODE_BASIC ) ? BASIC : -1; compare 257 modules/calib3d/test/test_cameracalibration.cpp int compare(double* val, double* refVal, int len, compare 584 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+0,&goodFcx,1,0.1,"fx"); compare 588 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+4,&goodFcy,1,0.1,"fy"); compare 593 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+2,&goodCx,1,0.1,"cx"); compare 597 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+5,&goodCy,1,0.1,"cy"); compare 602 modules/calib3d/test/test_cameracalibration.cpp code = compare(distortion,goodDistortion,4,0.1,"[k1,k2,p1,p2]"); compare 607 modules/calib3d/test/test_cameracalibration.cpp code = compare(rotMatrs,goodRotMatrs, 9*numImages,0.05,"rotation matrices"); compare 612 modules/calib3d/test/test_cameracalibration.cpp code = compare(transVects,goodTransVects, 3*numImages,0.1,"translation vectors"); compare 1290 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void compare(InputArray src1, InputArray src2, OutputArray dst, int cmpop); compare 523 modules/core/include/opencv2/core/cvstd.hpp int compare(const char* s) const; compare 524 modules/core/include/opencv2/core/cvstd.hpp int compare(const String& str) const; compare 1018 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator== (const String& lhs, const String& rhs) { return 0 == lhs.compare(rhs); } compare 1019 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator== (const char* lhs, const String& rhs) { return 0 == rhs.compare(lhs); } compare 1020 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator== (const String& lhs, const char* rhs) { return 0 == lhs.compare(rhs); } compare 1021 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator!= (const String& lhs, const String& rhs) { return 0 != lhs.compare(rhs); } compare 1022 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator!= (const char* lhs, const String& rhs) { return 0 != rhs.compare(lhs); } compare 1023 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator!= (const String& lhs, const char* rhs) { return 0 != lhs.compare(rhs); } compare 1024 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator< (const String& lhs, const String& rhs) { return lhs.compare(rhs) < 0; } compare 1025 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator< (const char* lhs, const String& rhs) { return rhs.compare(lhs) > 0; } compare 1026 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator< (const String& lhs, const char* rhs) { return lhs.compare(rhs) < 0; } compare 1027 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator<= (const String& lhs, const String& rhs) { return lhs.compare(rhs) <= 0; } compare 1028 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator<= (const char* lhs, const String& rhs) { return rhs.compare(lhs) >= 0; } compare 1029 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator<= (const String& lhs, const char* rhs) { return lhs.compare(rhs) <= 0; } compare 1030 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator> (const String& lhs, const String& rhs) { return lhs.compare(rhs) > 0; } compare 1031 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator> (const char* lhs, const String& rhs) { return rhs.compare(lhs) < 0; } compare 1032 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator> (const String& lhs, const char* rhs) { return lhs.compare(rhs) > 0; } compare 1033 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator>= (const String& lhs, const String& rhs) { return lhs.compare(rhs) >= 0; } compare 1034 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator>= (const char* lhs, const String& rhs) { return rhs.compare(lhs) <= 0; } compare 1035 modules/core/include/opencv2/core/cvstd.hpp static inline bool operator>= (const String& lhs, const char* rhs) { return lhs.compare(rhs) >= 0; } compare 26 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void compare(InputArray src1, Scalar src2, OutputArray dst, int cmpop); compare 214 modules/core/misc/java/test/CoreTest.java Core.compare(gray0, gray0, dst, Core.CMP_EQ); compare 218 modules/core/misc/java/test/CoreTest.java Core.compare(gray0, gray1, dst, Core.CMP_EQ); compare 224 modules/core/misc/java/test/CoreTest.java Core.compare(gray0, grayRnd, dst, Core.CMP_GE); compare 572 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::compare(src1, src2, dst, cmpCode); compare 592 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::compare(src1, 32, dst, cmpCode); compare 14 modules/core/perf/perf_compare.cpp PERF_TEST_P( Size_MatType_CmpType, compare, compare 32 modules/core/perf/perf_compare.cpp TEST_CYCLE() cv::compare(src1, src2, dst, cmpType); compare 56 modules/core/perf/perf_compare.cpp TEST_CYCLE_MULTIRUN(runs) cv::compare(src1, src2, dst, cmpType); compare 5001 modules/core/src/arithm.cpp compare(_src2, _src1, _dst, op); compare 5998 modules/core/src/arithm.cpp cv::compare( src1, cv::cvarrToMat(srcarr2), dst, cmp_op ); compare 6008 modules/core/src/arithm.cpp cv::compare( src1, value, dst, cmp_op ); compare 100 modules/core/src/command_line_parser.cpp if (name.compare(impl->data[i].keys[j]) == 0) compare 153 modules/core/src/command_line_parser.cpp return p1.keys[0].compare(p2.keys[0]) < 0; compare 275 modules/core/src/command_line_parser.cpp if (key.compare(data[i].keys[k]) == 0) compare 327 modules/core/src/command_line_parser.cpp if (name.compare(impl->data[i].keys[j]) == 0 && String("true").compare(impl->data[i].def_value) == 0) compare 392 modules/core/src/command_line_parser.cpp if (dv.compare("") != 0) compare 412 modules/core/src/command_line_parser.cpp if (dv.compare("") != 0) compare 1399 modules/core/src/matop.cpp cv::compare(e.a, e.b, dst, e.flags); compare 1401 modules/core/src/matop.cpp cv::compare(e.a, e.alpha, dst, e.flags); compare 1189 modules/core/src/system.cpp if(!index || (getImplData().implCode[index-1] != flag || getImplData().implFun[index-1].compare(func))) // avoid duplicates compare 793 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(src1_roi, src2_roi, dst1_roi, cmp_codes[i])); compare 794 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(usrc1_roi, usrc2_roi, udst1_roi, cmp_codes[i])); compare 810 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(src1_roi, val_in_range, dst1_roi, cmp_codes[i])); compare 811 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(usrc1_roi, val_in_range, udst1_roi, cmp_codes[i])); compare 827 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::compare(val_in_range, src1_roi, dst1_roi, cmp_codes[i])); compare 828 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::compare(val_in_range, usrc1_roi, udst1_roi, cmp_codes[i])); compare 419 modules/core/test/test_arithm.cpp cv::compare(src[0], src[1], dst, cmpop); compare 423 modules/core/test/test_arithm.cpp cvtest::compare(src[0], src[1], dst, cmpop); compare 449 modules/core/test/test_arithm.cpp cv::compare(src[0], gamma[0], dst, cmpop); compare 453 modules/core/test/test_arithm.cpp cvtest::compare(src[0], gamma[0], dst, cmpop); compare 1172 modules/core/test/test_arithm.cpp cvtest::compare(src[0], 0, temp, CMP_NE); compare 1472 modules/core/test/test_arithm.cpp compare(mask, 0, mask1, CMP_EQ); compare 223 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void compare(InputArray src1, InputArray src2, OutputArray dst, int cmpop, Stream& stream = Stream::Null()); compare 657 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::compare(d_src1, d_src2, dst, cmp_code); compare 665 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src1, src2, dst, cmp_code); compare 694 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::compare(d_src, s, dst, cmp_code); compare 702 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src, s, dst, cmp_code); compare 1868 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src1), loadMat(src2), dst, cmp_code); compare 1878 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src1, useRoi), loadMat(src2, useRoi), dst, cmp_code); compare 1881 modules/cudaarithm/test/test_element_operations.cpp cv::compare(src1, src2, dst_gold, cmp_code); compare 1978 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src), sc, dst, cmp_code); compare 1989 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src, useRoi), sc, dst, cmp_code); compare 108 modules/cudalegacy/test/NCVAutoTestLister.hpp if (!curReport.statsText["rcode"].compare("FAILED")) compare 207 modules/cudalegacy/test/NCVTest.hpp bool bReasonMem = (0 == report.statsText["rcode"].compare("Memory FAILED")); compare 128 modules/cudaobjdetect/test/test_objdetect.cpp compare(locations); compare 139 modules/cudaobjdetect/test/test_objdetect.cpp compare(locations); compare 149 modules/cudaobjdetect/test/test_objdetect.cpp compare(locations); compare 44 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java public int compare(KeyPoint p1, KeyPoint p2) { compare 980 modules/features2d/src/matchers.cpp if( !descriptorMatcherType.compare( "FlannBased" ) ) compare 984 modules/features2d/src/matchers.cpp else if( !descriptorMatcherType.compare( "BruteForce" ) ) // L2 compare 988 modules/features2d/src/matchers.cpp else if( !descriptorMatcherType.compare( "BruteForce-SL2" ) ) // Squared L2 compare 992 modules/features2d/src/matchers.cpp else if( !descriptorMatcherType.compare( "BruteForce-L1" ) ) compare 996 modules/features2d/src/matchers.cpp else if( !descriptorMatcherType.compare("BruteForce-Hamming") || compare 997 modules/features2d/src/matchers.cpp !descriptorMatcherType.compare("BruteForce-HammingLUT") ) compare 1001 modules/features2d/src/matchers.cpp else if( !descriptorMatcherType.compare("BruteForce-Hamming(2)") ) compare 2532 modules/highgui/src/window_QT.cpp if (QString::compare(extension, "png", Qt::CaseInsensitive) == 0) compare 2538 modules/highgui/src/window_QT.cpp if (QString::compare(extension, "jpg", Qt::CaseInsensitive) == 0) compare 2544 modules/highgui/src/window_QT.cpp if (QString::compare(extension, "bmp", Qt::CaseInsensitive) == 0) compare 2550 modules/highgui/src/window_QT.cpp if (QString::compare(extension, "jpeg", Qt::CaseInsensitive) == 0) compare 734 modules/imgcodecs/test/test_grfmt.cpp compare(IMREAD_UNCHANGED); compare 735 modules/imgcodecs/test/test_grfmt.cpp compare(IMREAD_GRAYSCALE); compare 736 modules/imgcodecs/test/test_grfmt.cpp compare(IMREAD_COLOR); compare 737 modules/imgcodecs/test/test_grfmt.cpp compare(IMREAD_ANYDEPTH); compare 738 modules/imgcodecs/test/test_grfmt.cpp compare(IMREAD_ANYCOLOR); compare 674 modules/imgproc/src/moments.cpp cv::compare( src, 0, tmp, CV_CMP_NE ); compare 846 modules/imgproc/src/templmatch.cpp compare(mask, Scalar::all(0), mask, CMP_NE); compare 615 modules/ml/src/data.cpp compare(tempSamples, MISSED_VAL, tempMissing, CMP_EQ); compare 211 modules/ml/test/test_gbttest.cpp if( s1.compare(s2) ) compare 49 modules/ml/test/test_mltests2.cpp if( !str.compare("C_SVC") ) compare 51 modules/ml/test/test_mltests2.cpp if( !str.compare("NU_SVC") ) compare 53 modules/ml/test/test_mltests2.cpp if( !str.compare("ONE_CLASS") ) compare 55 modules/ml/test/test_mltests2.cpp if( !str.compare("EPS_SVR") ) compare 57 modules/ml/test/test_mltests2.cpp if( !str.compare("NU_SVR") ) compare 64 modules/ml/test/test_mltests2.cpp if( !str.compare("LINEAR") ) compare 66 modules/ml/test/test_mltests2.cpp if( !str.compare("POLY") ) compare 68 modules/ml/test/test_mltests2.cpp if( !str.compare("RBF") ) compare 70 modules/ml/test/test_mltests2.cpp if( !str.compare("SIGMOID") ) compare 80 modules/ml/test/test_mltests2.cpp if( !str.compare("BACKPROP") ) compare 82 modules/ml/test/test_mltests2.cpp if( !str.compare("RPROP") ) compare 181 modules/ml/test/test_mltests2.cpp if ( !str.compare("DISCRETE") ) compare 183 modules/ml/test/test_mltests2.cpp if ( !str.compare("REAL") ) compare 185 modules/ml/test/test_mltests2.cpp if ( !str.compare("LOGIT") ) compare 187 modules/ml/test/test_mltests2.cpp if ( !str.compare("GENTLE") ) compare 210 modules/photo/src/align.cpp compare(img, median, tb, CMP_GT); compare 211 modules/photo/src/align.cpp compare(abs(img - median), exclude_range, eb, CMP_GT); compare 112 modules/stitching/src/blenders.cpp compare(dst_mask_, 0, mask, CMP_EQ); compare 165 modules/stitching/src/blenders.cpp compare(dst_weight_map_, WEIGHT_EPS, dst_mask_, CMP_GT); compare 347 modules/stitching/src/blenders.cpp compare(mask, 0, add_mask, CMP_NE); compare 445 modules/stitching/src/blenders.cpp compare(dst_band_weights_[0](dst_rc), WEIGHT_EPS, dst_mask_, CMP_GT); compare 160 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void compare(const Mat& src1, const Mat& src2, Mat& dst, int cmpop); compare 161 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void compare(const Mat& src, double s, Mat& dst, int cmpop); compare 322 modules/ts/include/opencv2/ts/ts_perf.hpp if(implCode[i] == savedCode[j] && !funName[i].compare(savedName[j])) compare 435 modules/ts/src/ts_perf.cpp cv::compare(diff64f, maximum, mask, cv::CMP_GT); compare 66 samples/cpp/facedetect.cpp if( cascadeOpt.compare( 0, cascadeOptLen, argv[i], cascadeOptLen ) == 0 ) compare 71 samples/cpp/facedetect.cpp else if( nestedCascadeOpt.compare( 0, nestedCascadeOptLen, argv[i], nestedCascadeOptLen ) == 0 ) compare 78 samples/cpp/facedetect.cpp else if( scaleOpt.compare( 0, scaleOptLen, argv[i], scaleOptLen ) == 0 ) compare 84 samples/cpp/facedetect.cpp else if( tryFlipOpt.compare( 0, tryFlipOptLen, argv[i], tryFlipOptLen ) == 0 ) compare 63 samples/cpp/smiledetect.cpp if( cascadeOpt.compare( 0, cascadeOptLen, argv[i], cascadeOptLen ) == 0 ) compare 68 samples/cpp/smiledetect.cpp else if( nestedCascadeOpt.compare( 0, nestedCascadeOptLen, argv[i], nestedCascadeOptLen ) == 0 ) compare 73 samples/cpp/smiledetect.cpp else if( scaleOpt.compare( 0, scaleOptLen, argv[i], scaleOptLen ) == 0 ) compare 79 samples/cpp/smiledetect.cpp else if( tryFlipOpt.compare( 0, tryFlipOptLen, argv[i], tryFlipOptLen ) == 0 ) compare 136 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (!patternToUse.compare("CHESSBOARD")) calibrationPattern = CHESSBOARD; compare 137 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (!patternToUse.compare("CIRCLES_GRID")) calibrationPattern = CIRCLES_GRID; compare 138 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (!patternToUse.compare("ASYMMETRIC_CIRCLES_GRID")) calibrationPattern = ASYMMETRIC_CIRCLES_GRID; compare 65 samples/cpp/ufacedetect.cpp if( cascadeOpt.compare( 0, cascadeOptLen, argv[i], cascadeOptLen ) == 0 ) compare 70 samples/cpp/ufacedetect.cpp else if( nestedCascadeOpt.compare( 0, nestedCascadeOptLen, argv[i], nestedCascadeOptLen ) == 0 ) compare 77 samples/cpp/ufacedetect.cpp else if( scaleOpt.compare( 0, scaleOptLen, argv[i], scaleOptLen ) == 0 ) compare 83 samples/cpp/ufacedetect.cpp else if( tryFlipOpt.compare( 0, tryFlipOptLen, argv[i], tryFlipOptLen ) == 0 ) compare 87 samples/gpu/super_resolution.cpp bool useCuda = gpuOption.compare("cuda") == 0;