ones 1204 modules/calib3d/src/fisheye.cpp vconcat(m, Mat::ones(1, Np, CV_64FC1), m); ones 1208 modules/calib3d/src/fisheye.cpp vconcat(M, Mat::ones(1, Np, CV_64FC1), M); ones 1211 modules/calib3d/src/fisheye.cpp divide(m, Mat::ones(3, 1, CV_64FC1) * m.row(2), m); ones 1212 modules/calib3d/src/fisheye.cpp divide(M, Mat::ones(3, 1, CV_64FC1) * M.row(2), M); ones 1262 modules/calib3d/src/fisheye.cpp divide(M, Mat::ones(3, 1, CV_64FC1) * mrep(Rect(0, 2, mrep.cols, 1)), MMM); ones 1263 modules/calib3d/src/fisheye.cpp divide(mrep, Mat::ones(3, 1, CV_64FC1) * mrep(Rect(0, 2, mrep.cols, 1)), mrep); ones 1267 modules/calib3d/src/fisheye.cpp multiply(Mat::ones(3, 1, CV_64FC1) * mrep(Rect(0, 0, mrep.cols, 1)), MMM, MMM2); ones 1268 modules/calib3d/src/fisheye.cpp multiply(Mat::ones(3, 1, CV_64FC1) * mrep(Rect(0, 1, mrep.cols, 1)), MMM, MMM3); ones 1284 modules/calib3d/src/fisheye.cpp divide(M, Mat::ones(3, 1, CV_64FC1) * mrep(Rect(0,2,mrep.cols,1)), MMM); ones 1288 modules/calib3d/src/fisheye.cpp vconcat(hhv_up, Mat::ones(1,1,CV_64FC1), tmp); ones 1332 modules/calib3d/src/fisheye.cpp Mat X_new = R * objectPoints + T * Mat::ones(1, Np, CV_64FC1); ones 379 modules/calib3d/src/fundam.cpp tempMask = Mat::ones(npoints, 1, CV_8U); ones 280 modules/calib3d/src/upnp.cpp Mat row14 = Mat::ones(1, 4, CV_64F); ones 281 modules/calib3d/src/upnp.cpp Mat row1n = Mat::ones(1, number_of_correspondences, CV_64F); ones 313 modules/calib3d/test/test_fisheye.cpp cv::Mat X_new = R * _objectPoints + T * cv::Mat::ones(1, Np, CV_64FC1); ones 316 modules/calib3d/test/test_fisheye.cpp cv::Mat M = cv::Mat::ones(3, X_new.cols, CV_64FC1); ones 320 modules/calib3d/test/test_fisheye.cpp cv::divide(mrep, cv::Mat::ones(3,1, CV_64FC1) * mrep.row(2).clone(), mrep); ones 1238 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int rows, int cols, int type); ones 1244 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(Size size, int type); ones 1251 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int ndims, const int* sz, int type); ones 2038 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int rows, int cols); ones 2039 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(Size size); ones 2040 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(int _ndims, const int* _sizes); ones 2216 modules/core/include/opencv2/core/mat.hpp static UMat ones(int rows, int cols, int type); ones 2217 modules/core/include/opencv2/core/mat.hpp static UMat ones(Size size, int type); ones 2218 modules/core/include/opencv2/core/mat.hpp static UMat ones(int ndims, const int* sz, int type); ones 2912 modules/core/include/opencv2/core/mat.inl.hpp return Mat::ones(rows, cols, DataType<_Tp>::type); ones 2918 modules/core/include/opencv2/core/mat.inl.hpp return Mat::ones(sz, DataType<_Tp>::type); ones 125 modules/core/include/opencv2/core/matx.hpp static Matx ones(); ones 632 modules/core/misc/java/test/MatTest.java dst = Mat.ones(matSize, matSize, CvType.CV_32F); ones 639 modules/core/misc/java/test/MatTest.java dst = Mat.ones(new Size(2, 2), CvType.CV_16S); ones 49 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); ones 96 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); ones 146 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); ones 45 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(src.size(), CV_8U); ones 78 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(sz, CV_8U); ones 936 modules/core/src/umatrix.cpp return UMat::ones(Size(cols, rows), type); ones 72 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::ones(size, type); ones 73 modules/core/test/ocl/test_matrix_expr.cpp UMat um = UMat::ones(size, type); ones 82 modules/core/test/test_concatenation.cpp mat0x5 = Mat::ones(0,5, CV_8U); ones 83 modules/core/test/test_concatenation.cpp mat10x5 = Mat::ones(10,5, CV_8U); ones 84 modules/core/test/test_concatenation.cpp mat20x5 = Mat::ones(20,5, CV_8U); ones 86 modules/core/test/test_concatenation.cpp mat5x0 = Mat::ones(5,0, CV_8U); ones 87 modules/core/test/test_concatenation.cpp mat5x10 = Mat::ones(5,10, CV_8U); ones 88 modules/core/test/test_concatenation.cpp mat5x20 = Mat::ones(5,20, CV_8U); ones 1160 modules/core/test/test_mat.cpp Mat1f B = Mat1f::ones(1,3); ones 2548 modules/core/test/test_math.cpp cv::Mat src1 = cv::Mat::ones(3, 3, cv::DataDepth<TypeParam>::value); ones 2551 modules/core/test/test_math.cpp cv::Mat src2 = cv::Mat::ones(3, sizes, cv::DataDepth<TypeParam>::value); ones 393 modules/core/test/test_operations.cpp gemm(mt, d1, 2, Mat::ones(3, 3, CV_32F), 1, mt_mul_2_plus_1); ones 683 modules/core/test/test_operations.cpp Mat_<uchar> ones(2, 2, (uchar)1); ones 684 modules/core/test/test_operations.cpp CHECK_DIFF(ones, Mat_<uchar>::ones(Size(2,2))); ones 685 modules/core/test/test_operations.cpp CHECK_DIFF(Mat_<uchar>::ones(2, 2), ones); ones 775 modules/core/test/test_operations.cpp mvf.push_back(Mat_<float>::ones(4, 3)); ones 1053 modules/core/test/test_operations.cpp Mat1f tt = Mat1f::ones(4,2); ones 1056 modules/core/test/test_operations.cpp Mat1f tt2 = Mat1f::ones(4,1), outs2; ones 520 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); ones 571 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); ones 626 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); ones 66 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat rvec = cv::Mat::ones(1, 3, CV_32FC1); ones 67 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat tvec = cv::Mat::ones(1, 3, CV_32FC1); ones 68 modules/cudalegacy/perf/perf_calib3d.cpp const cv::Mat camera_mat = cv::Mat::ones(3, 3, CV_32FC1); ones 1338 modules/imgproc/test/test_filter.cpp kernel = Mat::ones(block_size, block_size, CV_32F); ones 66 modules/imgproc/test/test_pc.cpp Mat r1 = Mat::ones(Size(129, 128), CV_64F); ones 67 modules/imgproc/test/test_pc.cpp Mat r2 = Mat::ones(Size(129, 128), CV_64F); ones 1148 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::ones( rows, cols, type ); ones 1175 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::ones( size, type ); ones 268 modules/ml/src/data.cpp sampleWeights = Mat::ones(nsamples, 1, CV_32F); ones 195 modules/photo/src/merge.cpp wellexp = Mat::ones(size, CV_32F); ones 342 modules/photo/src/npr.hpp Mat flag = Mat::ones(h,w,CV_32FC1); ones 140 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp setRefinementMask(Mat::ones(3, 3, CV_8U)); ones 535 modules/stitching/src/matchers.cpp mask_ = Mat::ones(num_images, num_images, CV_8U); ones 675 modules/stitching/src/matchers.cpp mask_ = Mat::ones(num_images, num_images, CV_8U); ones 645 modules/ts/src/ts_func.cpp kernel = Mat::ones(3, 3, CV_8U); ones 702 modules/ts/src/ts_func.cpp kernel = Mat::ones(3, 3, CV_8U); ones 407 modules/video/src/ecc.cpp preMask = Mat::ones(hd, wd, CV_8U); ones 445 modules/video/test/test_ecc.cpp Mat_<unsigned char> mask = Mat_<unsigned char>::ones(testImg.rows, testImg.cols); ones 46 samples/cpp/demhist.cpp Mat histImage = Mat::ones(200, 320, CV_8U)*255; ones 826 samples/cpp/stitching_detailed.cpp timelapser->process(img_warped_s, Mat::ones(img_warped_s.size(), CV_8UC1), corners[img_idx]); ones 107 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp Mat kernel = Mat::ones(2, 2, CV_8UC1); ones 57 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp kernel = Mat::ones( kernel_size, kernel_size, CV_32F )/ (float)(kernel_size*kernel_size); ones 98 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat kernel1 = Mat::ones(3, 3, CV_8UC1); ones 207 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Mat point2d_vec = cv::Mat::ones(3, 1, CV_64F); // 3x1 ones 50 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp Mat O = Mat::ones(2, 2, CV_32F); ones 47 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp Mat col = Mat::ones(3, 1, CV_64F); ones 65 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp Mat col = Mat::ones(3, 1, CV_64F);