Scalar 58 apps/annotation/opencv_annotation.cpp rectangle(current_view, Point(roi_x0,roi_y0), Point(x,y), Scalar(0,0,255)); Scalar 130 apps/annotation/opencv_annotation.cpp rectangle(input_image, Point(roi_x0,roi_y0), Point(roi_x1,roi_y1), Scalar(0,255,0), 1); Scalar 553 apps/traincascade/cascadeclassifier.cpp featureMap.setTo(Scalar(-1)); Scalar 11 modules/calib3d/misc/java/test/Calib3dTest.java import org.opencv.core.Scalar; Scalar 166 modules/calib3d/misc/java/test/Calib3dTest.java Imgproc.circle(dst, center, 1, Scalar.all(4096)); Scalar 195 modules/calib3d/misc/java/test/Calib3dTest.java img.setTo(new Scalar(255)); Scalar 203 modules/calib3d/misc/java/test/Calib3dTest.java Imgproc.circle(img, pt, 10, new Scalar(0), -1); Scalar 216 modules/calib3d/misc/java/test/Calib3dTest.java img.setTo(new Scalar(255)); Scalar 228 modules/calib3d/misc/java/test/Calib3dTest.java Imgproc.circle(img, pt, 10, new Scalar(0), -1); Scalar 126 modules/calib3d/perf/perf_pnp.cpp Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); Scalar 3065 modules/calib3d/src/calibration.cpp dst = Scalar(0); Scalar 60 modules/calib3d/src/circlesgrid.cpp void drawPoints(const std::vector<Point2f> &points, Mat &outImage, int radius = 2, Scalar color = Scalar::all(255), int thickness = -1) Scalar 86 modules/calib3d/src/circlesgrid.cpp Mat dists(n, n, CV_32FC1, Scalar(0)); Scalar 87 modules/calib3d/src/circlesgrid.cpp Mat distsMask(dists.size(), CV_8UC1, Scalar(0)); Scalar 155 modules/calib3d/src/circlesgrid.cpp Mat patternPointsImage(1024, 1248, CV_8UC1, Scalar(0)); Scalar 228 modules/calib3d/src/circlesgrid.cpp Mat cornersImage(1024, 1248, CV_8UC1, Scalar(0)); Scalar 266 modules/calib3d/src/circlesgrid.cpp Mat linesImage(1024, 1248, CV_8UC1, Scalar(0)); Scalar 267 modules/calib3d/src/circlesgrid.cpp line(linesImage, corners[maxLoc.y], corners[(maxLoc.y + 1) % n], Scalar(255)); Scalar 268 modules/calib3d/src/circlesgrid.cpp line(linesImage, corners[maxLoc.x], corners[(maxLoc.x + 1) % n], Scalar(255)); Scalar 291 modules/calib3d/src/circlesgrid.cpp drawPoints(outsideCorners, cornersImage, 2, Scalar(128)); Scalar 1202 modules/calib3d/src/circlesgrid.cpp line(*drawImage, keypoints[i], keypoints[j], Scalar(255, 0, 0), 2); Scalar 1203 modules/calib3d/src/circlesgrid.cpp circle(*drawImage, keypoints[i], 3, Scalar(0, 0, 255), -1); Scalar 1204 modules/calib3d/src/circlesgrid.cpp circle(*drawImage, keypoints[j], 3, Scalar(0, 0, 255), -1); Scalar 1319 modules/calib3d/src/circlesgrid.cpp line(drawImg, origin, origin + pt, Scalar(0, (double)(i * 255), 0), 2); Scalar 1328 modules/calib3d/src/circlesgrid.cpp const Scalar vertexColor = Scalar(0, 0, 255); Scalar 1331 modules/calib3d/src/circlesgrid.cpp const Scalar edgeColor = Scalar(255, 0, 0); Scalar 1369 modules/calib3d/src/circlesgrid.cpp const Scalar holeColor = Scalar(0, 255, 0); Scalar 1381 modules/calib3d/src/circlesgrid.cpp line(drawImage, keypoints[holes[i][j]], keypoints[holes[i][j + 1]], Scalar(255, 0, 0), 2); Scalar 1383 modules/calib3d/src/circlesgrid.cpp line(drawImage, keypoints[holes[i][j]], keypoints[holes[i + 1][j]], Scalar(255, 0, 0), 2); Scalar 330 modules/calib3d/src/compat_ptsetreg.cpp Hz.setTo(cv::Scalar::all(0)); Scalar 356 modules/calib3d/src/compat_ptsetreg.cpp FM0z.setTo(cv::Scalar::all(0)); Scalar 542 modules/calib3d/src/fisheye.cpp cv::Scalar center_mass = mean(points); Scalar 75 modules/calib3d/src/five-point.cpp Mat row1(1, 13, CV_64F, Scalar(0.0)); Scalar 76 modules/calib3d/src/five-point.cpp Mat row2(1, 13, CV_64F, Scalar(0.0)); Scalar 158 modules/calib3d/src/fundam.cpp _LtL.setTo(Scalar::all(0)); Scalar 600 modules/calib3d/src/fundam.cpp A.setTo(Scalar::all(0)); Scalar 767 modules/calib3d/src/fundam.cpp mask.setTo(Scalar::all(1)); Scalar 203 modules/calib3d/src/ptsetreg.cpp bestMask.setTo(Scalar::all(1)); Scalar 310 modules/calib3d/src/ptsetreg.cpp mask.setTo(Scalar::all(1)); Scalar 417 modules/calib3d/src/ptsetreg.cpp A = Scalar::all(0); Scalar 979 modules/calib3d/src/stereobm.cpp part = Scalar::all(FILTERED); Scalar 984 modules/calib3d/src/stereobm.cpp part = Scalar::all(FILTERED); Scalar 1005 modules/calib3d/src/stereobm.cpp part = Scalar::all(FILTERED); Scalar 1010 modules/calib3d/src/stereobm.cpp part = Scalar::all(FILTERED); Scalar 1115 modules/calib3d/src/stereobm.cpp disp0 = Scalar::all( FILTERED * ( disp0.type() < CV_32F ? 1 : 1./(1 << DISPARITY_SHIFT) ) ); Scalar 357 modules/calib3d/src/stereosgbm.cpp disp1 = Scalar::all(INVALID_DISP_SCALED); Scalar 92 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(1), Scalar(3)); Scalar 134 modules/calib3d/test/test_affine3d_estimator.cpp cv::randu(aff, Scalar(-2), Scalar(2)); Scalar 146 modules/calib3d/test/test_affine3d_estimator.cpp randu(fpts, Scalar::all(0), Scalar::all(100)); Scalar 745 modules/calib3d/test/test_cameracalibration.cpp Mat cameraMatrix, distCoeffs(1,4,CV_64F,Scalar::all(0)); Scalar 844 modules/calib3d/test/test_cameracalibration.cpp cameraMatrix.setTo( Scalar(0) ); Scalar 1354 modules/calib3d/test/test_cameracalibration.cpp temp = Scalar::all(1); Scalar 1459 modules/calib3d/test/test_cameracalibration.cpp D1 = Scalar::all(0); Scalar 1460 modules/calib3d/test/test_cameracalibration.cpp D2 = Scalar::all(0); Scalar 382 modules/calib3d/test/test_cameracalibration_artificial.cpp randu(bg, Scalar::all(32), Scalar::all(255)); Scalar 99 modules/calib3d/test/test_cameracalibration_badarg.cpp chessBoard = cbg(Mat(imgSize, CV_8U, Scalar(0)), camMat, distCoeffs0, exp_corn); Scalar 103 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat zeros(1, sizeof(CvMat), CV_8U, Scalar(0)); Scalar 350 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat zeros(1, sizeof(CvMat), CV_8U, Scalar(0)); Scalar 506 modules/calib3d/test/test_cameracalibration_badarg.cpp randu(objectPoints_cpp, Scalar::all(1), Scalar::all(10)); Scalar 164 modules/calib3d/test/test_chessboardgenerator.cpp drawContours(result, whole_contour, -1, Scalar::all(255), FILLED, LINE_AA); Scalar 165 modules/calib3d/test/test_chessboardgenerator.cpp drawContours(result, squares_black, -1, Scalar::all(0), FILLED, LINE_AA); Scalar 171 modules/calib3d/test/test_chessboardgenerator.cpp drawContours(tmp, whole_contour, -1, Scalar::all(255), FILLED, LINE_AA); Scalar 172 modules/calib3d/test/test_chessboardgenerator.cpp drawContours(tmp, squares_black, -1, Scalar::all(0), FILLED, LINE_AA); Scalar 60 modules/calib3d/test/test_chesscorners.cpp circle( rgb, v[i], 3, Scalar(255, 0, 0), FILLED); Scalar 67 modules/calib3d/test/test_chesscorners.cpp circle( rgb, u_data[i], 3, Scalar(0, 255, 0), FILLED); Scalar 377 modules/calib3d/test/test_chesscorners.cpp Mat bg(Size(800, 600), CV_8UC3, Scalar::all(255)); Scalar 378 modules/calib3d/test/test_chesscorners.cpp randu(bg, Scalar::all(0), Scalar::all(255)); Scalar 463 modules/calib3d/test/test_chesscorners.cpp cv::drawContours(cb, cnts, -1, Scalar::all(128), FILLED); Scalar 104 modules/calib3d/test/test_chesscorners_badarg.cpp Mat bg(800, 600, CV_8U, Scalar(0)); Scalar 62 modules/calib3d/test/test_compose_rt.cpp ev.setTo(Scalar(0)); ev(i, 0) = eps; Scalar 79 modules/calib3d/test/test_compose_rt.cpp ev.setTo(Scalar(0)); ev(i, 0) = eps; Scalar 96 modules/calib3d/test/test_compose_rt.cpp ev.setTo(Scalar(0)); ev(i, 0) = eps; Scalar 113 modules/calib3d/test/test_compose_rt.cpp ev.setTo(Scalar(0)); ev(i, 0) = eps; Scalar 146 modules/calib3d/test/test_compose_rt.cpp randu(rvec1, Scalar(0), Scalar(6.29)); Scalar 147 modules/calib3d/test/test_compose_rt.cpp randu(rvec2, Scalar(0), Scalar(6.29)); Scalar 149 modules/calib3d/test/test_compose_rt.cpp randu(tvec1, Scalar(-2), Scalar(2)); Scalar 150 modules/calib3d/test/test_compose_rt.cpp randu(tvec2, Scalar(-2), Scalar(2)); Scalar 131 modules/calib3d/test/test_cornerssubpix.cpp bg = Scalar(0); Scalar 425 modules/calib3d/test/test_fisheye.cpp cv::rectangle(l, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); Scalar 426 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255, 0, 829, l.rows-1), cv::Scalar(0, 0, 255)); Scalar 427 modules/calib3d/test/test_fisheye.cpp cv::rectangle(r, cv::Rect(255-ndisp, 0, 829+ndisp ,l.rows-1), cv::Scalar(0, 0, 255)); Scalar 615 modules/calib3d/test/test_fisheye.cpp cv::line(merged, cv::Point(0, i), cv::Point(merged.cols, i), cv::Scalar(0, 255, 0)); Scalar 486 modules/calib3d/test/test_fundam.cpp rng->fill(noise, RNG::NORMAL, Scalar::all(0), Scalar::all(sigma) ); Scalar 750 modules/calib3d/test/test_fundam.cpp setIdentity(test_mat[OUTPUT][4], Scalar::all(1.)); Scalar 753 modules/calib3d/test/test_fundam.cpp setIdentity(test_mat[REF_OUTPUT][4], Scalar::all(1.)); Scalar 398 modules/calib3d/test/test_homography.cpp rng.fill(noise_2f, RNG::NORMAL, Scalar::all(0), Scalar::all(sigma)); Scalar 120 modules/calib3d/test/test_reproject_image_to_3d.cpp randu(disp, Scalar(min), Scalar(max)); Scalar 126 modules/calib3d/test/test_reproject_image_to_3d.cpp randu(Q, Scalar(-5), Scalar(5)); Scalar 87 modules/calib3d/test/test_solvepnp_ransac.cpp cameraMatrix.setTo(Scalar(0)); Scalar 271 modules/calib3d/test/test_solvepnp_ransac.cpp Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); Scalar 168 modules/calib3d/test/test_stereomatching.cpp rightDisp.setTo(Scalar::all(0) ); Scalar 188 modules/calib3d/test/test_stereomatching.cpp occludedMask->setTo(Scalar::all(0) ); Scalar 193 modules/calib3d/test/test_stereomatching.cpp nonOccludedMask->setTo(Scalar::all(0) ); Scalar 241 modules/calib3d/test/test_stereomatching.cpp curDisp.setTo( Scalar(numeric_limits<float>::min()), unknDispMask ); Scalar 242 modules/calib3d/test/test_stereomatching.cpp Mat maxNeighbDisp; dilate( curDisp, maxNeighbDisp, Mat(3, 3, CV_8UC1, Scalar(1)) ); Scalar 244 modules/calib3d/test/test_stereomatching.cpp curDisp.setTo( Scalar(numeric_limits<float>::max()), unknDispMask ); Scalar 245 modules/calib3d/test/test_stereomatching.cpp Mat minNeighbDisp; erode( curDisp, minNeighbDisp, Mat(3, 3, CV_8UC1, Scalar(1)) ); Scalar 249 modules/calib3d/test/test_stereomatching.cpp dilate( depthDiscontMask, depthDiscontMask, Mat(discontWidth, discontWidth, CV_8UC1, Scalar(1)) ); Scalar 258 modules/calib3d/test/test_stereomatching.cpp Mat mask(maskSize, CV_8UC1, Scalar(0)); Scalar 261 modules/calib3d/test/test_stereomatching.cpp mask.setTo(Scalar(0)); Scalar 263 modules/calib3d/test/test_stereomatching.cpp mask( Rect(Point(border,border),Size(w,h)) ).setTo(Scalar(255)); Scalar 556 modules/calib3d/test/test_stereomatching.cpp absdiff( trueLeftDisp, Scalar(params.dispUnknVal), leftUnknMask ); Scalar 561 modules/calib3d/test/test_stereomatching.cpp absdiff( trueRightDisp, Scalar(params.dispUnknVal), rightUnknMask ); Scalar 281 modules/calib3d/test/test_undistort.cpp _proj = Scalar::all(0); Scalar 742 modules/calib3d/test/test_undistort.cpp _new_cam = Scalar::all(0); Scalar 49 modules/calib3d/test/test_undistort_points.cpp cameraMatrix.setTo(Scalar(0)); Scalar 310 modules/core/include/opencv2/core.hpp int borderType, const Scalar& value = Scalar() ); Scalar 539 modules/core/include/opencv2/core.hpp CV_EXPORTS_AS(sumElems) Scalar sum(InputArray src); Scalar 589 modules/core/include/opencv2/core.hpp CV_EXPORTS_W Scalar mean(InputArray src, InputArray mask = noArray()); Scalar 1658 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void setIdentity(InputOutputArray mtx, const Scalar& s = Scalar(1)); Scalar 1682 modules/core/include/opencv2/core.hpp CV_EXPORTS_W Scalar trace(InputArray mtx); Scalar 121 modules/core/include/opencv2/core/cuda.hpp GpuMat(int rows, int cols, int type, Scalar s, Allocator* allocator = defaultAllocator()); Scalar 122 modules/core/include/opencv2/core/cuda.hpp GpuMat(Size size, int type, Scalar s, Allocator* allocator = defaultAllocator()); Scalar 182 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s); Scalar 185 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, Stream& stream); Scalar 188 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, InputArray mask); Scalar 191 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, InputArray mask, Stream& stream); Scalar 79 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat::GpuMat(int rows_, int cols_, int type_, Scalar s_, Allocator* allocator_) Scalar 90 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat::GpuMat(Size size_, int type_, Scalar s_, Allocator* allocator_) Scalar 168 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat& GpuMat::setTo(Scalar s) Scalar 174 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat& GpuMat::setTo(Scalar s, InputArray mask) Scalar 766 modules/core/include/opencv2/core/mat.hpp Mat(int rows, int cols, int type, const Scalar& s); Scalar 777 modules/core/include/opencv2/core/mat.hpp Mat(Size size, int type, const Scalar& s); Scalar 796 modules/core/include/opencv2/core/mat.hpp Mat(int ndims, const int* sizes, int type, const Scalar& s); Scalar 1102 modules/core/include/opencv2/core/mat.hpp Mat& operator = (const Scalar& s); Scalar 1374 modules/core/include/opencv2/core/mat.hpp void resize(size_t sz, const Scalar& s); Scalar 2129 modules/core/include/opencv2/core/mat.hpp UMat(int rows, int cols, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); Scalar 2130 modules/core/include/opencv2/core/mat.hpp UMat(Size size, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); Scalar 2134 modules/core/include/opencv2/core/mat.hpp UMat(int ndims, const int* sizes, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); Scalar 2194 modules/core/include/opencv2/core/mat.hpp UMat& operator = (const Scalar& s); Scalar 3181 modules/core/include/opencv2/core/mat.hpp virtual void add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const; Scalar 3184 modules/core/include/opencv2/core/mat.hpp virtual void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; Scalar 3255 modules/core/include/opencv2/core/mat.hpp const Mat& _c = Mat(), double _alpha = 1, double _beta = 1, const Scalar& _s = Scalar()); Scalar 3282 modules/core/include/opencv2/core/mat.hpp Scalar s; Scalar 3290 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Mat& a, const Scalar& s); Scalar 3291 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Scalar& s, const Mat& a); Scalar 3294 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const MatExpr& e, const Scalar& s); Scalar 3295 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Scalar& s, const MatExpr& e); Scalar 3299 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Mat& a, const Scalar& s); Scalar 3300 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Scalar& s, const Mat& a); Scalar 3303 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const MatExpr& e, const Scalar& s); Scalar 3304 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Scalar& s, const MatExpr& e); Scalar 3353 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator & (const Mat& a, const Scalar& s); Scalar 3354 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator & (const Scalar& s, const Mat& a); Scalar 3357 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator | (const Mat& a, const Scalar& s); Scalar 3358 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator | (const Scalar& s, const Mat& a); Scalar 3361 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator ^ (const Mat& a, const Scalar& s); Scalar 3362 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator ^ (const Scalar& s, const Mat& a); Scalar 332 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(int _rows, int _cols, int _type, const Scalar& _s) Scalar 349 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(Size _sz, int _type, const Scalar& _s) Scalar 366 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(int _dims, const int* _sz, int _type, const Scalar& _s) Scalar 1236 modules/core/include/opencv2/core/mat.inl.hpp : Mat(_dims, _sz, DataType<_Tp>::type, Scalar(_s)) Scalar 1346 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator=(Scalar((const VT&)s)); Scalar 2940 modules/core/include/opencv2/core/mat.inl.hpp const Mat& _c, double _alpha, double _beta, const Scalar& _s) Scalar 3132 modules/core/include/opencv2/core/mat.inl.hpp UMat::UMat(int _rows, int _cols, int _type, const Scalar& _s, UMatUsageFlags _usageFlags) Scalar 3147 modules/core/include/opencv2/core/mat.inl.hpp UMat::UMat(Size _sz, int _type, const Scalar& _s, UMatUsageFlags _usageFlags) Scalar 3162 modules/core/include/opencv2/core/mat.inl.hpp UMat::UMat(int _dims, const int* _sz, int _type, const Scalar& _s, UMatUsageFlags _usageFlags) Scalar 504 modules/core/include/opencv2/core/opengl.hpp CV_EXPORTS void render(const Arrays& arr, int mode = POINTS, Scalar color = Scalar::all(255)); Scalar 512 modules/core/include/opencv2/core/opengl.hpp CV_EXPORTS void render(const Arrays& arr, InputArray indices, int mode = POINTS, Scalar color = Scalar::all(255)); Scalar 180 modules/core/include/opencv2/core/operations.hpp cv::randu(M, Scalar(a), Scalar(b)); Scalar 188 modules/core/include/opencv2/core/operations.hpp cv::randn(M, Scalar(a), Scalar(b)); Scalar 240 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (+=, cv::add(a,b,a), Mat, Scalar) Scalar 242 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Scalar) Scalar 246 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (-=, cv::subtract(a,b,a), Mat, Scalar) Scalar 248 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Scalar) Scalar 264 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (&=, cv::bitwise_and(a,b,a), Mat, Scalar) Scalar 266 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(&=, cv::bitwise_and(a,b,a), Mat_<_Tp>, Scalar) Scalar 270 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (|=, cv::bitwise_or(a,b,a), Mat, Scalar) Scalar 272 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(|=, cv::bitwise_or(a,b,a), Mat_<_Tp>, Scalar) Scalar 276 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR (^=, cv::bitwise_xor(a,b,a), Mat, Scalar) Scalar 278 modules/core/include/opencv2/core/operations.hpp CV_MAT_AUG_OPERATOR_T(^=, cv::bitwise_xor(a,b,a), Mat_<_Tp>, Scalar) Scalar 164 modules/core/include/opencv2/core/private.hpp CV_EXPORTS void scalarToRawData(const cv::Scalar& s, void* buf, int type, int unroll_to = 0); Scalar 2161 modules/core/include/opencv2/core/types.hpp Scalar operator * (const Matx<_Tp, 4, 4>& a, const Scalar& b) Scalar 2164 modules/core/include/opencv2/core/types.hpp return reinterpret_cast<const Scalar&>(c); Scalar 2168 modules/core/include/opencv2/core/types.hpp Scalar operator * (const Matx<double, 4, 4>& a, const Scalar& b) Scalar 2171 modules/core/include/opencv2/core/types.hpp return reinterpret_cast<const Scalar&>(c); Scalar 16 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void add(InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1); Scalar 18 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void subtract(InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1); Scalar 20 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void multiply(InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1); Scalar 22 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void divide(InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1); Scalar 24 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void absdiff(InputArray src1, Scalar src2, OutputArray dst); Scalar 26 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void compare(InputArray src1, Scalar src2, OutputArray dst, int cmpop); Scalar 28 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void min(InputArray src1, Scalar src2, OutputArray dst); Scalar 30 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void max(InputArray src1, Scalar src2, OutputArray dst); Scalar 60 modules/core/misc/java/src/java/core+Mat.java public Mat(int rows, int cols, int type, Scalar s) Scalar 73 modules/core/misc/java/src/java/core+Mat.java public Mat(Size size, int type, Scalar s) Scalar 726 modules/core/misc/java/src/java/core+Mat.java public Mat setTo(Scalar s) Scalar 739 modules/core/misc/java/src/java/core+Mat.java public Mat setTo(Scalar value, Mat mask) Scalar 43 modules/core/misc/java/src/java/core+Scalar.java public static Scalar all(double v) { Scalar 44 modules/core/misc/java/src/java/core+Scalar.java return new Scalar(v, v, v, v); Scalar 47 modules/core/misc/java/src/java/core+Scalar.java public Scalar clone() { Scalar 48 modules/core/misc/java/src/java/core+Scalar.java return new Scalar(val); Scalar 51 modules/core/misc/java/src/java/core+Scalar.java public Scalar mul(Scalar it, double scale) { Scalar 52 modules/core/misc/java/src/java/core+Scalar.java return new Scalar(val[0] * it.val[0] * scale, val[1] * it.val[1] * scale, Scalar 56 modules/core/misc/java/src/java/core+Scalar.java public Scalar mul(Scalar it) { Scalar 60 modules/core/misc/java/src/java/core+Scalar.java public Scalar conj() { Scalar 61 modules/core/misc/java/src/java/core+Scalar.java return new Scalar(val[0], -val[1], -val[2], -val[3]); Scalar 79 modules/core/misc/java/src/java/core+Scalar.java if (!(obj instanceof Scalar)) return false; Scalar 80 modules/core/misc/java/src/java/core+Scalar.java Scalar it = (Scalar) obj; Scalar 18 modules/core/misc/java/test/CoreTest.java import org.opencv.core.Scalar; Scalar 397 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(3, 3, CvType.CV_32FC1, new Scalar(2.0)); Scalar 446 modules/core/misc/java/test/CoreTest.java Imgproc.fillConvexPoly(gray0, polyline, new Scalar(150)); Scalar 476 modules/core/misc/java/test/CoreTest.java Imgproc.fillPoly(gray0, polylines, new Scalar(1)); Scalar 507 modules/core/misc/java/test/CoreTest.java Imgproc.fillPoly(gray0, polylines1, new Scalar(1), Imgproc.LINE_8, 0, new Point(0, 0)); Scalar 511 modules/core/misc/java/test/CoreTest.java Imgproc.fillPoly(gray0, polylines2, new Scalar(0), Imgproc.LINE_8, 0, new Point(1, 1)); Scalar 740 modules/core/misc/java/test/CoreTest.java Core.inRange(gray0, new Scalar(120), new Scalar(160), dst); Scalar 857 modules/core/misc/java/test/CoreTest.java Scalar color = new Scalar(255); Scalar 909 modules/core/misc/java/test/CoreTest.java lut.setTo(new Scalar(0)); Scalar 915 modules/core/misc/java/test/CoreTest.java lut.setTo(new Scalar(255)); Scalar 974 modules/core/misc/java/test/CoreTest.java Scalar mean = Core.mean(makeMask(gray128)); Scalar 976 modules/core/misc/java/test/CoreTest.java assertScalarEqual(new Scalar(64), mean, EPS); Scalar 983 modules/core/misc/java/test/CoreTest.java Scalar mean1 = Core.mean(grayRnd, mask1); Scalar 984 modules/core/misc/java/test/CoreTest.java Scalar mean2 = Core.mean(grayRnd, mask2); Scalar 985 modules/core/misc/java/test/CoreTest.java Scalar mean = Core.mean(grayRnd, gray1); Scalar 987 modules/core/misc/java/test/CoreTest.java assertScalarEqual(mean, new Scalar(0.5 * (mean1.val[0] + mean2.val[0])), EPS); Scalar 1007 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(33)); Scalar 1010 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(1)); Scalar 1024 modules/core/misc/java/test/CoreTest.java Mat src1 = new Mat(2, 2, CvType.CV_32FC1, new Scalar(1)); Scalar 1025 modules/core/misc/java/test/CoreTest.java Mat src2 = new Mat(2, 2, CvType.CV_32FC1, new Scalar(2)); Scalar 1026 modules/core/misc/java/test/CoreTest.java Mat src3 = new Mat(2, 2, CvType.CV_32FC1, new Scalar(3)); Scalar 1031 modules/core/misc/java/test/CoreTest.java truth = new Mat(2, 2, CvType.CV_32FC3, new Scalar(1, 2, 3)); Scalar 1066 modules/core/misc/java/test/CoreTest.java Mat mask = new Mat(4, 4, CvType.CV_8U, new Scalar(0)); Scalar 1067 modules/core/misc/java/test/CoreTest.java mask.submat(1, 3, 1, 4).setTo(new Scalar(1)); Scalar 1078 modules/core/misc/java/test/CoreTest.java rgba0.setTo(new Scalar(10, 20, 30, 40)); Scalar 1173 modules/core/misc/java/test/CoreTest.java truth.diag().setTo(new Scalar(2)); Scalar 1187 modules/core/misc/java/test/CoreTest.java m.diag().setTo(new Scalar(2)); Scalar 1293 modules/core/misc/java/test/CoreTest.java Mat vectors = new Mat(1, 4, CvType.CV_32F, new Scalar(0)) { Scalar 1335 modules/core/misc/java/test/CoreTest.java Mat vectors_truth = new Mat(3, 4, CvType.CV_32F, new Scalar(0)) { Scalar 1362 modules/core/misc/java/test/CoreTest.java Mat vectors_truth = new Mat(1, 4, CvType.CV_32F, new Scalar(0)) { Scalar 1377 modules/core/misc/java/test/CoreTest.java Mat vectors = new Mat(1, 4, CvType.CV_32F, new Scalar(0)) { Scalar 1597 modules/core/misc/java/test/CoreTest.java Scalar color = new Scalar(128); Scalar 1607 modules/core/misc/java/test/CoreTest.java Scalar color = new Scalar(128); Scalar 1618 modules/core/misc/java/test/CoreTest.java Scalar color = new Scalar(128); Scalar 1630 modules/core/misc/java/test/CoreTest.java Scalar color = new Scalar(128); Scalar 1678 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 2, CvType.CV_32F, new Scalar(0)); Scalar 1700 modules/core/misc/java/test/CoreTest.java Core.setIdentity(m, new Scalar(5)); Scalar 1702 modules/core/misc/java/test/CoreTest.java truth = new Mat(m.size(), m.type(), new Scalar(0)); Scalar 1703 modules/core/misc/java/test/CoreTest.java truth.diag().setTo(new Scalar(5)); Scalar 1810 modules/core/misc/java/test/CoreTest.java submat.setTo(new Scalar(1.0)); Scalar 1856 modules/core/misc/java/test/CoreTest.java Mat rgba144 = new Mat(matSize, matSize, CvType.CV_32FC4, Scalar.all(144)); Scalar 1857 modules/core/misc/java/test/CoreTest.java Mat rgba12 = new Mat(matSize, matSize, CvType.CV_32FC4, Scalar.all(12)); Scalar 1886 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(10)); Scalar 1888 modules/core/misc/java/test/CoreTest.java Scalar res1 = Core.sumElems(src); Scalar 1890 modules/core/misc/java/test/CoreTest.java assertScalarEqual(new Scalar(160), res1, EPS); Scalar 1894 modules/core/misc/java/test/CoreTest.java Mat w = new Mat(2, 2, CvType.CV_32FC1, new Scalar(2)); Scalar 1895 modules/core/misc/java/test/CoreTest.java Mat u = new Mat(2, 2, CvType.CV_32FC1, new Scalar(4)); Scalar 1896 modules/core/misc/java/test/CoreTest.java Mat vt = new Mat(2, 2, CvType.CV_32FC1, new Scalar(2)); Scalar 1897 modules/core/misc/java/test/CoreTest.java Mat rhs = new Mat(2, 2, CvType.CV_32FC1, new Scalar(1)); Scalar 1901 modules/core/misc/java/test/CoreTest.java Mat truth = new Mat(2, 2, CvType.CV_32FC1, new Scalar(16)); Scalar 1917 modules/core/misc/java/test/CoreTest.java Mat truthW = new Mat(1, 1, CvType.CV_32FC1, new Scalar(10.816654)); Scalar 1918 modules/core/misc/java/test/CoreTest.java Mat truthU = new Mat(1, 1, CvType.CV_32FC1, new Scalar(1)); Scalar 1941 modules/core/misc/java/test/CoreTest.java Mat truthW = new Mat(1, 1, CvType.CV_32FC1, new Scalar(10.816654)); Scalar 1948 modules/core/misc/java/test/CoreTest.java Scalar s = Core.trace(gray1); Scalar 1950 modules/core/misc/java/test/CoreTest.java assertEquals(new Scalar(matSize), s); Scalar 1954 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(55)); Scalar 1959 modules/core/misc/java/test/CoreTest.java truth = new Mat(2, 2, CvType.CV_32FC2, new Scalar(55, 1)); Scalar 1964 modules/core/misc/java/test/CoreTest.java gray0.submat(0, gray0.rows() / 2, 0, gray0.cols()).setTo(new Scalar(1)); Scalar 1983 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(1)); Scalar 1988 modules/core/misc/java/test/CoreTest.java truth = new Mat(6, 6, CvType.CV_32F, new Scalar(1)); Scalar 1993 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(1)); Scalar 1995 modules/core/misc/java/test/CoreTest.java Scalar value = new Scalar(0); Scalar 2001 modules/core/misc/java/test/CoreTest.java truth = new Mat(6, 6, CvType.CV_32F, new Scalar(1)); Scalar 12 modules/core/misc/java/test/MatTest.java import org.opencv.core.Scalar; Scalar 118 modules/core/misc/java/test/MatTest.java truth = new Mat(10, 5, CvType.CV_8UC1, new Scalar(0.0)); Scalar 129 modules/core/misc/java/test/MatTest.java truth = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(255)); Scalar 136 modules/core/misc/java/test/MatTest.java truth = new Mat(matSize, matSize, CvType.CV_16U, new Scalar(4)); Scalar 143 modules/core/misc/java/test/MatTest.java truth = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(4)); Scalar 153 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(5)); Scalar 208 modules/core/misc/java/test/MatTest.java truth = new Mat(10, 1, CvType.CV_8UC1, new Scalar(0)); Scalar 215 modules/core/misc/java/test/MatTest.java truth = new Mat(8, 1, CvType.CV_8UC1, new Scalar(255)); Scalar 220 modules/core/misc/java/test/MatTest.java Mat diagVector = new Mat(matSize, 1, CvType.CV_32F, new Scalar(1)); Scalar 527 modules/core/misc/java/test/MatTest.java dst = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); Scalar 531 modules/core/misc/java/test/MatTest.java dst = new Mat(rgba128.rows(), rgba128.cols(), CvType.CV_8UC4, Scalar.all(128)); Scalar 545 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); Scalar 549 modules/core/misc/java/test/MatTest.java Mat m2 = new Mat(gray0_32f.rows(), gray0_32f.cols(), CvType.CV_32F, new Scalar(0)); Scalar 557 modules/core/misc/java/test/MatTest.java truth = new Mat(5, 10, CvType.CV_8UC1, new Scalar(0)); Scalar 565 modules/core/misc/java/test/MatTest.java truth = new Mat(5, 5, CvType.CV_32FC1, new Scalar(255)); Scalar 602 modules/core/misc/java/test/MatTest.java dst = new Mat(new Size(10, 10), CvType.CV_32F, new Scalar(255)); Scalar 611 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(2, 2, CvType.CV_32F, new Scalar(2)); Scalar 612 modules/core/misc/java/test/MatTest.java Mat m2 = new Mat(2, 2, CvType.CV_32F, new Scalar(3)); Scalar 616 modules/core/misc/java/test/MatTest.java truth = new Mat(2, 2, CvType.CV_32F, new Scalar(6)); Scalar 622 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(2, 2, CvType.CV_32F, new Scalar(2)); Scalar 623 modules/core/misc/java/test/MatTest.java Mat m2 = new Mat(2, 2, CvType.CV_32F, new Scalar(3)); Scalar 627 modules/core/misc/java/test/MatTest.java truth = new Mat(2, 2, CvType.CV_32F, new Scalar(18)); Scalar 634 modules/core/misc/java/test/MatTest.java truth = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(1)); Scalar 640 modules/core/misc/java/test/MatTest.java truth = new Mat(2, 2, CvType.CV_16S, new Scalar(1)); Scalar 645 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(2, 4, CvType.CV_32F, new Scalar(2)); Scalar 646 modules/core/misc/java/test/MatTest.java Mat m2 = new Mat(3, 4, CvType.CV_32F, new Scalar(3)); Scalar 664 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_8UC3, new Scalar(1, 2, 3)); Scalar 702 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_8UC3, new Scalar(1, 2, 3)); Scalar 725 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_32FC3, new Scalar(1, 2, 3)); Scalar 748 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_32SC3, new Scalar(-1, -2, -3)); Scalar 771 modules/core/misc/java/test/MatTest.java Mat m = new Mat(5, 5, CvType.CV_16SC3, new Scalar(-1, -2, -3)); Scalar 804 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(0)); Scalar 807 modules/core/misc/java/test/MatTest.java truth = new Mat(4, 1, CvType.CV_8UC4, new Scalar(0)); Scalar 812 modules/core/misc/java/test/MatTest.java Mat src = new Mat(5, 7, CvType.CV_8U, new Scalar(0)); Scalar 815 modules/core/misc/java/test/MatTest.java truth = new Mat(5, 1, CvType.CV_8UC(7), new Scalar(0)); Scalar 885 modules/core/misc/java/test/MatTest.java gray0.setTo(new Scalar(127)); Scalar 892 modules/core/misc/java/test/MatTest.java gray0.setTo(new Scalar(1), mask); Scalar 1000 modules/core/misc/java/test/MatTest.java truth = new Mat(2, 2, CvType.CV_16S, new Scalar(0)); Scalar 3 modules/core/misc/java/test/ScalarTest.java import org.opencv.core.Scalar; Scalar 8 modules/core/misc/java/test/ScalarTest.java private Scalar dstScalar; Scalar 9 modules/core/misc/java/test/ScalarTest.java private Scalar s1; Scalar 10 modules/core/misc/java/test/ScalarTest.java private Scalar s2; Scalar 16 modules/core/misc/java/test/ScalarTest.java s1 = new Scalar(1.0); Scalar 17 modules/core/misc/java/test/ScalarTest.java s2 = Scalar.all(1.0); Scalar 22 modules/core/misc/java/test/ScalarTest.java dstScalar = Scalar.all(2.0); Scalar 23 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2.0, 2.0, 2.0, 2.0); Scalar 34 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(1, -1, -1, -1); Scalar 63 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2); Scalar 68 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(1); Scalar 74 modules/core/misc/java/test/ScalarTest.java dstScalar = new Scalar(vals); Scalar 76 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2.0, 4.0, 5.0, 3.0); Scalar 81 modules/core/misc/java/test/ScalarTest.java dstScalar = new Scalar(2, 5); Scalar 82 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2.0, 5.0, 0.0, 0.0); Scalar 87 modules/core/misc/java/test/ScalarTest.java dstScalar = new Scalar(2.0, 5.0, 5.0); Scalar 88 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2.0, 5.0, 5.0, 0.0); Scalar 93 modules/core/misc/java/test/ScalarTest.java dstScalar = new Scalar(2.0, 5.0, 5.0, 9.0); Scalar 94 modules/core/misc/java/test/ScalarTest.java Scalar truth = new Scalar(2.0, 5.0, 5.0, 9.0); Scalar 68 modules/core/perf/cuda/perf_gpumat.cpp const cv::Scalar val(1, 2, 3, 4); Scalar 104 modules/core/perf/cuda/perf_gpumat.cpp const cv::Scalar val(1, 2, 3, 4); Scalar 145 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(d_src.size(), d_src.type(), cv::Scalar::all(0)); Scalar 151 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(src.size(), src.type(), cv::Scalar::all(0)); Scalar 409 modules/core/perf/opencl/perf_arithm.cpp Scalar result; Scalar 682 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::setIdentity(dst, cv::Scalar::all(181)); Scalar 703 modules/core/perf/opencl/perf_arithm.cpp Scalar mean, stddev; Scalar 733 modules/core/perf/opencl/perf_arithm.cpp Scalar mean, stddev; Scalar 171 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, depth), dst(srcSize, type, Scalar::all(17)); Scalar 26 modules/core/perf/opencl/perf_matop.cpp const Scalar s = Scalar::all(17); Scalar 48 modules/core/perf/opencl/perf_matop.cpp const Scalar s = Scalar::all(17); Scalar 22 modules/core/perf/opencl/perf_usage_flags.cpp UMat src(sz, CV_8UC1, Scalar::all(128)); Scalar 28 modules/core/perf/opencl/perf_usage_flags.cpp cv::add(src, Scalar::all(1), dst); Scalar 31 modules/core/perf/opencl/perf_usage_flags.cpp cv::putText(canvas, "Test", Point(20, 20), FONT_HERSHEY_PLAIN, 1, Scalar::all(255)); Scalar 34 modules/core/perf/opencl/perf_usage_flags.cpp cv::subtract(dst, Scalar::all(1), final); Scalar 33 modules/core/perf/perf_arithm.cpp cv::Scalar b; Scalar 63 modules/core/perf/perf_arithm.cpp cv::Scalar b; Scalar 100 modules/core/perf/perf_arithm.cpp cv::Scalar b; Scalar 145 modules/core/perf/perf_arithm.cpp cv::Scalar b; Scalar 189 modules/core/perf/perf_arithm.cpp cv::Scalar b; Scalar 50 modules/core/perf/perf_compare.cpp Scalar src2; Scalar 15 modules/core/perf/perf_stat.cpp Scalar s; Scalar 30 modules/core/perf/perf_stat.cpp Scalar s; Scalar 46 modules/core/perf/perf_stat.cpp Scalar s; Scalar 61 modules/core/perf/perf_stat.cpp Scalar mean; Scalar 62 modules/core/perf/perf_stat.cpp Scalar dev; Scalar 79 modules/core/perf/perf_stat.cpp Scalar mean; Scalar 80 modules/core/perf/perf_stat.cpp Scalar dev; Scalar 4945 modules/core/src/arithm.cpp return dst.setTo(Scalar::all(op == CMP_GT || op == CMP_GE || op == CMP_NE ? 255 : 0)), true; Scalar 4948 modules/core/src/arithm.cpp return dst.setTo(Scalar::all(op == CMP_LT || op == CMP_LE || op == CMP_NE ? 255 : 0)), true; Scalar 4958 modules/core/src/arithm.cpp return dst.setTo(Scalar::all(op == CMP_NE ? 255 : 0)), true; Scalar 5067 modules/core/src/arithm.cpp dst = Scalar::all(op == CMP_GT || op == CMP_GE || op == CMP_NE ? 255 : 0); Scalar 5073 modules/core/src/arithm.cpp dst = Scalar::all(op == CMP_LT || op == CMP_LE || op == CMP_NE ? 255 : 0); Scalar 5086 modules/core/src/arithm.cpp dst = Scalar::all(op == CMP_NE ? 255 : 0); Scalar 5845 modules/core/src/arithm.cpp cv::bitwise_and( src, (const cv::Scalar&)s, dst, mask ); Scalar 5856 modules/core/src/arithm.cpp cv::bitwise_or( src, (const cv::Scalar&)s, dst, mask ); Scalar 5867 modules/core/src/arithm.cpp cv::bitwise_xor( src, (const cv::Scalar&)s, dst, mask ); Scalar 5900 modules/core/src/arithm.cpp cv::add( src1, (const cv::Scalar&)value, dst, mask, dst.type() ); Scalar 5911 modules/core/src/arithm.cpp cv::subtract( (const cv::Scalar&)value, src1, dst, mask, dst.type() ); Scalar 5967 modules/core/src/arithm.cpp cv::absdiff( src1, (const cv::Scalar&)scalar, dst ); Scalar 5988 modules/core/src/arithm.cpp cv::inRange( src1, (const cv::Scalar&)lowerb, (const cv::Scalar&)upperb, dst ); Scalar 6011 modules/core/src/convert.cpp _dst.setTo(Scalar(delta), _mask); Scalar 378 modules/core/src/copy.cpp dst = Scalar(0); Scalar 397 modules/core/src/copy.cpp Mat& Mat::operator = (const Scalar& s) Scalar 1085 modules/core/src/copy.cpp int left, int right, int borderType, const Scalar& value ) Scalar 1148 modules/core/src/copy.cpp int left, int right, int borderType, const Scalar& value ) Scalar 1394 modules/core/src/copy.cpp m.setTo(cv::Scalar(value), cv::cvarrToMat(maskarr)); Scalar 1409 modules/core/src/copy.cpp m = cv::Scalar(0); Scalar 486 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, Stream& _stream) Scalar 494 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, InputArray _mask, Stream& _stream) Scalar 323 modules/core/src/kmeans.cpp centers = Scalar(0); Scalar 1019 modules/core/src/lapack.cpp dst = Scalar(0); Scalar 1039 modules/core/src/lapack.cpp dst = Scalar(0); Scalar 1318 modules/core/src/lapack.cpp dst = Scalar(0); Scalar 1396 modules/core/src/lapack.cpp temp_u = Scalar::all(0); Scalar 1655 modules/core/src/lapack.cpp w = cv::Scalar(0); Scalar 1303 modules/core/src/mathfuncs.cpp _dst.setTo(Scalar::all(1)); Scalar 1376 modules/core/src/mathfuncs.cpp _dst.setTo(Scalar::all(1)); Scalar 737 modules/core/src/matmul.cpp D.setTo(Scalar::all(0)); Scalar 77 modules/core/src/matop.cpp void add(const MatExpr& e1, const Scalar& s, MatExpr& res) const; Scalar 78 modules/core/src/matop.cpp void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; Scalar 85 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s=Scalar()); Scalar 103 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s); Scalar 214 modules/core/src/matop.cpp static inline bool isScaled(const MatExpr& e) { return isAddEx(e) && (!e.b.data || e.beta == 0) && e.s == Scalar(); } Scalar 340 modules/core/src/matop.cpp Scalar s; Scalar 366 modules/core/src/matop.cpp void MatOp::add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const Scalar 379 modules/core/src/matop.cpp Scalar s; Scalar 405 modules/core/src/matop.cpp void MatOp::subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const Scalar 599 modules/core/src/matop.cpp MatExpr::MatExpr(const Mat& m) : op(&g_MatOp_Identity), flags(0), a(m), b(Mat()), c(Mat()), alpha(1), beta(0), s(Scalar()) Scalar 683 modules/core/src/matop.cpp MatExpr operator + (const Mat& a, const Scalar& s) Scalar 690 modules/core/src/matop.cpp MatExpr operator + (const Scalar& s, const Mat& a) Scalar 711 modules/core/src/matop.cpp MatExpr operator + (const MatExpr& e, const Scalar& s) Scalar 718 modules/core/src/matop.cpp MatExpr operator + (const Scalar& s, const MatExpr& e) Scalar 739 modules/core/src/matop.cpp MatExpr operator - (const Mat& a, const Scalar& s) Scalar 746 modules/core/src/matop.cpp MatExpr operator - (const Scalar& s, const Mat& a) Scalar 767 modules/core/src/matop.cpp MatExpr operator - (const MatExpr& e, const Scalar& s) Scalar 774 modules/core/src/matop.cpp MatExpr operator - (const Scalar& s, const MatExpr& e) Scalar 798 modules/core/src/matop.cpp e.op->subtract(Scalar(0), e, en); Scalar 1089 modules/core/src/matop.cpp MatExpr operator & (const Mat& a, const Scalar& s) Scalar 1096 modules/core/src/matop.cpp MatExpr operator & (const Scalar& s, const Mat& a) Scalar 1110 modules/core/src/matop.cpp MatExpr operator | (const Mat& a, const Scalar& s) Scalar 1117 modules/core/src/matop.cpp MatExpr operator | (const Scalar& s, const Mat& a) Scalar 1131 modules/core/src/matop.cpp MatExpr operator ^ (const Mat& a, const Scalar& s) Scalar 1138 modules/core/src/matop.cpp MatExpr operator ^ (const Scalar& s, const Mat& a) Scalar 1148 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '~', a, Scalar()); Scalar 1155 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, 'a', a, Scalar()); Scalar 1216 modules/core/src/matop.cpp if( e.s == Scalar() || !e.s.isReal() ) Scalar 1263 modules/core/src/matop.cpp void MatOp_AddEx::add(const MatExpr& e, const Scalar& s, MatExpr& res) const Scalar 1270 modules/core/src/matop.cpp void MatOp_AddEx::subtract(const Scalar& s, const MatExpr& e, MatExpr& res) const Scalar 1313 modules/core/src/matop.cpp inline void MatOp_AddEx::makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s) Scalar 1387 modules/core/src/matop.cpp inline void MatOp_Bin::makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s) Scalar 1570 modules/core/src/matop.cpp setIdentity(m, Scalar(e.alpha)); Scalar 1572 modules/core/src/matop.cpp m = Scalar(); Scalar 1574 modules/core/src/matop.cpp m = Scalar(e.alpha); Scalar 788 modules/core/src/matrix.cpp void Mat::resize(size_t nelems, const Scalar& s) Scalar 1015 modules/core/src/matrix.cpp Mat m(len, len, d.type(), Scalar(0)); Scalar 1036 modules/core/src/matrix.cpp void scalarToRawData(const Scalar& s, void* _buf, int type, int unroll_to) Scalar 2664 modules/core/src/matrix.cpp ((cuda::GpuMat*)obj)->setTo(Scalar(Vec<double, 4>(value.ptr<double>())), mask); Scalar 2810 modules/core/src/matrix.cpp static bool ocl_setIdentity( InputOutputArray _m, const Scalar& s ) Scalar 2846 modules/core/src/matrix.cpp void cv::setIdentity( InputOutputArray _m, const Scalar& s ) Scalar 2884 modules/core/src/matrix.cpp m = Scalar(0); Scalar 2891 modules/core/src/matrix.cpp cv::Scalar cv::trace( InputArray _m ) Scalar 4821 modules/core/src/matrix.cpp m = Scalar(0); Scalar 4887 modules/core/src/matrix.cpp m = Scalar(beta); Scalar 1485 modules/core/src/opengl.cpp void cv::ogl::render(const ogl::Arrays& arr, int mode, Scalar color) Scalar 1504 modules/core/src/opengl.cpp void cv::ogl::render(const ogl::Arrays& arr, InputArray indices, int mode, Scalar color) Scalar 826 modules/core/src/rand.cpp cv::RNG::NORMAL : cv::RNG::UNIFORM, cv::Scalar(param1), cv::Scalar(param2) ); Scalar 53 modules/core/src/stat.cpp template<typename T> static inline Scalar rawToScalar(const T& v) Scalar 55 modules/core/src/stat.cpp Scalar s; Scalar 1031 modules/core/src/stat.cpp template <typename T> Scalar ocl_part_sum(Mat m) Scalar 1035 modules/core/src/stat.cpp Scalar s = Scalar::all(0); Scalar 1048 modules/core/src/stat.cpp static bool ocl_sum( InputArray _src, Scalar & res, int sum_op, InputArray _mask = noArray(), Scalar 1049 modules/core/src/stat.cpp InputArray _src2 = noArray(), bool calc2 = false, const Scalar & res2 = Scalar() ) Scalar 1125 modules/core/src/stat.cpp typedef Scalar (*part_sum)(Mat m); Scalar 1131 modules/core/src/stat.cpp const_cast<Scalar &>(res2) = func(mres.colRange(ngroups, dbsize)); Scalar 1143 modules/core/src/stat.cpp cv::Scalar cv::sum( InputArray _src ) Scalar 1146 modules/core/src/stat.cpp Scalar _res; Scalar 1190 modules/core/src/stat.cpp Scalar sc; Scalar 1208 modules/core/src/stat.cpp Scalar s; Scalar 1354 modules/core/src/stat.cpp cv::Scalar cv::mean( InputArray _src, InputArray _mask ) Scalar 1384 modules/core/src/stat.cpp return Scalar(res); Scalar 1402 modules/core/src/stat.cpp return Scalar(res1, res2, res3); Scalar 1436 modules/core/src/stat.cpp Scalar sc; Scalar 1456 modules/core/src/stat.cpp Scalar s; Scalar 1509 modules/core/src/stat.cpp Scalar mean, stddev; Scalar 1573 modules/core/src/stat.cpp typedef Scalar (* part_sum)(Mat m); Scalar 2592 modules/core/src/stat.cpp Scalar sc; Scalar 2950 modules/core/src/stat.cpp Scalar sc1, sc2; Scalar 3676 modules/core/src/stat.cpp dist = Scalar::all(dtype == CV_32S ? (double)INT_MAX : (double)FLT_MAX); Scalar 3677 modules/core/src/stat.cpp nidx = Scalar::all(-1); Scalar 3795 modules/core/src/stat.cpp cv::Scalar sum = cv::sum(cv::cvarrToMat(srcarr, false, true, 1)); Scalar 3802 modules/core/src/stat.cpp sum = cv::Scalar(sum[coi-1]); Scalar 3821 modules/core/src/stat.cpp cv::Scalar mean = !maskarr ? cv::mean(img) : cv::mean(img, cv::cvarrToMat(maskarr)); Scalar 3828 modules/core/src/stat.cpp mean = cv::Scalar(mean[coi-1]); Scalar 3838 modules/core/src/stat.cpp cv::Scalar mean, sdv; Scalar 3852 modules/core/src/stat.cpp mean = cv::Scalar(mean[coi-1]); Scalar 3853 modules/core/src/stat.cpp sdv = cv::Scalar(sdv[coi-1]); Scalar 3858 modules/core/src/stat.cpp *(cv::Scalar*)_mean = mean; Scalar 3860 modules/core/src/stat.cpp *(cv::Scalar*)_sdv = sdv; Scalar 538 modules/core/src/umatrix.cpp UMat m(len, len, d.type(), Scalar(0)); Scalar 826 modules/core/src/umatrix.cpp UMat& UMat::operator = (const Scalar& s) Scalar 921 modules/core/src/umatrix.cpp return UMat(rows, cols, type, Scalar::all(0)); Scalar 926 modules/core/src/umatrix.cpp return UMat(size, type, Scalar::all(0)); Scalar 931 modules/core/src/umatrix.cpp return UMat(ndims, sz, type, Scalar::all(0)); Scalar 941 modules/core/src/umatrix.cpp return UMat(size, type, Scalar(1)); Scalar 946 modules/core/src/umatrix.cpp return UMat(ndims, sz, type, Scalar(1)); Scalar 121 modules/core/test/ocl/test_arithm.cpp cv::Scalar val; Scalar 122 modules/core/test/ocl/test_arithm.cpp cv::Scalar val_in_range; Scalar 162 modules/core/test/ocl/test_arithm.cpp val = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), Scalar 167 modules/core/test/ocl/test_arithm.cpp val_in_range = cv::Scalar(rng.uniform(minV, maxV), rng.uniform(minV, maxV), Scalar 220 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Add, Scalar) Scalar 272 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Subtract, Scalar) Scalar 312 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Mul, Scalar) Scalar 375 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Div, Scalar) Scalar 486 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Absdiff, Scalar) Scalar 632 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Bitwise_and, Scalar) Scalar 684 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Bitwise_or, Scalar) Scalar 736 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Bitwise_xor, Scalar) Scalar 801 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(Compare, Scalar) Scalar 963 modules/core/test/ocl/test_arithm.cpp Scalar cpures, gpures; Scalar 982 modules/core/test/ocl/test_arithm.cpp Scalar cpu_mean, cpu_stddev; Scalar 983 modules/core/test/ocl/test_arithm.cpp Scalar gpu_mean, gpu_stddev; Scalar 1002 modules/core/test/ocl/test_arithm.cpp Scalar cpu_mean, cpu_stddev; Scalar 1003 modules/core/test/ocl/test_arithm.cpp Scalar gpu_mean, gpu_stddev; Scalar 1019 modules/core/test/ocl/test_arithm.cpp UMat um(size, CV_32SC1), umask(size, CV_8UC1, Scalar::all(0)); Scalar 1020 modules/core/test/ocl/test_arithm.cpp Mat m(size, CV_32SC1), mask(size, CV_8UC1, Scalar::all(0)); Scalar 1022 modules/core/test/ocl/test_arithm.cpp Scalar cpu_mean, cpu_stddev; Scalar 1023 modules/core/test/ocl/test_arithm.cpp Scalar gpu_mean, gpu_stddev; Scalar 1483 modules/core/test/ocl/test_arithm.cpp cv::Scalar val1, val2; Scalar 1515 modules/core/test/ocl/test_arithm.cpp val1 = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), Scalar 1517 modules/core/test/ocl/test_arithm.cpp val2 = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), Scalar 1545 modules/core/test/ocl/test_arithm.cpp OCL_TEST_P(InRange, Scalar) Scalar 1565 modules/core/test/ocl/test_arithm.cpp cv::Scalar val; Scalar 1589 modules/core/test/ocl/test_arithm.cpp val = cv::Scalar(rng.uniform(-100.0, 100.0), rng.uniform(-100.0, 100.0), Scalar 110 modules/core/test/ocl/test_matrix_operation.cpp Scalar val; Scalar 19 modules/core/test/test_arithm.cpp Scalar _gamma=Scalar::all(0), int _context=1) Scalar 21 modules/core/test/test_arithm.cpp BaseElemWiseOp() { flags = 0; alpha = beta = 0; gamma = Scalar::all(0); ninputs = 0; context = 1; } Scalar 66 modules/core/test/test_arithm.cpp gamma = Scalar::all(gamma[0]); Scalar 91 modules/core/test/test_arithm.cpp Scalar gamma; Scalar 98 modules/core/test/test_arithm.cpp BaseAddOp(int _ninputs, int _flags, double _alpha, double _beta, Scalar _gamma=Scalar::all(0)) Scalar 117 modules/core/test/test_arithm.cpp AddOp() : BaseAddOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, 1, Scalar::all(0)) {} Scalar 130 modules/core/test/test_arithm.cpp SubOp() : BaseAddOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, -1, Scalar::all(0)) {} Scalar 143 modules/core/test/test_arithm.cpp AddSOp() : BaseAddOp(1, FIX_ALPHA+FIX_BETA+SUPPORT_MASK, 1, 0, Scalar::all(0)) {} Scalar 156 modules/core/test/test_arithm.cpp SubRSOp() : BaseAddOp(1, FIX_ALPHA+FIX_BETA+SUPPORT_MASK, -1, 0, Scalar::all(0)) {} Scalar 169 modules/core/test/test_arithm.cpp ScaleAddOp() : BaseAddOp(2, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 183 modules/core/test/test_arithm.cpp AddWeightedOp() : BaseAddOp(2, REAL_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 196 modules/core/test/test_arithm.cpp MulOp() : BaseElemWiseOp(2, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 220 modules/core/test/test_arithm.cpp DivOp() : BaseElemWiseOp(2, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 237 modules/core/test/test_arithm.cpp RecipOp() : BaseElemWiseOp(1, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 254 modules/core/test/test_arithm.cpp AbsDiffOp() : BaseAddOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, -1, Scalar::all(0)) {} Scalar 261 modules/core/test/test_arithm.cpp cvtest::add(src[0], 1, src[1], -1, Scalar::all(0), dst, src[0].type(), true); Scalar 267 modules/core/test/test_arithm.cpp AbsDiffSOp() : BaseAddOp(1, FIX_ALPHA+FIX_BETA, 1, 0, Scalar::all(0)) {} Scalar 280 modules/core/test/test_arithm.cpp LogicOp(char _opcode) : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, 1, Scalar::all(0)), opcode(_opcode) {} Scalar 311 modules/core/test/test_arithm.cpp : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+(_opcode != '~' ? SUPPORT_MASK : 0), 1, 1, Scalar::all(0)), opcode(_opcode) {} Scalar 343 modules/core/test/test_arithm.cpp MinOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 360 modules/core/test/test_arithm.cpp MaxOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 377 modules/core/test/test_arithm.cpp MinSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 394 modules/core/test/test_arithm.cpp MaxSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 411 modules/core/test/test_arithm.cpp CmpOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) { cmpop = 0; } Scalar 439 modules/core/test/test_arithm.cpp CmpSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) { cmpop = 0; } Scalar 469 modules/core/test/test_arithm.cpp CopyOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, 1, Scalar::all(0)) { } Scalar 491 modules/core/test/test_arithm.cpp SetOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA+SUPPORT_MASK, 1, 1, Scalar::all(0)) {} Scalar 600 modules/core/test/test_arithm.cpp static void inRangeS(const Mat& src, const Scalar& lb, const Scalar& rb, Mat& dst) Scalar 652 modules/core/test/test_arithm.cpp InRangeSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA, 1, 1, Scalar::all(0)) {} Scalar 668 modules/core/test/test_arithm.cpp Scalar temp = gamma; Scalar 676 modules/core/test/test_arithm.cpp Scalar gamma1; Scalar 682 modules/core/test/test_arithm.cpp InRangeOp() : BaseElemWiseOp(3, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 708 modules/core/test/test_arithm.cpp ConvertScaleOp() : BaseElemWiseOp(1, FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)), ddepth(0) { } Scalar 734 modules/core/test/test_arithm.cpp gamma = Scalar::all(0); Scalar 743 modules/core/test/test_arithm.cpp ConvertScaleAbsOp() : BaseElemWiseOp(1, FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 750 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, Mat(), 0, Scalar::all(gamma[0]), dst, CV_8UC(src[0].channels()), true); Scalar 763 modules/core/test/test_arithm.cpp gamma = Scalar::all(0); Scalar 791 modules/core/test/test_arithm.cpp static void setIdentity(Mat& dst, const Scalar& s) Scalar 811 modules/core/test/test_arithm.cpp FlipOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) { flipcode = 0; } Scalar 837 modules/core/test/test_arithm.cpp TransposeOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 858 modules/core/test/test_arithm.cpp SetIdentityOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA, 1, 1, Scalar::all(0)) {} Scalar 879 modules/core/test/test_arithm.cpp SetZeroOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 882 modules/core/test/test_arithm.cpp dst = Scalar::all(0); Scalar 886 modules/core/test/test_arithm.cpp cvtest::set(dst, Scalar::all(0)); Scalar 955 modules/core/test/test_arithm.cpp ExpOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 982 modules/core/test/test_arithm.cpp LogOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} Scalar 1064 modules/core/test/test_arithm.cpp CartToPolarToCartOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) Scalar 1108 modules/core/test/test_arithm.cpp MeanOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) Scalar 1115 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::mean(src[0], mask); Scalar 1120 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cvtest::mean(src[0], mask); Scalar 1131 modules/core/test/test_arithm.cpp SumOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) Scalar 1138 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::sum(src[0]); Scalar 1143 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cvtest::mean(src[0])*(double)src[0].total(); Scalar 1154 modules/core/test/test_arithm.cpp CountNonZeroOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SCALAR_OUTPUT+SUPPORT_MASK, 1, 1, Scalar::all(0)) Scalar 1165 modules/core/test/test_arithm.cpp temp.setTo(Scalar::all(0), mask); Scalar 1174 modules/core/test/test_arithm.cpp cvtest::set(temp, Scalar::all(0), mask); Scalar 1187 modules/core/test/test_arithm.cpp Scalar sqmeanRef; Scalar 1190 modules/core/test/test_arithm.cpp MeanStdDevOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) Scalar 1198 modules/core/test/test_arithm.cpp cv::meanStdDev(src[0], dst.at<Scalar>(0,0), dst.at<Scalar>(0,1), mask); Scalar 1205 modules/core/test/test_arithm.cpp Scalar mean = cvtest::mean(src[0], mask); Scalar 1206 modules/core/test/test_arithm.cpp Scalar sqmean = cvtest::mean(temp, mask); Scalar 1215 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = mean; Scalar 1216 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,1) = sqmean; Scalar 1231 modules/core/test/test_arithm.cpp NormOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) Scalar 1278 modules/core/test/test_arithm.cpp MinMaxLocOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) Scalar 1525 modules/core/test/test_arithm.cpp cv::Mat src(1, 1, CV_8UC1, cv::Scalar::all(110)), dst; Scalar 1526 modules/core/test/test_arithm.cpp cv::Scalar s(147.286359696927, 1, 1 ,1); Scalar 1572 modules/core/test/test_arithm.cpp cv::Mat src(size, CV_32FC1, cv::Scalar::all(2)), dst, Scalar 1573 modules/core/test/test_arithm.cpp ref_dst(size, CV_32FC1, cv::Scalar::all(6)); Scalar 1601 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); Scalar 1602 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); Scalar 1626 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); Scalar 1627 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); Scalar 1628 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); Scalar 1652 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); Scalar 1653 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); Scalar 1665 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); Scalar 1671 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, cv::noArray(), dst_depth); Scalar 1676 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, cv::noArray(), dst_depth); Scalar 1689 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); Scalar 1690 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); Scalar 1696 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, mask, dst_depth); Scalar 1701 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, mask, dst_depth); Scalar 1714 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); Scalar 1720 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, cv::noArray(), dst_depth); Scalar 1725 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, cv::noArray(), dst_depth); Scalar 1738 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); Scalar 1739 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); Scalar 1745 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, mask, dst_depth); Scalar 1750 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, mask, dst_depth); Scalar 1765 modules/core/test/test_arithm.cpp cv::Mat src1(3, dims, src_type, cv::Scalar::all(16)); Scalar 1766 modules/core/test/test_arithm.cpp cv::Mat src2(3, dims, src_type, cv::Scalar::all(16)); Scalar 1798 modules/core/test/test_arithm.cpp Mat img(10, 10, CV_8U, Scalar::all(0)); Scalar 140 modules/core/test/test_countnonzero.cpp rng.fill(src, RNG::NORMAL, Scalar::all(mean), Scalar::all(sigma)); Scalar 142 modules/core/test/test_countnonzero.cpp rng.fill(src, RNG::UNIFORM, Scalar::all(left), Scalar::all(right)); Scalar 544 modules/core/test/test_ds.cpp cvtest::randUni( rng, m, Scalar::all(0), Scalar::all(256) ); Scalar 714 modules/core/test/test_dxt.cpp *tmp_src = Scalar::all(0); Scalar 851 modules/core/test/test_dxt.cpp randu(src8u, Scalar::all(0), Scalar::all(10)); Scalar 853 modules/core/test/test_dxt.cpp dst = Scalar::all(123); Scalar 148 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_32FC1, Scalar::all((float)value)); Scalar 158 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_64FC1, Scalar::all((double)value)); Scalar 118 modules/core/test/test_io.cpp rng0.fill(test_mat, CV_RAND_UNI, Scalar::all(ranges[depth][0]), Scalar::all(ranges[depth][1])); Scalar 123 modules/core/test/test_io.cpp rng0.fill(test_mat_scale, CV_RAND_UNI, Scalar::all(-1), Scalar::all(1)); Scalar 154 modules/core/test/test_io.cpp rng0.fill(test_mat_nd, CV_RAND_UNI, Scalar::all(ranges[depth][0]), Scalar::all(ranges[depth][1])); Scalar 159 modules/core/test/test_io.cpp rng0.fill(test_mat_scale, CV_RAND_UNI, Scalar::all(-1), Scalar::all(1)); Scalar 452 modules/core/test/test_io.cpp Scalar sc1(20.0, 21.1, 22.2, 23.3), osc1; Scalar 37 modules/core/test/test_mat.cpp sum.setTo(Scalar(0)); Scalar 38 modules/core/test/test_mat.cpp max.setTo(Scalar(-DBL_MAX)); Scalar 39 modules/core/test/test_mat.cpp min.setTo(Scalar(DBL_MAX)); Scalar 171 modules/core/test/test_mat.cpp randu( src, Scalar(0), Scalar(100) ); Scalar 306 modules/core/test/test_mat.cpp rng.fill( rPoints, RNG::UNIFORM, Scalar::all(0.0), Scalar::all(1.0) ); Scalar 307 modules/core/test/test_mat.cpp rng.fill( rTestPoints, RNG::UNIFORM, Scalar::all(0.0), Scalar::all(1.0) ); Scalar 672 modules/core/test/test_mat.cpp rng.fill(A, CV_RAND_UNI, Scalar::all(-10), Scalar::all(10)); Scalar 673 modules/core/test/test_mat.cpp rng.fill(B, CV_RAND_UNI, Scalar::all(-10), Scalar::all(10)); Scalar 677 modules/core/test/test_mat.cpp Scalar val1(-1000, 30, 3, 8); Scalar 689 modules/core/test/test_mat.cpp Scalar(B.at<Vec4s>(idx0[0], idx0[1], idx0[2])) != val1 || Scalar 690 modules/core/test/test_mat.cpp Scalar(B.at<Vec4s>(idx1[0], idx1[1], idx1[2])) != -val1 || Scalar 691 modules/core/test/test_mat.cpp Scalar(cvGet3D(matC, idx0[0], idx0[1], idx0[2])) != val1 || Scalar 692 modules/core/test/test_mat.cpp Scalar(cvGetND(matC, idx1)) != -val1 ) Scalar 767 modules/core/test/test_mat.cpp rng.fill(_all_vals, CV_RAND_UNI, Scalar(-1000), Scalar(1000)); Scalar 82 modules/core/test/test_math.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 137 modules/core/test/test_math.cpp void Core_PowTest::get_minmax_bounds( int /*i*/, int /*j*/, int type, Scalar& low, Scalar& high ) Scalar 148 modules/core/test/test_math.cpp low = Scalar::all(l); Scalar 149 modules/core/test/test_math.cpp high = Scalar::all(u); Scalar 451 modules/core/test/test_math.cpp test_mat[OUTPUT][0].at<Scalar>(0,0) = cvTrace(test_array[INPUT][0]); Scalar 460 modules/core/test/test_math.cpp Scalar r = cvtest::mean(diag); Scalar 463 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = r; Scalar 486 modules/core/test/test_math.cpp test_mat[OUTPUT][0].at<Scalar>(0,0) = Scalar(cvDotProduct( test_array[INPUT][0], test_array[INPUT][1] )); Scalar 492 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = Scalar(cvtest::crossCorr( test_mat[INPUT][0], test_mat[INPUT][1] )); Scalar 606 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 686 modules/core/test/test_math.cpp void Core_GEMMTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 688 modules/core/test/test_math.cpp low = Scalar::all(-10.); Scalar 689 modules/core/test/test_math.cpp high = Scalar::all(10.); Scalar 716 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 767 modules/core/test/test_math.cpp void Core_MulTransposedTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 793 modules/core/test/test_math.cpp cvtest::add( src, 1, delta, -1, Scalar::all(0), temp, temp.type()); Scalar 873 modules/core/test/test_math.cpp cvtest::add(m, scale, m, 0, Scalar::all(0), m, m.type() ); Scalar 878 modules/core/test/test_math.cpp m.setTo(Scalar::all(0), mask); Scalar 1120 modules/core/test/test_math.cpp test_mat[OUTPUT][0].at<Scalar>(0,0) = Scalar 1127 modules/core/test/test_math.cpp Scalar::all(0), test_mat[TEMP][0], test_mat[TEMP][0].type() ); Scalar 1135 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = cvRealScalar(sqrt(cvtest::crossCorr(test_mat[TEMP][0], test_mat[TEMP][1]))); Scalar 1276 modules/core/test/test_math.cpp avg = Scalar::all(0); Scalar 1288 modules/core/test/test_math.cpp cvtest::add(avg, 1, vec, 1, Scalar::all(0), avg, avg.type()); Scalar 1291 modules/core/test/test_math.cpp cvtest::add(avg, 1./count, avg, 0., Scalar::all(0), avg, avg.type()); Scalar 1301 modules/core/test/test_math.cpp cvtest::add( test_mat[INPUT][0], 1, temp0, -1, Scalar::all(0), temp0, temp0.type()); Scalar 1338 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 1363 modules/core/test/test_math.cpp void Core_DetTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 1388 modules/core/test/test_math.cpp test_mat[OUTPUT][0].at<Scalar>(0,0) = cvRealScalar(cvDet(test_array[INPUT][0])); Scalar 1483 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = cvRealScalar(cvTsLU(&temp0, 0, 0)); Scalar 1496 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 1573 modules/core/test/test_math.cpp void Core_InvertTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 1629 modules/core/test/test_math.cpp dst = Scalar::all(0); Scalar 1630 modules/core/test/test_math.cpp dst0 = Scalar::all(0); Scalar 1639 modules/core/test/test_math.cpp cv::setIdentity( dst0, Scalar::all(1) ); Scalar 1652 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 1724 modules/core/test/test_math.cpp void Core_SolveTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 1755 modules/core/test/test_math.cpp dst = Scalar::all(0); Scalar 1758 modules/core/test/test_math.cpp dst0 = Scalar::all(det != 0); Scalar 1767 modules/core/test/test_math.cpp dst = Scalar::all(0); Scalar 1768 modules/core/test/test_math.cpp dst0 = Scalar::all(0); Scalar 1778 modules/core/test/test_math.cpp dst0 = Scalar::all(0); Scalar 1792 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 1910 modules/core/test/test_math.cpp void Core_SVDTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 1946 modules/core/test/test_math.cpp cv::setIdentity( test_mat[REF_OUTPUT][1], Scalar::all(1.) ); Scalar 1954 modules/core/test/test_math.cpp cv::setIdentity( test_mat[REF_OUTPUT][2], Scalar::all(1.) ); Scalar 1976 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][3] = Scalar::all(1); Scalar 1982 modules/core/test/test_math.cpp test_mat[TEMP][3] = Scalar::all(0); Scalar 2022 modules/core/test/test_math.cpp void get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ); Scalar 2125 modules/core/test/test_math.cpp void Core_SVBkSbTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Scalar& low, Scalar& high ) Scalar 2158 modules/core/test/test_math.cpp wdb = Scalar::all(0); Scalar 2369 modules/core/test/test_math.cpp x.row(0).setTo(Scalar(0)); Scalar 2370 modules/core/test/test_math.cpp y.row(0).setTo(Scalar(0)); Scalar 2371 modules/core/test/test_math.cpp anglesInDegrees.row(0).setTo(Scalar(0)); Scalar 2373 modules/core/test/test_math.cpp x.row(1).setTo(Scalar(scale)); Scalar 2374 modules/core/test/test_math.cpp y.row(1).setTo(Scalar(0)); Scalar 2375 modules/core/test/test_math.cpp anglesInDegrees.row(1).setTo(Scalar(0)); Scalar 2377 modules/core/test/test_math.cpp x.row(2).setTo(Scalar(scale)); Scalar 2378 modules/core/test/test_math.cpp y.row(2).setTo(Scalar(scale)); Scalar 2379 modules/core/test/test_math.cpp anglesInDegrees.row(2).setTo(Scalar(45)); Scalar 2381 modules/core/test/test_math.cpp x.row(3).setTo(Scalar(0)); Scalar 2382 modules/core/test/test_math.cpp y.row(3).setTo(Scalar(scale)); Scalar 2383 modules/core/test/test_math.cpp anglesInDegrees.row(3).setTo(Scalar(90)); Scalar 2385 modules/core/test/test_math.cpp x.row(4).setTo(Scalar(-scale)); Scalar 2386 modules/core/test/test_math.cpp y.row(4).setTo(Scalar(scale)); Scalar 2387 modules/core/test/test_math.cpp anglesInDegrees.row(4).setTo(Scalar(135)); Scalar 2389 modules/core/test/test_math.cpp x.row(5).setTo(Scalar(-scale)); Scalar 2390 modules/core/test/test_math.cpp y.row(5).setTo(Scalar(0)); Scalar 2391 modules/core/test/test_math.cpp anglesInDegrees.row(5).setTo(Scalar(180)); Scalar 2393 modules/core/test/test_math.cpp x.row(6).setTo(Scalar(-scale)); Scalar 2394 modules/core/test/test_math.cpp y.row(6).setTo(Scalar(-scale)); Scalar 2395 modules/core/test/test_math.cpp anglesInDegrees.row(6).setTo(Scalar(225)); Scalar 2397 modules/core/test/test_math.cpp x.row(7).setTo(Scalar(0)); Scalar 2398 modules/core/test/test_math.cpp y.row(7).setTo(Scalar(-scale)); Scalar 2399 modules/core/test/test_math.cpp anglesInDegrees.row(7).setTo(Scalar(270)); Scalar 2401 modules/core/test/test_math.cpp x.row(8).setTo(Scalar(scale)); Scalar 2402 modules/core/test/test_math.cpp y.row(8).setTo(Scalar(-scale)); Scalar 2403 modules/core/test/test_math.cpp anglesInDegrees.row(8).setTo(Scalar(315)); Scalar 2473 modules/core/test/test_math.cpp cv::Mat m(3, 3, CV_32SC1, cv::Scalar(INT_MAX)); Scalar 2721 modules/core/test/test_math.cpp Mat hist(K, 1, CV_32S, Scalar(0)); Scalar 2765 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); Scalar 2779 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); Scalar 2784 modules/core/test/test_math.cpp cv::Scalar sDiff = cv::sum(meanDiff); Scalar 2795 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); Scalar 2814 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); Scalar 2819 modules/core/test/test_math.cpp cv::Scalar sDiff = cv::sum(meanDiff); Scalar 132 modules/core/test/test_operations.cpp Mat one_3x1(3, 1, CV_32F, Scalar(1.0)); Scalar 133 modules/core/test/test_operations.cpp Mat shi_3x1(3, 1, CV_32F, Scalar(1.2)); Scalar 134 modules/core/test/test_operations.cpp Mat shi_2x1(2, 1, CV_32F, Scalar(-1)); Scalar 135 modules/core/test/test_operations.cpp Scalar shift = Scalar::all(15); Scalar 153 modules/core/test/test_operations.cpp randu(mat4x4, Scalar(0), Scalar(10)); Scalar 161 modules/core/test/test_operations.cpp Mat intMat10(3, 3, CV_32S, Scalar(10)); Scalar 162 modules/core/test/test_operations.cpp Mat intMat11(3, 3, CV_32S, Scalar(11)); Scalar 163 modules/core/test/test_operations.cpp Mat resMat(3, 3, CV_8U, Scalar(255)); Scalar 183 modules/core/test/test_operations.cpp Mat maskMat4(3, 3, CV_16S, Scalar(4)); Scalar 184 modules/core/test/test_operations.cpp Mat maskMat1(3, 3, CV_16S, Scalar(1)); Scalar 185 modules/core/test/test_operations.cpp Mat maskMat5(3, 3, CV_16S, Scalar(5)); Scalar 186 modules/core/test/test_operations.cpp Mat maskMat0(3, 3, CV_16S, Scalar(0)); Scalar 189 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(1) & maskMat4); Scalar 190 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, maskMat4 & Scalar(1)); Scalar 197 modules/core/test/test_operations.cpp m = maskMat4.clone(); m &= Scalar(1); CHECK_DIFF(maskMat0, m); Scalar 203 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= Scalar(1); CHECK_DIFF(maskMat5, m); Scalar 204 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= Scalar(1); CHECK_DIFF(maskMat4, m); Scalar 211 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, (maskMat1 | maskMat1) & Scalar(4)); Scalar 212 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(4) & (maskMat1 | maskMat1)); Scalar 217 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(5) ^ (maskMat4 | Scalar(1))); Scalar 218 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat1, Scalar(5) ^ maskMat4); Scalar 219 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(5) ^ (maskMat4 + maskMat1)); Scalar 220 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, Scalar(5) | (maskMat4 + maskMat1)); Scalar 221 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, (maskMat4 + maskMat1) ^ Scalar(5)); Scalar 225 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, maskMat5 | (maskMat4 ^ Scalar(1))); Scalar 226 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, (maskMat4 | maskMat4) | Scalar(1)); Scalar 227 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, Scalar(1) | (maskMat4 | maskMat4)); Scalar 228 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, Scalar(1) | maskMat4); Scalar 441 modules/core/test/test_operations.cpp Mat rgba( 10, 10, CV_8UC4, Scalar(1,2,3,4) ); Scalar 450 modules/core/test/test_operations.cpp Mat bgr_exp( rgba.size(), CV_8UC3, Scalar(3,2,1)); Scalar 451 modules/core/test/test_operations.cpp Mat alpha_exp( rgba.size(), CV_8UC1, Scalar(4)); Scalar 509 modules/core/test/test_operations.cpp Scalar shift = Scalar::all(15); Scalar 530 modules/core/test/test_operations.cpp randu(mat4x4, Scalar(0), Scalar(10)); Scalar 560 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(1) & maskMat4); Scalar 561 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, maskMat4 & Scalar(1)); Scalar 565 modules/core/test/test_operations.cpp m = maskMat4.clone(); m&=Scalar(1); CHECK_DIFF(maskMat0, m); Scalar 575 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat0, Scalar(5) ^ (maskMat4 | Scalar(1))); Scalar 578 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, maskMat5 | (maskMat4 ^ Scalar(1))); Scalar 584 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat1 + Scalar(4), maskMat5); Scalar 585 modules/core/test/test_operations.cpp CHECK_DIFF(Scalar(4) + maskMat1, maskMat5); Scalar 586 modules/core/test/test_operations.cpp CHECK_DIFF(Scalar(4) + (maskMat1 & maskMat1), maskMat5); Scalar 592 modules/core/test/test_operations.cpp m = maskMat4.clone(); m+=Scalar(1); CHECK_DIFF(m, maskMat5); Scalar 597 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5 - Scalar(1), maskMat4); Scalar 598 modules/core/test/test_operations.cpp CHECK_DIFF((maskMat5 | maskMat5) - Scalar(1), maskMat4); Scalar 606 modules/core/test/test_operations.cpp m = maskMat5.clone(); m-=Scalar(1); CHECK_DIFF(m, maskMat4); Scalar 610 modules/core/test/test_operations.cpp m = maskMat4.clone(); m |= Scalar(1); CHECK_DIFF(maskMat5, m); Scalar 611 modules/core/test/test_operations.cpp m = maskMat5.clone(); m ^= Scalar(1); CHECK_DIFF(maskMat4, m); Scalar 873 modules/core/test/test_operations.cpp Scalar s(4, 3, 2, 1); Scalar 874 modules/core/test/test_operations.cpp Scalar sf = mat44f*s; Scalar 875 modules/core/test/test_operations.cpp Scalar sd = mat44d*s; Scalar 111 modules/core/test/test_rand.cpp Scalar A, B; Scalar 194 modules/core/test/test_rand.cpp hist[c] = Scalar::all(0); Scalar 316 modules/core/test/test_rand.cpp Mat a(Size(1280, 720), CV_8U, Scalar(20)); Scalar 317 modules/core/test/test_rand.cpp Mat af(Size(1280, 720), CV_32F, Scalar(20)); Scalar 594 modules/core/test/test_umat.cpp randu(a, Scalar::all(-100), Scalar::all(100)); Scalar 607 modules/core/test/test_umat.cpp ra += Scalar::all(1.f); Scalar 610 modules/core/test/test_umat.cpp temp += Scalar::all(1.f); Scalar 618 modules/core/test/test_umat.cpp randu(b, Scalar::all(-100), Scalar::all(100)); Scalar 674 modules/core/test/test_umat.cpp cv::subtract(ra, Scalar::all(5), rc); Scalar 675 modules/core/test/test_umat.cpp cv::subtract(ura, Scalar::all(5), urc); Scalar 746 modules/core/test/test_umat.cpp m.setTo(cv::Scalar::all(17)); Scalar 749 modules/core/test/test_umat.cpp um.setTo(cv::Scalar::all(19)); Scalar 758 modules/core/test/test_umat.cpp m.setTo(Scalar::all(0)); Scalar 763 modules/core/test/test_umat.cpp temp.setTo(Scalar::all(10)); Scalar 767 modules/core/test/test_umat.cpp um.setTo(Scalar::all(17)); Scalar 815 modules/core/test/test_umat.cpp UMat m(1, 10000, CV_32FC2, Scalar::all(-1)); Scalar 816 modules/core/test/test_umat.cpp Mat t(1, 9000, CV_32FC2, Scalar::all(-200)), t2(1, 9000, CV_32FC2, Scalar::all(-1)); Scalar 871 modules/core/test/test_umat.cpp add(u, Scalar::all(0), dst); // start async operation Scalar 937 modules/core/test/test_umat.cpp add(u, Scalar::all(1), dst); Scalar 954 modules/core/test/test_umat.cpp add(u, Scalar::all(1), u); Scalar 971 modules/core/test/test_umat.cpp add(u, Scalar::all(1), dst); Scalar 987 modules/core/test/test_umat.cpp add(u, Scalar::all(1), u); Scalar 515 modules/cudaarithm/include/opencv2/cudaarithm.hpp Scalar value = Scalar(), Stream& stream = Stream::Null()); Scalar 553 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar sum(InputArray src, InputArray mask = noArray()); Scalar 562 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar absSum(InputArray src, InputArray mask = noArray()); Scalar 571 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar sqrSum(InputArray src, InputArray mask = noArray()); Scalar 657 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void meanStdDev(InputArray mtx, Scalar& mean, Scalar& stddev); Scalar 100 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 171 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 242 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 313 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 348 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 419 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 686 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 793 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 869 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 945 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; Scalar 1085 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar val; Scalar 1156 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar val; Scalar 148 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; Scalar 156 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_dst; Scalar 184 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; Scalar 216 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_dst; Scalar 440 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_mean; Scalar 441 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar gpu_stddev; Scalar 450 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_mean; Scalar 451 modules/cudaarithm/perf/perf_reductions.cpp cv::Scalar cpu_stddev; Scalar 209 modules/cudaarithm/src/arithm.cpp dst.setTo(Scalar::all(0), stream); Scalar 392 modules/cudaarithm/src/arithm.cpp cuda::multiply(_dst, Scalar::all(1. / dft_size.area()), _dst, 1, -1, stream); Scalar 494 modules/cudaarithm/src/arithm.cpp templ_block.cols - templ_roi.cols, 0, Scalar(), _stream); Scalar 508 modules/cudaarithm/src/arithm.cpp 0, image_block.cols - image_roi.cols, 0, Scalar(), _stream); Scalar 62 modules/cudaarithm/src/core.cpp void cv::cuda::copyMakeBorder(InputArray, OutputArray, int, int, int, int, int, Scalar, Stream&) { throw_no_cuda(); } Scalar 96 modules/cudaarithm/src/element_operations.cpp typedef void (*mat_scalar_func_t)(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int op); Scalar 122 modules/cudaarithm/src/element_operations.cpp Scalar val; Scalar 168 modules/cudaarithm/src/element_operations.cpp void addScalar(const GpuMat& src, Scalar val, bool, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int); Scalar 180 modules/cudaarithm/src/element_operations.cpp void subScalar(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int); Scalar 194 modules/cudaarithm/src/element_operations.cpp void mulScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); Scalar 237 modules/cudaarithm/src/element_operations.cpp void divScalar(const GpuMat& src, cv::Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); Scalar 278 modules/cudaarithm/src/element_operations.cpp void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int); Scalar 290 modules/cudaarithm/src/element_operations.cpp void cmpScalar(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat&, double, Stream& stream, int cmpop); Scalar 312 modules/cudaarithm/src/element_operations.cpp void bitScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op); Scalar 447 modules/cudaarithm/src/element_operations.cpp void minMaxScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int op); Scalar 55 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::sum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } Scalar 57 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::absSum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } Scalar 59 modules/cudaarithm/src/reductions.cpp Scalar cv::cuda::sqrSum(InputArray, InputArray) { throw_no_cuda(); return Scalar(); } Scalar 72 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray, Scalar&, Scalar&) { throw_no_cuda(); } Scalar 167 modules/cudaarithm/src/reductions.cpp void cv::cuda::meanStdDev(InputArray _src, Scalar& mean, Scalar& stddev) Scalar 179 modules/cudaarithm/src/reductions.cpp mean = Scalar(vals[0]); Scalar 180 modules/cudaarithm/src/reductions.cpp stddev = Scalar(vals[1]); Scalar 330 modules/cudaarithm/test/test_arithm.cpp cv::Mat tempA(dftSize, A.type(), cv::Scalar::all(0)); Scalar 331 modules/cudaarithm/test/test_arithm.cpp cv::Mat tempB(dftSize, B.type(), cv::Scalar::all(0)); Scalar 65 modules/cudaarithm/test/test_buffer_pool.cpp buf0.setTo(Scalar::all(0), stream); Scalar 79 modules/cudaarithm/test/test_buffer_pool.cpp buf2.setTo(Scalar::all(2), stream); Scalar 87 modules/cudaarithm/test/test_buffer_pool.cpp EXPECT_MAT_NEAR(Mat(Size(640, 480), CV_8UC1, Scalar::all(1)), dst_1, 0.0); Scalar 88 modules/cudaarithm/test/test_buffer_pool.cpp EXPECT_MAT_NEAR(Mat(Size(1280, 1024), CV_32SC1, Scalar::all(2)), dst_2, 0.0); Scalar 77 modules/cudaarithm/test/test_core.cpp src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); Scalar 392 modules/cudaarithm/test/test_core.cpp cv::Scalar val = randomScalar(0, 255); Scalar 98 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 101 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); Scalar 160 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 163 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); Scalar 200 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 217 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 220 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 230 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 248 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 251 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 288 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 305 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 308 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 318 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 336 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 339 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 401 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); Scalar 463 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 466 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); Scalar 503 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 520 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 523 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 533 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 551 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 554 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 591 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 608 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 611 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 621 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 639 modules/cudaarithm/test/test_element_operations.cpp dst.setTo(cv::Scalar::all(0)); Scalar 642 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); Scalar 872 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 902 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 959 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 989 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0, 255); Scalar 1239 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(1.0, 255.0); Scalar 1268 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(1.0, 255.0); Scalar 1407 modules/cudaarithm/test/test_element_operations.cpp CUDA_TEST_P(AbsDiff, Scalar) Scalar 1410 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 1439 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 1900 modules/cudaarithm/test/test_element_operations.cpp void compareScalarImpl(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst) Scalar 1922 modules/cudaarithm/test/test_element_operations.cpp void compareScalarGold(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst, int cmpop) Scalar 1924 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst); Scalar 1963 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar sc = randomScalar(0.0, 255.0); Scalar 2086 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar val; Scalar 2347 modules/cudaarithm/test/test_element_operations.cpp CUDA_TEST_P(Min, Scalar) Scalar 2430 modules/cudaarithm/test/test_element_operations.cpp CUDA_TEST_P(Max, Scalar) Scalar 75 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar zero = cv::Scalar::all(0); Scalar 85 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = cv::Scalar::all(randomDouble(0.0, 255.0)); Scalar 110 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 135 modules/cudaarithm/test/test_gpumat.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 182 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumImpl(const cv::Mat& src) Scalar 186 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sum = cv::Scalar::all(0); Scalar 200 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumGold(const cv::Mat& src) Scalar 219 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumImpl(const cv::Mat& src) Scalar 223 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sum = cv::Scalar::all(0); Scalar 240 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumGold(const cv::Mat& src) Scalar 283 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sum(loadMat(src, useRoi)); Scalar 285 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); Scalar 299 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; Scalar 303 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); Scalar 310 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::absSum(loadMat(src, useRoi)); Scalar 312 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); Scalar 326 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; Scalar 330 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); Scalar 337 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sqrSum(loadMat(src, useRoi)); Scalar 339 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); Scalar 353 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val; Scalar 357 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); Scalar 953 modules/cudaarithm/test/test_reductions.cpp dst.setTo(cv::Scalar::all(0)); Scalar 957 modules/cudaarithm/test/test_reductions.cpp dst_gold.setTo(cv::Scalar::all(0)); Scalar 997 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean; Scalar 998 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev; Scalar 1008 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean; Scalar 1009 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev; Scalar 1012 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean_gold; Scalar 1013 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev_gold; Scalar 1035 modules/cudaarithm/test/test_reductions.cpp cv::Scalar mean_gold; Scalar 1036 modules/cudaarithm/test/test_reductions.cpp cv::Scalar stddev_gold; Scalar 1039 modules/cudaarithm/test/test_reductions.cpp EXPECT_SCALAR_NEAR(mean_gold, cv::Scalar(vals[0]), 1e-5); Scalar 1040 modules/cudaarithm/test/test_reductions.cpp EXPECT_SCALAR_NEAR(stddev_gold, cv::Scalar(vals[1]), 1e-5); Scalar 94 modules/cudaarithm/test/test_stream.cpp d_dst.setTo(cv::Scalar::all(0), stream); Scalar 195 modules/cudabgsegm/src/mog.cpp weight_.setTo(cv::Scalar::all(0)); Scalar 196 modules/cudabgsegm/src/mog.cpp sortKey_.setTo(cv::Scalar::all(0)); Scalar 197 modules/cudabgsegm/src/mog.cpp mean_.setTo(cv::Scalar::all(0)); Scalar 198 modules/cudabgsegm/src/mog.cpp var_.setTo(cv::Scalar::all(0)); Scalar 194 modules/cudabgsegm/src/mog2.cpp fgmask.setTo(Scalar::all(0), stream); Scalar 242 modules/cudabgsegm/src/mog2.cpp bgmodelUsedModes_.setTo(Scalar::all(0)); Scalar 650 modules/cudafeatures2d/src/brute_force_matcher.cpp trainIdx.setTo(Scalar::all(-1), stream); Scalar 721 modules/cudafeatures2d/src/brute_force_matcher.cpp trainIdx.setTo(Scalar::all(-1), stream); Scalar 907 modules/cudafeatures2d/src/brute_force_matcher.cpp nMatches.setTo(Scalar::all(0), stream); Scalar 974 modules/cudafeatures2d/src/brute_force_matcher.cpp nMatches.setTo(Scalar::all(0), stream); Scalar 131 modules/cudafeatures2d/src/fast.cpp score.setTo(Scalar::all(0), stream); Scalar 162 modules/cudafeatures2d/src/fast.cpp keypoints.row(1).setTo(Scalar::all(0), stream); Scalar 436 modules/cudafeatures2d/src/orb.cpp pattern.setTo(Scalar::all(0)); Scalar 618 modules/cudafeatures2d/src/orb.cpp maskPyr_[level].setTo(Scalar::all(255)); Scalar 651 modules/cudafeatures2d/src/orb.cpp buf_.setTo(Scalar::all(0)); Scalar 653 modules/cudafeatures2d/src/orb.cpp buf_(inner).setTo(Scalar::all(255)); Scalar 799 modules/cudafeatures2d/src/orb.cpp keyPointsRange.row(4).setTo(Scalar::all(level)); Scalar 800 modules/cudafeatures2d/src/orb.cpp keyPointsRange.row(5).setTo(Scalar::all(patchSize_ * sf)); Scalar 162 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat mask(image.size(), CV_8UC1, cv::Scalar::all(1)); Scalar 163 modules/cudafeatures2d/test/test_features2d.cpp mask(cv::Range(0, image.rows / 2), cv::Range(0, image.cols / 2)).setTo(cv::Scalar::all(0)); Scalar 257 modules/cudafeatures2d/test/test_features2d.cpp rng.fill(queryBuf, cv::RNG::UNIFORM, cv::Scalar::all(0), cv::Scalar::all(3)); Scalar 295 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); Scalar 329 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows/2, CV_8UC1, cv::Scalar::all(1)); Scalar 331 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); Scalar 380 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); Scalar 420 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); Scalar 466 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); Scalar 468 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); Scalar 529 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); Scalar 531 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); Scalar 600 modules/cudafeatures2d/test/test_features2d.cpp mask.setTo(cv::Scalar::all(1)); Scalar 643 modules/cudafeatures2d/test/test_features2d.cpp masks[mi] = cv::cuda::GpuMat(query.rows, train.rows / 2, CV_8UC1, cv::Scalar::all(1)); Scalar 645 modules/cudafeatures2d/test/test_features2d.cpp masks[mi].col(di * countFactor).setTo(cv::Scalar::all(0)); Scalar 103 modules/cudafilters/include/opencv2/cudafilters.hpp int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 121 modules/cudafilters/include/opencv2/cudafilters.hpp int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 140 modules/cudafilters/include/opencv2/cudafilters.hpp int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 276 modules/cudafilters/include/opencv2/cudafilters.hpp int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 288 modules/cudafilters/include/opencv2/cudafilters.hpp int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 302 modules/cudafilters/include/opencv2/cudafilters.hpp CV_EXPORTS Ptr<Filter> createRowSumFilter(int srcType, int dstType, int ksize, int anchor = -1, int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 313 modules/cudafilters/include/opencv2/cudafilters.hpp CV_EXPORTS Ptr<Filter> createColumnSumFilter(int srcType, int dstType, int ksize, int anchor = -1, int borderMode = BORDER_DEFAULT, Scalar borderVal = Scalar::all(0)); Scalar 50 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxFilter(int, int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 52 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLinearFilter(int, int, InputArray, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 54 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLaplacianFilter(int, int, int, double, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 66 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMaxFilter(int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 67 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMinFilter(int, Size, Point, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 69 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createRowSumFilter(int, int, int, int, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 70 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createColumnSumFilter(int, int, int, int, int, Scalar) { throw_no_cuda(); return Ptr<Filter>(); } Scalar 99 modules/cudafilters/src/filtering.cpp NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal); Scalar 112 modules/cudafilters/src/filtering.cpp Scalar borderVal_; Scalar 116 modules/cudafilters/src/filtering.cpp NPPBoxFilter::NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal) : Scalar 165 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal) Scalar 191 modules/cudafilters/src/filtering.cpp LinearFilter(int srcType, int dstType, InputArray kernel, Point anchor, int borderMode, Scalar borderVal); Scalar 208 modules/cudafilters/src/filtering.cpp LinearFilter::LinearFilter(int srcType, int dstType, InputArray _kernel, Point anchor, int borderMode, Scalar borderVal) : Scalar 273 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor, int borderMode, Scalar borderVal) Scalar 286 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createLaplacianFilter(int srcType, int dstType, int ksize, double scale, int borderMode, Scalar borderVal) Scalar 572 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize.height, ksize.height, ksize.width, ksize.width, BORDER_DEFAULT, Scalar(), _stream); Scalar 580 modules/cudafilters/src/filtering.cpp buf_.setTo(Scalar::all(0), _stream); Scalar 794 modules/cudafilters/src/filtering.cpp NPPRankFilter(int op, int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal); Scalar 806 modules/cudafilters/src/filtering.cpp Scalar borderVal_; Scalar 812 modules/cudafilters/src/filtering.cpp NPPRankFilter::NPPRankFilter(int op, int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal) : Scalar 863 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMaxFilter(int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal) Scalar 868 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createBoxMinFilter(int srcType, Size ksize, Point anchor, int borderMode, Scalar borderVal) Scalar 881 modules/cudafilters/src/filtering.cpp NppRowSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal); Scalar 890 modules/cudafilters/src/filtering.cpp Scalar borderVal_; Scalar 895 modules/cudafilters/src/filtering.cpp NppRowSumFilter::NppRowSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) : Scalar 932 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createRowSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) Scalar 942 modules/cudafilters/src/filtering.cpp NppColumnSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal); Scalar 951 modules/cudafilters/src/filtering.cpp Scalar borderVal_; Scalar 956 modules/cudafilters/src/filtering.cpp NppColumnSumFilter::NppColumnSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) : Scalar 993 modules/cudafilters/src/filtering.cpp Ptr<Filter> cv::cuda::createColumnSumFilter(int srcType, int dstType, int ksize, int anchor, int borderMode, Scalar borderVal) Scalar 67 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights1(size, CV_32FC1, cv::Scalar::all(0.5)); Scalar 68 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights2(size, CV_32FC1, cv::Scalar::all(0.5)); Scalar 94 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); Scalar 95 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 100), cv::Point(src.cols, 100), cv::Scalar::all(255), 1); Scalar 96 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 200), cv::Point(src.cols, 200), cv::Scalar::all(255), 1); Scalar 97 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 400), cv::Point(src.cols, 400), cv::Scalar::all(255), 1); Scalar 98 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(100, 0), cv::Point(100, src.rows), cv::Scalar::all(255), 1); Scalar 99 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(200, 0), cv::Point(200, src.rows), cv::Scalar::all(255), 1); Scalar 100 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(400, 0), cv::Point(400, src.rows), cv::Scalar::all(255), 1); Scalar 197 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); Scalar 198 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(100, 100), 20, cv::Scalar::all(255), -1); Scalar 199 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 200), 25, cv::Scalar::all(255), -1); Scalar 200 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 100), 25, cv::Scalar::all(255), -1); Scalar 239 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat image(imageSize, CV_8UC1, cv::Scalar::all(0)); Scalar 287 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat image(imageSize, CV_8UC1, cv::Scalar::all(0)); Scalar 220 modules/cudaimgproc/src/canny.cpp map_.setTo(Scalar::all(0)); Scalar 2139 modules/cudaimgproc/src/color.cpp dst.setTo(Scalar::all(0), stream); Scalar 2167 modules/cudaimgproc/src/color.cpp dst.setTo(Scalar::all(0), stream); Scalar 505 modules/cudaimgproc/src/generalized_hough.cpp r_sizes_.setTo(Scalar::all(0)); Scalar 533 modules/cudaimgproc/src/generalized_hough.cpp hist_.setTo(Scalar::all(0)); Scalar 815 modules/cudaimgproc/src/generalized_hough.cpp sizes.setTo(Scalar::all(0)); Scalar 846 modules/cudaimgproc/src/generalized_hough.cpp hist_.setTo(Scalar::all(0)); Scalar 870 modules/cudaimgproc/src/generalized_hough.cpp hist_.setTo(Scalar::all(0)); Scalar 892 modules/cudaimgproc/src/generalized_hough.cpp hist_.setTo(Scalar::all(0)); Scalar 83 modules/cudaimgproc/src/histogram.cpp hist.setTo(Scalar::all(0), stream); Scalar 201 modules/cudaimgproc/src/histogram.cpp cv::cuda::copyMakeBorder(src, srcExt_, 0, tilesY_ - (src.rows % tilesY_), 0, tilesX_ - (src.cols % tilesX_), cv::BORDER_REFLECT_101, cv::Scalar(), s); Scalar 198 modules/cudaimgproc/src/hough_circles.cpp accum_.setTo(Scalar::all(0)); Scalar 157 modules/cudaimgproc/src/hough_lines.cpp accum_.setTo(Scalar::all(0)); Scalar 161 modules/cudaimgproc/src/hough_segments.cpp accum_.setTo(Scalar::all(0)); Scalar 457 modules/cudaimgproc/src/match_template.cpp Scalar templ_sum = cuda::sum(templ); Scalar 549 modules/cudaimgproc/src/match_template.cpp Scalar templ_sum = cuda::sum(templ); Scalar 550 modules/cudaimgproc/src/match_template.cpp Scalar templ_sqsum = cuda::sqrSum(templ); Scalar 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); Scalar 117 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::GpuMat src(100, 100, CV_8UC1, cv::Scalar::all(0)); Scalar 56 modules/cudaimgproc/test/test_hough.cpp img.setTo(cv::Scalar::all(0)); Scalar 58 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(20, 0), cv::Point(20, img.rows), cv::Scalar::all(255)); Scalar 59 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(0, 50), cv::Point(img.cols, 50), cv::Scalar::all(255)); Scalar 60 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(0, 0), cv::Point(img.cols, img.rows), cv::Scalar::all(255)); Scalar 61 modules/cudaimgproc/test/test_hough.cpp cv::line(img, cv::Point(img.cols, 0), cv::Point(0, img.rows), cv::Scalar::all(255)); Scalar 66 modules/cudaimgproc/test/test_hough.cpp dst.setTo(cv::Scalar::all(0)); Scalar 78 modules/cudaimgproc/test/test_hough.cpp cv::line(dst, pt1, pt2, cv::Scalar::all(255)); Scalar 123 modules/cudaimgproc/test/test_hough.cpp dst.setTo(cv::Scalar::all(0)); Scalar 126 modules/cudaimgproc/test/test_hough.cpp cv::circle(dst, cv::Point2f(circles[i][0], circles[i][1]), (int)circles[i][2], cv::Scalar::all(255), fill ? -1 : 1); Scalar 213 modules/cudaimgproc/test/test_hough.cpp cv::Mat image(templ.rows * 3, templ.cols * 3, CV_8UC1, cv::Scalar::all(0)); Scalar 249 modules/cudalegacy/include/opencv2/cudalegacy.hpp CV_EXPORTS void connectivityMask(const GpuMat& image, GpuMat& mask, const cv::Scalar& lo, const cv::Scalar& hi, Stream& stream = Stream::Null()); Scalar 109 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat dist_coef(1, 8, CV_32F, cv::Scalar::all(0)); Scalar 83 modules/cudalegacy/perf/perf_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {stack = new dot[image.cols * image.rows];} Scalar 89 modules/cudalegacy/perf/perf_labeling.cpp labels.setTo(cv::Scalar::all(-1)); Scalar 157 modules/cudalegacy/perf/perf_labeling.cpp TEST_CYCLE() cv::cuda::connectivityMask(d_image, mask, cv::Scalar::all(0), cv::Scalar::all(2)); Scalar 178 modules/cudalegacy/perf/perf_labeling.cpp cv::cuda::connectivityMask(cv::cuda::GpuMat(image), d_mask, cv::Scalar::all(0), cv::Scalar::all(2)); Scalar 73 modules/cudalegacy/src/bm_fast.cpp cuda::copyMakeBorder(I0, extended_I0, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); Scalar 74 modules/cudalegacy/src/bm_fast.cpp cuda::copyMakeBorder(I1, extended_I1, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); Scalar 230 modules/cudalegacy/src/fgd.cpp changeMask.setTo(Scalar::all(0)); Scalar 303 modules/cudalegacy/src/fgd.cpp cuda::multiply(foreground, Scalar::all(255), foreground); Scalar 316 modules/cudalegacy/src/fgd.cpp void morphology(const GpuMat& src, GpuMat& dst, GpuMat& filterBrd, int brd, Ptr<cuda::Filter>& filter, Scalar brdVal) Scalar 328 modules/cudalegacy/src/fgd.cpp const Scalar erodeBrdVal = Scalar::all(UCHAR_MAX); Scalar 329 modules/cudalegacy/src/fgd.cpp const Scalar dilateBrdVal = Scalar::all(0); Scalar 413 modules/cudalegacy/src/fgd.cpp drawContours(h_foreground, foreground_regions, -1, Scalar::all(255), -1); Scalar 495 modules/cudalegacy/src/fgd.cpp Pbc_.setTo(Scalar::all(0)); Scalar 498 modules/cudalegacy/src/fgd.cpp Pbcc_.setTo(Scalar::all(0)); Scalar 501 modules/cudalegacy/src/fgd.cpp is_trained_st_model_.setTo(Scalar::all(0)); Scalar 504 modules/cudalegacy/src/fgd.cpp is_trained_dyn_model_.setTo(Scalar::all(0)); Scalar 507 modules/cudalegacy/src/fgd.cpp ctable_Pv_.setTo(Scalar::all(0)); Scalar 510 modules/cudalegacy/src/fgd.cpp ctable_Pvb_.setTo(Scalar::all(0)); Scalar 513 modules/cudalegacy/src/fgd.cpp ctable_v_.setTo(Scalar::all(0)); Scalar 516 modules/cudalegacy/src/fgd.cpp cctable_Pv_.setTo(Scalar::all(0)); Scalar 519 modules/cudalegacy/src/fgd.cpp cctable_Pvb_.setTo(Scalar::all(0)); Scalar 522 modules/cudalegacy/src/fgd.cpp cctable_v1_.setTo(Scalar::all(0)); Scalar 525 modules/cudalegacy/src/fgd.cpp cctable_v2_.setTo(Scalar::all(0)); Scalar 530 modules/cudalegacy/src/fgd.cpp is_trained_st_model_.setTo(Scalar::all(1)); Scalar 531 modules/cudalegacy/src/fgd.cpp is_trained_dyn_model_.setTo(Scalar::all(1)); Scalar 645 modules/cudalegacy/src/fgd.cpp foreground_.setTo(Scalar::all(0)); Scalar 212 modules/cudalegacy/src/gmg.cpp fgmask.setTo(Scalar::all(0), stream); Scalar 260 modules/cudalegacy/src/gmg.cpp nfeatures_.setTo(Scalar::all(0)); Scalar 50 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::connectivityMask(const GpuMat&, GpuMat&, const cv::Scalar&, const cv::Scalar&, Stream&) { throw_no_cuda(); } Scalar 66 modules/cudalegacy/src/graphcuts.cpp static float4 scalarToCudaType(const cv::Scalar& in) Scalar 71 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::connectivityMask(const GpuMat& image, GpuMat& mask, const cv::Scalar& lo, const cv::Scalar& hi, Stream& s) Scalar 67 modules/cudalegacy/src/interpolate_frames.cpp buf.setTo(Scalar::all(0)); Scalar 87 modules/cudalegacy/src/needle_map.cpp colors.setTo(Scalar::all(1.0)); Scalar 132 modules/cudalegacy/test/test_calib3d.cpp cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold); Scalar 178 modules/cudalegacy/test/test_calib3d.cpp cv::projectPoints(object, rvec_gold, tvec_gold, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), image_vec); Scalar 183 modules/cudalegacy/test/test_calib3d.cpp camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), Scalar 76 modules/cudalegacy/test/test_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {} Scalar 188 modules/cudalegacy/test/test_labeling.cpp cv::cuda::connectivityMask(cv::cuda::GpuMat(image), mask, cv::Scalar::all(0), cv::Scalar::all(2)); Scalar 336 modules/cudaobjdetect/test/test_objdetect.cpp cv::rectangle(markedImage, *it, cv::Scalar(255, 0, 0)); Scalar 143 modules/cudaoptflow/src/pyrlk.cpp cuda::multiply(temp1, Scalar::all(1.0 / (1 << maxLevel_) / 2.0), temp2, 1, -1, stream); Scalar 146 modules/cudaoptflow/src/pyrlk.cpp status.setTo(Scalar::all(1), stream); Scalar 239 modules/cudaoptflow/src/pyrlk.cpp uPyr[0].setTo(Scalar::all(0), stream); Scalar 240 modules/cudaoptflow/src/pyrlk.cpp vPyr[0].setTo(Scalar::all(0), stream); Scalar 241 modules/cudaoptflow/src/pyrlk.cpp uPyr[1].setTo(Scalar::all(0), stream); Scalar 242 modules/cudaoptflow/src/pyrlk.cpp vPyr[1].setTo(Scalar::all(0), stream); Scalar 245 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u1s[s], Scalar::all(scaleStep_), u1s[s], 1, -1, stream); Scalar 246 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u2s[s], Scalar::all(scaleStep_), u2s[s], 1, -1, stream); Scalar 261 modules/cudaoptflow/src/tvl1flow.cpp u1s[nscales_-1].setTo(Scalar::all(0), stream); Scalar 262 modules/cudaoptflow/src/tvl1flow.cpp u2s[nscales_-1].setTo(Scalar::all(0), stream); Scalar 266 modules/cudaoptflow/src/tvl1flow.cpp u3s[nscales_ - 1].setTo(Scalar::all(0), stream); Scalar 290 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u1s[s - 1], Scalar::all(1/scaleStep_), u1s[s - 1], 1, -1, stream); Scalar 291 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u2s[s - 1], Scalar::all(1/scaleStep_), u2s[s - 1], 1, -1, stream); Scalar 329 modules/cudaoptflow/src/tvl1flow.cpp p11.setTo(Scalar::all(0), _stream); Scalar 330 modules/cudaoptflow/src/tvl1flow.cpp p12.setTo(Scalar::all(0), _stream); Scalar 331 modules/cudaoptflow/src/tvl1flow.cpp p21.setTo(Scalar::all(0), _stream); Scalar 332 modules/cudaoptflow/src/tvl1flow.cpp p22.setTo(Scalar::all(0), _stream); Scalar 335 modules/cudaoptflow/src/tvl1flow.cpp p31.setTo(Scalar::all(0), _stream); Scalar 336 modules/cudaoptflow/src/tvl1flow.cpp p32.setTo(Scalar::all(0), _stream); Scalar 87 modules/cudawarping/include/opencv2/cudawarping.hpp int interpolation, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar(), Scalar 127 modules/cudawarping/include/opencv2/cudawarping.hpp int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar(), Stream& stream = Stream::Null()); Scalar 159 modules/cudawarping/include/opencv2/cudawarping.hpp int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar(), Stream& stream = Stream::Null()); Scalar 47 modules/cudawarping/src/remap.cpp void cv::cuda::remap(InputArray, OutputArray, InputArray, InputArray, int, int, Scalar, Stream&){ throw_no_cuda(); } Scalar 61 modules/cudawarping/src/remap.cpp void cv::cuda::remap(InputArray _src, OutputArray _dst, InputArray _xmap, InputArray _ymap, int interpolation, int borderMode, Scalar borderValue, Stream& stream) Scalar 50 modules/cudawarping/src/warp.cpp void cv::cuda::warpAffine(InputArray, OutputArray, InputArray, Size, int, int, Scalar, Stream&) { throw_no_cuda(); } Scalar 53 modules/cudawarping/src/warp.cpp void cv::cuda::warpPerspective(InputArray, OutputArray, InputArray, Size, int, int, Scalar, Stream&) { throw_no_cuda(); } Scalar 183 modules/cudawarping/src/warp.cpp void cv::cuda::warpAffine(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) Scalar 322 modules/cudawarping/src/warp.cpp void cv::cuda::warpPerspective(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) Scalar 529 modules/cudawarping/src/warp.cpp dst.setTo(Scalar::all(0), stream); Scalar 49 modules/cudawarping/test/interpolation.hpp template <typename T> T readVal(const cv::Mat& src, int y, int x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) Scalar 59 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) Scalar 67 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) Scalar 104 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) Scalar 54 modules/cudawarping/test/test_remap.cpp template <typename T, template <typename> class Interpolator> void remapImpl(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal) Scalar 72 modules/cudawarping/test/test_remap.cpp void remapGold(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) Scalar 74 modules/cudawarping/test/test_remap.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal); Scalar 161 modules/cudawarping/test/test_remap.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 114 modules/cudawarping/test/test_warp_affine.cpp template <typename T, template <typename> class Interpolator> void warpAffineImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) Scalar 133 modules/cudawarping/test/test_warp_affine.cpp void warpAffineGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) Scalar 135 modules/cudawarping/test/test_warp_affine.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); Scalar 214 modules/cudawarping/test/test_warp_affine.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 269 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); Scalar 115 modules/cudawarping/test/test_warp_perspective.cpp template <typename T, template <typename> class Interpolator> void warpPerspectiveImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) Scalar 136 modules/cudawarping/test/test_warp_perspective.cpp void warpPerspectiveGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) Scalar 138 modules/cudawarping/test/test_warp_perspective.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); Scalar 217 modules/cudawarping/test/test_warp_perspective.cpp cv::Scalar val = randomScalar(0.0, 255.0); Scalar 272 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); Scalar 109 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); Scalar 127 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); Scalar 143 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); Scalar 161 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); Scalar 177 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); Scalar 178 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); Scalar 196 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); Scalar 197 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); Scalar 73 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(int arows, int acols, Scalar val, Allocator* allocator) Scalar 79 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp __host__ GpuMat_<T>::GpuMat_(Size asize, Scalar val, Allocator* allocator) Scalar 73 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_(int arows, int acols, Scalar val, Allocator* allocator = defaultAllocator()); Scalar 74 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_(Size asize, Scalar val, Allocator* allocator = defaultAllocator()); Scalar 1080 modules/features2d/include/opencv2/features2d.hpp const Scalar& color=Scalar::all(-1), int flags=DrawMatchesFlags::DEFAULT ); Scalar 1107 modules/features2d/include/opencv2/features2d.hpp const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), Scalar 1114 modules/features2d/include/opencv2/features2d.hpp const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), Scalar 413 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const Scalar& color=Scalar::all(-1), int flags=0 ); Scalar 419 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), Scalar 425 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const Scalar& matchColor=Scalar::all(-1), const Scalar& singlePointColor=Scalar::all(-1), Scalar 8 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java import org.opencv.core.Scalar; Scalar 21 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 22 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 23 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 13 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 30 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { Scalar 56 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 57 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Imgproc.line(cross, new Point(30, matSize / 2), new Point(matSize - 31, matSize / 2), new Scalar(100), 3); Scalar 58 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 30), new Point(matSize / 2, matSize - 31), new Scalar(100), 3); Scalar 76 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 77 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 78 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 111 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 142 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 13 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 29 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java return new Mat(4, 4, CvType.CV_8U, new Scalar(0)) { Scalar 41 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 42 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Imgproc.line(img, new Point(40, matSize - 40), new Point(matSize - 50, 50), new Scalar(0), 8); Scalar 64 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 65 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Imgproc.line(img, new Point(40, 40), new Point(matSize - 40, matSize - 40), new Scalar(0), 8); Scalar 95 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 126 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 12 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 28 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java return new Mat(4, 4, CvType.CV_8U, new Scalar(0)) { Scalar 40 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 41 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Imgproc.line(img, new Point(40, matSize - 40), new Point(matSize - 50, 50), new Scalar(0), 8); Scalar 63 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 64 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Imgproc.line(img, new Point(40, 40), new Point(matSize - 40, matSize - 40), new Scalar(0), 8); Scalar 94 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 125 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 12 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 29 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { Scalar 56 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 57 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Imgproc.line(cross, new Point(30, matSize / 2), new Point(matSize - 31, matSize / 2), new Scalar(100), 3); Scalar 58 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 30), new Point(matSize / 2, matSize - 31), new Scalar(100), 3); Scalar 76 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 77 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 78 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 111 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 142 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 12 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 29 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { Scalar 61 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 62 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Imgproc.line(cross, new Point(30, matSize / 2), new Point(matSize - 31, matSize / 2), new Scalar(100), 3); Scalar 63 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 30), new Point(matSize / 2, matSize - 31), new Scalar(100), 3); Scalar 81 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 82 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 83 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 116 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 147 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 10 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java import org.opencv.core.Scalar; Scalar 23 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Mat mask = new Mat(100, 100, CvType.CV_8U, new Scalar(255)); Scalar 25 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java right.setTo(new Scalar(0)); Scalar 30 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Mat img = new Mat(100, 100, CvType.CV_8U, new Scalar(255)); Scalar 31 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Imgproc.line(img, new Point(30, 30), new Point(70, 70), new Scalar(0), 8); Scalar 13 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java import org.opencv.core.Scalar; Scalar 104 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { Scalar 130 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 131 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Imgproc.line(cross, new Point(30, matSize / 2), new Point(matSize - 31, matSize / 2), new Scalar(100), 3); Scalar 132 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 30), new Point(matSize / 2, matSize - 31), new Scalar(100), 3); Scalar 150 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 151 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 152 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 184 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 213 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); Scalar 8 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java import org.opencv.core.Scalar; Scalar 26 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 27 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 28 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 8 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java import org.opencv.core.Scalar; Scalar 23 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 24 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 25 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 10 modules/features2d/misc/java/test/STARFeatureDetectorTest.java import org.opencv.core.Scalar; Scalar 24 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Mat mask = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 26 modules/features2d/misc/java/test/STARFeatureDetectorTest.java right.setTo(new Scalar(0)); Scalar 31 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Scalar color = new Scalar(0); Scalar 36 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 8 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java import org.opencv.core.Scalar; Scalar 21 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 22 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 23 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 14 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java import org.opencv.core.Scalar; Scalar 28 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Mat mask = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 30 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java right.setTo(new Scalar(0)); Scalar 35 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 36 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Imgproc.line(cross, new Point(20, matSize / 2), new Point(matSize - 21, matSize / 2), new Scalar(100), 2); Scalar 37 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Imgproc.line(cross, new Point(matSize / 2, 20), new Point(matSize / 2, matSize - 21), new Scalar(100), 2); Scalar 144 modules/features2d/perf/perf_batchDistance.cpp rng.fill( buf, RNG::UNIFORM, Scalar::all(0), Scalar(3) ); Scalar 191 modules/features2d/src/bagofwords.cpp _imgDescriptor.setTo(Scalar::all(0)); Scalar 53 modules/features2d/src/draw.cpp static inline void _drawKeypoint( InputOutputArray img, const KeyPoint& p, const Scalar& color, int flags ) Scalar 92 modules/features2d/src/draw.cpp const Scalar& _color, int flags ) Scalar 111 modules/features2d/src/draw.cpp bool isRandColor = _color == Scalar::all(-1); Scalar 118 modules/features2d/src/draw.cpp Scalar color = isRandColor ? Scalar(rng(256), rng(256), rng(256)) : _color; Scalar 126 modules/features2d/src/draw.cpp const Scalar& singlePointColor, int flags ) Scalar 143 modules/features2d/src/draw.cpp outImg = Scalar::all(0); Scalar 170 modules/features2d/src/draw.cpp const KeyPoint& kp1, const KeyPoint& kp2, const Scalar& matchColor, int flags ) Scalar 173 modules/features2d/src/draw.cpp bool isRandMatchColor = matchColor == Scalar::all(-1); Scalar 174 modules/features2d/src/draw.cpp Scalar color = isRandMatchColor ? Scalar( rng(256), rng(256), rng(256) ) : matchColor; Scalar 192 modules/features2d/src/draw.cpp const Scalar& matchColor, const Scalar& singlePointColor, Scalar 221 modules/features2d/src/draw.cpp const Scalar& matchColor, const Scalar& singlePointColor, Scalar 110 modules/features2d/src/evaluation.cpp A.setTo(Scalar::all(std::numeric_limits<double>::max())); Scalar 117 modules/features2d/src/evaluation.cpp EllipticKeyPoint( const Point2f& _center, const Scalar& _ellipse ); Scalar 122 modules/features2d/src/evaluation.cpp static Mat_<double> getSecondMomentsMatrix( const Scalar& _ellipse ); Scalar 129 modules/features2d/src/evaluation.cpp Scalar ellipse; // 3 elements a, b, c: ax^2+2bxy+cy^2=1 Scalar 136 modules/features2d/src/evaluation.cpp *this = EllipticKeyPoint(Point2f(0,0), Scalar(1, 0, 1) ); Scalar 139 modules/features2d/src/evaluation.cpp EllipticKeyPoint::EllipticKeyPoint( const Point2f& _center, const Scalar& _ellipse ) Scalar 155 modules/features2d/src/evaluation.cpp Mat_<double> EllipticKeyPoint::getSecondMomentsMatrix( const Scalar& _ellipse ) Scalar 177 modules/features2d/src/evaluation.cpp projection = EllipticKeyPoint( dstCenter, Scalar(dstM(0,0), dstM(0,1), dstM(1,1)) ); Scalar 190 modules/features2d/src/evaluation.cpp dst[i] = EllipticKeyPoint( src[i].pt, Scalar(fac, 0, fac) ); Scalar 246 modules/features2d/src/evaluation.cpp const Scalar& _ellipse1, const Scalar& _ellipse2 ) : Scalar 294 modules/features2d/src/evaluation.cpp Scalar ellipse1, ellipse2; Scalar 339 modules/features2d/src/evaluation.cpp EllipticKeyPoint keypoint1a = EllipticKeyPoint( kp1.center, Scalar(fac*kp1.ellipse[0], fac*kp1.ellipse[1], fac*kp1.ellipse[2]) ); Scalar 348 modules/features2d/src/evaluation.cpp EllipticKeyPoint keypoint2a = EllipticKeyPoint( kp2.center, Scalar(fac*kp2.ellipse[0], fac*kp2.ellipse[1], fac*kp2.ellipse[2]) ); Scalar 423 modules/features2d/src/evaluation.cpp thresholdedOverlapMask->setTo( Scalar::all(0) ); Scalar 274 modules/features2d/src/fast.cpp ucounter1.setTo(Scalar::all(0)); Scalar 303 modules/features2d/src/fast.cpp ucounter2.setTo(Scalar::all(0)); Scalar 173 modules/features2d/src/matchers.cpp trainIdx.setTo(Scalar::all(-1)); Scalar 290 modules/features2d/src/matchers.cpp nMatches.setTo(Scalar::all(0)); Scalar 1310 modules/features2d/src/matchers.cpp Mat indices( queryDescriptors.rows, count, CV_32SC1, Scalar::all(-1) ); Scalar 1311 modules/features2d/src/matchers.cpp Mat dists( queryDescriptors.rows, count, CV_32FC1, Scalar::all(-1) ); Scalar 83 modules/features2d/test/ocl/test_brute_force_matcher.cpp rng.fill(queryBuf, cv::RNG::UNIFORM, cv::Scalar::all(0), cv::Scalar::all(3)); Scalar 85 modules/features2d/test/test_agast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); Scalar 91 modules/features2d/test/test_agast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); Scalar 85 modules/features2d/test/test_fast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); Scalar 91 modules/features2d/test/test_fast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); Scalar 168 modules/features2d/test/test_matchers_algorithmic.cpp rng.fill( buf, RNG::UNIFORM, Scalar::all(0), Scalar(3) ); Scalar 262 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); Scalar 264 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi].col(di*countFactor).setTo(Scalar::all(0)); Scalar 359 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); Scalar 361 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi].col(di*countFactor).setTo(Scalar::all(0)); Scalar 462 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi] = Mat(query.rows, train.rows/2, CV_8UC1, Scalar::all(1)); Scalar 464 modules/features2d/test/test_matchers_algorithmic.cpp masks[mi].col(di*countFactor).setTo(Scalar::all(0)); Scalar 130 modules/features2d/test/test_nearestneighbors.cpp randu( desc, Scalar(minValue), Scalar(maxValue) ); Scalar 56 modules/features2d/test/test_orb.cpp Mat roi(image.size(), CV_8UC1, Scalar(0)); Scalar 59 modules/features2d/test/test_orb.cpp fillConvexPoly(roi, poly, int(sizeof(poly) / sizeof(poly[0])), Scalar(255)); Scalar 79 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat srcMask(srcImage.size(), CV_8UC1, Scalar(255)); Scalar 553 modules/highgui/include/opencv2/highgui.hpp Scalar color; // Qt: ColorFont -> cvScalar(blue_component, green_component, red_component[, alpha_component]) Scalar 596 modules/highgui/include/opencv2/highgui.hpp Scalar color = Scalar::all(0), int weight = QT_FONT_NORMAL, Scalar 384 modules/highgui/src/window.cpp cv::QtFont cv::fontQt(const String& nameFont, int pointSize, Scalar color, int weight, int style, int /*spacing*/) Scalar 434 modules/highgui/src/window.cpp cv::QtFont cv::fontQt(const String&, int, Scalar, int, int, int) Scalar 69 modules/highgui/test/test_gui.cpp m = Scalar(128); Scalar 115 modules/imgcodecs/test/test_drawing.cpp fillPoly( img, &pts, &n, 1, Scalar::all(255) ); Scalar 119 modules/imgcodecs/test/test_drawing.cpp circle( img, Point(300,100), 40, Scalar(0,0,255), 3 ); // draw Scalar 127 modules/imgcodecs/test/test_drawing.cpp circle( img, Point(390,100), 10, Scalar(0,0,255), 3 ); // not draw Scalar 131 modules/imgcodecs/test/test_drawing.cpp ellipse( img, Point(390,100), Size(20,30), 60, 0, 220.0, Scalar(0,200,0), 4 ); //draw Scalar 133 modules/imgcodecs/test/test_drawing.cpp ellipse( img, RotatedRect(Point(100,200),Size(200,100),160), Scalar(200,200,255), 5 ); Scalar 139 modules/imgcodecs/test/test_drawing.cpp polylines( img, &pts, &n, 1, false, Scalar(0,0,150), 4, CV_AA ); Scalar 143 modules/imgcodecs/test/test_drawing.cpp line( img, *it, *(it+1), Scalar(50,250,100)); Scalar 150 modules/imgcodecs/test/test_drawing.cpp polylines( img, &pts, &n, 1, true, Scalar(100,200,100), 20 ); Scalar 151 modules/imgcodecs/test/test_drawing.cpp fillConvexPoly( img, pts, n, Scalar(0, 80, 0) ); Scalar 166 modules/imgcodecs/test/test_drawing.cpp fillPoly( img, ppts, pn, 2, Scalar(100, 100, 0), 8, 0, Point(500, 20) ); Scalar 168 modules/imgcodecs/test/test_drawing.cpp rectangle( img, Point(0, 300), Point(50, 398), Scalar(0,0,255) ); Scalar 176 modules/imgcodecs/test/test_drawing.cpp rectangle(img, textOrg + Point(0, baseline), textOrg + Point(textSize.width, -textSize.height), Scalar(0,0,255)); Scalar 177 modules/imgcodecs/test/test_drawing.cpp line(img, textOrg + Point(0, thickness), textOrg + Point(textSize.width, thickness), Scalar(0, 0, 255)); Scalar 178 modules/imgcodecs/test/test_drawing.cpp putText(img, text1, textOrg, fontFace, fontScale, Scalar(150,0,150), thickness, 8); Scalar 181 modules/imgcodecs/test/test_drawing.cpp Scalar color(200,0,0); Scalar 290 modules/imgcodecs/test/test_drawing.cpp cvEllipseBox( &img, box, Scalar(200,200,255), 5 ); Scalar 309 modules/imgcodecs/test/test_drawing.cpp cvPolyLine( &img, &pts, &n, 1, true, Scalar(100,200,100), 20 ); Scalar 439 modules/imgcodecs/test/test_drawing.cpp Mat gray0(10,10,CV_8U, Scalar(0)); Scalar 440 modules/imgcodecs/test/test_drawing.cpp fillConvexPoly(gray0, line1, Scalar(255), 8, 0); Scalar 443 modules/imgcodecs/test/test_drawing.cpp fillConvexPoly(gray0, line2, Scalar(0), 8, 1); Scalar 500 modules/imgcodecs/test/test_drawing.cpp const Scalar color(20,20,20); Scalar 505 modules/imgcodecs/test/test_drawing.cpp Mat img(textSize + Size(0, baseline), CV_8UC3, Scalar(255, 255, 255)); Scalar 516 modules/imgcodecs/test/test_drawing.cpp Mat result(bigSize, CV_8UC3, Scalar(100, 100, 100)); Scalar 62 modules/imgcodecs/test/test_grfmt.cpp const Scalar s = sum(diff); Scalar 191 modules/imgcodecs/test/test_grfmt.cpp Mat img(img_r * k, img_c * k, CV_MAKETYPE(CV_8U, num_channels), Scalar::all(0)); Scalar 192 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); Scalar 221 modules/imgcodecs/test/test_grfmt.cpp Mat img(img_r * k, img_c * k, CV_MAKETYPE(CV_8U, num_channels), Scalar::all(0)); Scalar 222 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); Scalar 252 modules/imgcodecs/test/test_grfmt.cpp Mat img(img_r * k, img_c * k, CV_MAKETYPE(CV_16U, num_channels), Scalar::all(0)); Scalar 253 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); Scalar 565 modules/imgcodecs/test/test_grfmt.cpp cv::Mat big(16384, 16384, CV_8UC1, cv::Scalar::all(0)); Scalar 835 modules/imgcodecs/test/test_grfmt.cpp imgs[imgs.size() - 1] = cv::Scalar::all(128); Scalar 1108 modules/imgproc/include/opencv2/imgproc.hpp static inline Scalar morphologyDefaultBorderValue() { return Scalar::all(DBL_MAX); } Scalar 1869 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = morphologyDefaultBorderValue() ); Scalar 1895 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = morphologyDefaultBorderValue() ); Scalar 1922 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = morphologyDefaultBorderValue() ); Scalar 1995 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = Scalar()); Scalar 2023 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = Scalar()); Scalar 2058 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& borderValue = Scalar()); Scalar 3144 modules/imgproc/include/opencv2/imgproc.hpp Point seedPoint, Scalar newVal, CV_OUT Rect* rect = 0, Scalar 3145 modules/imgproc/include/opencv2/imgproc.hpp Scalar loDiff = Scalar(), Scalar upDiff = Scalar(), Scalar 3219 modules/imgproc/include/opencv2/imgproc.hpp Point seedPoint, Scalar newVal, CV_OUT Rect* rect=0, Scalar 3220 modules/imgproc/include/opencv2/imgproc.hpp Scalar loDiff = Scalar(), Scalar upDiff = Scalar(), Scalar 3776 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void line(InputOutputArray img, Point pt1, Point pt2, const Scalar& color, Scalar 3792 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void arrowedLine(InputOutputArray img, Point pt1, Point pt2, const Scalar& color, Scalar 3810 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int thickness = 1, Scalar 3819 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int thickness = 1, Scalar 3835 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int thickness = 1, Scalar 3863 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int thickness = 1, Scalar 3875 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void ellipse(InputOutputArray img, const RotatedRect& box, const Scalar& color, Scalar 3880 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int lineType = LINE_8, Scalar 3897 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int lineType = LINE_8, Scalar 3903 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int lineType = LINE_8, int shift = 0, Scalar 3920 modules/imgproc/include/opencv2/imgproc.hpp const Scalar& color, int lineType = LINE_8, int shift = 0, Scalar 3925 modules/imgproc/include/opencv2/imgproc.hpp int ncontours, bool isClosed, const Scalar& color, Scalar 3942 modules/imgproc/include/opencv2/imgproc.hpp bool isClosed, const Scalar& color, Scalar 4017 modules/imgproc/include/opencv2/imgproc.hpp int contourIdx, const Scalar& color, Scalar 4076 modules/imgproc/include/opencv2/imgproc.hpp int fontFace, double fontScale, Scalar color, Scalar 18 modules/imgproc/misc/java/test/ImgprocTest.java import org.opencv.core.Scalar; Scalar 262 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(10, 1, CvType.CV_32F, Scalar.all(0)) { Scalar 279 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(10, 10, CvType.CV_32F, Scalar.all(0)) { Scalar 334 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(10, 10, CvType.CV_32F, Scalar.all(0)) { Scalar 385 modules/imgproc/misc/java/test/ImgprocTest.java Mat map1 = new Mat(1, 4, CvType.CV_32FC1, new Scalar(1)); Scalar 386 modules/imgproc/misc/java/test/ImgprocTest.java Mat map2 = new Mat(1, 4, CvType.CV_32FC1, new Scalar(2)); Scalar 395 modules/imgproc/misc/java/test/ImgprocTest.java Mat truthMap2 = new Mat(1, 4, CvType.CV_16UC1, new Scalar(0)); Scalar 400 modules/imgproc/misc/java/test/ImgprocTest.java Mat map1 = new Mat(1, 3, CvType.CV_32FC1, new Scalar(2)); Scalar 401 modules/imgproc/misc/java/test/ImgprocTest.java Mat map2 = new Mat(1, 3, CvType.CV_32FC1, new Scalar(4)); Scalar 411 modules/imgproc/misc/java/test/ImgprocTest.java Mat truthMap2 = new Mat(1, 3, CvType.CV_16UC1, new Scalar(0)); Scalar 486 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC(6), new Scalar(0)); Scalar 493 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32FC1, new Scalar(128)); Scalar 498 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(4, 4, CvType.CV_32FC(6), new Scalar(0)); Scalar 508 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(matSize, matSize, CvType.CV_32FC1, new Scalar(0)); Scalar 520 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(matSize, matSize, CvType.CV_32FC1, new Scalar(0)); Scalar 539 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC1, new Scalar(0)); Scalar 544 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(matSize, matSize, CvType.CV_32FC1, new Scalar(0)); Scalar 583 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); Scalar 587 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, r.tl(), r.br(), new Scalar(0), Core.FILLED); Scalar 646 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(gray0, new Point(1, 2), new Point(7, 8), new Scalar(100)); Scalar 650 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.drawContours(gray0, contours, -1, new Scalar(0)); Scalar 656 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(gray0, new Point(1, 2), new Point(7, 8), new Scalar(100)); Scalar 660 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.drawContours(gray0, contours, -1, new Scalar(0), Core.FILLED); Scalar 699 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(8)); Scalar 712 modules/imgproc/misc/java/test/ImgprocTest.java Scalar sc = new Scalar(3, 3); Scalar 716 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(8)); Scalar 722 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(1)); Scalar 742 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(0)); Scalar 751 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(50, 50, CvType.CV_8UC1, new Scalar(0)); Scalar 761 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(10, 20), new Point(20, 30), new Scalar(100), 3, Imgproc.LINE_AA, 0); Scalar 762 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(30, 35), new Point(40, 45), new Scalar(200)); Scalar 772 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(50, 50, CvType.CV_8UC1, new Scalar(0)); Scalar 778 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(10, 20), new Point(20, 30), new Scalar(100), 3, Imgproc.LINE_AA, 0); Scalar 779 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(img, new Point(30, 35), new Point(40, 45), new Scalar(200)); Scalar 818 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = new Mat(matSize + 2, matSize + 2, CvType.CV_8U, new Scalar(0)); Scalar 820 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.circle(mask, new Point(matSize / 2 + 1, matSize / 2 + 1), 3, new Scalar(2)); Scalar 822 modules/imgproc/misc/java/test/ImgprocTest.java int retval = Imgproc.floodFill(img, mask, new Point(matSize / 2, matSize / 2), new Scalar(1)); Scalar 825 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.circle(mask, new Point(matSize / 2 + 1, matSize / 2 + 1), 3, new Scalar(0)); Scalar 832 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.circle(img, new Point(matSize / 2, matSize / 2), 3, new Scalar(2)); Scalar 835 modules/imgproc/misc/java/test/ImgprocTest.java int retval = Imgproc.floodFill(img, new Mat(), new Point(matSize / 2, matSize / 2), new Scalar(1)); Scalar 837 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.circle(img, new Point(matSize / 2, matSize / 2), 3, new Scalar(0)); Scalar 949 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 1, CvType.CV_64FC1, new Scalar(1)); Scalar 971 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(255)); Scalar 976 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(10, 10, CvType.CV_32F, new Scalar(2)); Scalar 982 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(5, 5, CvType.CV_32F, new Scalar(2)); Scalar 1004 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8UC1, new Scalar(1)); Scalar 1023 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); Scalar 1033 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); Scalar 1051 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(128)); Scalar 1061 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(128)); Scalar 1079 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(0)); Scalar 1108 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(0)); Scalar 1113 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.line(img, point1, point2, Scalar.all(255), 1); Scalar 1114 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.line(img, point3, point4, Scalar.all(255), 1); Scalar 1149 modules/imgproc/misc/java/test/ImgprocTest.java Mat R = new Mat(3, 3, CvType.CV_32F, new Scalar(2)); Scalar 1150 modules/imgproc/misc/java/test/ImgprocTest.java Mat newCameraMatrix = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1189 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1212 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1235 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(1, 1, CvType.CV_32F, new Scalar(1)); Scalar 1260 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(1, 1, CvType.CV_32F, new Scalar(1)); Scalar 1285 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); Scalar 1300 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); Scalar 1315 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(2, 3, CvType.CV_64F, new Scalar(1)); Scalar 1319 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(2, 3, CvType.CV_64F, new Scalar(0)); Scalar 1354 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(2)); Scalar 1358 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_32F, new Scalar(0.00099945068)); Scalar 1381 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 1, CvType.CV_32F, new Scalar(70)); Scalar 1386 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 1, CvType.CV_32F, new Scalar(0)); Scalar 1438 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_8U, new Scalar(0)); Scalar 1454 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_8U, new Scalar(1)); Scalar 1456 modules/imgproc/misc/java/test/ImgprocTest.java Scalar sc = new Scalar(3, 3); Scalar 1479 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F, new Scalar(1)); Scalar 1484 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(4, 4, CvType.CV_32F, new Scalar(0)); Scalar 1489 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F, new Scalar(1)); Scalar 1494 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(4, 4, CvType.CV_32F, new Scalar(0)); Scalar 1544 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(matSize, matSize, CvType.CV_8UC3, new Scalar(0)); Scalar 1585 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); Scalar 1594 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 3, CvType.CV_32F, new Scalar(0)); Scalar 1601 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); Scalar 1605 modules/imgproc/misc/java/test/ImgprocTest.java Scalar sc = new Scalar(0); Scalar 1610 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 3, CvType.CV_32F, new Scalar(2)); Scalar 1617 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_8UC1, new Scalar(1)); Scalar 1622 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(1, 1, CvType.CV_8UC1, new Scalar(1)); Scalar 1629 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(2, 2, CvType.CV_8UC1, new Scalar(255)); Scalar 1639 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(0)); Scalar 1648 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(0.001)); Scalar 1668 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); Scalar 1676 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(420)); Scalar 1681 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC1, new Scalar(2)); Scalar 1689 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(36 + weakEPS)); Scalar 1702 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(10, 10, CvType.CV_32F, new Scalar(weakEPS)); Scalar 1752 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1779 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1792 modules/imgproc/misc/java/test/ImgprocTest.java Mat newCameraMatrix = new Mat(3, 3, CvType.CV_32F, new Scalar(1)); Scalar 1796 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); Scalar 1805 modules/imgproc/misc/java/test/ImgprocTest.java Mat distCoeffs = new Mat(8, 1, CvType.CV_64FC1, new Scalar(0)); Scalar 1920 modules/imgproc/misc/java/test/ImgprocTest.java Mat markers = new Mat(4, 4, CvType.CV_32SC1, new Scalar(0)); Scalar 1952 modules/imgproc/misc/java/test/ImgprocTest.java Scalar color = new Scalar(128); Scalar 1962 modules/imgproc/misc/java/test/ImgprocTest.java Scalar color = new Scalar(128); Scalar 1973 modules/imgproc/misc/java/test/ImgprocTest.java Scalar color128 = new Scalar(128); Scalar 1974 modules/imgproc/misc/java/test/ImgprocTest.java Scalar color0 = new Scalar(0); Scalar 2073 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(1)); Scalar 2099 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(1), Core.FILLED); Scalar 2100 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(0)); Scalar 2110 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(9), 1, Imgproc.LINE_AA); Scalar 2111 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(0), 1, Imgproc.LINE_4); Scalar 2121 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.polylines(img, polyline, true, new Scalar(100)); Scalar 2125 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.polylines(img, polyline, false, new Scalar(0)); Scalar 2135 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.polylines(img, polyline, true, new Scalar(100), 2); Scalar 2147 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.polylines(img, polyline1, true, new Scalar(100), 2, Imgproc.LINE_8, 0); Scalar 2151 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.polylines(img, polyline2, true, new Scalar(0), 2, Imgproc.LINE_8, 1); Scalar 91 modules/imgproc/perf/opencl/perf_3vs4.cpp Scalar s(14); Scalar 41 modules/imgproc/perf/opencl/perf_houghLines.cpp src.setTo(Scalar::all(0)); Scalar 42 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 100), Point(src.cols, 100), Scalar::all(255), 1); Scalar 43 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 200), Point(src.cols, 200), Scalar::all(255), 1); Scalar 44 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 400), Point(src.cols, 400), Scalar::all(255), 1); Scalar 45 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(100, 0), Point(100, src.rows), Scalar::all(255), 1); Scalar 46 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(200, 0), Point(200, src.rows), Scalar::all(255), 1); Scalar 47 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(400, 0), Point(400, src.rows), Scalar::all(255), 1); Scalar 147 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::copyMakeBorder(src, dst, 7, 5, 5, 7, borderType, cv::Scalar(1.0)); Scalar 41 modules/imgproc/perf/perf_floodfill.cpp Scalar newval, loVal, upVal; Scalar 44 modules/imgproc/perf/perf_floodfill.cpp loVal = Scalar(0, 0, 0); Scalar 45 modules/imgproc/perf/perf_floodfill.cpp upVal = Scalar(0, 0, 0); Scalar 49 modules/imgproc/perf/perf_floodfill.cpp loVal = Scalar(4, 4, 4); Scalar 50 modules/imgproc/perf/perf_floodfill.cpp upVal = Scalar(20, 20, 20); Scalar 58 modules/imgproc/perf/perf_floodfill.cpp newval = (colorType == IMREAD_COLOR) ? Scalar(b, g, r) : Scalar(r*0.299 + g*0.587 + b*0.114); Scalar 37 modules/imgproc/perf/perf_remap.cpp map2 = Scalar::all(0); Scalar 36 modules/imgproc/perf/perf_warp.cpp Scalar borderColor = Scalar::all(150); Scalar 66 modules/imgproc/perf/perf_warp.cpp Scalar borderColor = Scalar::all(150); Scalar 106 modules/imgproc/perf/perf_warp.cpp Scalar borderColor = Scalar::all(150); Scalar 1575 modules/imgproc/src/demosaicing.cpp dst = Scalar::all(0); Scalar 914 modules/imgproc/src/deriv.cpp wtype, kd, ks, Point(-1,-1), 0, borderType, borderType, Scalar() ); Scalar 916 modules/imgproc/src/deriv.cpp wtype, ks, kd, Point(-1,-1), 0, borderType, borderType, Scalar() ); Scalar 823 modules/imgproc/src/distransform.cpp labels.setTo(Scalar::all(0)); Scalar 1661 modules/imgproc/src/drawing.cpp void line( InputOutputArray _img, Point pt1, Point pt2, const Scalar& color, Scalar 1677 modules/imgproc/src/drawing.cpp void arrowedLine(InputOutputArray img, Point pt1, Point pt2, const Scalar& color, Scalar 1696 modules/imgproc/src/drawing.cpp const Scalar& color, int thickness, Scalar 1727 modules/imgproc/src/drawing.cpp const Scalar& color, int thickness, Scalar 1738 modules/imgproc/src/drawing.cpp const Scalar& color, int thickness, int line_type, int shift ) Scalar 1766 modules/imgproc/src/drawing.cpp const Scalar& color, int thickness, int line_type, int shift ) Scalar 1791 modules/imgproc/src/drawing.cpp void ellipse(InputOutputArray _img, const RotatedRect& box, const Scalar& color, Scalar 1814 modules/imgproc/src/drawing.cpp const Scalar& color, int line_type, int shift ) Scalar 1830 modules/imgproc/src/drawing.cpp const Scalar& color, int line_type, Scalar 1856 modules/imgproc/src/drawing.cpp const Scalar& color, int thickness, int line_type, int shift ) Scalar 2089 modules/imgproc/src/drawing.cpp int fontFace, double fontScale, Scalar color, Scalar 2184 modules/imgproc/src/drawing.cpp const Scalar& color, int lineType, int shift) Scalar 2193 modules/imgproc/src/drawing.cpp const Scalar& color, int lineType, int shift, Point offset) Scalar 2216 modules/imgproc/src/drawing.cpp bool isClosed, const Scalar& color, Scalar 2276 modules/imgproc/src/drawing.cpp int contourIdx, const Scalar& color, int thickness, Scalar 2372 modules/imgproc/src/drawing.cpp cv::Scalar externalColor = _externalColor, holeColor = _holeColor; Scalar 1155 modules/imgproc/src/emd.cpp flow = Scalar::all(0); Scalar 86 modules/imgproc/src/filter.cpp const Scalar& _borderValue ) Scalar 102 modules/imgproc/src/filter.cpp const Scalar& _borderValue ) Scalar 3779 modules/imgproc/src/filter.cpp const Scalar& _borderValue ) Scalar 4530 modules/imgproc/src/filter.cpp const Scalar& _borderValue ) Scalar 220 modules/imgproc/src/filterengine.hpp const Scalar& _borderValue = Scalar()); Scalar 230 modules/imgproc/src/filterengine.hpp const Scalar& _borderValue = Scalar()); Scalar 308 modules/imgproc/src/filterengine.hpp const Scalar& borderValue = Scalar()); Scalar 314 modules/imgproc/src/filterengine.hpp int columnBorderType = -1, const Scalar& borderValue = Scalar()); Scalar 355 modules/imgproc/src/filterengine.hpp const Scalar& borderValue = morphologyDefaultBorderValue()); Scalar 111 modules/imgproc/src/floodfill.cpp Scalar avg; Scalar 112 modules/imgproc/src/floodfill.cpp Scalar sdv; Scalar 123 modules/imgproc/src/floodfill.cpp avg = sdv = Scalar::all(0); Scalar 459 modules/imgproc/src/floodfill.cpp Point seedPoint, Scalar newVal, Rect* rect, Scalar 460 modules/imgproc/src/floodfill.cpp Scalar loDiff, Scalar upDiff, int flags ) Scalar 549 modules/imgproc/src/floodfill.cpp tempMask.setTo(Scalar::all(0)); Scalar 629 modules/imgproc/src/floodfill.cpp Scalar newVal, Rect* rect, Scalar 630 modules/imgproc/src/floodfill.cpp Scalar loDiff, Scalar upDiff, int flags ) Scalar 878 modules/imgproc/src/generalized_hough.cpp Mat DHist(histRows + 2, histCols + 2, CV_32SC1, Scalar::all(0)); Scalar 93 modules/imgproc/src/grabcut.cpp _model.setTo(Scalar(0)); Scalar 355 modules/imgproc/src/grabcut.cpp (mask(rect)).setTo( Scalar(GC_PR_FGD) ); Scalar 1192 modules/imgproc/src/histogram.cpp Mat phist(hist->size(), hist->type(), Scalar::all(0)); Scalar 1243 modules/imgproc/src/histogram.cpp ihist.setTo(Scalar::all(0)); Scalar 1268 modules/imgproc/src/histogram.cpp hist = Scalar(0.); Scalar 706 modules/imgproc/src/hough.cpp accum.setTo(Scalar::all(0)); Scalar 750 modules/imgproc/src/hough.cpp UMat counters(1, 2, CV_32SC1, Scalar::all(0)); Scalar 804 modules/imgproc/src/hough.cpp UMat counters(1, 2, CV_32SC1, Scalar::all(0)); Scalar 71 modules/imgproc/src/imgwarp.cpp bool IPPSetSimple(cv::Scalar value, void *dataPointer, int step, IppiSize &size, ippiSetFunc func) Scalar 79 modules/imgproc/src/imgwarp.cpp static bool IPPSet(const cv::Scalar &value, void *dataPointer, int step, IppiSize &size, int channels, int depth) Scalar 3486 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue ) Scalar 3803 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue ) Scalar 4015 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue ) Scalar 4120 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue ) Scalar 4229 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue ); Scalar 4233 modules/imgproc/src/imgwarp.cpp int borderType, const Scalar& _borderValue); Scalar 4240 modules/imgproc/src/imgwarp.cpp const Mat *_m2, int _borderType, const Scalar &_borderValue, Scalar 4478 modules/imgproc/src/imgwarp.cpp Scalar borderValue; Scalar 4488 modules/imgproc/src/imgwarp.cpp int interpolation, int borderType, const Scalar& borderValue) Scalar 4581 modules/imgproc/src/imgwarp.cpp int _ippInterpolation, int _borderType, const Scalar & _borderValue, bool * _ok) : Scalar 4616 modules/imgproc/src/imgwarp.cpp Scalar borderValue; Scalar 4626 modules/imgproc/src/imgwarp.cpp int interpolation, int borderType, const Scalar& borderValue ) Scalar 5222 modules/imgproc/src/imgwarp.cpp const Scalar &_borderValue, int *_adelta, int *_bdelta, double *_M) : Scalar 5398 modules/imgproc/src/imgwarp.cpp Scalar borderValue; Scalar 5410 modules/imgproc/src/imgwarp.cpp const Scalar &_borderValue, ippiWarpAffineBackFunc _func, bool *_ok) : Scalar 5450 modules/imgproc/src/imgwarp.cpp Scalar borderValue; Scalar 5462 modules/imgproc/src/imgwarp.cpp Size dsize, int flags, int borderType, const Scalar& borderValue, Scalar 5564 modules/imgproc/src/imgwarp.cpp int flags, int borderType, const Scalar& borderValue ) Scalar 5694 modules/imgproc/src/imgwarp.cpp int _borderType, const Scalar &_borderValue) : Scalar 6029 modules/imgproc/src/imgwarp.cpp Scalar borderValue; Scalar 6039 modules/imgproc/src/imgwarp.cpp int &_borderType, const Scalar &_borderValue, ippiWarpPerspectiveFunc _func, bool *_ok) : Scalar 6078 modules/imgproc/src/imgwarp.cpp const Scalar borderValue; Scalar 6088 modules/imgproc/src/imgwarp.cpp Size dsize, int flags, int borderType, const Scalar& borderValue ) Scalar 1187 modules/imgproc/src/lsd.cpp line(_image.getMatRef(), b, e, Scalar(0, 0, 255), 1); Scalar 1213 modules/imgproc/src/lsd.cpp line(I1, b, e, Scalar::all(255), 1); Scalar 1219 modules/imgproc/src/lsd.cpp line(I2, b, e, Scalar::all(255), 1); Scalar 986 modules/imgproc/src/morph.cpp const Scalar& _borderValue ) Scalar 1004 modules/imgproc/src/morph.cpp Scalar borderValue = _borderValue; Scalar 1012 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U ? (double)UCHAR_MAX : Scalar 1017 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U || depth == CV_16U ? Scalar 1089 modules/imgproc/src/morph.cpp int _rowBorderType, int _columnBorderType, const Scalar& _borderValue) : Scalar 1136 modules/imgproc/src/morph.cpp Scalar borderValue; Scalar 1265 modules/imgproc/src/morph.cpp int borderType, const Scalar &borderValue) Scalar 1500 modules/imgproc/src/morph.cpp const Scalar &, int actual_op = -1, InputArray _extraMat = noArray()) Scalar 1680 modules/imgproc/src/morph.cpp int borderType, const Scalar& borderValue ) Scalar 1745 modules/imgproc/src/morph.cpp int borderType, const Scalar& borderValue ) Scalar 1753 modules/imgproc/src/morph.cpp int borderType, const Scalar& borderValue ) Scalar 1764 modules/imgproc/src/morph.cpp int borderType, const Scalar& borderValue) Scalar 1824 modules/imgproc/src/morph.cpp int borderType, const Scalar& borderValue ) Scalar 514 modules/imgproc/src/phasecorr.cpp copyMakeBorder(src1, padded1, 0, M - src1.rows, 0, N - src1.cols, BORDER_CONSTANT, Scalar::all(0)); Scalar 515 modules/imgproc/src/phasecorr.cpp copyMakeBorder(src2, padded2, 0, M - src2.rows, 0, N - src2.cols, BORDER_CONSTANT, Scalar::all(0)); Scalar 519 modules/imgproc/src/phasecorr.cpp copyMakeBorder(window, paddedWin, 0, M - window.rows, 0, N - window.cols, BORDER_CONSTANT, Scalar::all(0)); Scalar 423 modules/imgproc/src/segmentation.cpp m.setTo(cv::Scalar::all(0)); Scalar 456 modules/imgproc/src/templmatch.cpp Scalar templMean = mean(templ); Scalar 505 modules/imgproc/src/templmatch.cpp result = Scalar::all(1); Scalar 528 modules/imgproc/src/templmatch.cpp result = Scalar::all(1); Scalar 722 modules/imgproc/src/templmatch.cpp part = Scalar::all(0); Scalar 764 modules/imgproc/src/templmatch.cpp dftImg = Scalar::all(0); Scalar 846 modules/imgproc/src/templmatch.cpp compare(mask, Scalar::all(0), mask, CMP_NE); Scalar 857 modules/imgproc/src/templmatch.cpp Scalar templMean, templSdv; Scalar 881 modules/imgproc/src/templmatch.cpp result = Scalar::all(1); Scalar 981 modules/imgproc/src/templmatch.cpp Scalar templMean, templSdv; Scalar 999 modules/imgproc/src/templmatch.cpp result = Scalar::all(1); Scalar 1007 modules/imgproc/src/templmatch.cpp templMean = Scalar::all(0); Scalar 1173 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(thresh))), Scalar 1174 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(maxval))), Scalar 1175 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(min_val)))); Scalar 1289 modules/imgproc/src/thresh.cpp dst = Scalar(0); Scalar 132 modules/imgproc/test/ocl/test_gftt.cpp usrc_roi.setTo(Scalar::all(0)); Scalar 47 modules/imgproc/test/ocl/test_houghlines.cpp src.setTo(Scalar::all(0)); Scalar 48 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 100), Point(100, 100), Scalar::all(255), 1); Scalar 49 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 200), Point(100, 200), Scalar::all(255), 1); Scalar 50 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 400), Point(100, 400), Scalar::all(255), 1); Scalar 51 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(100, 0), Point(100, 200), Scalar::all(255), 1); Scalar 52 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(200, 0), Point(200, 200), Scalar::all(255), 1); Scalar 53 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(400, 0), Point(400, 200), Scalar::all(255), 1); Scalar 141 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_cpu(src.size(), CV_8UC1, Scalar::all(0)); Scalar 142 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_gpu(src.size(), CV_8UC1, Scalar::all(0)); Scalar 148 modules/imgproc/test/ocl/test_houghlines.cpp line(result_cpu, Point(p[0], p[1]), Point(p[2], p[3]), Scalar(255)); Scalar 155 modules/imgproc/test/ocl/test_houghlines.cpp line(result_gpu, Point(p[0], p[1]), Point(p[2], p[3]), Scalar(255)); Scalar 118 modules/imgproc/test/ocl/test_imgproc.cpp Scalar val; Scalar 245 modules/imgproc/test/ocl/test_warp.cpp Scalar val; Scalar 239 modules/imgproc/test/test_canny.cpp dst = Scalar::all(0); Scalar 58 modules/imgproc/test/test_color.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 107 modules/imgproc/test/test_color.cpp void CV_ColorCvtBaseTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 113 modules/imgproc/test/test_color.cpp low = Scalar::all(0.); Scalar 114 modules/imgproc/test/test_color.cpp high = Scalar::all( depth == CV_8U ? 256 : depth == CV_16U ? 65536 : 1. ); Scalar 398 modules/imgproc/test/test_contours.cpp Mat img(rows, cols, CV_8UC1, Scalar(255)); Scalar 400 modules/imgproc/test/test_contours.cpp line(img, Point(0, 10), Point(255, 10), Scalar(0), 2, 4); Scalar 401 modules/imgproc/test/test_contours.cpp line(img, Point(-5, 20), Point(260, 20), Scalar(0), 2, 4); Scalar 402 modules/imgproc/test/test_contours.cpp line(img, Point(10, 0), Point(10, 255), Scalar(0), 2, 4); Scalar 408 modules/imgproc/test/test_contours.cpp line(img, Point(int(x0), int(y)), Point(int(x1), int(y)), Scalar(0), 2, 4, 2); Scalar 416 modules/imgproc/test/test_contours.cpp Mat img(100, 100, CV_8UC1, Scalar(0)); Scalar 418 modules/imgproc/test/test_contours.cpp polylines(img, pts, false, Scalar(255)); Scalar 425 modules/imgproc/test/test_contours.cpp Mat img(100, 100, CV_8UC1, Scalar(0)); Scalar 429 modules/imgproc/test/test_contours.cpp polylines(img, pts, false, Scalar(255)); Scalar 470 modules/imgproc/test/test_contours.cpp img.setTo(Scalar::all(0)); Scalar 477 modules/imgproc/test/test_contours.cpp line(img, p*scale + ofs, q*scale + ofs, Scalar::all(255)); Scalar 484 modules/imgproc/test/test_contours.cpp img.setTo(Scalar::all(0)); Scalar 486 modules/imgproc/test/test_contours.cpp drawContours(img, contours, 0, Scalar::all(255), 1); Scalar 1392 modules/imgproc/test/test_convhull.cpp 0, 360, Scalar(255, 0, 0), 1, 8); Scalar 673 modules/imgproc/test/test_cvtyuv.cpp Mat dst_full(dstSize.height + roi_offset_left + roi_offset_right, dstSize.width + roi_offset_top + roi_offset_bottom, CV_8UC(dcn), Scalar::all(0)); Scalar 674 modules/imgproc/test/test_cvtyuv.cpp Mat gold_full(dst_full.size(), CV_8UC(dcn), Scalar::all(0)); Scalar 58 modules/imgproc/test/test_distancetransform.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 117 modules/imgproc/test/test_distancetransform.cpp void CV_DisTransTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 122 modules/imgproc/test/test_distancetransform.cpp low = Scalar::all(0); Scalar 123 modules/imgproc/test/test_distancetransform.cpp high = Scalar::all(10); Scalar 56 modules/imgproc/test/test_filter.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 93 modules/imgproc/test/test_filter.cpp void CV_FilterBaseTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 104 modules/imgproc/test/test_filter.cpp low = Scalar::all(-val); Scalar 105 modules/imgproc/test/test_filter.cpp high = Scalar::all(val); Scalar 109 modules/imgproc/test/test_filter.cpp low = Scalar::all(0); Scalar 110 modules/imgproc/test/test_filter.cpp high = Scalar::all(2); Scalar 115 modules/imgproc/test/test_filter.cpp low = Scalar::all(0.); Scalar 116 modules/imgproc/test/test_filter.cpp high = Scalar::all(40000.); Scalar 120 modules/imgproc/test/test_filter.cpp low = Scalar::all(-10.); Scalar 121 modules/imgproc/test/test_filter.cpp high = Scalar::all(10.); Scalar 289 modules/imgproc/test/test_filter.cpp cvtest::add( dst, 1, temp, -1, Scalar::all(0), dst, dst.type() ); Scalar 295 modules/imgproc/test/test_filter.cpp cvtest::add( src, 1, dst, -1, Scalar::all(0), dst, dst.type() ); Scalar 301 modules/imgproc/test/test_filter.cpp cvtest::add( dst, 1, src, -1, Scalar::all(0), dst, dst.type() ); Scalar 717 modules/imgproc/test/test_filter.cpp kernel.setTo(Scalar::all(normalize ? 1./(aperture_size.width*aperture_size.height) : 1.)); Scalar 1209 modules/imgproc/test/test_filter.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 1253 modules/imgproc/test/test_filter.cpp void CV_FeatureSelBaseTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 1258 modules/imgproc/test/test_filter.cpp low = Scalar::all(-10.); Scalar 1259 modules/imgproc/test/test_filter.cpp high = Scalar::all(10.); Scalar 1569 modules/imgproc/test/test_filter.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 1591 modules/imgproc/test/test_filter.cpp void CV_IntegralTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 1597 modules/imgproc/test/test_filter.cpp low = Scalar::all(-10.); Scalar 1598 modules/imgproc/test/test_filter.cpp high = Scalar::all(10.); Scalar 1895 modules/imgproc/test/test_filter.cpp Mat src(3, 3, CV_8UC1, cv::Scalar::all(255)), dst; Scalar 1897 modules/imgproc/test/test_filter.cpp src_roi.setTo(cv::Scalar::all(0)); Scalar 1908 modules/imgproc/test/test_filter.cpp src = Mat(5, 5, CV_8UC1, cv::Scalar(255)); Scalar 127 modules/imgproc/test/test_floodfill.cpp l_diff = u_diff = Scalar::all(0.); Scalar 131 modules/imgproc/test/test_floodfill.cpp rng.fill( m, RNG::NORMAL, Scalar::all(0), Scalar::all(32) ); Scalar 139 modules/imgproc/test/test_floodfill.cpp new_val = Scalar::all(0.); Scalar 166 modules/imgproc/test/test_floodfill.cpp Scalar m = Scalar::all(128); Scalar 167 modules/imgproc/test/test_floodfill.cpp Scalar s = Scalar::all(10); Scalar 173 modules/imgproc/test/test_floodfill.cpp s = Scalar::all(2); Scalar 181 modules/imgproc/test/test_floodfill.cpp Scalar l = Scalar::all(-2); Scalar 182 modules/imgproc/test/test_floodfill.cpp Scalar u = Scalar::all(2); Scalar 184 modules/imgproc/test/test_floodfill.cpp rectangle( arr, Point(0,0), Point(arr.cols-1,arr.rows-1), Scalar::all(1), 1, 8, 0 ); Scalar 272 modules/imgproc/test/test_floodfill.cpp cvtest::set( m_mask, Scalar::all(0), Mat() ); Scalar 273 modules/imgproc/test/test_floodfill.cpp cvRectangle( mask, cvPoint(0,0), cvPoint(mask->cols-1,mask->rows-1), Scalar::all(1.), 1, 8, 0 ); Scalar 96 modules/imgproc/test/test_grabcut.cpp mask = Scalar(0); Scalar 253 modules/imgproc/test/test_histograms.cpp cvtest::randUni(rng, h, Scalar::all(0), Scalar::all(gen_hist_max_val) ); Scalar 1189 modules/imgproc/test/test_histograms.cpp cvtest::randUni( rng, images_i, Scalar::all(low), Scalar::all(high) ); Scalar 1198 modules/imgproc/test/test_histograms.cpp cvtest::randUni( rng, images_i, Scalar::all(-2), Scalar::all(2) ); Scalar 1400 modules/imgproc/test/test_histograms.cpp cvtest::randUni( rng, images_i, Scalar::all(low), Scalar::all(high) ); Scalar 1408 modules/imgproc/test/test_histograms.cpp cvtest::randUni( rng, images_i, Scalar::all(-2), Scalar::all(2) ); Scalar 1632 modules/imgproc/test/test_histograms.cpp cvtest::randUni( rng, images_i, Scalar::all(low), Scalar::all(high) ); Scalar 56 modules/imgproc/test/test_imgwarp.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 87 modules/imgproc/test/test_imgwarp.cpp void CV_ImgWarpBaseTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 92 modules/imgproc/test/test_imgwarp.cpp low = Scalar::all(-10.); Scalar 93 modules/imgproc/test/test_imgwarp.cpp high = Scalar::all(10); Scalar 369 modules/imgproc/test/test_imgwarp.cpp *mask = Scalar::all(0); Scalar 527 modules/imgproc/test/test_imgwarp.cpp rng.fill( tmp, CV_RAND_NORMAL, Scalar::all(1.), Scalar::all(0.01) ); Scalar 564 modules/imgproc/test/test_imgwarp.cpp dst.setTo(Scalar::all(0), mask); Scalar 565 modules/imgproc/test/test_imgwarp.cpp dst0.setTo(Scalar::all(0), mask); Scalar 642 modules/imgproc/test/test_imgwarp.cpp rng.fill( tmp, CV_RAND_NORMAL, Scalar::all(0.), Scalar::all(0.1) ); Scalar 690 modules/imgproc/test/test_imgwarp.cpp dst.setTo(Scalar::all(0), mask); Scalar 691 modules/imgproc/test/test_imgwarp.cpp dst0.setTo(Scalar::all(0), mask); Scalar 788 modules/imgproc/test/test_imgwarp.cpp dst.setTo(Scalar::all(0), mask); Scalar 789 modules/imgproc/test/test_imgwarp.cpp dst0.setTo(Scalar::all(0), mask); Scalar 962 modules/imgproc/test/test_imgwarp.cpp dst.setTo(Scalar::all(0), mask); Scalar 963 modules/imgproc/test/test_imgwarp.cpp dst0.setTo(Scalar::all(0), mask); Scalar 1074 modules/imgproc/test/test_imgwarp.cpp test_mat[REF_OUTPUT][1] = Scalar::all(0); Scalar 1075 modules/imgproc/test/test_imgwarp.cpp test_mat[OUTPUT][1] = Scalar::all(0); Scalar 170 modules/imgproc/test/test_imgwarp_strict.cpp std::min<int>(cell_size, ssize.height - y)), Scalar::all((x + y) % 2 ? 255: 0), CV_FILLED); Scalar 174 modules/imgproc/test/test_imgwarp_strict.cpp src = Scalar::all(255); Scalar 176 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(0, y), Point2i(src.cols, y), Scalar::all(0), 1); Scalar 178 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(x, 0), Point2i(x, src.rows), Scalar::all(0), 1); Scalar 640 modules/imgproc/test/test_imgwarp_strict.cpp Scalar borderValue; Scalar 671 modules/imgproc/test/test_imgwarp_strict.cpp borderValue = Scalar::all(rng.uniform(0, 255)); Scalar 62 modules/imgproc/test/test_lsd.cpp image = Mat(img_size, CV_8UC1, Scalar::all(rng.uniform(0, 256))); Scalar 67 modules/imgproc/test/test_lsd.cpp image = Mat(img_size, CV_8UC1, Scalar::all(rng.uniform(0, 128))); Scalar 74 modules/imgproc/test/test_lsd.cpp line(image, p1, p2, Scalar(255), 3); Scalar 95 modules/imgproc/test/test_lsd.cpp line(image, vertices[i], vertices[(i + 1) % 4], Scalar(255), 3); Scalar 65 modules/imgproc/test/test_moments.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 86 modules/imgproc/test/test_moments.cpp void CV_MomentsTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 93 modules/imgproc/test/test_moments.cpp low = Scalar::all(0); Scalar 94 modules/imgproc/test/test_moments.cpp high = Scalar::all(1000); Scalar 98 modules/imgproc/test/test_moments.cpp low = Scalar::all(-1000); Scalar 99 modules/imgproc/test/test_moments.cpp high = Scalar::all(1000); Scalar 103 modules/imgproc/test/test_moments.cpp low = Scalar::all(-1); Scalar 104 modules/imgproc/test/test_moments.cpp high = Scalar::all(1); Scalar 342 modules/imgproc/test/test_moments.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 356 modules/imgproc/test/test_moments.cpp void CV_HuMomentsTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 359 modules/imgproc/test/test_moments.cpp low = Scalar::all(-10000); Scalar 360 modules/imgproc/test/test_moments.cpp high = Scalar::all(10000); Scalar 73 modules/imgproc/test/test_pc.cpp cv::rectangle(r1, Point(100, 100), Point(110, 110), Scalar(0, 0, 0), CV_FILLED); Scalar 74 modules/imgproc/test/test_pc.cpp cv::rectangle(r2, Point(90, 80), Point(100, 90), Scalar(0, 0, 0), CV_FILLED); Scalar 55 modules/imgproc/test/test_templmatch.cpp void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 92 modules/imgproc/test/test_templmatch.cpp void CV_TemplMatchTest::get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ) Scalar 98 modules/imgproc/test/test_templmatch.cpp low = Scalar::all(-10.); Scalar 99 modules/imgproc/test/test_templmatch.cpp high = Scalar::all(10.); Scalar 331 modules/imgproc/test/test_templmatch.cpp test_mat[REF_OUTPUT][0] += Scalar::all(delta); Scalar 332 modules/imgproc/test/test_templmatch.cpp test_mat[OUTPUT][0] += Scalar::all(delta); Scalar 77 modules/imgproc/test/test_watershed.cpp markers = Scalar(0); Scalar 83 modules/imgproc/test/test_watershed.cpp cvDrawContours( &iplmrks, cnts, Scalar::all(i + 1), Scalar::all(i + 1), -1, CV_FILLED); Scalar 20 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java import org.opencv.core.Scalar; Scalar 43 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java protected Scalar colorBlack; Scalar 44 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java protected Scalar colorWhite; Scalar 101 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java colorBlack = new Scalar(0); Scalar 102 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java colorWhite = new Scalar(255, 255, 255); Scalar 104 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(0)); Scalar 105 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray1 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(1)); Scalar 106 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray2 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(2)); Scalar 107 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray3 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(3)); Scalar 108 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray9 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(9)); Scalar 109 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray127 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(127)); Scalar 110 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray128 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); Scalar 111 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray255 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 116 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray_16u_256 = new Mat(matSize, matSize, CvType.CV_16U, new Scalar(256)); Scalar 117 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray_16s_1024 = new Mat(matSize, matSize, CvType.CV_16S, new Scalar(1024)); Scalar 119 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(0.0)); Scalar 120 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray1_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(1.0)); Scalar 121 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray3_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(3.0)); Scalar 122 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray9_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(9.0)); Scalar 123 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray255_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(255.0)); Scalar 129 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0_64f = new Mat(matSize, matSize, CvType.CV_64F, new Scalar(0.0)); Scalar 131 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0_32f_1d = new Mat(1, matSize, CvType.CV_32F, new Scalar(0.0)); Scalar 132 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0_64f_1d = new Mat(1, matSize, CvType.CV_64F, new Scalar(0.0)); Scalar 134 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java rgba0 = new Mat(matSize, matSize, CvType.CV_8UC4, Scalar.all(0)); Scalar 135 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java rgba128 = new Mat(matSize, matSize, CvType.CV_8UC4, Scalar.all(128)); Scalar 193 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java return new Mat(matSize, matSize, type, new Scalar(vals)); Scalar 198 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); Scalar 344 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java public static void assertScalarEqual(Scalar expected, Scalar actual, double eps) { Scalar 7 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java import org.opencv.core.Scalar; Scalar 70 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Scalar s0 = new Scalar(0); Scalar 71 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Scalar s255 = Scalar.all(255); Scalar 119 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); Scalar 146 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); Scalar 1380 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); Scalar 1408 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); Scalar 24 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java import org.opencv.core.Scalar; Scalar 45 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java protected Scalar colorBlack; Scalar 46 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java protected Scalar colorWhite; Scalar 131 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java colorBlack = new Scalar(0); Scalar 132 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java colorWhite = new Scalar(255, 255, 255); Scalar 134 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(0)); Scalar 135 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray1 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(1)); Scalar 136 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray2 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(2)); Scalar 137 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray3 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(3)); Scalar 138 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray9 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(9)); Scalar 139 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray127 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(127)); Scalar 140 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray128 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); Scalar 141 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray255 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); Scalar 146 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray_16u_256 = new Mat(matSize, matSize, CvType.CV_16U, new Scalar(256)); Scalar 147 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray_16s_1024 = new Mat(matSize, matSize, CvType.CV_16S, new Scalar(1024)); Scalar 149 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(0.0)); Scalar 150 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray1_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(1.0)); Scalar 151 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray3_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(3.0)); Scalar 152 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray9_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(9.0)); Scalar 153 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray255_32f = new Mat(matSize, matSize, CvType.CV_32F, new Scalar(255.0)); Scalar 159 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0_64f = new Mat(matSize, matSize, CvType.CV_64F, new Scalar(0.0)); Scalar 161 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0_32f_1d = new Mat(1, matSize, CvType.CV_32F, new Scalar(0.0)); Scalar 162 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0_64f_1d = new Mat(1, matSize, CvType.CV_64F, new Scalar(0.0)); Scalar 164 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java rgba0 = new Mat(matSize, matSize, CvType.CV_8UC4, Scalar.all(0)); Scalar 165 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java rgba128 = new Mat(matSize, matSize, CvType.CV_8UC4, Scalar.all(128)); Scalar 223 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java return new Mat(matSize, matSize, type, new Scalar(vals)); Scalar 228 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java m.submat(0, m.rows(), 0, m.cols() / 2).setTo(new Scalar(vals)); Scalar 374 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java public static void assertScalarEqual(Scalar expected, Scalar actual, double eps) { Scalar 1010 modules/ml/src/ann_mlp.cpp dw[i].setTo(Scalar::all(params.rpDW0)); Scalar 1042 modules/ml/src/ann_mlp.cpp dEdw[i].setTo(Scalar::all(0)); Scalar 311 modules/ml/src/data.cpp varType = Scalar::all(VAR_ORDERED); Scalar 378 modules/ml/src/em.cpp covsEigenValues[clusterIndex] = Mat(1, 1, CV_64FC1, Scalar(maxSingularVal)); Scalar 430 modules/ml/src/em.cpp weights = Mat(1, nclusters, CV_64FC1, Scalar(0)); Scalar 534 modules/ml/src/em.cpp setIdentity(covs[clusterIndex], Scalar(covsEigenValues[clusterIndex].at<double>(0))); Scalar 659 modules/ml/src/em.cpp means = Scalar(0); Scalar 703 modules/ml/src/em.cpp clusterCov = Scalar(0); Scalar 160 modules/ml/src/lr.cpp vconcat(Mat(_data_i.rows, 1, _data_i.type(), Scalar::all(1.0)), data_t.col(0)); Scalar 247 modules/ml/src/lr.cpp vconcat(Mat(data.rows, 1, data.type(), Scalar::all(1.0)), data_t.col(i)); Scalar 89 modules/ml/test/test_emknearestkmeans.cpp randn( data, Scalar::all(-1.0), Scalar::all(1.0) ); Scalar 466 modules/ml/test/test_emknearestkmeans.cpp Mat probs(trainData.rows, params.nclusters, CV_64FC1, cv::Scalar(1)); Scalar 468 modules/ml/test/test_emknearestkmeans.cpp Mat weights(1, params.nclusters, CV_64FC1, cv::Scalar(1)); Scalar 660 modules/ml/test/test_emknearestkmeans.cpp Mat trainConfusionMat(2, 2, CV_32SC1, Scalar(0)), Scalar 661 modules/ml/test/test_emknearestkmeans.cpp testConfusionMat(2, 2, CV_32SC1, Scalar(0)); Scalar 1061 modules/objdetect/src/cascadedetect.cpp ufacepos_count.setTo(Scalar::all(0)); Scalar 1329 modules/objdetect/src/haar.cpp (*mask1) = Scalar::all(1); Scalar 26 modules/photo/perf/perf_inpaint.cpp Mat mask(src.size(), CV_8UC1, Scalar(0)); Scalar 131 modules/photo/src/denoising.cuda.cpp cv::cuda::copyMakeBorder(src, extended_src, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); Scalar 230 modules/photo/src/seamless_cloning_impl.cpp rectangle(bound, Point(1, 1), Point(img.cols-2, img.rows-2), Scalar::all(0), -1); Scalar 274 modules/photo/src/seamless_cloning_impl.cpp Kernel.setTo(Scalar(1)); Scalar 52 modules/photo/src/tonemap.cpp max(src, Scalar::all(1e-4), dst); Scalar 308 modules/photo/src/tonemap.cpp Scalar chan_mean = mean(img); Scalar 49 modules/photo/test/test_denoise_tvl1.cpp cv::randn(noise, cv::Scalar::all(0), cv::Scalar::all(2)); Scalar 53 modules/photo/test/test_denoise_tvl1.cpp half = cv::Scalar::all(1); Scalar 151 modules/photo/test/test_denoising.cpp cv::Mat img(50, 50, CV_8UC1, cv::Scalar::all(255)); Scalar 171 modules/photo/test/test_hdr.cpp uniform = Scalar(0, 255, 0); Scalar 84 modules/photo/test/test_inpaint.cpp test.setTo(Scalar::all(255), mask1ch); Scalar 104 modules/python/src2/cv2.cpp typedef std::vector<Scalar> vector_Scalar; Scalar 408 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject *o, Scalar& s, const char *name) Scalar 443 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const Scalar& src) Scalar 87 modules/shape/include/opencv2/shape/shape_transformer.hpp const Scalar& borderValue=Scalar()) const = 0; Scalar 73 modules/shape/src/aff_trans.cpp int flags, int borderMode, const Scalar& borderValue) const; Scalar 102 modules/shape/src/aff_trans.cpp int flags, int borderMode, const Scalar& borderValue) const Scalar 75 modules/shape/src/tps_trans.cpp int flags, int borderMode, const Scalar& borderValue) const; Scalar 146 modules/shape/src/tps_trans.cpp int flags, int borderMode, const Scalar& borderValue) const Scalar 109 modules/stitching/perf/opencl/perf_warpers.cpp src.setTo(Scalar::all(64)); Scalar 111 modules/stitching/perf/opencl/perf_warpers.cpp 360, 0, 360, Scalar::all(255), 2); Scalar 113 modules/stitching/perf/opencl/perf_warpers.cpp 360, 0, 360, Scalar::all(128), 2); Scalar 114 modules/stitching/perf/opencl/perf_warpers.cpp rectangle(src, Point(10, 10), Point(srcSize.width - 10, srcSize.height - 10), Scalar::all(128), 2); Scalar 73 modules/stitching/src/blenders.cpp dst_.setTo(Scalar::all(0)); Scalar 75 modules/stitching/src/blenders.cpp dst_mask_.setTo(Scalar::all(0)); Scalar 113 modules/stitching/src/blenders.cpp dst_.setTo(Scalar::all(0), mask); Scalar 244 modules/stitching/src/blenders.cpp dst_pyr_laplace_[i].setTo(Scalar::all(0)); Scalar 348 modules/stitching/src/blenders.cpp add(weight_map, Scalar::all(1), weight_map, add_mask); Scalar 168 modules/stitching/src/stitcher.cpp masks[i].setTo(Scalar::all(255)); Scalar 296 modules/stitching/src/stitcher.cpp mask.setTo(Scalar::all(255)); Scalar 68 modules/stitching/src/timelapsers.cpp dst_.setTo(Scalar::all(0)); Scalar 102 modules/superres/perf/perf_superres.cpp flow1.setTo(cv::Scalar::all(0)); Scalar 109 modules/superres/perf/perf_superres.cpp flow1.setTo(cv::Scalar::all(0)); Scalar 110 modules/superres/perf/perf_superres.cpp flow2.setTo(cv::Scalar::all(0)); Scalar 70 modules/superres/src/btv_l1.cpp relForwardMotions[baseIdx].setTo(Scalar::all(0)); Scalar 74 modules/superres/src/btv_l1.cpp relBackwardMotions[baseIdx].setTo(Scalar::all(0)); Scalar 111 modules/superres/src/btv_l1.cpp relForwardMotions[baseIdx].setTo(Scalar::all(0)); Scalar 115 modules/superres/src/btv_l1.cpp relBackwardMotions[baseIdx].setTo(Scalar::all(0)); Scalar 141 modules/superres/src/btv_l1.cpp multiply(highResMotions[i], Scalar::all(scale), highResMotions[i]); Scalar 162 modules/superres/src/btv_l1.cpp multiply(highResMotions[i], Scalar::all(scale), highResMotions[i]); Scalar 230 modules/superres/src/btv_l1.cpp _dst.setTo(Scalar::all(0)); Scalar 255 modules/superres/src/btv_l1.cpp _dst.setTo(Scalar::all(0)); Scalar 404 modules/superres/src/btv_l1.cpp _dst.setTo(Scalar::all(0)); Scalar 431 modules/superres/src/btv_l1.cpp _dst.setTo(Scalar::all(0)); Scalar 617 modules/superres/src/btv_l1.cpp udiffTerm_.setTo(Scalar::all(0)); Scalar 718 modules/superres/src/btv_l1.cpp diffTerm_.setTo(Scalar::all(0)); Scalar 89 modules/superres/src/btv_l1_cuda.cpp relForwardMotions[baseIdx].first.setTo(Scalar::all(0)); Scalar 91 modules/superres/src/btv_l1_cuda.cpp relForwardMotions[baseIdx].second.setTo(Scalar::all(0)); Scalar 95 modules/superres/src/btv_l1_cuda.cpp relBackwardMotions[baseIdx].first.setTo(Scalar::all(0)); Scalar 97 modules/superres/src/btv_l1_cuda.cpp relBackwardMotions[baseIdx].second.setTo(Scalar::all(0)); Scalar 127 modules/superres/src/btv_l1_cuda.cpp cuda::multiply(highResMotions[i].first, Scalar::all(scale), highResMotions[i].first); Scalar 128 modules/superres/src/btv_l1_cuda.cpp cuda::multiply(highResMotions[i].second, Scalar::all(scale), highResMotions[i].second); Scalar 158 modules/superres/src/btv_l1_cuda.cpp dst.setTo(Scalar::all(0)); Scalar 203 modules/superres/src/btv_l1_cuda.cpp dst.setTo(Scalar::all(0)); Scalar 360 modules/superres/src/btv_l1_cuda.cpp cuda::remap(highRes_, a_[k], backwardMaps_[k].first, backwardMaps_[k].second, INTER_NEAREST, BORDER_REPLICATE, Scalar(), streams_[k]); Scalar 373 modules/superres/src/btv_l1_cuda.cpp cuda::remap(b_[k], diffTerms_[k], forwardMaps_[k].first, forwardMaps_[k].second, INTER_NEAREST, BORDER_REPLICATE, Scalar(), streams_[k]); Scalar 128 modules/superres/test/test_superres.cpp _image.setTo(cv::Scalar::all(255), mask); Scalar 202 modules/superres/test/test_superres.cpp cv::Scalar mssim = cv::mean(ssim_map); Scalar 48 modules/ts/include/opencv2/ts.hpp using cv::Scalar; Scalar 59 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void randUni( RNG& rng, Mat& a, const Scalar& param1, const Scalar& param2 ); Scalar 95 modules/ts/include/opencv2/ts.hpp Scalar gamma, Mat& c, int ctype, bool calcAbs=false); Scalar 101 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void set(Mat& dst, const Scalar& gamma, const Mat& mask=Mat()); Scalar 116 modules/ts/include/opencv2/ts.hpp int borderType=0, const Scalar& borderValue=Scalar()); Scalar 118 modules/ts/include/opencv2/ts.hpp int borderType=0, const Scalar& borderValue=Scalar()); Scalar 121 modules/ts/include/opencv2/ts.hpp const Scalar& borderValue=Scalar()); Scalar 123 modules/ts/include/opencv2/ts.hpp int borderType, const Scalar& borderValue=Scalar()); Scalar 133 modules/ts/include/opencv2/ts.hpp CV_EXPORTS Scalar mean(const Mat& src, const Mat& mask=Mat()); Scalar 154 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void logicOp(const Mat& src, const Scalar& s, Mat& dst, char c); Scalar 455 modules/ts/include/opencv2/ts.hpp virtual void get_minmax_bounds( int i, int j, int type, Scalar& low, Scalar& high ); Scalar 543 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void smoothBorder(Mat& img, const Scalar& color, int delta = 3); Scalar 63 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Scalar randomScalar(double minVal, double maxVal); Scalar 136 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ Scalar 137 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ Scalar 154 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ Scalar 155 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ Scalar 173 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ Scalar 174 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ Scalar 242 modules/ts/include/opencv2/ts/ocl_test.hpp Scalar randomScalar(double minVal, double maxVal) Scalar 244 modules/ts/include/opencv2/ts/ocl_test.hpp return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal)); Scalar 79 modules/ts/src/cuda_test.cpp Scalar randomScalar(double minVal, double maxVal) Scalar 81 modules/ts/src/cuda_test.cpp return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal)); Scalar 608 modules/ts/src/ts.cpp void smoothBorder(Mat& img, const Scalar& color, int delta) Scalar 613 modules/ts/src/ts.cpp Scalar s; Scalar 228 modules/ts/src/ts_arrtest.cpp void ArrayTest::get_minmax_bounds( int i, int /*j*/, int type, Scalar& low, Scalar& high ) Scalar 249 modules/ts/src/ts_arrtest.cpp low = Scalar::all(l); Scalar 250 modules/ts/src/ts_arrtest.cpp high = Scalar::all(u); Scalar 260 modules/ts/src/ts_arrtest.cpp Scalar low, high; Scalar 152 modules/ts/src/ts_func.cpp Scalar gamma, Mat& c, int ctype, bool calcAbs) Scalar 288 modules/ts/src/ts_func.cpp set( dst, Scalar::all(beta) ); Scalar 380 modules/ts/src/ts_func.cpp void set(Mat& dst, const Scalar& gamma, const Mat& mask) Scalar 511 modules/ts/src/ts_func.cpp randUniInt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta) Scalar 523 modules/ts/src/ts_func.cpp randUniFlt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta) Scalar 534 modules/ts/src/ts_func.cpp void randUni( RNG& rng, Mat& a, const Scalar& param0, const Scalar& param1 ) Scalar 536 modules/ts/src/ts_func.cpp Scalar scale = param0; Scalar 537 modules/ts/src/ts_func.cpp Scalar delta = param1; Scalar 638 modules/ts/src/ts_func.cpp int borderType, const Scalar& _borderValue) Scalar 643 modules/ts/src/ts_func.cpp Scalar borderValue = _borderValue; Scalar 697 modules/ts/src/ts_func.cpp int borderType, const Scalar& _borderValue) Scalar 700 modules/ts/src/ts_func.cpp Scalar borderValue = _borderValue; Scalar 778 modules/ts/src/ts_func.cpp Point anchor, double delta, int borderType, const Scalar& _borderValue) Scalar 781 modules/ts/src/ts_func.cpp Scalar borderValue = _borderValue; Scalar 869 modules/ts/src/ts_func.cpp int borderType, const Scalar& borderValue) Scalar 1538 modules/ts/src/ts_func.cpp void logicOp(const Mat& src, const Scalar& s, Mat& dst, char op) Scalar 2577 modules/ts/src/ts_func.cpp mean_(const _Tp* src, const uchar* mask, size_t total, int cn, Scalar& sum, int& nz) Scalar 2601 modules/ts/src/ts_func.cpp Scalar mean(const Mat& src, const Mat& mask) Scalar 2604 modules/ts/src/ts_func.cpp Scalar sum; Scalar 957 modules/ts/src/ts_perf.cpp cv::Mat a(2048, 2048, CV_32S, cv::Scalar(1)); Scalar 958 modules/ts/src/ts_perf.cpp cv::Mat b(2048, 2048, CV_32S, cv::Scalar(2)); Scalar 1243 modules/ts/src/ts_perf.cpp m.reshape(1).setTo(cv::Scalar::all(0)); Scalar 155 modules/video/src/bgfg_KNN.cpp aModelIndexShort = Scalar::all(0);//random? //((m_nN)*rand())/(RAND_MAX+1);//0...m_nN-1 Scalar 156 modules/video/src/bgfg_KNN.cpp aModelIndexMid = Scalar::all(0); Scalar 157 modules/video/src/bgfg_KNN.cpp aModelIndexLong = Scalar::all(0); Scalar 158 modules/video/src/bgfg_KNN.cpp nNextShortUpdate = Scalar::all(0); Scalar 159 modules/video/src/bgfg_KNN.cpp nNextMidUpdate = Scalar::all(0); Scalar 160 modules/video/src/bgfg_KNN.cpp nNextLongUpdate = Scalar::all(0); Scalar 602 modules/video/src/bgfg_KNN.cpp Mat meanBackground(frameSize, CV_8UC3, Scalar::all(0)); Scalar 206 modules/video/src/bgfg_gaussmix2.cpp u_weight.setTo(Scalar::all(0)); Scalar 209 modules/video/src/bgfg_gaussmix2.cpp u_variance.setTo(Scalar::all(0)); Scalar 214 modules/video/src/bgfg_gaussmix2.cpp u_mean.setTo(Scalar::all(0)); Scalar 218 modules/video/src/bgfg_gaussmix2.cpp u_bgmodelUsedModes.setTo(cv::Scalar::all(0)); Scalar 229 modules/video/src/bgfg_gaussmix2.cpp bgmodelUsedModes = Scalar::all(0); Scalar 869 modules/video/src/bgfg_gaussmix2.cpp Mat meanBackground(frameSize, CV_MAKETYPE(CV_8U, nchannels), Scalar::all(0)); Scalar 314 modules/video/src/compat_video.cpp matM.setTo(cv::Scalar::all(0)); Scalar 481 modules/video/src/ecc.cpp Scalar imgMean, imgStd, tmpMean, tmpStd; Scalar 887 modules/video/src/lkpyramid.cpp status.setTo(Scalar::all(1)); Scalar 460 modules/video/src/tvl1flow.cpp multiply(dm.u1s[s], Scalar::all(scaleStep), dm.u1s[s]); Scalar 461 modules/video/src/tvl1flow.cpp multiply(dm.u2s[s], Scalar::all(scaleStep), dm.u2s[s]); Scalar 472 modules/video/src/tvl1flow.cpp dm.u1s[nscales - 1].setTo(Scalar::all(0)); Scalar 473 modules/video/src/tvl1flow.cpp dm.u2s[nscales - 1].setTo(Scalar::all(0)); Scalar 475 modules/video/src/tvl1flow.cpp if (use_gamma) dm.u3s[nscales - 1].setTo(Scalar::all(0)); Scalar 494 modules/video/src/tvl1flow.cpp multiply(dm.u1s[s - 1], Scalar::all(1 / scaleStep), dm.u1s[s - 1]); Scalar 495 modules/video/src/tvl1flow.cpp multiply(dm.u2s[s - 1], Scalar::all(1 / scaleStep), dm.u2s[s - 1]); Scalar 570 modules/video/src/tvl1flow.cpp multiply(dum.u1s[s], Scalar::all(scaleStep), dum.u1s[s]); Scalar 571 modules/video/src/tvl1flow.cpp multiply(dum.u2s[s], Scalar::all(scaleStep), dum.u2s[s]); Scalar 591 modules/video/src/tvl1flow.cpp multiply(dum.u1s[s - 1], Scalar::all(1 / scaleStep), dum.u1s[s - 1]); Scalar 592 modules/video/src/tvl1flow.cpp multiply(dum.u2s[s - 1], Scalar::all(1 / scaleStep), dum.u2s[s - 1]); Scalar 1197 modules/video/src/tvl1flow.cpp u1.setTo(Scalar::all(0)); Scalar 1200 modules/video/src/tvl1flow.cpp u2.setTo(Scalar::all(0)); Scalar 1220 modules/video/src/tvl1flow.cpp p11.setTo(Scalar::all(0)); Scalar 1221 modules/video/src/tvl1flow.cpp p12.setTo(Scalar::all(0)); Scalar 1222 modules/video/src/tvl1flow.cpp p21.setTo(Scalar::all(0)); Scalar 1223 modules/video/src/tvl1flow.cpp p22.setTo(Scalar::all(0)); Scalar 1304 modules/video/src/tvl1flow.cpp p11.setTo(Scalar::all(0)); Scalar 1305 modules/video/src/tvl1flow.cpp p12.setTo(Scalar::all(0)); Scalar 1306 modules/video/src/tvl1flow.cpp p21.setTo(Scalar::all(0)); Scalar 1307 modules/video/src/tvl1flow.cpp p22.setTo(Scalar::all(0)); Scalar 1309 modules/video/src/tvl1flow.cpp if (use_gamma) p31.setTo(Scalar::all(0)); Scalar 1310 modules/video/src/tvl1flow.cpp if (use_gamma) p32.setTo(Scalar::all(0)); Scalar 96 modules/video/test/test_estimaterigid.cpp rng.fill(aff, RNG::UNIFORM, Scalar(-2), Scalar(2)); Scalar 103 modules/video/test/test_estimaterigid.cpp rng.fill(fpts, RNG::UNIFORM, Scalar(0,0), Scalar(10,10)); Scalar 107 modules/video/test/test_estimaterigid.cpp rng.fill(noise, RNG::NORMAL, Scalar::all(0), Scalar::all(0.001*(n<=7 ? 0 : n <= 30 ? 1 : 10))); Scalar 1157 modules/videoio/src/cap_openni.cpp depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI::INVALID_PIXEL_VAL ), badMask ); Scalar 1181 modules/videoio/src/cap_openni.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); Scalar 1230 modules/videoio/src/cap_openni.cpp disp = cv::Scalar::all( CvCapture_OpenNI::INVALID_PIXEL_VAL ); Scalar 726 modules/videoio/src/cap_openni2.cpp depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI2::INVALID_PIXEL_VAL ), badMask ); Scalar 750 modules/videoio/src/cap_openni2.cpp cv::Mat pointCloud_XYZ( rows, cols, CV_32FC3, cv::Scalar::all(badPoint) ); Scalar 784 modules/videoio/src/cap_openni2.cpp disp = cv::Scalar::all( CvCapture_OpenNI2::INVALID_PIXEL_VAL ); Scalar 144 modules/videoio/test/test_ffmpeg.cpp Mat img(frame_s, CV_8UC3, Scalar::all(0)); Scalar 151 modules/videoio/test/test_ffmpeg.cpp Scalar::all(255 * (1.0 - static_cast<double>(i) / (fps * time_sec * 2) )), -1); Scalar 262 modules/videoio/test/test_ffmpeg.cpp static const Scalar ObjectColor; Scalar 272 modules/videoio/test/test_ffmpeg.cpp frame = Scalar::all(i % 255); Scalar 308 modules/videoio/test/test_ffmpeg.cpp const Scalar WriteVideo_Invoker::ObjectColor(Scalar::all(0)); Scalar 61 modules/videoio/test/test_video_pos.cpp mat = Scalar(fabs(cos(i*0.08)*255), fabs(sin(i*0.05)*255), i); Scalar 62 modules/videoio/test/test_video_pos.cpp putText(mat, format("%03d", i), Point(10, 350), 0, 10, Scalar(128, 255, 255), 15); Scalar 63 modules/viz/include/opencv2/viz/types.hpp class Color : public Scalar Scalar 70 modules/viz/include/opencv2/viz/types.hpp Color(const Scalar& color); Scalar 268 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color() : Scalar(0, 0, 0) {} Scalar 269 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(double _gray) : Scalar(_gray, _gray, _gray) {} Scalar 270 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(double _blue, double _green, double _red) : Scalar(_blue, _green, _red) {} Scalar 271 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::Color(const Scalar& color) : Scalar(color) {} Scalar 168 modules/viz/test/tests_simple.cpp rng.fill(c, RNG::NORMAL, Scalar::all(128), Scalar::all(48), true); Scalar 6 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java import org.opencv.core.Scalar; Scalar 24 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java private static final Scalar GRID_EMPTY_COLOR = new Scalar(0x33, 0x33, 0x33, 0xFF); Scalar 103 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java (rows / GRID_SIZE + mTextHeights[idx]) / 2), 3/* CV_FONT_HERSHEY_COMPLEX */, 1, new Scalar(255, 0, 0, 255), 2); Scalar 164 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Imgproc.line(drawMat, new Point(0, i * rows / GRID_SIZE), new Point(cols, i * rows / GRID_SIZE), new Scalar(0, 255, 0, 255), 3); Scalar 165 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Imgproc.line(drawMat, new Point(i * cols / GRID_SIZE, 0), new Point(i * cols / GRID_SIZE, rows), new Scalar(0, 255, 0, 255), 3); Scalar 14 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java import org.opencv.core.Scalar; Scalar 144 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java Core.FONT_HERSHEY_SIMPLEX, 1.0, new Scalar(255, 255, 0)); Scalar 12 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java import org.opencv.core.Scalar; Scalar 83 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Imgproc.fillPoly(comparisonFrame, border, new Scalar(255, 255, 255)); Scalar 86 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Core.FONT_HERSHEY_SIMPLEX, 1.0, new Scalar(255, 255, 0)); Scalar 88 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Core.FONT_HERSHEY_SIMPLEX, 1.0, new Scalar(255, 255, 0)); Scalar 14 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java import org.opencv.core.Scalar; Scalar 34 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java private Scalar mBlobColorRgba; Scalar 35 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java private Scalar mBlobColorHsv; Scalar 39 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java private Scalar CONTOUR_COLOR; Scalar 110 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java mBlobColorRgba = new Scalar(255); Scalar 111 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java mBlobColorHsv = new Scalar(255); Scalar 113 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java CONTOUR_COLOR = new Scalar(255,0,0,255); Scalar 189 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java private Scalar converScalarHsv2Rgba(Scalar hsvColor) { Scalar 194 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java return new Scalar(pointMatRgba.get(0, 0)); Scalar 11 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java import org.opencv.core.Scalar; Scalar 16 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java private Scalar mLowerBound = new Scalar(0); Scalar 17 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java private Scalar mUpperBound = new Scalar(0); Scalar 21 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java private Scalar mColorRadius = new Scalar(25,50,50,0); Scalar 32 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java public void setColorRadius(Scalar radius) { Scalar 36 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java public void setHsvColor(Scalar hsvColor) { Scalar 99 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java Core.multiply(contour, new Scalar(4,4), contour); Scalar 16 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java import org.opencv.core.Scalar; Scalar 34 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java private static final Scalar FACE_RECT_COLOR = new Scalar(0, 255, 0, 255); Scalar 17 samples/android/hello-android/main.cpp Mat img(textsize.height + 20, textsize.width + 20, CV_32FC1, Scalar(230,230,230)); Scalar 18 samples/android/hello-android/main.cpp putText(img, message, Point(10, img.rows - 10), FONT_HERSHEY_COMPLEX, 3, Scalar(0, 0, 0), 5); Scalar 15 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java import org.opencv.core.Scalar; Scalar 58 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java private Scalar mColorsRGB[]; Scalar 59 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java private Scalar mColorsHue[]; Scalar 60 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java private Scalar mWhilte; Scalar 173 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mColorsRGB = new Scalar[] { new Scalar(200, 0, 0, 255), new Scalar(0, 200, 0, 255), new Scalar(0, 0, 200, 255) }; Scalar 174 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mColorsHue = new Scalar[] { Scalar 175 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java new Scalar(255, 0, 0, 255), new Scalar(255, 60, 0, 255), new Scalar(255, 120, 0, 255), new Scalar(255, 180, 0, 255), new Scalar(255, 240, 0, 255), Scalar 176 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java new Scalar(215, 213, 0, 255), new Scalar(150, 255, 0, 255), new Scalar(85, 255, 0, 255), new Scalar(20, 255, 0, 255), new Scalar(0, 255, 30, 255), Scalar 177 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java new Scalar(0, 255, 85, 255), new Scalar(0, 255, 150, 255), new Scalar(0, 255, 215, 255), new Scalar(0, 234, 255, 255), new Scalar(0, 170, 255, 255), Scalar 178 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java new Scalar(0, 120, 255, 255), new Scalar(0, 60, 255, 255), new Scalar(0, 0, 255, 255), new Scalar(64, 0, 255, 255), new Scalar(120, 0, 255, 255), Scalar 179 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java new Scalar(180, 0, 255, 255), new Scalar(255, 0, 255, 255), new Scalar(255, 0, 215, 255), new Scalar(255, 0, 85, 255), new Scalar(255, 0, 0, 255) Scalar 181 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java mWhilte = Scalar.all(255); Scalar 290 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.rectangle(mZoomWindow, new Point(1, 1), new Point(wsize.width - 2, wsize.height - 2), new Scalar(255, 0, 0, 255), 2); Scalar 310 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java rgbaInnerWindow.setTo(new Scalar(0, 0, 0, 255), mIntermediateMat); Scalar 24 samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp circle(mRgb, Point(kp.pt.x, kp.pt.y), 10, Scalar(255,0,0,255)); Scalar 348 samples/cpp/3calibration.cpp canvas = Scalar::all(0); Scalar 352 samples/cpp/3calibration.cpp canvas = Scalar::all(0); Scalar 368 samples/cpp/3calibration.cpp line(small_canvas, Point(0, k), Point(small_canvas.cols, k), Scalar(0,255,0), 1); Scalar 86 samples/cpp/bgfg_segm.cpp fgimg = Scalar::all(0); Scalar 516 samples/cpp/calibration.cpp mode != CALIBRATED ? Scalar(0,0,255) : Scalar(0,255,0)); Scalar 124 samples/cpp/camshiftdemo.cpp inRange(hsv, Scalar(0, smin, MIN(_vmin,_vmax)), Scalar 125 samples/cpp/camshiftdemo.cpp Scalar(180, 256, MAX(_vmin, _vmax)), mask); Scalar 139 samples/cpp/camshiftdemo.cpp histimg = Scalar::all(0); Scalar 151 samples/cpp/camshiftdemo.cpp Scalar(buf.at<Vec3b>(i)), -1, 8 ); Scalar 169 samples/cpp/camshiftdemo.cpp ellipse( image, trackBox, Scalar(0,0,255), 3, LINE_AA ); Scalar 194 samples/cpp/camshiftdemo.cpp histimg = Scalar::all(0); Scalar 84 samples/cpp/cloning_gui.cpp circle(img1,point,2,Scalar(0, 0, 255),-1, 8, 0); Scalar 89 samples/cpp/cloning_gui.cpp line(img1,pts[var-2], point, Scalar(0, 0, 255), 2, 8, 0); Scalar 111 samples/cpp/cloning_gui.cpp polylines( img1, pts3, &numpts,1, 1, Scalar(0,0,0), 2, 8, 0); Scalar 144 samples/cpp/cloning_gui.cpp fillPoly(res1, pts4,&numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 213 samples/cpp/cloning_gui.cpp polylines( im1, pts5, &numpts,1, 1, Scalar(0,0,255), 2, 8, 0); Scalar 250 samples/cpp/cloning_gui.cpp fillPoly(res, pts6, &numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 469 samples/cpp/cloning_gui.cpp polylines( img1, pts3, &numpts,1, 1, Scalar(0,0,0), 2, 8, 0); Scalar 497 samples/cpp/cloning_gui.cpp fillPoly(res1, pts4,&numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 30 samples/cpp/contours2.cpp drawContours( cnt_img, contours, _levels <= 0 ? 3 : -1, Scalar(128,255,255), Scalar 49 samples/cpp/contours2.cpp const Scalar white = Scalar(255); Scalar 50 samples/cpp/contours2.cpp const Scalar black = Scalar(0); Scalar 42 samples/cpp/convexhull.cpp img = Scalar::all(0); Scalar 44 samples/cpp/convexhull.cpp circle(img, points[i], 3, Scalar(0, 0, 255), FILLED, LINE_AA); Scalar 52 samples/cpp/convexhull.cpp line(img, pt0, pt, Scalar(0, 255, 0), 1,LINE_AA); Scalar 36 samples/cpp/cout_mat.cpp randu(r, Scalar::all(0), Scalar::all(255)); Scalar 50 samples/cpp/create_mask.cpp circle(img1,point,2,Scalar(0, 0, 255),-1, 8, 0); Scalar 55 samples/cpp/create_mask.cpp line(img1,pts[var-2], point, Scalar(0, 0, 255), 2, 8, 0); Scalar 77 samples/cpp/create_mask.cpp polylines( img1, pts3, &numpts,1, 1, Scalar(0,0,0), 2, 8, 0); Scalar 101 samples/cpp/create_mask.cpp fillPoly(res1, pts4,&numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 83 samples/cpp/dbt_face_detection.cpp rectangle(ReferenceFrame, Faces[i], Scalar(0,255,0)); Scalar 19 samples/cpp/delaunay2.cpp static void draw_subdiv_point( Mat& img, Point2f fp, Scalar color ) Scalar 24 samples/cpp/delaunay2.cpp static void draw_subdiv( Mat& img, Subdiv2D& subdiv, Scalar delaunay_color ) Scalar 54 samples/cpp/delaunay2.cpp static void locate_point( Mat& img, Subdiv2D& subdiv, Point2f fp, Scalar active_color ) Scalar 93 samples/cpp/delaunay2.cpp Scalar color; Scalar 100 samples/cpp/delaunay2.cpp polylines(img, ifacets, true, Scalar(), 1, LINE_AA, 0); Scalar 101 samples/cpp/delaunay2.cpp circle(img, centers[i], 3, Scalar(), FILLED, LINE_AA, 0); Scalar 110 samples/cpp/delaunay2.cpp Scalar active_facet_color(0, 0, 255), delaunay_color(255,255,255); Scalar 116 samples/cpp/delaunay2.cpp img = Scalar::all(0); Scalar 133 samples/cpp/delaunay2.cpp img = Scalar::all(0); Scalar 141 samples/cpp/delaunay2.cpp img = Scalar::all(0); Scalar 50 samples/cpp/demhist.cpp histImage = Scalar::all(255); Scalar 56 samples/cpp/demhist.cpp Scalar::all(0), -1, 8, 0 ); Scalar 338 samples/cpp/detect_mser.cpp img = Scalar(fond); Scalar 349 samples/cpp/detect_mser.cpp rectangle(img, Rect(p0, Size(width[i], width[i])), Scalar(color[i]), 1); Scalar 351 samples/cpp/detect_mser.cpp floodFill(img, p0, Scalar(color[i])); Scalar 359 samples/cpp/detect_mser.cpp circle(img, p0, width[i] / 2, Scalar(color[i]), 1); Scalar 360 samples/cpp/detect_mser.cpp floodFill(img, p0, Scalar(color[i])); Scalar 368 samples/cpp/detect_mser.cpp rectangle(img, Rect(p0, Size(width[i], width[i])), Scalar(color[i]), 1); Scalar 370 samples/cpp/detect_mser.cpp floodFill(img, p0, Scalar(color[i])); Scalar 379 samples/cpp/detect_mser.cpp circle(img, p0, width[i] / 2, Scalar(color[i]), 1); Scalar 380 samples/cpp/detect_mser.cpp floodFill(img, p0, Scalar(color[i])); Scalar 41 samples/cpp/dft.cpp copyMakeBorder(img, padded, 0, M - img.rows, 0, N - img.cols, BORDER_CONSTANT, Scalar::all(0)); Scalar 53 samples/cpp/dft.cpp mag += Scalar::all(1); Scalar 22 samples/cpp/distrans.cpp static const Scalar colors[] = Scalar 24 samples/cpp/distrans.cpp Scalar(0,0,0), Scalar 25 samples/cpp/distrans.cpp Scalar(255,0,0), Scalar 26 samples/cpp/distrans.cpp Scalar(255,128,0), Scalar 27 samples/cpp/distrans.cpp Scalar(255,255,0), Scalar 28 samples/cpp/distrans.cpp Scalar(0,255,0), Scalar 29 samples/cpp/distrans.cpp Scalar(0,128,255), Scalar 30 samples/cpp/distrans.cpp Scalar(0,255,255), Scalar 31 samples/cpp/distrans.cpp Scalar(0,0,255), Scalar 32 samples/cpp/distrans.cpp Scalar(255,0,255) Scalar 54 samples/cpp/distrans.cpp dist32s &= Scalar::all(255); Scalar 59 samples/cpp/distrans.cpp dist32s += Scalar::all(255); Scalar 13 samples/cpp/drawing.cpp static Scalar randomColor(RNG& rng) Scalar 16 samples/cpp/drawing.cpp return Scalar(icolor&255, (icolor>>8)&255, (icolor>>16)&255); Scalar 167 samples/cpp/drawing.cpp image2 = image - Scalar::all(i); Scalar 169 samples/cpp/drawing.cpp Scalar(i, i, 255), 5, lineType); Scalar 21 samples/cpp/edge.cpp cedge = Scalar::all(0); Scalar 12 samples/cpp/em.cpp const Scalar colors[] = Scalar 14 samples/cpp/em.cpp Scalar(0,0,255), Scalar(0,255,0), Scalar 15 samples/cpp/em.cpp Scalar(0,255,255),Scalar(255,255,0) Scalar 31 samples/cpp/em.cpp Scalar mean(((i%N1)+1)*img.rows/(N1+1), Scalar 33 samples/cpp/em.cpp Scalar sigma(30,30); Scalar 53 samples/cpp/em.cpp Scalar c = colors[response]; Scalar 48 samples/cpp/example_cmake/example.cpp Scalar(255, 255, 255), // white Scalar 205 samples/cpp/facedetect.cpp const static Scalar colors[] = { CV_RGB(0,0,255), Scalar 249 samples/cpp/facedetect.cpp Scalar color = colors[i%8]; Scalar 143 samples/cpp/facial_features.cpp Scalar(255, 0, 0), 1, 4); Scalar 163 samples/cpp/facial_features.cpp circle(ROI, Point(e.x+e.width/2, e.y+e.height/2), 3, Scalar(0, 255, 0), -1, 8); Scalar 180 samples/cpp/facial_features.cpp circle(ROI, Point(n.x+n.width/2, n.y+n.height/2), 3, Scalar(0, 255, 0), -1, 8); Scalar 200 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); Scalar 205 samples/cpp/facial_features.cpp rectangle(ROI, Point(m.x, m.y), Point(m.x+m.width, m.y+m.height), Scalar(0, 255, 0), 1, 4); Scalar 21 samples/cpp/fback.cpp double, const Scalar& color) Scalar 54 samples/cpp/fback.cpp drawOptFlowMap(flow, cflow, 16, 1.5, Scalar(0, 255, 0)); Scalar 52 samples/cpp/ffilldemo.cpp Scalar newVal = isColor ? Scalar(b, g, r) : Scalar(r*0.299 + g*0.587 + b*0.114); Scalar 59 samples/cpp/ffilldemo.cpp area = floodFill(dst, mask, seed, newVal, &ccomp, Scalar(lo, lo, lo), Scalar 60 samples/cpp/ffilldemo.cpp Scalar(up, up, up), flags); Scalar 65 samples/cpp/ffilldemo.cpp area = floodFill(dst, seed, newVal, &ccomp, Scalar(lo, lo, lo), Scalar 66 samples/cpp/ffilldemo.cpp Scalar(up, up, up), flags); Scalar 112 samples/cpp/ffilldemo.cpp mask = Scalar::all(0); Scalar 119 samples/cpp/ffilldemo.cpp mask = Scalar::all(0); Scalar 132 samples/cpp/ffilldemo.cpp mask = Scalar::all(0); Scalar 141 samples/cpp/ffilldemo.cpp mask = Scalar::all(0); Scalar 84 samples/cpp/fitellipse.cpp drawContours(cimage, contours, (int)i, Scalar::all(255), 1, 8); Scalar 86 samples/cpp/fitellipse.cpp ellipse(cimage, box, Scalar(0,0,255), 1, LINE_AA); Scalar 87 samples/cpp/fitellipse.cpp ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); Scalar 91 samples/cpp/fitellipse.cpp line(cimage, vtx[j], vtx[(j+1)%4], Scalar(0,255,0), 1, LINE_AA); Scalar 31 samples/cpp/grabcut.cpp const Scalar RED = Scalar(0,0,255); Scalar 32 samples/cpp/grabcut.cpp const Scalar PINK = Scalar(230,130,255); Scalar 33 samples/cpp/grabcut.cpp const Scalar BLUE = Scalar(255,0,0); Scalar 34 samples/cpp/grabcut.cpp const Scalar LIGHTBLUE = Scalar(255,255,160); Scalar 35 samples/cpp/grabcut.cpp const Scalar GREEN = Scalar(0,255,0); Scalar 82 samples/cpp/grabcut.cpp mask.setTo(Scalar::all(GC_BGD)); Scalar 142 samples/cpp/grabcut.cpp (mask(rect)).setTo( Scalar(GC_PR_FGD) ); Scalar 41 samples/cpp/houghcircles.cpp circle( cimg, Point(c[0], c[1]), c[2], Scalar(0,0,255), 3, LINE_AA); Scalar 42 samples/cpp/houghcircles.cpp circle( cimg, Point(c[0], c[1]), 2, Scalar(0,255,0), 3, LINE_AA); Scalar 47 samples/cpp/houghlines.cpp line( cdst, pt1, pt2, Scalar(0,0,255), 3, CV_AA); Scalar 55 samples/cpp/houghlines.cpp line( cdst, Point(l[0], l[1]), Point(l[2], l[3]), Scalar(0,0,255), 3, LINE_AA); Scalar 86 samples/cpp/image.cpp randn(noise, Scalar::all(128), Scalar::all(20)); // fills the matrix with normally distributed random values; Scalar 167 samples/cpp/image_alignment.cpp line(image, top_left, top_right, Scalar(255,0,255)); Scalar 168 samples/cpp/image_alignment.cpp line(image, top_right, bottom_right, Scalar(255,0,255)); Scalar 169 samples/cpp/image_alignment.cpp line(image, bottom_right, bottom_left, Scalar(255,0,255)); Scalar 170 samples/cpp/image_alignment.cpp line(image, bottom_left, top_left, Scalar(255,0,255)); Scalar 40 samples/cpp/inpaint.cpp line( inpaintMask, prevPt, pt, Scalar::all(255), 5, 8, 0 ); Scalar 41 samples/cpp/inpaint.cpp line( img, prevPt, pt, Scalar::all(255), 5, 8, 0 ); Scalar 77 samples/cpp/inpaint.cpp inpaintMask = Scalar::all(0); Scalar 42 samples/cpp/kalman.cpp randn( state, Scalar::all(0), Scalar::all(0.1) ); Scalar 46 samples/cpp/kalman.cpp setIdentity(KF.processNoiseCov, Scalar::all(1e-5)); Scalar 47 samples/cpp/kalman.cpp setIdentity(KF.measurementNoiseCov, Scalar::all(1e-1)); Scalar 48 samples/cpp/kalman.cpp setIdentity(KF.errorCovPost, Scalar::all(1)); Scalar 50 samples/cpp/kalman.cpp randn(KF.statePost, Scalar::all(0), Scalar::all(0.1)); Scalar 63 samples/cpp/kalman.cpp randn( measurement, Scalar::all(0), Scalar::all(KF.measurementNoiseCov.at<float>(0))); Scalar 78 samples/cpp/kalman.cpp img = Scalar::all(0); Scalar 79 samples/cpp/kalman.cpp drawCross( statePt, Scalar(255,255,255), 3 ); Scalar 80 samples/cpp/kalman.cpp drawCross( measPt, Scalar(0,0,255), 3 ); Scalar 81 samples/cpp/kalman.cpp drawCross( predictPt, Scalar(0,255,0), 3 ); Scalar 82 samples/cpp/kalman.cpp line( img, statePt, measPt, Scalar(0,0,255), 3, LINE_AA, 0 ); Scalar 83 samples/cpp/kalman.cpp line( img, statePt, predictPt, Scalar(0,255,255), 3, LINE_AA, 0 ); Scalar 88 samples/cpp/kalman.cpp randn( processNoise, Scalar(0), Scalar::all(sqrt(KF.processNoiseCov.at<float>(0, 0)))); Scalar 21 samples/cpp/kmeans.cpp Scalar colorTab[] = Scalar 23 samples/cpp/kmeans.cpp Scalar(0, 0, 255), Scalar 24 samples/cpp/kmeans.cpp Scalar(0,255,0), Scalar 25 samples/cpp/kmeans.cpp Scalar(255,100,100), Scalar 26 samples/cpp/kmeans.cpp Scalar(255,0,255), Scalar 27 samples/cpp/kmeans.cpp Scalar(0,255,255) Scalar 51 samples/cpp/kmeans.cpp rng.fill(pointChunk, RNG::NORMAL, Scalar(center.x, center.y), Scalar(img.cols*0.05, img.rows*0.05)); Scalar 60 samples/cpp/kmeans.cpp img = Scalar::all(0); Scalar 102 samples/cpp/letter_recog.cpp train_samples.setTo(Scalar::all(1)); Scalar 106 samples/cpp/letter_recog.cpp var_type.setTo(Scalar::all(VAR_ORDERED)); Scalar 277 samples/cpp/letter_recog.cpp var_type.setTo(Scalar::all(VAR_ORDERED)); Scalar 77 samples/cpp/lkdemo.cpp image = Scalar::all(0); Scalar 110 samples/cpp/lkdemo.cpp circle( image, points[1][i], 3, Scalar(0,255,0), -1, 8); Scalar 66 samples/cpp/mask_tmpl.cpp rectangle(img, rect, Scalar(0, 255, 0), 2); Scalar 56 samples/cpp/minarea.cpp img = Scalar::all(0); Scalar 60 samples/cpp/minarea.cpp circle( img, points[i], 3, Scalar(0, 0, 255), FILLED, LINE_AA ); Scalar 64 samples/cpp/minarea.cpp line(img, vtx[i], vtx[(i+1)%4], Scalar(0, 255, 0), 1, LINE_AA); Scalar 68 samples/cpp/minarea.cpp line(img, triangle[i], triangle[(i+1)%3], Scalar(255, 255, 0), 1, LINE_AA); Scalar 71 samples/cpp/minarea.cpp circle(img, center, cvRound(radius), Scalar(0, 255, 255), 1, LINE_AA); Scalar 39 samples/cpp/openni_capture.cpp rgb = Scalar::all(0); Scalar 35 samples/cpp/phase_corr.cpp circle(frame, center, (int)radius, Scalar(0, 255, 0), 3, LINE_AA); Scalar 36 samples/cpp/phase_corr.cpp line(frame, center, Point(center.x + (int)shift.x, center.y + (int)shift.y), Scalar(0, 255, 0), 3, LINE_AA); Scalar 17 samples/cpp/points_classifier.cpp const Scalar WHITE_COLOR = Scalar(255,255,255); Scalar 59 samples/cpp/points_classifier.cpp img = Scalar::all(0); Scalar 65 samples/cpp/points_classifier.cpp circle( img, trainedPoints[i], 5, Scalar(c), -1 ); Scalar 144 samples/cpp/points_classifier.cpp circle( imgDst, Point(saturate_cast<int>(supportVector[0]),saturate_cast<int>(supportVector[1])), 5, Scalar(255,255,255), -1 ); Scalar 273 samples/cpp/points_classifier.cpp Mat logLikelihoods(1, nmodels, CV_64FC1, Scalar(-DBL_MAX)); Scalar 321 samples/cpp/points_classifier.cpp img = Scalar::all(0); Scalar 56 samples/cpp/segment_objects.cpp Scalar color( 0, 0, 255 ); Scalar 153 samples/cpp/select3dobj.cpp circle(shownFrame, imgpt[0], 3, Scalar(0,255,0), -1, LINE_AA); Scalar 156 samples/cpp/select3dobj.cpp circle(shownFrame, imgpt[0], 3, Scalar(0,255,0), -1, LINE_AA); Scalar 157 samples/cpp/select3dobj.cpp circle(shownFrame, imgpt[1], 3, Scalar(0,255,0), -1, LINE_AA); Scalar 158 samples/cpp/select3dobj.cpp line(shownFrame, imgpt[0], imgpt[1], Scalar(0,255,0), 3, LINE_AA); Scalar 163 samples/cpp/select3dobj.cpp circle(shownFrame, imgpt[i], 3, Scalar(0,255,0), -1, LINE_AA); Scalar 164 samples/cpp/select3dobj.cpp line(shownFrame, imgpt[i], imgpt[(i+1)%4], Scalar(0,255,0), 3, LINE_AA); Scalar 169 samples/cpp/select3dobj.cpp circle(shownFrame, imgpt[i], 3, Scalar(0,255,0), -1, LINE_AA); Scalar 170 samples/cpp/select3dobj.cpp line(shownFrame, imgpt[i], imgpt[(i+1)%4 + (i/4)*4], Scalar(0,255,0), 3, LINE_AA); Scalar 171 samples/cpp/select3dobj.cpp line(shownFrame, imgpt[i], imgpt[i%4], Scalar(0,255,0), 3, LINE_AA); Scalar 180 samples/cpp/select3dobj.cpp fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(255), 8, 0); Scalar 185 samples/cpp/select3dobj.cpp selectedObjMask = Scalar::all(GC_BGD); Scalar 186 samples/cpp/select3dobj.cpp fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(GC_PR_FGD), 8, 0); Scalar 190 samples/cpp/select3dobj.cpp bitwise_and(selectedObjMask, Scalar::all(1), selectedObjMask); Scalar 163 samples/cpp/smiledetect.cpp const static Scalar colors[] = { CV_RGB(0,0,255), Scalar 205 samples/cpp/smiledetect.cpp Scalar color = colors[i%8]; Scalar 136 samples/cpp/squares.cpp polylines(image, &p, &n, 1, true, Scalar(0,255,0), 3, LINE_AA); Scalar 313 samples/cpp/stereo_calib.cpp rectangle(canvasPart, vroi, Scalar(0,0,255), 3, 8); Scalar 319 samples/cpp/stereo_calib.cpp line(canvas, Point(0, j), Point(canvas.cols, j), Scalar(0, 255, 0), 1, 8); Scalar 322 samples/cpp/stereo_calib.cpp line(canvas, Point(j, 0), Point(j, canvas.rows), Scalar(0, 255, 0), 1, 8); Scalar 587 samples/cpp/stitching_detailed.cpp masks[i].setTo(Scalar::all(255)); Scalar 780 samples/cpp/stitching_detailed.cpp mask.setTo(Scalar::all(255)); Scalar 21 samples/cpp/train_HOG.cpp void draw_locations( Mat & img, const vector< Rect > & locations, const Scalar & color ); Scalar 242 samples/cpp/train_HOG.cpp rectangle(visu, Point((int)(drawX*zoomFac), (int)(drawY*zoomFac)), Point((int)((drawX+cellSize)*zoomFac), (int)((drawY+cellSize)*zoomFac)), Scalar(100,100,100), 1); Scalar 267 samples/cpp/train_HOG.cpp line(visu, Point((int)(x1*zoomFac),(int)(y1*zoomFac)), Point((int)(x2*zoomFac),(int)(y2*zoomFac)), Scalar(0,255,0), 1); Scalar 338 samples/cpp/train_HOG.cpp void draw_locations( Mat & img, const vector< Rect > & locations, const Scalar & color ) Scalar 354 samples/cpp/train_HOG.cpp Scalar reference( 0, 255, 0 ); Scalar 355 samples/cpp/train_HOG.cpp Scalar trained( 0, 0, 255 ); Scalar 15 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar getMSSIM( const Mat& I1, const Mat& I2); Scalar 92 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar mssimV; Scalar 143 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar s = sum(s1); // sum elements per channel Scalar 157 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar getMSSIM( const Mat& i1, const Mat& i2) Scalar 206 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar mssim = mean(ssim_map); // mssim = average of ssim map Scalar 84 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( img_display, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); Scalar 85 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); Scalar 82 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp { rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/255.0 ) ), Scalar( 0, 0, 255 ), -1 ); } Scalar 63 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp Scalar newVal = Scalar( 120, 120, 120 ); Scalar 69 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp floodFill( src, mask2, seed, newVal, 0, Scalar( lo, lo, lo ), Scalar( up, up, up), flags ); Scalar 53 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp Mat histImage( hist_h, hist_w, CV_8UC3, Scalar( 0,0,0) ); Scalar 65 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp Scalar( 255, 0, 0), 2, 8, 0 ); Scalar 68 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp Scalar( 0, 255, 0), 2, 8, 0 ); Scalar 71 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp Scalar( 0, 0, 255), 2, 8, 0 ); Scalar 93 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp FONT_HERSHEY_COMPLEX, 1, Scalar(255, 255, 255) ); Scalar 40 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp dst = Scalar::all(0); Scalar 43 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp circle( display, center, 3, Scalar(0,255,0), -1, 8, 0 ); Scalar 45 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp circle( display, center, radius, Scalar(0,0,255), 3, 8, 0 ); Scalar 104 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp line( standard_hough, pt1, pt2, Scalar(255,0,0), 3, LINE_AA); Scalar 125 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp line( probabilistic_hough, Point(l[0], l[1]), Point(l[2], l[3]), Scalar(255,0,0), 3, LINE_AA); Scalar 51 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp remap( src, dst, map_x, map_y, INTER_LINEAR, BORDER_CONSTANT, Scalar(0, 0, 0) ); Scalar 67 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp Scalar value( rng.uniform(0, 255), rng.uniform(0, 255), rng.uniform(0, 255) ); Scalar 118 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp drawContours(markers, contours, static_cast<int>(i), Scalar::all(static_cast<int>(i)+1), -1); Scalar 72 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 80 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 77 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 74 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 77 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 91 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); Scalar 37 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp { line( src, vert[j], vert[(j+1)%6], Scalar( 255 ), 3, 8 ); } Scalar 100 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp { circle( myShiTomasi_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); } Scalar 119 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp { circle( myHarris_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); } Scalar 76 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp circle( dst_norm_scaled, Point( i, j ), 5, Scalar(0), 2, 8, 0 ); Scalar 88 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); } Scalar 88 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); } Scalar 255 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp const Scalar RED(0,0,255), GREEN(0,255,0); Scalar 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawQuestion(cv::Mat image, cv::Point3f point, cv::Scalar color) Scalar 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText(cv::Mat image, std::string text, cv::Scalar color) Scalar 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText2(cv::Mat image, std::string text, cv::Scalar color) Scalar 51 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawFPS(cv::Mat image, double fps, cv::Scalar color) Scalar 59 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawConfidence(cv::Mat image, double confidence, cv::Scalar color) Scalar 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawCounter(cv::Mat image, int n, int n_max, cv::Scalar color) Scalar 76 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color) Scalar 99 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color) Scalar 111 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawArrow(cv::Mat image, cv::Point2i p, cv::Point2i q, cv::Scalar color, int arrowMagnitude, int thickness, int line_type, int shift) Scalar 133 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar red(0, 0, 255); Scalar 134 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar green(0,255,0); Scalar 135 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar blue(255,0,0); Scalar 136 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp cv::Scalar black(0,0,0); Scalar 151 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawObjectMesh(cv::Mat image, const Mesh *mesh, PnPProblem *pnpProblem, cv::Scalar color) Scalar 16 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawQuestion(cv::Mat image, cv::Point3f point, cv::Scalar color); Scalar 19 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText(cv::Mat image, std::string text, cv::Scalar color); Scalar 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText2(cv::Mat image, std::string text, cv::Scalar color); Scalar 25 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawFPS(cv::Mat image, double fps, cv::Scalar color); Scalar 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawConfidence(cv::Mat image, double confidence, cv::Scalar color); Scalar 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawCounter(cv::Mat image, int n, int n_max, cv::Scalar color); Scalar 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color); Scalar 37 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color); Scalar 40 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawArrow(cv::Mat image, cv::Point2i p, cv::Point2i q, cv::Scalar color, int arrowMagnitude = 9, int thickness=1, int line_type=8, int shift=0); Scalar 46 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawObjectMesh(cv::Mat image, const Mesh *mesh, PnPProblem *pnpProblem, cv::Scalar color); Scalar 41 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp Scalar red(0, 0, 255); Scalar 42 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp Scalar green(0,255,0); Scalar 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp Scalar blue(255,0,0); Scalar 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp Scalar yellow(0,255,255); Scalar 146 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp Mat measurements(nMeasurements, 1, CV_64F); measurements.setTo(Scalar(0)); Scalar 362 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp setIdentity(KF.processNoiseCov, Scalar::all(1e-5)); // set process noise Scalar 363 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp setIdentity(KF.measurementNoiseCov, Scalar::all(1e-2)); // set measurement noise Scalar 364 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp setIdentity(KF.errorCovPost, Scalar::all(1)); // error covariance Scalar 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp Scalar red(0, 0, 255); Scalar 46 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp Scalar green(0,255,0); Scalar 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp Scalar blue(255,0,0); Scalar 48 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp Scalar yellow(0,255,255); Scalar 56 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Scalar( 0, 255, 255 ), Scalar 93 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Scalar( 255, 0, 0 ), Scalar 110 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Scalar( 0, 0, 255 ), Scalar 153 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Scalar( 255, 255, 255 ), Scalar 168 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp Scalar( 0, 0, 0 ), Scalar 26 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp static Scalar randomColor( RNG& rng ); Scalar 98 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp static Scalar randomColor( RNG& rng ) Scalar 101 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp return Scalar( icolor&255, (icolor>>8)&255, (icolor>>16)&255 ); Scalar 316 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp image2 = image - Scalar::all(i); Scalar 318 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp Scalar(i, i, 255), 5, lineType ); Scalar 33 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp copyMakeBorder(I, padded, 0, m - I.rows, 0, n - I.cols, BORDER_CONSTANT, Scalar::all(0)); Scalar 47 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp magI += Scalar::all(1); // switch to logarithmic scale Scalar 99 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp randn(noisyI, Scalar::all(128), Scalar::all(20)); Scalar 84 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.row(0).setTo(Scalar(0)); Scalar 85 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.row(Result.rows-1).setTo(Scalar(0)); Scalar 86 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.col(0).setTo(Scalar(0)); Scalar 87 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.col(Result.cols-1).setTo(Scalar(0)); Scalar 28 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp Mat M(2,2, CV_8UC3, Scalar(0,0,255)); Scalar 41 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp Mat L(3,sz, CV_8UC(1), Scalar::all(0)); Scalar 70 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp randu(R, Scalar::all(0), Scalar::all(255)); Scalar 47 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp putText(first_frame, title, Point(0, 60), FONT_HERSHEY_PLAIN, 5, Scalar::all(0), 4); Scalar 104 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp Scalar(255, 0, 0), Scalar(255, 0, 0)); Scalar 19 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h line(image, bb[i], bb[i + 1], Scalar(0, 0, 255), 2); Scalar 21 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h line(image, bb[bb.size() - 1], bb[0], Scalar(0, 0, 255), 2); Scalar 33 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str1.str(), Point(0, image.rows - 90), font, 2, Scalar::all(255), 3); Scalar 34 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str2.str(), Point(0, image.rows - 60), font, 2, Scalar::all(255), 3); Scalar 35 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h putText(image, str3.str(), Point(0, image.rows - 30), font, 2, Scalar::all(255), 3); Scalar 17 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM( const Mat& I1, const Mat& I2); Scalar 20 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA( const Mat& I1, const Mat& I2); Scalar 51 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA_optimized( const Mat& i1, const Mat& i2, BufferMSSIM& b); Scalar 128 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar x; Scalar 180 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = sum(s1); // sum elements per channel Scalar 234 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(gs); Scalar 249 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM( const Mat& i1, const Mat& i2) Scalar 298 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar mssim = mean( ssim_map ); // mssim = average of ssim map Scalar 304 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA( const Mat& i1, const Mat& i2) Scalar 319 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar mssim; Scalar 366 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(ssim_map); Scalar 375 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar getMSSIM_CUDA_optimized( const Mat& i1, const Mat& i2, BufferMSSIM& b) Scalar 390 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar mssim; Scalar 439 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(b.ssim_map, b.buf); Scalar 14 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp void drawAxis(Mat&, Point, Point, Scalar, const float); Scalar 20 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp void drawAxis(Mat& img, Point p, Point q, Scalar colour, const float scale = 0.2) Scalar 82 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp circle(img, cntr, 3, Scalar(255, 0, 255), 2); Scalar 85 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp drawAxis(img, cntr, p1, Scalar(0, 255, 0), 1); Scalar 86 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp drawAxis(img, cntr, p2, Scalar(255, 255, 0), 5); Scalar 136 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp drawContours(src, contours, static_cast<int>(i), Scalar(0, 0, 255), 2, 8, hierarchy, 0); Scalar 58 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp circle( image, Point(501, 10), 5, Scalar( 0, 0, 0), thickness, lineType ); Scalar 59 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp circle( image, Point(255, 10), 5, Scalar(255, 255, 255), thickness, lineType ); Scalar 60 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp circle( image, Point(501, 255), 5, Scalar(255, 255, 255), thickness, lineType ); Scalar 61 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp circle( image, Point( 10, 501), 5, Scalar(255, 255, 255), thickness, lineType ); Scalar 73 samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp circle( image, Point( (int) v[0], (int) v[1]), 6, Scalar(128, 128, 128), thickness, lineType); Scalar 47 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(0.4 * WIDTH)); Scalar 50 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT)); Scalar 56 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(0.6*WIDTH), Scalar(WIDTH)); Scalar 59 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT)); Scalar 68 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(0.4*WIDTH), Scalar(0.6*WIDTH)); Scalar 71 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT)); Scalar 116 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp circle(I, Point( (int) px, (int) py ), 3, Scalar(0, 255, 0), thick, lineType); Scalar 123 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp circle(I, Point( (int) px, (int) py ), 3, Scalar(255, 0, 0), thick, lineType); Scalar 136 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp circle( I, Point( (int) v[0], (int) v[1]), 6, Scalar(128, 128, 128), thick, lineType); Scalar 68 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 255 ), 4, 8, 0 ); Scalar 80 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp circle( frame, eye_center, radius, Scalar( 255, 0, 0 ), 4, 8, 0 ); Scalar 85 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp ellipse( frame, center, Size( faces[i].width/2, faces[i].height/2 ), 0, 0, 360, Scalar( 255, 0, 0 ), 2, 8, 0 ); Scalar 91 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp circle( frame, eye_center, radius, Scalar( 255, 0, 255 ), 3, 8, 0 ); Scalar 83 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp circle(img1,point,2,Scalar(0, 0, 255),-1, 8, 0); Scalar 88 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp line(img1,pts[var-2], point, Scalar(0, 0, 255), 2, 8, 0); Scalar 110 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp polylines( img1, pts3, &numpts,1, 1, Scalar(0,0,0), 2, 8, 0); Scalar 143 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp fillPoly(res1, pts4,&numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 212 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp polylines( im1, pts5, &numpts,1, 1, Scalar(0,0,255), 2, 8, 0); Scalar 249 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp fillPoly(res, pts6, &numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 468 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp polylines( img1, pts3, &numpts,1, 1, Scalar(0,0,0), 2, 8, 0); Scalar 496 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp fillPoly(res1, pts4,&numpts, 1, Scalar(255, 255, 255), 8, 0); Scalar 113 samples/cpp/tutorial_code/video/bg_sub.cpp cv::Scalar(255,255,255), -1); Scalar 117 samples/cpp/tutorial_code/video/bg_sub.cpp FONT_HERSHEY_SIMPLEX, 0.5 , cv::Scalar(0,0,0)); Scalar 158 samples/cpp/tutorial_code/video/bg_sub.cpp cv::Scalar(255,255,255), -1); Scalar 160 samples/cpp/tutorial_code/video/bg_sub.cpp FONT_HERSHEY_SIMPLEX, 0.5 , cv::Scalar(0,0,0)); Scalar 90 samples/cpp/tvl1_optical_flow.cpp dst.setTo(Scalar::all(0)); Scalar 191 samples/cpp/ufacedetect.cpp const static Scalar colors[] = Scalar 193 samples/cpp/ufacedetect.cpp Scalar(0,0,255), Scalar 194 samples/cpp/ufacedetect.cpp Scalar(0,128,255), Scalar 195 samples/cpp/ufacedetect.cpp Scalar(0,255,255), Scalar 196 samples/cpp/ufacedetect.cpp Scalar(0,255,0), Scalar 197 samples/cpp/ufacedetect.cpp Scalar(255,128,0), Scalar 198 samples/cpp/ufacedetect.cpp Scalar(255,255,0), Scalar 199 samples/cpp/ufacedetect.cpp Scalar(255,0,0), Scalar 200 samples/cpp/ufacedetect.cpp Scalar(255,0,255) Scalar 243 samples/cpp/ufacedetect.cpp FONT_HERSHEY_SIMPLEX, 0.8, Scalar(0,255,0), 2); Scalar 249 samples/cpp/ufacedetect.cpp Scalar color = colors[i%8]; Scalar 42 samples/cpp/watershed.cpp line( markerMask, prevPt, pt, Scalar::all(255), 5, 8, 0 ); Scalar 43 samples/cpp/watershed.cpp line( img, prevPt, pt, Scalar::all(255), 5, 8, 0 ); Scalar 65 samples/cpp/watershed.cpp markerMask = Scalar::all(0); Scalar 78 samples/cpp/watershed.cpp markerMask = Scalar::all(0); Scalar 94 samples/cpp/watershed.cpp markers = Scalar::all(0); Scalar 97 samples/cpp/watershed.cpp drawContours(markers, contours, idx, Scalar::all(compCount+1), -1, 8, hierarchy, INT_MAX); Scalar 273 samples/directx/d3d10_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 274 samples/directx/d3d10_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 275 samples/directx/d3d10_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 277 samples/directx/d3d11_interop.cpp cv::putText(m, strMode, cv::Point(0, 16), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 278 samples/directx/d3d11_interop.cpp cv::putText(m, strFPS, cv::Point(0, 32), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 279 samples/directx/d3d11_interop.cpp cv::putText(m, strDevName, cv::Point(0, 48), 1, 0.8, cv::Scalar(0, 0, 0)); Scalar 23 samples/gpu/alpha_comp.cpp Mat src1(640, 480, CV_8UC4, Scalar::all(0)); Scalar 24 samples/gpu/alpha_comp.cpp Mat src2(640, 480, CV_8UC4, Scalar::all(0)); Scalar 26 samples/gpu/alpha_comp.cpp rectangle(src1, Rect(50, 50, 200, 200), Scalar(0, 0, 255, 128), 30); Scalar 27 samples/gpu/alpha_comp.cpp rectangle(src2, Rect(100, 100, 200, 200), Scalar(255, 0, 0, 128), 30); Scalar 150 samples/gpu/bgfg_segm.cpp d_fgimg.setTo(Scalar::all(0)); Scalar 77 samples/gpu/cascadeclassifier.cpp static void matPrint(Mat &img, int lineOffsY, Scalar fontColor, const string &ss) Scalar 87 samples/gpu/cascadeclassifier.cpp putText(img, ss, org, fontFace, fontScale, Scalar(0,0,0), 5*fontThickness/2, 16); Scalar 94 samples/gpu/cascadeclassifier.cpp Scalar fontColorRed = Scalar(255,0,0); Scalar 95 samples/gpu/cascadeclassifier.cpp Scalar fontColorNV = Scalar(118,185,0); Scalar 258 samples/gpu/cascadeclassifier.cpp rectangle(resized_cpu, faces[i], Scalar(255)); Scalar 42 samples/gpu/cascadeclassifier_nvidia_api.cpp static void matPrint(Mat &img, int lineOffsY, Scalar fontColor, const string &ss) Scalar 52 samples/gpu/cascadeclassifier_nvidia_api.cpp putText(img, ss, org, fontFace, fontScale, Scalar(0,0,0), 5*fontThickness/2, 16); Scalar 59 samples/gpu/cascadeclassifier_nvidia_api.cpp Scalar fontColorRed(0,0,255); Scalar 60 samples/gpu/cascadeclassifier_nvidia_api.cpp Scalar fontColorNV(0,185,118); Scalar 341 samples/gpu/cascadeclassifier_nvidia_api.cpp rectangle(gray, rectsOpenCV[rt], Scalar(255)); Scalar 116 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); Scalar 120 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); Scalar 124 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); Scalar 174 samples/gpu/generalized_hough.cpp line(out, pts[0], pts[1], Scalar(0, 0, 255), 3); Scalar 175 samples/gpu/generalized_hough.cpp line(out, pts[1], pts[2], Scalar(0, 0, 255), 3); Scalar 176 samples/gpu/generalized_hough.cpp line(out, pts[2], pts[3], Scalar(0, 0, 255), 3); Scalar 177 samples/gpu/generalized_hough.cpp line(out, pts[3], pts[0], Scalar(0, 0, 255), 3); Scalar 338 samples/gpu/hog.cpp rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3); Scalar 342 samples/gpu/hog.cpp putText(img_to_show, "Mode: GPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 344 samples/gpu/hog.cpp putText(img_to_show, "Mode: CPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 345 samples/gpu/hog.cpp putText(img_to_show, "FPS (HOG only): " + hogWorkFps(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 346 samples/gpu/hog.cpp putText(img_to_show, "FPS (total): " + workFps(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 54 samples/gpu/houghlines.cpp line(dst_cpu, Point(l[0], l[1]), Point(l[2], l[3]), Scalar(0, 0, 255), 3, LINE_AA); Scalar 81 samples/gpu/houghlines.cpp line(dst_gpu, Point(l[0], l[1]), Point(l[2], l[3]), Scalar(0, 0, 255), 3, LINE_AA); Scalar 92 samples/gpu/optical_flow.cpp dst.setTo(Scalar::all(0)); Scalar 134 samples/gpu/performance/performance.cpp void gen(Mat& mat, int rows, int cols, int type, Scalar low, Scalar high) Scalar 182 samples/gpu/performance/performance.h void gen(cv::Mat& mat, int rows, int cols, int type, cv::Scalar low, Scalar 183 samples/gpu/performance/performance.h cv::Scalar high); Scalar 144 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); Scalar 230 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC4, Scalar::all(0), Scalar::all(1)); Scalar 260 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC3, Scalar::all(0), Scalar::all(256)); Scalar 268 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); Scalar 534 samples/gpu/performance/tests.cpp gen(src1, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); Scalar 535 samples/gpu/performance/tests.cpp gen(src2, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); Scalar 742 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); Scalar 857 samples/gpu/performance/tests.cpp gen(src, 1, size, CV_32FC3, Scalar::all(0), Scalar::all(10)); Scalar 878 samples/gpu/performance/tests.cpp Mat object; gen(object, 1, 4, CV_32FC3, Scalar::all(0), Scalar::all(100)); Scalar 879 samples/gpu/performance/tests.cpp Mat image; gen(image, 1, 4, CV_32FC2, Scalar::all(0), Scalar::all(100)); Scalar 893 samples/gpu/performance/tests.cpp Mat object; gen(object, 1, num_points, CV_32FC3, Scalar::all(10), Scalar::all(100)); Scalar 894 samples/gpu/performance/tests.cpp Mat image; gen(image, 1, num_points, CV_32FC2, Scalar::all(10), Scalar::all(100)); Scalar 1143 samples/gpu/performance/tests.cpp gen(src1, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); Scalar 1144 samples/gpu/performance/tests.cpp gen(src2, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); Scalar 1145 samples/gpu/performance/tests.cpp gen(src3, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); Scalar 30 samples/gpu/pyrlk_optical_flow.cpp static void drawArrows(Mat& frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts, const vector<uchar>& status, Scalar line_color = Scalar(0, 0, 255)) Scalar 173 samples/gpu/pyrlk_optical_flow.cpp drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0)); Scalar 214 samples/gpu/stereo_match.cpp putText(disp, text(), Point(5, 25), FONT_HERSHEY_SIMPLEX, 1.0, Scalar::all(255)); Scalar 4 samples/java/ant/src/SimpleSample.java import org.opencv.core.Scalar; Scalar 12 samples/java/ant/src/SimpleSample.java Mat m = new Mat(5, 10, CvType.CV_8UC1, new Scalar(0)); Scalar 15 samples/java/ant/src/SimpleSample.java mr1.setTo(new Scalar(1)); Scalar 17 samples/java/ant/src/SimpleSample.java mc5.setTo(new Scalar(5)); Scalar 6 samples/java/sbt/src/main/java/DetectFaceDemo.java import org.opencv.core.Scalar; Scalar 36 samples/java/sbt/src/main/java/DetectFaceDemo.java + rect.width, rect.y + rect.height), new Scalar(0, 255, 0)); Scalar 101 samples/tapi/bgfg_segm.cpp fgimg.setTo(Scalar::all(0)); Scalar 101 samples/tapi/camshift.cpp cv::Mat frame, histimg(200, 320, CV_8UC3, cv::Scalar::all(0)); Scalar 124 samples/tapi/camshift.cpp cv::inRange(hsv, cv::Scalar(0, smin, std::min(_vmin, _vmax)), Scalar 125 samples/tapi/camshift.cpp cv::Scalar(180, 256, std::max(_vmin, _vmax)), mask); Scalar 141 samples/tapi/camshift.cpp histimg = cv::Scalar::all(0); Scalar 155 samples/tapi/camshift.cpp cv::Scalar(buf.at<cv::Vec3b>(i)), -1, 8); Scalar 179 samples/tapi/camshift.cpp cv::ellipse(_image, trackBox, cv::Scalar(0, 0, 255), 3, cv::LINE_AA); Scalar 207 samples/tapi/camshift.cpp histimg = cv::Scalar::all(0); Scalar 225 samples/tapi/hog.cpp rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3); Scalar 228 samples/tapi/hog.cpp putText(img_to_show, ocl::useOpenCL() ? "Mode: OpenCL" : "Mode: CPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 229 samples/tapi/hog.cpp putText(img_to_show, "FPS (HOG only): " + hogWorkFps(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 230 samples/tapi/hog.cpp putText(img_to_show, "FPS (total): " + workFps(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); Scalar 34 samples/tapi/pyrlk_optical_flow.cpp Scalar line_color = Scalar(0, 0, 255)) Scalar 182 samples/tapi/pyrlk_optical_flow.cpp drawArrows(frameCopy, pts, nextPts, status, Scalar(255, 0, 0)); Scalar 222 samples/tapi/pyrlk_optical_flow.cpp drawArrows(frame0, pts, nextPts, status, Scalar(255, 0, 0)); Scalar 123 samples/tapi/squares.cpp polylines(image, &p, &n, 1, true, Scalar(0,255,0), 3, LINE_AA); Scalar 70 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp cv::rectangle(groupFaces, face, cv::Scalar(0, 255, 255), 5); Scalar 1326 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); Scalar 1332 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); Scalar 1339 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp OutputFrame.setTo(cv::Scalar(128)); Scalar 1351 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp const cv::Scalar mColorsY[] = { cv::Scalar(76), cv::Scalar(149), cv::Scalar(29) }; Scalar 1352 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp const cv::Scalar mColorsUV[] = { cv::Scalar(84, 255), cv::Scalar(43, 21), cv::Scalar(255, 107) }; Scalar 222 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp cv::circle(result, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255)); Scalar 138 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp cv::rectangle(frame, face, cv::Scalar(0, 255, 255), 3); Scalar 169 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp cv::circle(*mat, cv::Point((int)kp.pt.x, (int)kp.pt.y), 10, cv::Scalar(255,0,0,255));