gold 1447 modules/core/misc/java/test/CoreTest.java Mat gold = new Mat(1, 4, CvType.CV_32F) { gold 1455 modules/core/misc/java/test/CoreTest.java assertMatEqual(gold, dst, EPS); gold 1469 modules/core/misc/java/test/CoreTest.java Mat gold = new Mat(1, 4, CvType.CV_32F) { gold 1477 modules/core/misc/java/test/CoreTest.java assertMatEqual(gold, dst, EPS * 180 / Math.PI); gold 2763 modules/core/test/test_math.cpp cv::Mat gold; gold 2766 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); gold 2778 modules/core/test/test_math.cpp cv::absdiff(gold, actual, diff); gold 2794 modules/core/test/test_math.cpp cv::Mat gold; gold 2800 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); gold 2813 modules/core/test/test_math.cpp cv::absdiff(gold, actual, diff); gold 791 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b gold; gold 793 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<uchar>(val1[0] * val2); gold 794 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<uchar>(val1[1] * val2); gold 795 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<uchar>(val1[2] * val2); gold 796 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<uchar>(val1[3] * val2); gold 798 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); gold 799 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 800 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 801 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 828 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s gold; gold 830 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<short>(val1[0] * val2); gold 831 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<short>(val1[1] * val2); gold 832 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<short>(val1[2] * val2); gold 833 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<short>(val1[3] * val2); gold 835 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); gold 836 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 837 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 838 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1158 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4b gold; gold 1160 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<uchar>(val1[0] / val2); gold 1161 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<uchar>(val1[1] / val2); gold 1162 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<uchar>(val1[2] / val2); gold 1163 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<uchar>(val1[3] / val2); gold 1165 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); gold 1166 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1167 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1168 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1195 modules/cudaarithm/test/test_element_operations.cpp cv::Vec4s gold; gold 1197 modules/cudaarithm/test/test_element_operations.cpp gold[0] = cv::saturate_cast<short>(val1[0] / val2); gold 1198 modules/cudaarithm/test/test_element_operations.cpp gold[1] = cv::saturate_cast<short>(val1[1] / val2); gold 1199 modules/cudaarithm/test/test_element_operations.cpp gold[2] = cv::saturate_cast<short>(val1[2] / val2); gold 1200 modules/cudaarithm/test/test_element_operations.cpp gold[3] = cv::saturate_cast<short>(val1[3] / val2); gold 1202 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); gold 1203 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1204 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 1205 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); gold 98 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 100 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 105 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 110 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 111 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); gold 118 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 145 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 148 modules/cudaarithm/test/test_opengl.cpp buf.copyFrom(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 153 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 158 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 159 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); gold 167 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 172 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 173 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 183 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 188 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 190 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 195 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, dst, 0); gold 200 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 202 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 213 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 218 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 220 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 229 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 234 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 236 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 240 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, dst, 0); gold 247 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 252 modules/cudaarithm/test/test_opengl.cpp gold.copyTo(dst); gold 259 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 0); gold 264 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); gold 266 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); gold 270 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, dst, 0); gold 329 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 331 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); gold 336 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 341 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 342 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); gold 349 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 354 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 355 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::PIXEL_UNPACK_BUFFER, true); gold 362 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 388 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 391 modules/cudaarithm/test/test_opengl.cpp tex.copyFrom(gold, true); gold 396 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 401 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 402 modules/cudaarithm/test/test_opengl.cpp cv::cuda::GpuMat d_gold(gold); gold 410 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 415 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 416 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::PIXEL_UNPACK_BUFFER, true); gold 424 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, texData, 1e-2); gold 429 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 431 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); gold 436 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, dst, 1e-2); gold 441 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); gold 443 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(gold, true); gold 451 modules/cudaarithm/test/test_opengl.cpp EXPECT_MAT_NEAR(gold, bufData, 1e-2); gold 171 modules/cudaimgproc/test/test_hough.cpp cv::Vec3f gold = circles_gold[j]; gold 173 modules/cudaimgproc/test/test_hough.cpp if (std::fabs(cur[0] - gold[0]) < 5 && std::fabs(cur[1] - gold[1]) < 5 && std::fabs(cur[2] - gold[2]) < 5) gold 236 modules/cudaimgproc/test/test_hough.cpp cv::Point gold = pos_gold[i]; gold 244 modules/cudaimgproc/test/test_hough.cpp if (::fabs(p.x - gold.x) < 2 && ::fabs(p.y - gold.y) < 2) gold 1693 modules/imgproc/test/test_color.cpp Mat gold = imread(string(ts->get_data_path()) + "/cvtcolor/bayer_gold.png", IMREAD_UNCHANGED); gold 1696 modules/imgproc/test/test_color.cpp CV_Assert( !given.empty() && !gold.empty() ); gold 1700 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.type(), result.type()); gold 1701 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.cols, result.cols); gold 1702 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.rows, result.rows); gold 1705 modules/imgproc/test/test_color.cpp absdiff(gold, result, diff); gold 1716 modules/imgproc/test/test_color.cpp Mat gold = imread(goldfname, IMREAD_UNCHANGED); gold 1723 modules/imgproc/test/test_color.cpp if (gold.empty()) gold 1727 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.type(), result.type()); gold 1728 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.cols, result.cols); gold 1729 modules/imgproc/test/test_color.cpp EXPECT_EQ(gold.rows, result.rows); gold 1732 modules/imgproc/test/test_color.cpp absdiff(gold, result, diff); gold 12 modules/imgproc/test/test_cvtyuv.cpp int countOfDifferencies(const Mat& gold, const Mat& result, int maxAllowedDifference = 1) gold 15 modules/imgproc/test/test_cvtyuv.cpp absdiff(gold, result, diff); gold 631 modules/imgproc/test/test_cvtyuv.cpp Mat gold(dstSize, CV_8UC(dcn)); gold 636 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2RGB<YUV2RGB_Converter> (src, gold, cvt.yuvReader_, cvt.rgbWriter_); gold 638 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2GRAY<YUV2GRAY_Converter>(src, gold, cvt.yuvReader_, cvt.grayWriter_); gold 640 modules/imgproc/test/test_cvtyuv.cpp referenceRGB2YUV<RGB2YUV_Converter> (src, gold, cvt.rgbReader_, cvt.yuvWriter_); gold 644 modules/imgproc/test/test_cvtyuv.cpp EXPECT_EQ(0, countOfDifferencies(gold, dst)); gold 680 modules/imgproc/test/test_cvtyuv.cpp Mat gold = gold_full(Range(roi_offset_left, roi_offset_left + dstSize.height), Range(roi_offset_top, roi_offset_top + dstSize.width)); gold 683 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2RGB<YUV2RGB_Converter> (src, gold, cvt.yuvReader_, cvt.rgbWriter_); gold 685 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2GRAY<YUV2GRAY_Converter>(src, gold, cvt.yuvReader_, cvt.grayWriter_); gold 687 modules/imgproc/test/test_cvtyuv.cpp referenceRGB2YUV<RGB2YUV_Converter> (src, gold, cvt.rgbReader_, cvt.yuvWriter_); gold 330 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); gold 332 modules/ts/include/opencv2/ts/cuda_test.hpp #define ASSERT_KEYPOINTS_EQ(gold, actual) EXPECT_PRED_FORMAT2(assertKeyPointsEquals, gold, actual) gold 334 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); gold 341 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void showDiff(cv::InputArray gold, cv::InputArray actual, double eps); gold 417 modules/ts/src/cuda_test.cpp Mat gold = getMat(gold_); gold 421 modules/ts/src/cuda_test.cpp absdiff(gold, actual, diff); gold 428 modules/ts/src/cuda_test.cpp imshow("gold", gold); gold 468 modules/ts/src/cuda_test.cpp testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) gold 470 modules/ts/src/cuda_test.cpp if (gold.size() != actual.size()) gold 473 modules/ts/src/cuda_test.cpp << "\"" << gold_expr << "\" : " << gold.size() << "\n" gold 478 modules/ts/src/cuda_test.cpp std::sort(gold.begin(), gold.end(), KeyPointLess()); gold 480 modules/ts/src/cuda_test.cpp for (size_t i = 0; i < gold.size(); ++i) gold 482 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = gold[i]; gold 501 modules/ts/src/cuda_test.cpp int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) gold 504 modules/ts/src/cuda_test.cpp std::sort(gold.begin(), gold.end(), KeyPointLess()); gold 508 modules/ts/src/cuda_test.cpp for (size_t i = 0; i < gold.size(); ++i) gold 510 modules/ts/src/cuda_test.cpp const cv::KeyPoint& p1 = gold[i]; gold 300 modules/ts/src/ocl_test.cpp Mat src = _src.getMat(), actual = _actual.getMat(), gold = _gold.getMat(); gold 303 modules/ts/src/ocl_test.cpp absdiff(gold, actual, diff); gold 311 modules/ts/src/ocl_test.cpp std::cout << "Expected: " << std::endl << gold << std::endl; gold 321 modules/ts/src/ocl_test.cpp imshow("gold", gold); gold 163 modules/video/test/test_tvl1optflow.cpp Mat_<Point2f> gold; gold 164 modules/video/test/test_tvl1optflow.cpp readOpticalFlowFromFile(gold, gold_flow_path); gold 166 modules/video/test/test_tvl1optflow.cpp ASSERT_EQ(gold.rows, flow.rows); gold 167 modules/video/test/test_tvl1optflow.cpp ASSERT_EQ(gold.cols, flow.cols); gold 169 modules/video/test/test_tvl1optflow.cpp double err = calcRMSE(gold, flow); gold 95 modules/viz/include/opencv2/viz/types.hpp static Color gold(); gold 162 modules/viz/test/tests_simple.cpp merger.addWidget(WCube(Vec3d::all(0.0), Vec3d::all(1.0), true, Color::gold())); gold 219 modules/viz/test/tests_simple.cpp const Color palette[] = { Color::red(), Color::green(), Color::blue(), Color::gold(), Color::raspberry(), Color::bluberry(), Color::lime() }; gold 431 modules/viz/test/tests_simple.cpp viz.showWidget("plane2", WPlane(Vec3d(0.5, -0.5, -0.5), Vec3d(0.0, 1.0, 1.0), Vec3d(1.0, 1.0, 0.0), Size2d(1.0, 0.5), Color::gold()));