Lines Matching defs:covar
107 Mat covar = new Mat(matSize, matSize, CvType.CV_64FC1);
110 Core.calcCovarMatrix(gray0_32f, covar, mean, Core.COVAR_ROWS | Core.COVAR_NORMAL);
112 assertMatEqual(gray0_64f, covar, EPS);
117 Mat covar = new Mat(matSize, matSize, CvType.CV_32F);
120 Core.calcCovarMatrix(gray0_32f, covar, mean, Core.COVAR_ROWS | Core.COVAR_NORMAL, CvType.CV_32F);
122 assertMatEqual(gray0_32f, covar, EPS);
940 Mat covar = new Mat(matSize, matSize, CvType.CV_32F);
942 Core.calcCovarMatrix(grayRnd_32f, covar, mean, Core.COVAR_ROWS | Core.COVAR_NORMAL, CvType.CV_32F);
943 covar = covar.inv();
947 double d = Core.Mahalanobis(line1, line1, covar);
951 d = Core.Mahalanobis(line1, line2, covar);