diag 1493 modules/calib3d/src/fisheye.cpp Mat r = 3 * s * JJ2_inv.diag(); diag 644 modules/calib3d/src/fundam.cpp gemm( U, Mat::diag(W), 1., 0, 0., TF, 0 ); diag 114 modules/calib3d/src/levmarq.cpp Mat D = A.diag().clone(); diag 421 modules/core/include/opencv2/core/core_c.h int diag CV_DEFAULT(0)); diag 1035 modules/core/include/opencv2/core/mat.hpp Mat diag(int d=0) const; diag 1043 modules/core/include/opencv2/core/mat.hpp static Mat diag(const Mat& d); diag 2021 modules/core/include/opencv2/core/mat.hpp Mat_ diag(int d=0) const; diag 2177 modules/core/include/opencv2/core/mat.hpp UMat diag(int d=0) const; diag 2179 modules/core/include/opencv2/core/mat.hpp static UMat diag(const UMat& d); diag 3171 modules/core/include/opencv2/core/mat.hpp virtual void diag(const MatExpr& expr, int d, MatExpr& res) const; diag 3265 modules/core/include/opencv2/core/mat.hpp MatExpr diag(int d = 0) const; diag 1395 modules/core/include/opencv2/core/mat.inl.hpp return Mat_(Mat::diag(d)); diag 127 modules/core/include/opencv2/core/matx.hpp static Matx diag(const diag_type& d); diag 153 modules/core/include/opencv2/core/matx.hpp diag_type diag() const; diag 1173 modules/core/misc/java/test/CoreTest.java truth.diag().setTo(new Scalar(2)); diag 1187 modules/core/misc/java/test/CoreTest.java m.diag().setTo(new Scalar(2)); diag 1703 modules/core/misc/java/test/CoreTest.java truth.diag().setTo(new Scalar(5)); diag 206 modules/core/misc/java/test/MatTest.java dst = gray0.diag(); diag 213 modules/core/misc/java/test/MatTest.java dst = gray255.diag(2); diag 222 modules/core/misc/java/test/MatTest.java dst = Mat.diag(diagVector); diag 229 modules/core/misc/java/test/MatTest.java dst = Mat.diag(gray255); diag 1394 modules/core/src/array.cpp cvGetDiag( const CvArr* arr, CvMat* submat, int diag ) diag 1417 modules/core/src/array.cpp if( diag >= 0 ) diag 1419 modules/core/src/array.cpp len = mat->cols - diag; diag 1425 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr + diag*pix_size; diag 1429 modules/core/src/array.cpp len = mat->rows + diag; diag 1435 modules/core/src/array.cpp submat->data.ptr = mat->data.ptr - diag*mat->step; diag 1656 modules/core/src/lapack.cpp cv::Mat wd = w.diag(); diag 264 modules/core/src/matop.cpp e.a = expr.a.diag(d); diag 266 modules/core/src/matop.cpp e.b = expr.b.diag(d); diag 268 modules/core/src/matop.cpp e.c = expr.c.diag(d); diag 274 modules/core/src/matop.cpp e = MatExpr(&g_MatOp_Identity, 0, m.diag(d), Mat(), Mat()); diag 620 modules/core/src/matop.cpp op->diag(*this, d, e); diag 1016 modules/core/src/matrix.cpp Mat md = m.diag(); diag 2885 modules/core/src/matrix.cpp m.diag() = s; diag 2918 modules/core/src/matrix.cpp return cv::sum(m.diag()); diag 539 modules/core/src/umatrix.cpp UMat md = m.diag(); diag 459 modules/core/test/test_math.cpp Mat diag(count, 1, mat.type(), mat.ptr(), mat.step + mat.elemSize()); diag 460 modules/core/test/test_math.cpp Scalar r = cvtest::mean(diag); diag 661 modules/core/test/test_operations.cpp CHECK_DIFF(negi.col(1), negi.diag()); diag 1101 modules/core/test/test_operations.cpp cvtest::norm(U*Mat::diag(W)*Vt, Q, CV_C) > FLT_EPSILON ) diag 499 modules/core/test/test_umat.cpp TEST_P(UMatTestUMatOperations, diag) diag 514 modules/core/test/test_umat.cpp ub = ua.diag(n); diag 515 modules/core/test/test_umat.cpp b = a.diag(n); diag 519 modules/core/test/test_umat.cpp ua = cv::UMat::diag(ub); diag 520 modules/core/test/test_umat.cpp EXPECT_MAT_NEAR(ua.diag(), new_diag.t(), 0); diag 70 modules/features2d/test/test_rotation_and_scale_invariance.cpp float diag = std::sqrt(static_cast<float>(srcImage.cols * srcImage.cols + srcImage.rows * srcImage.rows)); diag 75 modules/features2d/test/test_rotation_and_scale_invariance.cpp RDShift.at<float>(0,2) = diag/2; diag 76 modules/features2d/test/test_rotation_and_scale_invariance.cpp RDShift.at<float>(1,2) = diag/2; diag 77 modules/features2d/test/test_rotation_and_scale_invariance.cpp Size sz(cvRound(diag), cvRound(diag)); diag 757 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->diag( d ); diag 784 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::diag( (*(Mat*)d_nativeObj) ); diag 538 modules/ml/src/em.cpp covs[clusterIndex] = Mat::diag(covsEigenValues[clusterIndex]);