reshape 395 modules/calib3d/src/circlesgrid.cpp flann::Index flannIndex(Mat(rectifiedPatternPoints).reshape(1), flannIndexParams); reshape 1094 modules/calib3d/src/circlesgrid.cpp kmeans(Mat(samples).reshape(1, 0), clustersCount, bestLabels, termCriteria, parameters.kmeansAttempts, reshape 380 modules/calib3d/src/compat_ptsetreg.cpp lines = lines.reshape(lines0.channels(), (tflag ? lines0.cols : lines0.rows)); reshape 422 modules/calib3d/src/compat_ptsetreg.cpp dst = dst.reshape(dst0.channels(), (tflag ? dst0.cols : dst0.rows)); reshape 146 modules/calib3d/src/dls.cpp cv::Mat Cbarvec = Cbar.reshape(1,1).t(); reshape 616 modules/calib3d/src/fisheye.cpp cv::Mat aaa = _tvec.getMat().reshape(3, 1); reshape 918 modules/calib3d/src/fisheye.cpp om_ref.reshape(3, 1).copyTo(om_list.col(image_idx)); reshape 919 modules/calib3d/src/fisheye.cpp T_ref.reshape(3, 1).copyTo(T_list.col(image_idx)); reshape 955 modules/calib3d/src/fisheye.cpp cv::Mat(cv::Mat((imageLeft - projected).t()).reshape(1, 1).t()).copyTo(ekk.rowRange(0, 2 * n_points)); reshape 969 modules/calib3d/src/fisheye.cpp cv::Mat(cv::Mat((imageRight - projected).t()).reshape(1, 1).t()).copyTo(ekk.rowRange(2 * n_points, 4 * n_points)); reshape 1173 modules/calib3d/src/fisheye.cpp ex = ex.reshape(1, 2); reshape 1185 modules/calib3d/src/fisheye.cpp solve(J, ex.reshape(1, (int)ex.total()), param_innov, DECOMP_SVD + DECOMP_NORMAL); reshape 1251 modules/calib3d/src/fisheye.cpp Mat Hrem = hh.reshape(1, 3); reshape 1256 modules/calib3d/src/fisheye.cpp Mat hhv = H.reshape(1, 9)(Rect(0, 0, 1, 8)).clone(); reshape 1265 modules/calib3d/src/fisheye.cpp m_err = Mat(m_err.t()).reshape(1, m_err.cols * m_err.rows); reshape 1289 modules/calib3d/src/fisheye.cpp Mat H_up = tmp.reshape(1,3); reshape 1319 modules/calib3d/src/fisheye.cpp Mat imagePointsNormalized = NormalizePixels(_imagePoints.t(), param).reshape(1).t(); reshape 1320 modules/calib3d/src/fisheye.cpp Mat objectPoints = Mat(_objectPoints.t()).reshape(1).t(); reshape 1381 modules/calib3d/src/fisheye.cpp omckk.reshape(3,1).copyTo(omc.getMat().col(image_idx)); reshape 1382 modules/calib3d/src/fisheye.cpp Tckk.reshape(3,1).copyTo(Tc.getMat().col(image_idx)); reshape 1432 modules/calib3d/src/fisheye.cpp ex3(Rect(0,0,1,9)) = ex3(Rect(0,0,1,9)) + A * exkk.reshape(1, 2 * exkk.rows); reshape 1434 modules/calib3d/src/fisheye.cpp ex3(Rect(0, 9 + 6 * image_idx, 1, 6)) = B * exkk.reshape(1, 2 * exkk.rows); reshape 1482 modules/calib3d/src/fisheye.cpp meanStdDev(ex.reshape(1, 1), noArray(), sigma_x); reshape 1577 modules/calib3d/src/fisheye.cpp Mat T1 = _T1.getMat().reshape(1, 3); reshape 1578 modules/calib3d/src/fisheye.cpp Mat T2 = _T2.getMat().reshape(1, 3); reshape 1622 modules/calib3d/src/fisheye.cpp Mat M = Mat(m.getMat().t()).reshape(1).t(); reshape 43 modules/calib3d/src/five-point.cpp Mat Q1 = q1.reshape(1, (int)q1.total()); reshape 44 modules/calib3d/src/five-point.cpp Mat Q2 = q2.reshape(1, (int)q2.total()); reshape 418 modules/calib3d/src/five-point.cpp points1 = points1.reshape(1, npoints); reshape 419 modules/calib3d/src/five-point.cpp points2 = points2.reshape(1, npoints); reshape 432 modules/calib3d/src/five-point.cpp points1 = points1.reshape(2, npoints); reshape 433 modules/calib3d/src/five-point.cpp points2 = points2.reshape(2, npoints); reshape 459 modules/calib3d/src/five-point.cpp points1 = points1.reshape(1, npoints); reshape 460 modules/calib3d/src/five-point.cpp points2 = points2.reshape(1, npoints); reshape 596 modules/calib3d/src/five-point.cpp Mat E = _E.getMat().reshape(1, 3); reshape 367 modules/calib3d/src/fundam.cpp p.reshape(2, npoints).convertTo(m, CV_32F); reshape 748 modules/calib3d/src/fundam.cpp p.reshape(2, npoints).convertTo(m, CV_32F); reshape 444 modules/calib3d/src/homography_decomp.cpp Mat H = _H.getMat().reshape(1, 3); reshape 447 modules/calib3d/src/homography_decomp.cpp Mat K = _K.getMat().reshape(1, 3); reshape 437 modules/calib3d/src/ptsetreg.cpp X.reshape(1, 3).copyTo(_model); reshape 518 modules/calib3d/src/ptsetreg.cpp dFrom = dFrom.reshape(3, count); reshape 519 modules/calib3d/src/ptsetreg.cpp dTo = dTo.reshape(3, count); reshape 400 modules/calib3d/src/triangulate.cpp points1 = points1.reshape(1, static_cast<int>(points1.total())).t(); reshape 403 modules/calib3d/src/triangulate.cpp points2 = points2.reshape(1, static_cast<int>(points2.total())).t(); reshape 69 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine1(cv::Mat(cv::Vec3d(0.2, 0.5, 0.3)).reshape(1, 1), cv::Vec3d(4, 5, 6)); reshape 1547 modules/calib3d/test/test_cameracalibration.cpp homogeneousPoints4d = homogeneousPoints4d.reshape(dimension); reshape 1555 modules/calib3d/test/test_cameracalibration.cpp sparsePoints = sparsePoints.reshape(3); reshape 1569 modules/calib3d/test/test_cameracalibration.cpp points1 = points1.reshape(2, 1); reshape 1571 modules/calib3d/test/test_cameracalibration.cpp points2 = points2.reshape(2, 1); reshape 1576 modules/calib3d/test/test_cameracalibration.cpp newHomogeneousPoints1 = newHomogeneousPoints1.reshape(1); reshape 1577 modules/calib3d/test/test_cameracalibration.cpp newHomogeneousPoints2 = newHomogeneousPoints2.reshape(1); reshape 1899 modules/calib3d/test/test_cameracalibration.cpp res = res.reshape(1, 1); reshape 1939 modules/calib3d/test/test_cameracalibration.cpp res = res.reshape(1, 1); reshape 82 modules/calib3d/test/test_cameracalibration_artificial.cpp return res.reshape(1, 1); reshape 128 modules/calib3d/test/test_cameracalibration_badarg.cpp objPts_cpp = objPts_cpp.reshape(3, 1); reshape 130 modules/calib3d/test/test_cameracalibration_badarg.cpp imgPts_cpp = corners.clone().reshape(2, 1); reshape 186 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(11,14) * dT).reshape(2, 1); reshape 195 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(8,11) * dom).reshape(2, 1); reshape 204 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(0,2) * df).reshape(2, 1); reshape 213 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(2,4) * dc).reshape(2, 1); reshape 222 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.colRange(4,8) * dk).reshape(2, 1); reshape 232 modules/calib3d/test/test_fisheye.cpp xpred = x1 + cv::Mat(jacobians.col(14) * dalpha).reshape(2, 1); reshape 298 modules/calib3d/test/test_fisheye.cpp cv::Mat imagePointsNormalized = NormalizePixels(_imagePoints, param).reshape(1).t(); reshape 299 modules/calib3d/test/test_fisheye.cpp _objectPoints = _objectPoints.reshape(1).t(); reshape 325 modules/calib3d/test/test_fisheye.cpp cv::meanStdDev(merr.reshape(2), cv::noArray(), std_err); reshape 326 modules/calib3d/test/test_fisheye.cpp std_err *= sqrt((double)merr.reshape(2).total() / (merr.reshape(2).total() - 1)); reshape 705 modules/calib3d/test/test_fundam.cpp M.reshape(M0.channels(), M0.rows).convertTo(M0, M0.type()); reshape 707 modules/calib3d/test/test_fundam.cpp v2.reshape(v2_0.channels(), v2_0.rows).convertTo(v2_0, v2_0.type()); reshape 627 modules/calib3d/test/test_homography.cpp mask2 = mask2.reshape(1); reshape 628 modules/calib3d/test/test_homography.cpp p2 = p2.reshape(1); reshape 629 modules/calib3d/test/test_homography.cpp p3 = p3.reshape(1); reshape 288 modules/core/include/opencv2/core/affine.hpp data.reshape(1, 3).copyTo(_rvec); reshape 241 modules/core/include/opencv2/core/cuda.hpp GpuMat reshape(int cn, int rows = 0) const; reshape 386 modules/core/include/opencv2/core/cuda.hpp HostMem reshape(int cn, int rows = 0) const; reshape 1136 modules/core/include/opencv2/core/mat.hpp Mat reshape(int cn, int rows=0) const; reshape 1139 modules/core/include/opencv2/core/mat.hpp Mat reshape(int cn, int newndims, const int* newsz) const; reshape 2199 modules/core/include/opencv2/core/mat.hpp UMat reshape(int cn, int rows=0) const; reshape 2200 modules/core/include/opencv2/core/mat.hpp UMat reshape(int cn, int newndims, const int* newsz) const; reshape 1328 modules/core/include/opencv2/core/mat.inl.hpp return (*this = m.reshape(DataType<_Tp>::channels, m.dims, 0)); reshape 141 modules/core/include/opencv2/core/matx.hpp template<int m1, int n1> Matx<_Tp, m1, n1> reshape() const; reshape 297 modules/core/include/opencv2/core/operations.hpp svd.vt.row(svd.vt.rows-1).reshape(1,svd.vt.cols).copyTo(dst); reshape 805 modules/core/misc/java/test/MatTest.java dst = src.reshape(4); reshape 813 modules/core/misc/java/test/MatTest.java dst = src.reshape(7, 5); reshape 5030 modules/core/src/arithm.cpp src1 = src1.reshape(1); src2 = src2.reshape(1); reshape 5031 modules/core/src/arithm.cpp Mat dst = _dst.getMat().reshape(1); reshape 266 modules/core/src/cuda_gpu_mat.cpp obj = obj.reshape(obj.channels(), rows); reshape 50 modules/core/src/lda.cpp sortIdx(src.reshape(1,1),sorted_indices,flags); reshape 80 modules/core/src/lda.cpp src.getMat(i).reshape(1, 1).convertTo(xi, rtype, alpha, beta); reshape 82 modules/core/src/lda.cpp src.getMat(i).clone().reshape(1, 1).convertTo(xi, rtype, alpha, beta); reshape 197 modules/core/src/lda.cpp subtract(r_i, mean.reshape(1,1), r_i); reshape 237 modules/core/src/lda.cpp add(r_i, mean.reshape(1,1), r_i); reshape 1083 modules/core/src/lda.cpp _eigenvalues = _eigenvalues.reshape(1, 1); reshape 1582 modules/core/src/mathfuncs.cpp cv::Mat as_one_channel = src.reshape(1,0); reshape 2373 modules/core/src/matmul.cpp mean = _mean.reshape(1, 1); reshape 2377 modules/core/src/matmul.cpp mean = mean.reshape(1, 1); reshape 2397 modules/core/src/matmul.cpp _mean = mean.reshape(1, size.height); reshape 2438 modules/core/src/matmul.cpp mean = _mean.getMat().reshape(1, 1); reshape 2445 modules/core/src/matmul.cpp mean = mean.reshape(1, size.height); reshape 3296 modules/core/src/matmul.cpp cv::Mat v = cv::cvarrToMat(shiftvec).reshape(1,m.rows), reshape 3456 modules/core/src/matmul.cpp result = result.reshape(1, 1); reshape 4230 modules/core/src/matrix.cpp centers = centers.reshape(1); reshape 4231 modules/core/src/matrix.cpp data = data.reshape(1); reshape 4259 modules/core/src/matrix.cpp return reshape(_cn); reshape 4261 modules/core/src/matrix.cpp return reshape(_cn, _newsz[0]); reshape 5402 modules/core/src/ocl.cpp Mat kernel = _kernel.getMat().reshape(1, 1); reshape 2132 modules/core/src/stat.cpp src = src.reshape(1); reshape 2133 modules/core/src/stat.cpp src2 = src2.reshape(1); reshape 2595 modules/core/src/stat.cpp if ( !ocl_sum(haveMask ? src : src.reshape(1), sc, normType == NORM_L2 || normType == NORM_L2SQR ? reshape 563 modules/core/src/umatrix.cpp return reshape(_cn); reshape 565 modules/core/src/umatrix.cpp return reshape(_cn, _newsz[0]); reshape 857 modules/core/src/umatrix.cpp UMat src1 = _src1.getUMat().reshape(1), src2 = _src2.getUMat().reshape(1); reshape 1621 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1647 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1660 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1684 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1709 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1733 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1758 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 1786 modules/core/test/test_arithm.cpp ASSERT_EQ(0, cv::countNonZero(dst.reshape(1))); reshape 116 modules/core/test/test_dxt.cpp Mat srci = src.row(i).reshape(cn, src.cols), dsti = tmp.col(i); reshape 128 modules/core/test/test_dxt.cpp Mat srci = tmp.row(i).reshape(cn, tmp.cols), dsti = dst.col(i); reshape 223 modules/core/test/test_dxt.cpp Mat srci = src.row(i).reshape(cn, src.cols); reshape 236 modules/core/test/test_dxt.cpp Mat srci = tmp.row(i).reshape(cn, tmp.cols); reshape 1186 modules/core/test/test_mat.cpp cv::Mat_<float> M = A.reshape(3); reshape 161 modules/core/test/test_math.cpp a = a.reshape(1); reshape 162 modules/core/test/test_math.cpp b = b.reshape(1); reshape 2770 modules/core/test/test_math.cpp srcVec.push_back(src.row(static_cast<int>(i)).reshape(0,col_problem_size)); reshape 2783 modules/core/test/test_math.cpp cv::absdiff(goldMean, actualMean.reshape(0,1), meanDiff); reshape 2805 modules/core/test/test_math.cpp srcVec.push_back(src.row(static_cast<int>(i)).reshape(0,col_problem_size)); reshape 2809 modules/core/test/test_math.cpp cv::Mat actualMean = goldMean.reshape(0, row_problem_size); reshape 2818 modules/core/test/test_math.cpp cv::absdiff(goldMean, actualMean.reshape(0,1), meanDiff); reshape 124 modules/core/test/test_operations.cpp double s = sum(Mat(m).reshape(1))[0]; reshape 491 modules/core/test/test_operations.cpp CV_Assert( cvtest::norm(coords, T_bs.reshape(1,1), NORM_INF) == 0 ); reshape 694 modules/core/test/test_operations.cpp CHECK_DIFF(matFromData, eye.reshape(1, 1)); reshape 305 modules/core/test/test_umat.cpp EXPECT_ANY_THROW(ua.reshape(nChannels)); reshape 309 modules/core/test/test_umat.cpp ub = ua.reshape(nChannels); reshape 313 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(ua.reshape(nChannels), a.reshape(nChannels), 0); reshape 318 modules/core/test/test_umat.cpp EXPECT_ANY_THROW (ua.reshape(nChannels, new_rows) ); reshape 322 modules/core/test/test_umat.cpp EXPECT_NO_THROW ( ub = ua.reshape(nChannels, new_rows) ); reshape 327 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(ua.reshape(nChannels,new_rows), a.reshape(nChannels,new_rows), 0); reshape 336 modules/core/test/test_umat.cpp EXPECT_ANY_THROW( ua.reshape(nChannels, ua.dims, sz) ); reshape 340 modules/core/test/test_umat.cpp EXPECT_NO_THROW ( ub = ua.reshape(nChannels, ua.dims, sz) ); reshape 346 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(ua.reshape(nChannels, ua.dims, sz), a.reshape(nChannels, a.dims, sz), 0); reshape 101 modules/cudaarithm/src/reductions.cpp GpuMat src_single_channel = src.reshape(1); reshape 381 modules/cudafilters/src/filtering.cpp rowKernel_.upload(kernel32F.reshape(1, 1)); reshape 384 modules/cudafilters/src/filtering.cpp columnKernel_.upload(kernel32F.reshape(1, 1)); reshape 207 modules/cudaimgproc/src/match_template.cpp conv_->convolve(image.reshape(1), templ.reshape(1), result, true, _stream); reshape 211 modules/cudaimgproc/src/match_template.cpp conv_->convolve(image.reshape(1), templ.reshape(1), result_, true, _stream); reshape 290 modules/cudaimgproc/src/match_template.cpp cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); reshape 292 modules/cudaimgproc/src/match_template.cpp double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; reshape 360 modules/cudaimgproc/src/match_template.cpp cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); reshape 362 modules/cudaimgproc/src/match_template.cpp double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; reshape 398 modules/cudaimgproc/src/match_template.cpp cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); reshape 400 modules/cudaimgproc/src/match_template.cpp double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; reshape 127 modules/cudaimgproc/test/test_histogram.cpp hist_gold = hist_gold.reshape(1, 1); reshape 188 modules/cudalegacy/src/calib3d.cpp transl_vec = transl_vec.reshape(0, 1); reshape 193 modules/cudalegacy/src/calib3d.cpp Mat rot_mat_ = rot_matrices.colRange(iter * 9, (iter + 1) * 9).reshape(0, 3); reshape 260 modules/cudalegacy/src/calib3d.cpp Mat rot_mat = rot_matrices.colRange(best_idx.x * 9, (best_idx.x + 1) * 9).reshape(0, 3); reshape 262 modules/cudalegacy/src/calib3d.cpp rvec = rvec.reshape(0, 1); reshape 265 modules/cudalegacy/src/calib3d.cpp tvec = tvec.reshape(0, 1); reshape 766 modules/cudaobjdetect/src/cascadeclassifier.cpp trees_mat.upload(cv::Mat(cl_trees).reshape(1,1)); reshape 767 modules/cudaobjdetect/src/cascadeclassifier.cpp nodes_mat.upload(cv::Mat(cl_nodes).reshape(1,1)); reshape 768 modules/cudaobjdetect/src/cascadeclassifier.cpp leaves_mat.upload(cv::Mat(cl_leaves).reshape(1,1)); reshape 769 modules/cudaobjdetect/src/cascadeclassifier.cpp subsets_mat.upload(cv::Mat(subsets).reshape(1,1)); reshape 770 modules/cudaobjdetect/src/cascadeclassifier.cpp features_mat.upload(cv::Mat(features).reshape(4,1)); reshape 269 modules/cudaobjdetect/src/hog.cpp detector_.upload(Mat(detector_reordered).reshape(1, 1)); reshape 136 modules/cudaoptflow/perf/perf_optflow.cpp const cv::cuda::GpuMat d_pts(pts.reshape(2, 1)); reshape 141 modules/cudaoptflow/src/pyrlk.cpp GpuMat temp1 = (useInitialFlow_ ? nextPts : prevPts).reshape(1); reshape 142 modules/cudaoptflow/src/pyrlk.cpp GpuMat temp2 = nextPts.reshape(1); reshape 104 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m.reshape(DataType<T>::channels, m.rows)); reshape 152 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> dst(mat.reshape(cn, rows)); reshape 70 modules/imgproc/src/colormap.cpp sortIdx(src.reshape(1,1),sorted_indices,flags); reshape 679 modules/imgproc/src/deriv.cpp Mat kernelX = kd.reshape(1, 1); reshape 682 modules/imgproc/src/deriv.cpp Mat kernelY = ks.reshape(1, 1); reshape 4058 modules/imgproc/src/filter.cpp kernelMat = kernelMat.reshape(0, 1); reshape 4374 modules/imgproc/src/filter.cpp Mat kernelX = _kernelX.getMat().reshape(1, 1); reshape 4377 modules/imgproc/src/filter.cpp Mat kernelY = _kernelY.getMat().reshape(1, 1); reshape 3350 modules/imgproc/src/smooth.cpp minMaxLoc( src.reshape(1), &minValSrc, &maxValSrc ); reshape 246 modules/imgproc/src/templmatch.cpp bool ok = convolve_dft(image.reshape(1), templ.reshape(1), result_); reshape 332 modules/imgproc/src/templmatch.cpp integral(image.reshape(1), image_sums, image_sqsums, CV_32F, CV_32F); reshape 390 modules/imgproc/src/templmatch.cpp integral(image.reshape(1), image_sums, image_sqsums, CV_32F, CV_32F); reshape 421 modules/imgproc/src/templmatch.cpp integral(image.reshape(1), image_sums, image_sqsums, CV_32F, CV_32F); reshape 131 modules/imgproc/test/test_bilateral_filter.cpp minMaxLoc( src.reshape(1), &minValSrc, &maxValSrc ); reshape 1707 modules/imgproc/test/test_color.cpp EXPECT_EQ(0, countNonZero(diff.reshape(1) > 1)); reshape 1734 modules/imgproc/test/test_color.cpp EXPECT_EQ(0, countNonZero(diff.reshape(1) > 1)); reshape 1857 modules/imgproc/test/test_color.cpp int nonZero = countNonZero(diff.reshape(1) > 1); reshape 2078 modules/imgproc/test/test_color.cpp EXPECT_EQ(countNonZero(diff.reshape(1) > 1), 0); reshape 2185 modules/imgproc/test/test_color.cpp EXPECT_EQ(countNonZero(diff.reshape(1) > 1), 0); reshape 16 modules/imgproc/test/test_cvtyuv.cpp return countNonZero(diff.reshape(1) > maxAllowedDifference); reshape 627 modules/imgproc/test/test_cvtyuv.cpp Mat src = Mat(srcSize.height, srcSize.width * scn, CV_8UC1).reshape(scn); reshape 630 modules/imgproc/test/test_cvtyuv.cpp Mat dst = Mat(dstSize.height, dstSize.width * dcn, CV_8UC1).reshape(dcn); reshape 399 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java Mat reshaped = diff.reshape(1); reshape 168 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java int numDiff = Core.countNonZero(diff.reshape(1)); reshape 1250 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->reshape( cn, rows ); reshape 1273 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->reshape( cn ); reshape 429 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java Mat reshaped = diff.reshape(1); reshape 201 modules/ml/src/em.cpp sample.reshape(1, 1); reshape 345 modules/ml/src/em.cpp weights.reshape(1,1); reshape 197 modules/ml/test/test_lr.cpp comp_learnt_mats = comp_learnt_mats.reshape(1, comp_learnt_mats.rows*comp_learnt_mats.cols); reshape 1390 modules/objdetect/src/hog.cpp descriptors.reshape(1, (int)descriptors.total()).getMat(ACCESS_READ).copyTo(_descriptors); reshape 94 modules/photo/test/test_inpaint.cpp double n1 = cvtest::norm(diff1.reshape(1), NORM_INF, inv_mask.reshape(1)); reshape 95 modules/photo/test/test_inpaint.cpp double n2 = cvtest::norm(diff2.reshape(1), NORM_INF, inv_mask.reshape(1)); reshape 106 modules/photo/test/test_inpaint.cpp n1 = cvtest::norm(diff1.reshape(1), NORM_INF, mask.reshape(1)); reshape 107 modules/photo/test/test_inpaint.cpp n2 = cvtest::norm(diff2.reshape(1), NORM_INF, mask.reshape(1)); reshape 143 modules/shape/src/aff_trans.cpp out = sol.reshape(0,2); reshape 382 modules/stitching/src/matchers.cpp features.descriptors = descriptors.reshape(1, (int)features.keypoints.size()); reshape 77 modules/stitching/src/warpers.cpp Mat_<float> T_(T.reshape(0, 3)); reshape 169 modules/superres/src/btv_l1_cuda.cpp btv_l1_cudev::diffSign(src1.reshape(1), src2.reshape(1), dst.reshape(1), StreamAccessor::getStream(stream)); reshape 122 modules/ts/include/opencv2/ts/ocl_test.hpp EXPECT_LE(countNonZero(diff.reshape(1)), num) \ reshape 338 modules/ts/src/cuda_test.cpp absdiff(m1.reshape(1), m2.reshape(1), diff); reshape 307 modules/ts/src/ocl_test.cpp if (alwaysShow || cv::countNonZero(diff_thresh.reshape(1)) > 0) reshape 2296 modules/ts/src/ts_func.cpp Mat shift = _shift.reshape(1, 0); reshape 2929 modules/ts/src/ts_func.cpp Mat m[] = {m1.reshape(1,0), m2.reshape(1,0)}; reshape 101 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); reshape 108 modules/ts/src/ts_perf.cpp cv::Mat mr = m.reshape(1); reshape 428 modules/ts/src/ts_perf.cpp diff.reshape(1).convertTo(diff64f, CV_64F); reshape 430 modules/ts/src/ts_perf.cpp cv::Mat expected_abs = cv::abs(expected.reshape(1)); reshape 431 modules/ts/src/ts_perf.cpp cv::Mat actual_abs = cv::abs(actual.reshape(1)); reshape 497 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); reshape 554 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); reshape 1240 modules/ts/src/ts_perf.cpp cv::sum(m.reshape(1)); reshape 1243 modules/ts/src/ts_perf.cpp m.reshape(1).setTo(cv::Scalar::all(0)); reshape 883 modules/video/src/lkpyramid.cpp UMat temp1 = (useInitialFlow ? nextPts : prevPts).reshape(1); reshape 884 modules/video/src/lkpyramid.cpp UMat temp2 = nextPts.reshape(1); reshape 1274 modules/video/src/lkpyramid.cpp Mat MM = M.reshape(1, 6); reshape 1380 modules/video/src/lkpyramid.cpp A.reshape(2, count).convertTo(pA, CV_32F); reshape 1381 modules/video/src/lkpyramid.cpp B.reshape(2, count).convertTo(pB, CV_32F); reshape 99 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts); reshape 100 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<unsigned char> status; umatStatus.reshape(1, 1).copyTo(status); reshape 101 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<float> err; umatErr.reshape(1, 1).copyTo(err); reshape 119 modules/video/test/test_estimaterigid.cpp Mat A = fpts.reshape(1, 3); reshape 382 modules/videoio/test/test_ffmpeg.cpp EXPECT_EQ(countNonZero(diff.reshape(1) > 1), 0); reshape 203 modules/viz/test/tests_simple.cpp mesh.cloud = Mat(points, true).reshape(3, 1); reshape 204 modules/viz/test/tests_simple.cpp mesh.tcoords = Mat(tcoords, true).reshape(2, 1); reshape 205 modules/viz/test/tests_simple.cpp mesh.polygons = Mat(polygons, true).reshape(1, 1); reshape 243 samples/cpp/calibration.cpp Mat r = imagePtMat.row(i).reshape(2, imagePtMat.cols); reshape 25 samples/cpp/em.cpp samples = samples.reshape(2, 0); reshape 36 samples/cpp/em.cpp samples = samples.reshape(1, 0); reshape 74 samples/cpp/logistic_regression.cpp bigImage.push_back(data.row(i).reshape(0, columns)); reshape 71 samples/cpp/pca.cpp Mat image_row = data[i].clone().reshape(1,1); reshape 112 samples/cpp/pca.cpp reconstruction = reconstruction.reshape(p->ch, p->rows); reshape 158 samples/cpp/pca.cpp reconstruction = reconstruction.reshape(images[0].channels(), images[0].rows); // reshape from a row vector into image shape reshape 75 samples/cpp/points_classifier.cpp Mat(pts).reshape(1, (int)pts.size()).convertTo(samples, CV_32F); reshape 556 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Mat r = imagePtMat.row(int(i)).reshape(2, imagePtMat.cols); reshape 204 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp cuda::absdiff(b.t1.reshape(1), b.t2.reshape(1), b.gs); reshape 231 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp cuda::absdiff(t1.reshape(1), t2.reshape(1), gs);