abs 1219 3rdparty/libjasper/jpc_enc.c mag = abs(jas_matrix_get(band->data, y, x)); abs 151 3rdparty/libjasper/jpc_t1enc.c v = abs(jas_matrix_get(cblk->data, i, j)); abs 414 3rdparty/libjasper/jpc_t1enc.c v = (abs(*(dp)) & (one)) ? 1 : 0; \ abs 418 3rdparty/libjasper/jpc_t1enc.c *(nmsedec) += JPC_GETSIGNMSEDEC(abs(*(dp)), (bitpos) + JPC_NUMEXTRABITS); \ abs 511 3rdparty/libjasper/jpc_t1enc.c v = (abs(*(dp)) & (one)) ? 1 : 0; \ abs 516 3rdparty/libjasper/jpc_t1enc.c *(nmsedec) += JPC_GETSIGNMSEDEC(abs(*(dp)), (bitpos) + JPC_NUMEXTRABITS); \ abs 622 3rdparty/libjasper/jpc_t1enc.c *(nmsedec) += JPC_GETREFNMSEDEC(abs(d), (bitpos) + JPC_NUMEXTRABITS); \ abs 624 3rdparty/libjasper/jpc_t1enc.c v = (abs(d) & (one)) ? 1 : 0; \ abs 714 3rdparty/libjasper/jpc_t1enc.c *(nmsedec) += JPC_GETREFNMSEDEC(abs(d), (bitpos) + JPC_NUMEXTRABITS); \ abs 715 3rdparty/libjasper/jpc_t1enc.c v = (abs(d) & (one)) ? 1 : 0; \ abs 812 3rdparty/libjasper/jpc_t1enc.c v = (abs(*(dp)) & (one)) ? 1 : 0; \ abs 818 3rdparty/libjasper/jpc_t1enc.c *(nmsedec) += JPC_GETSIGNMSEDEC(abs(*(dp)), (bitpos) + JPC_NUMEXTRABITS); \ abs 879 3rdparty/libjasper/jpc_t1enc.c v = (abs(*dp) & one) ? 1 : 0; abs 568 3rdparty/libpng/pngpriv.h #define PNG_COLOR_DIST(c1, c2) (abs((int)((c1).red) - (int)((c2).red)) + \ abs 569 3rdparty/libpng/pngpriv.h abs((int)((c1).green) - (int)((c2).green)) + \ abs 570 3rdparty/libpng/pngpriv.h abs((int)((c1).blue) - (int)((c2).blue))) abs 3590 3rdparty/libpng/pngrutil.c pa = abs(p); abs 3591 3rdparty/libpng/pngrutil.c pb = abs(pc); abs 3592 3rdparty/libpng/pngrutil.c pc = abs(p + pc); abs 3645 3rdparty/libpng/pngrutil.c pa = abs(p); abs 3646 3rdparty/libpng/pngrutil.c pb = abs(pc); abs 3647 3rdparty/libpng/pngrutil.c pc = abs(p + pc); abs 2920 3rdparty/libpng/pngwutil.c pa = abs(p); abs 2921 3rdparty/libpng/pngwutil.c pb = abs(pc); abs 2922 3rdparty/libpng/pngwutil.c pc = abs(p + pc); abs 2997 3rdparty/libpng/pngwutil.c pa = abs(p); abs 2998 3rdparty/libpng/pngwutil.c pb = abs(pc); abs 2999 3rdparty/libpng/pngwutil.c pc = abs(p + pc); abs 3008 3rdparty/libpng/pngwutil.c pa = abs(p - a); abs 3009 3rdparty/libpng/pngwutil.c pb = abs(p - b); abs 3010 3rdparty/libpng/pngwutil.c pc = abs(p - c); abs 57 3rdparty/libwebp/dsp/enc.c const int v = abs(out[k]) >> 3; // TODO(skal): add rounding? abs 595 3rdparty/libwebp/dsp/enc.c sum += w[ 0] * abs(b0); abs 596 3rdparty/libwebp/dsp/enc.c sum += w[ 4] * abs(b1); abs 597 3rdparty/libwebp/dsp/enc.c sum += w[ 8] * abs(b2); abs 598 3rdparty/libwebp/dsp/enc.c sum += w[12] * abs(b3); abs 607 3rdparty/libwebp/dsp/enc.c return abs(sum2 - sum1) >> 5; abs 792 3rdparty/libwebp/dsp/enc_sse2.c return abs(diff_sum) >> 5; abs 388 3rdparty/libwebp/dsp/lossless.c return abs(pb) - abs(pa); abs 180 3rdparty/libwebp/enc/analysis.c while (n < nb - 1 && abs(a - centers[n + 1]) < abs(a - centers[n])) { abs 197 3rdparty/libwebp/enc/analysis.c displaced += abs(centers[n] - new_center); abs 135 3rdparty/libwebp/enc/frame.c v = abs(v); abs 306 3rdparty/libwebp/enc/frame.c v = abs(v); abs 317 3rdparty/libwebp/enc/frame.c const int v = abs(res->coeffs[n]); abs 162 3rdparty/libwebp/utils/filters.c #define SDIFF(a, b) (abs((a) - (b)) >> 4) // Scoring diff, in [0..SMAX) abs 26 3rdparty/libwebp/utils/huffman_encode.c return abs(a - b) < 4; abs 58 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float latitude = (r < abs (dir.y))? abs 212 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float absx = abs (direction.x); abs 213 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float absy = abs (direction.y); abs 214 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float absz = abs (direction.z); abs 60 3rdparty/openexr/IlmImf/ImfFramesPerSecond.cpp if (abs (double (fps) - double (fps_23_976())) < e) abs 63 3rdparty/openexr/IlmImf/ImfFramesPerSecond.cpp if (abs (double (fps) - double (fps_29_97())) < e) abs 66 3rdparty/openexr/IlmImf/ImfFramesPerSecond.cpp if (abs (double (fps) - double (fps_47_952())) < e) abs 69 3rdparty/openexr/IlmImf/ImfFramesPerSecond.cpp if (abs (double (fps) - double (fps_59_94())) < e) abs 1009 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (abs (dy) < N + 2) abs 1012 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (abs (dy) < 3) abs 112 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp if (abs (in.r - Y) < HALF_MAX * Y) abs 117 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp if (abs (in.b - Y) < HALF_MAX * Y) abs 506 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < TMAX * r.dir.x && abs 507 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < TMAX * r.dir.x)) abs 541 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < -TMAX * r.dir.x && abs 542 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < -TMAX * r.dir.x)) abs 581 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < TMAX * r.dir.y && abs 582 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < TMAX * r.dir.y)) abs 616 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < -TMAX * r.dir.y && abs 617 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < -TMAX * r.dir.y)) abs 656 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < TMAX * r.dir.z && abs 657 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < TMAX * r.dir.z)) abs 691 3rdparty/openexr/Imath/ImathBoxAlgo.h (abs (d1) < -TMAX * r.dir.z && abs 692 3rdparty/openexr/Imath/ImathBoxAlgo.h abs (d2) < -TMAX * r.dir.z)) abs 345 3rdparty/openexr/Imath/ImathFrustum.h if (abs(topMinusBottom) < 1 && abs 346 3rdparty/openexr/Imath/ImathFrustum.h abs(rightMinusLeft) > limits<T>::max() * abs(topMinusBottom)) abs 367 3rdparty/openexr/Imath/ImathFrustum.h if ((abs(rightMinusLeft) < 1 && abs 368 3rdparty/openexr/Imath/ImathFrustum.h abs(rightPlusLeft) > limits<T>::max() * abs(rightMinusLeft)) || abs 369 3rdparty/openexr/Imath/ImathFrustum.h (abs(topMinusBottom) < 1 && abs 370 3rdparty/openexr/Imath/ImathFrustum.h abs(topPlusBottom) > limits<T>::max() * abs(topMinusBottom)) || abs 371 3rdparty/openexr/Imath/ImathFrustum.h (abs(farMinusNear) < 1 && abs 372 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear))) abs 384 3rdparty/openexr/Imath/ImathFrustum.h if ((abs(rightMinusLeft) < 1 && abs 385 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(rightMinusLeft)) || abs 386 3rdparty/openexr/Imath/ImathFrustum.h (abs(topMinusBottom) < 1 && abs 387 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(topMinusBottom)) || abs 388 3rdparty/openexr/Imath/ImathFrustum.h (abs(farMinusNear) < 1 && abs 389 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(farMinusNear))) abs 411 3rdparty/openexr/Imath/ImathFrustum.h if (abs(farMinusNear) < 1 && abs 412 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(farMinusNear)) abs 422 3rdparty/openexr/Imath/ImathFrustum.h if ((abs(rightMinusLeft) < 1 && abs 423 3rdparty/openexr/Imath/ImathFrustum.h abs(twoTimesNear) > limits<T>::max() * abs(rightMinusLeft)) || abs 424 3rdparty/openexr/Imath/ImathFrustum.h (abs(topMinusBottom) < 1 && abs 425 3rdparty/openexr/Imath/ImathFrustum.h abs(twoTimesNear) > limits<T>::max() * abs(topMinusBottom))) abs 476 3rdparty/openexr/Imath/ImathFrustum.h if ((abs(leftMinusRight) < T (1) && abs 477 3rdparty/openexr/Imath/ImathFrustum.h abs(leftPlusRight) > limits<T>::max() * abs(leftMinusRight)) || abs 478 3rdparty/openexr/Imath/ImathFrustum.h (abs(bottomMinusTop) < T (1) && abs 479 3rdparty/openexr/Imath/ImathFrustum.h abs(bottomPlusTop) > limits<T>::max() * abs(bottomMinusTop))) abs 542 3rdparty/openexr/Imath/ImathFrustum.h if (abs(farMinusNear) < 1 && abs 543 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(farMinusNear)) abs 565 3rdparty/openexr/Imath/ImathFrustum.h if (abs(farMinusNear) < 1 && abs 566 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear)) abs 581 3rdparty/openexr/Imath/ImathFrustum.h if (abs(depth) < 1 && abs 582 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(depth)) abs 590 3rdparty/openexr/Imath/ImathFrustum.h if (abs(farMinusNear) < 1 && abs 591 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear)) abs 616 3rdparty/openexr/Imath/ImathFrustum.h if (abs(p.z) > 1 || abs(-_nearPlane) < limits<T>::max() * abs(p.z)) abs 633 3rdparty/openexr/Imath/ImathFrustum.h if (abs(-_nearPlane) > 1 || abs(p.z) < limits<T>::max() * abs(-_nearPlane)) abs 213 3rdparty/openexr/Imath/ImathFrustumTest.h planeNormAbsX[i] = Vec3<T>(Imath::abs(planeNormX[i].x), abs 214 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormX[i].y), abs 215 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormX[i].z)); abs 216 3rdparty/openexr/Imath/ImathFrustumTest.h planeNormAbsY[i] = Vec3<T>(Imath::abs(planeNormY[i].x), abs 217 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormY[i].y), abs 218 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormY[i].z)); abs 219 3rdparty/openexr/Imath/ImathFrustumTest.h planeNormAbsZ[i] = Vec3<T>(Imath::abs(planeNormZ[i].x), abs 220 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormZ[i].y), abs 221 3rdparty/openexr/Imath/ImathFrustumTest.h Imath::abs(planeNormZ[i].z)); abs 53 3rdparty/openexr/Imath/ImathFun.h abs (T a) abs 100 3rdparty/openexr/Imath/ImathFun.h if (abs(d) > T(1) || abs(n) < limits<T>::max() * abs(d)) abs 127 3rdparty/openexr/Imath/ImathFun.h return (Imath::abs (a - b) <= t)? 0 : cmp (a, b); abs 135 3rdparty/openexr/Imath/ImathFun.h return (Imath::abs (a) <= t) ? 1 : 0; abs 143 3rdparty/openexr/Imath/ImathFun.h return Imath::abs (a - b) <= t; abs 104 3rdparty/openexr/Imath/ImathLineAlgo.h T absD = abs (d); abs 107 3rdparty/openexr/Imath/ImathLineAlgo.h (abs (n1) < limits<T>::max() * absD && abs 108 3rdparty/openexr/Imath/ImathLineAlgo.h abs (n2) < limits<T>::max() * absD)) abs 175 3rdparty/openexr/Imath/ImathLineAlgo.h if (abs (nd) > 1 || abs (d) < limits<T>::max() * abs (nd)) abs 1570 3rdparty/openexr/Imath/ImathMatrix.h if (Imath::abs (r) >= 1) abs 1582 3rdparty/openexr/Imath/ImathMatrix.h T mr = Imath::abs (r) / limits<T>::smallest(); abs 1588 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) abs 1621 3rdparty/openexr/Imath/ImathMatrix.h if (Imath::abs (r) >= 1) abs 1633 3rdparty/openexr/Imath/ImathMatrix.h T mr = Imath::abs (r) / limits<T>::smallest(); abs 1639 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) abs 2848 3rdparty/openexr/Imath/ImathMatrix.h if (Imath::abs (r) >= 1) abs 2860 3rdparty/openexr/Imath/ImathMatrix.h T mr = Imath::abs (r) / limits<T>::smallest(); abs 2866 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) abs 343 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) // Already symmetric (to tolerance) abs 371 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) abs 379 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); abs 484 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) // Already symmetric (to tolerance) abs 512 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) abs 520 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); abs 631 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][1])); abs 632 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][2])); abs 633 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][0])); abs 634 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][2])); abs 635 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][0])); abs 636 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][1])); abs 650 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); abs 845 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp while (std::abs (S[j]) < std::abs (sVal)) abs 986 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu2) <= tol*std::abs(mu1)) abs 996 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); abs 1044 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu2) <= tol*std::abs(mu1)) abs 1051 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); abs 1095 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); abs 1190 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if(std::abs(S[i]) > std::abs(S[maxIdx])) abs 1209 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if(std::abs(S[i]) < std::abs(S[minIdx])) abs 495 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (Imath::abs (row[i][j]) > maxVal) abs 496 3rdparty/openexr/Imath/ImathMatrixAlgo.h maxVal = Imath::abs (row[i][j]); abs 802 3rdparty/openexr/Imath/ImathMatrixAlgo.h if ((abs (scl) < 1 && abs (row[i]) >= limits<T>::max() * abs (scl))) abs 1169 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (Imath::abs (row[i][j]) > maxVal) abs 1170 3rdparty/openexr/Imath/ImathMatrixAlgo.h maxVal = Imath::abs (row[i][j]); abs 1299 3rdparty/openexr/Imath/ImathMatrixAlgo.h if ((abs (scl) < 1 && abs (row[i]) >= limits<T>::max() * abs (scl))) abs 640 3rdparty/openexr/Imath/ImathQuat.h if (abs (sintheta) < 1 && abs (theta) >= limits<T>::max() * abs (sintheta)) abs 663 3rdparty/openexr/Imath/ImathQuat.h if (abs (theta) < 1 && abs (sintheta) >= limits<T>::max() * abs (theta)) abs 1688 apps/traincascade/boost.cpp if ( abs( eval[i] - threshold) < FLT_EPSILON ) abs 256 modules/calib3d/src/circlesgrid.cpp if(abs(maxLoc.x - maxLoc.y) == diffBetweenFalseLines) abs 139 modules/calib3d/src/dls.h if (std::abs(yr) > std::abs(yi)) { abs 179 modules/calib3d/src/dls.h norm = norm + std::abs(H[i][j]); abs 190 modules/calib3d/src/dls.h s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); abs 194 modules/calib3d/src/dls.h if (std::abs(H[l][l - 1]) < eps * s) { abs 216 modules/calib3d/src/dls.h z = std::sqrt(std::abs(q)); abs 237 modules/calib3d/src/dls.h s = std::abs(x) + std::abs(z); abs 300 modules/calib3d/src/dls.h s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); abs 335 modules/calib3d/src/dls.h s = std::abs(p) + std::abs(q) + std::abs(r); abs 342 modules/calib3d/src/dls.h if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) abs 343 modules/calib3d/src/dls.h * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( abs 365 modules/calib3d/src/dls.h x = std::abs(p) + std::abs(q) + std::abs(r); abs 473 modules/calib3d/src/dls.h if (std::abs(x) > std::abs(z)) { abs 482 modules/calib3d/src/dls.h t = std::abs(H[i][n1]); abs 496 modules/calib3d/src/dls.h if (std::abs(H[n1][n1 - 1]) > std::abs(H[n1 - 1][n1])) { abs 535 modules/calib3d/src/dls.h vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) abs 536 modules/calib3d/src/dls.h + std::abs(y) + std::abs(z)); abs 542 modules/calib3d/src/dls.h if (std::abs(x) > (std::abs(z) + std::abs(q))) { abs 557 modules/calib3d/src/dls.h t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); abs 607 modules/calib3d/src/dls.h scale = scale + std::abs(H[i][m - 1]); abs 1223 modules/calib3d/src/fisheye.cpp double scxx = mean(abs(ax))[0]; abs 1224 modules/calib3d/src/fisheye.cpp double scyy = mean(abs(ay))[0]; abs 345 modules/calib3d/src/homography_decomp.cpp double nS00 = abs(S(0, 0)); abs 346 modules/calib3d/src/homography_decomp.cpp double nS11 = abs(S(1, 1)); abs 347 modules/calib3d/src/homography_decomp.cpp double nS22 = abs(S(2, 2)); abs 160 modules/calib3d/src/levmarq.cpp maxval = std::max(maxval, std::abs(Ap.at<double>(i,i))); abs 360 modules/calib3d/src/stereobm.cpp tab[x] = (uchar)std::abs(x - ftzero); abs 556 modules/calib3d/src/stereobm.cpp d = p + n - 2*sad[mind] + std::abs(p - n); abs 617 modules/calib3d/src/stereobm.cpp tab[x] = (uchar)std::abs(x - ftzero); abs 649 modules/calib3d/src/stereobm.cpp int diff = std::abs(lval - rptr[d]); abs 703 modules/calib3d/src/stereobm.cpp int diff = std::abs(lval - rptr[d]); abs 844 modules/calib3d/src/stereobm.cpp d = p + n - 2*sad[mind] + std::abs(p - n); abs 281 modules/calib3d/src/stereosgbm.cpp cost[x*D + d] = (CostType)(cost[x*D + d] + (CostType)std::abs(u - v)); abs 782 modules/calib3d/src/stereosgbm.cpp if( Sp[d]*(100 - uniquenessRatio) < minS*100 && std::abs(bestDisp - d) > 1 ) abs 819 modules/calib3d/src/stereosgbm.cpp if( 0 <= _x && _x < width && disp2ptr[_x] >= minD && std::abs(disp2ptr[_x] - _d) > disp12MaxDiff && abs 820 modules/calib3d/src/stereosgbm.cpp 0 <= x_ && x_ < width && disp2ptr[x_] >= minD && std::abs(disp2ptr[x_] - d_) > disp12MaxDiff ) abs 1030 modules/calib3d/src/stereosgbm.cpp if( p.y < height-1 && !lpp[+width] && dpp[+dstep] != newVal && std::abs(dp - dpp[+dstep]) <= maxDiff ) abs 1036 modules/calib3d/src/stereosgbm.cpp if( p.y > 0 && !lpp[-width] && dpp[-dstep] != newVal && std::abs(dp - dpp[-dstep]) <= maxDiff ) abs 1042 modules/calib3d/src/stereosgbm.cpp if( p.x < width-1 && !lpp[+1] && dpp[+1] != newVal && std::abs(dp - dpp[+1]) <= maxDiff ) abs 1048 modules/calib3d/src/stereosgbm.cpp if( p.x > 0 && !lpp[-1] && dpp[-1] != newVal && std::abs(dp - dpp[-1]) <= maxDiff ) abs 1197 modules/calib3d/src/stereosgbm.cpp if( (0 <= x0 && x0 < cols && disp2buf[x0] > INVALID_DISP_SCALED && std::abs(disp2buf[x0] - d) > disp12MaxDiff) && abs 1198 modules/calib3d/src/stereosgbm.cpp (0 <= x1 && x1 < cols && disp2buf[x1] > INVALID_DISP_SCALED && std::abs(disp2buf[x1] - d) > disp12MaxDiff) ) abs 346 modules/calib3d/src/upnp.cpp betas[0] = sqrt( abs( x.at<double>(0) ) ); abs 349 modules/calib3d/src/upnp.cpp efs[0] = sqrt( abs( x.at<double>(1) ) ) / betas[0]; abs 561 modules/calib3d/src/upnp.cpp independent_term[0] = log( abs( betas[ combination[i][0]-1 ] ) ); abs 562 modules/calib3d/src/upnp.cpp independent_term[1] = log( abs( betas[ combination[i][1]-1 ] ) ); abs 563 modules/calib3d/src/upnp.cpp independent_term[2] = log( abs( betas[ combination[i][2]-1 ] ) ); abs 569 modules/calib3d/src/upnp.cpp solutions[i][2] = abs( S.at<double>(2) ); abs 1486 modules/calib3d/test/test_cameracalibration.cpp abs(determinant(F)) > 0.01) abs 1623 modules/calib3d/test/test_cameracalibration.cpp bool verticalStereo = abs(P2.at<double>(0,3)) < abs(P2.at<double>(1,3)); abs 1633 modules/calib3d/test/test_cameracalibration.cpp double diff_c = verticalStereo ? abs(temp[0][j].x - temp[1][j].x) : abs(temp[0][j].y - temp[1][j].y); abs 1635 modules/calib3d/test/test_cameracalibration.cpp double diff_uc = verticalStereo ? abs(d.x) : abs(d.y); abs 153 modules/calib3d/test/test_fisheye.cpp X = cv::abs(X) * 10; abs 156 modules/calib3d/test/test_fisheye.cpp om = cv::abs(om); abs 159 modules/calib3d/test/test_fisheye.cpp T = cv::abs(T); T.at<double>(2) = 4; T *= 10; abs 162 modules/calib3d/test/test_fisheye.cpp f = cv::abs(f) * 1000; abs 165 modules/calib3d/test/test_fisheye.cpp c = cv::abs(c) * 1000; abs 423 modules/core/include/opencv2/core/base.hpp template<typename _Tp> inline _Tp cv_abs(_Tp x) { return std::abs(x); } abs 425 modules/core/include/opencv2/core/base.hpp inline int cv_abs(schar x) { return std::abs(x); } abs 427 modules/core/include/opencv2/core/base.hpp inline int cv_abs(short x) { return std::abs(x); } abs 515 modules/core/include/opencv2/core/base.hpp s += std::abs(v0) + std::abs(v1) + std::abs(v2) + std::abs(v3); abs 521 modules/core/include/opencv2/core/base.hpp s += std::abs(v); abs 531 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); abs 541 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); abs 553 modules/core/include/opencv2/core/base.hpp s = std::max(s, std::abs(v0)); abs 280 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(x) % (last_col + 1); abs 285 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_col - ::abs(last_col - x)) % (last_col + 1); abs 320 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(y) % (last_row + 1); abs 325 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y)) % (last_row + 1); abs 360 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(y) % (last_row + 1); abs 365 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y)) % (last_row + 1); abs 375 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(x) % (last_col + 1); abs 380 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_col - ::abs(last_col - x)) % (last_col + 1); abs 414 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(x) - (x < 0)) % (last_col + 1); abs 419 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_col - ::abs(last_col - x) + (x > last_col)) % (last_col + 1); abs 424 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_col_high(::abs(x) - (x < 0)); abs 454 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(y) - (y < 0)) % (last_row + 1); abs 459 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::abs(last_row - ::abs(last_row - y) + (y > last_row)) % (last_row + 1); abs 464 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return idx_row_high(::abs(y) - (y < 0)); abs 494 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(y) - (y < 0)) % (last_row + 1); abs 499 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return /*::abs*/(last_row - ::abs(last_row - y) + (y > last_row)) /*% (last_row + 1)*/; abs 509 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (::abs(x) - (x < 0)) % (last_col + 1); abs 514 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (last_col - ::abs(last_col - x) + (x > last_col)); abs 363 modules/core/include/opencv2/core/cuda/functional.hpp return abs(x); abs 383 modules/core/include/opencv2/core/cuda/functional.hpp return ::abs((int)x); abs 393 modules/core/include/opencv2/core/cuda/functional.hpp return ::abs((int)x); abs 413 modules/core/include/opencv2/core/cuda/functional.hpp return ::abs((int)x); abs 433 modules/core/include/opencv2/core/cuda/functional.hpp return ::abs(x); abs 202 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, uchar, uchar) abs 203 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::abs, char, char) abs 204 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, ushort, ushort) abs 205 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::abs, short, short) abs 206 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::abs, int, int) abs 207 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, uint, uint) abs 208 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::fabsf, float, float) abs 209 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::fabs, double, double) abs 72 modules/core/include/opencv2/core/cvstd.hpp using std::abs; abs 3192 modules/core/include/opencv2/core/mat.hpp virtual void abs(const MatExpr& expr, MatExpr& res) const; abs 3387 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr abs(const Mat& m); abs 3391 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr abs(const MatExpr& e); abs 3000 modules/core/include/opencv2/core/mat.inl.hpp return cv::abs((const Mat&)m); abs 192 modules/core/include/opencv2/core/types_c.h # define CV_IABS(a) abs(a) abs 103 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[0].x + p[2].x) / 2 - center.x) + Math.abs((p[0].y + p[2].y) / 2 - center.y) < EPS); abs 106 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[1].x + p[3].x) / 2 - center.x) + Math.abs((p[1].y + p[3].y) / 2 - center.y) < EPS); abs 109 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[1].x - p[0].x) * (p[2].x - p[1].x) + abs 113 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[2].x - p[1].x) * (p[3].x - p[2].x) + abs 117 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[3].x - p[2].x) * (p[0].x - p[3].x) + abs 121 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[0].x - p[3].x) * (p[1].x - p[0].x) + abs 125 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[1].x - p[0].x) * (p[1].x - p[0].x) + abs 129 modules/core/misc/java/test/RotatedRectTest.java Math.abs((p[1].x - p[2].x) * (p[1].x - p[2].x) + abs 132 modules/core/misc/java/test/RotatedRectTest.java assertTrue("Angle of the vector 21 with the axes", Math.abs((p[2].x - p[1].x) / size.width - Math.cos(angle * Math.PI / 180)) < EPS); abs 13 modules/core/perf/perf_abs.cpp PERF_TEST_P(Size_MatType, abs, TYPICAL_MATS_ABS) abs 23 modules/core/perf/perf_abs.cpp TEST_CYCLE() c = cv::abs(a); abs 698 modules/core/src/arithm.cpp T operator()(T a, T b) const { return (T)std::abs(a - b); } abs 702 modules/core/src/arithm.cpp { return saturate_cast<short>(std::abs(a - b)); } abs 705 modules/core/src/arithm.cpp { return saturate_cast<schar>(std::abs(a - b)); } abs 712 modules/core/src/arithm.cpp T operator()(T a, WT b) const { return saturate_cast<T>(std::abs(a - b)); } abs 3696 modules/core/src/arithm.cpp true, &scale, std::abs(scale - 1.0) < DBL_EPSILON ? OCL_OP_MUL : OCL_OP_MUL_SCALE); abs 1926 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x]*scale + shift)); abs 1927 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+1]*scale + shift)); abs 1929 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x+2]*scale + shift)); abs 1930 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+3]*scale + shift)); abs 1935 modules/core/src/convert.cpp dst[x] = saturate_cast<DT>(std::abs(src[x]*scale + shift)); abs 75 modules/core/src/lapack.cpp a = std::abs(a); abs 76 modules/core/src/lapack.cpp b = std::abs(b); abs 120 modules/core/src/lapack.cpp for( m = k+1, mv = std::abs(A[astep*k + m]), i = k+2; i < n; i++ ) abs 122 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*k+i]); abs 130 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[k]), i = 1; i < k; i++ ) abs 132 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i+k]); abs 143 modules/core/src/lapack.cpp for( k = 0, mv = std::abs(A[indR[0]]), i = 1; i < n-1; i++ ) abs 145 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i + indR[i]]); abs 152 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*indC[i] + i]); abs 158 modules/core/src/lapack.cpp if( std::abs(p) <= eps ) abs 161 modules/core/src/lapack.cpp _Tp t = std::abs(y) + hypot(p, y); abs 197 modules/core/src/lapack.cpp for( m = idx+1, mv = std::abs(A[astep*idx + m]), i = idx+2; i < n; i++ ) abs 199 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*idx+i]); abs 207 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[idx]), i = 1; i < idx; i++ ) abs 209 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i+idx]); abs 435 modules/core/src/lapack.cpp if( std::abs(p) <= eps*std::sqrt((double)a*b) ) abs 548 modules/core/src/lapack.cpp asum += std::abs(t); abs 636 modules/core/src/lapack.cpp if( (double)std::abs(wi) <= threshold ) abs 136 modules/core/src/lda.cpp if (std::abs(a - b) > eps) { abs 301 modules/core/src/lda.cpp if (std::abs(yr) > std::abs(yi)) { abs 341 modules/core/src/lda.cpp norm = norm + std::abs(H[i][j]); abs 352 modules/core/src/lda.cpp s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); abs 356 modules/core/src/lda.cpp if (std::abs(H[l][l - 1]) < eps * s) { abs 378 modules/core/src/lda.cpp z = std::sqrt(std::abs(q)); abs 399 modules/core/src/lda.cpp s = std::abs(x) + std::abs(z); abs 462 modules/core/src/lda.cpp s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); abs 497 modules/core/src/lda.cpp s = std::abs(p) + std::abs(q) + std::abs(r); abs 504 modules/core/src/lda.cpp if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) abs 505 modules/core/src/lda.cpp * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( abs 527 modules/core/src/lda.cpp x = std::abs(p) + std::abs(q) + std::abs(r); abs 635 modules/core/src/lda.cpp if (std::abs(x) > std::abs(z)) { abs 644 modules/core/src/lda.cpp t = std::abs(H[i][n1]); abs 658 modules/core/src/lda.cpp if (std::abs(H[n1][n1 - 1]) > std::abs(H[n1 - 1][n1])) { abs 697 modules/core/src/lda.cpp vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) abs 698 modules/core/src/lda.cpp + std::abs(y) + std::abs(z)); abs 704 modules/core/src/lda.cpp if (std::abs(x) > (std::abs(z) + std::abs(q))) { abs 719 modules/core/src/lda.cpp t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); abs 769 modules/core/src/lda.cpp scale = scale + std::abs(H[i][m - 1]); abs 104 modules/core/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); abs 1100 modules/core/src/mathfuncs.cpp int p = std::abs(power); abs 1143 modules/core/src/mathfuncs.cpp int p = std::abs(power); abs 1222 modules/core/src/mathfuncs.cpp int power = std::abs(power0); abs 1323 modules/core/src/mathfuncs.cpp bool issqrt = std::abs(power - 0.5) < DBL_EPSILON; abs 2068 modules/core/src/mathfuncs.cpp if( std::abs(coeffs[n].re) + std::abs(coeffs[n].im) > DBL_EPSILON ) abs 2095 modules/core/src/mathfuncs.cpp maxDiff = std::max(maxDiff, cv::abs(num)); abs 1563 modules/core/src/matmul.cpp std::abs(m[0]) < MAX_M && std::abs(m[1]) < MAX_M && std::abs(m[2]) < MAX_M && std::abs(m[3]) < MAX_M*256 && abs 1564 modules/core/src/matmul.cpp std::abs(m[4]) < MAX_M && std::abs(m[5]) < MAX_M && std::abs(m[6]) < MAX_M && std::abs(m[7]) < MAX_M*256 && abs 1565 modules/core/src/matmul.cpp std::abs(m[8]) < MAX_M && std::abs(m[9]) < MAX_M && std::abs(m[10]) < MAX_M && std::abs(m[11]) < MAX_M*256 ) abs 83 modules/core/src/matop.cpp void abs(const MatExpr& expr, MatExpr& res) const; abs 1162 modules/core/src/matop.cpp e.op->abs(e, en); abs 1310 modules/core/src/matop.cpp MatOp::abs(e, res); abs 5230 modules/core/src/matrix.cpp result = std::max(result, std::abs((double)it.value<float>())); abs 5233 modules/core/src/matrix.cpp result += std::abs(it.value<float>()); abs 5245 modules/core/src/matrix.cpp result = std::max(result, std::abs(it.value<double>())); abs 5248 modules/core/src/matrix.cpp result += std::abs(it.value<double>()); abs 5350 modules/core/src/matrix.cpp CV_Assert( abs(vecs[0].dot(vecs[1])) / (norm(vecs[0]) * norm(vecs[1])) <= FLT_EPSILON ); abs 5355 modules/core/src/matrix.cpp if( abs(vecs[1][1]) < abs(vecs[1][0]) ) wd_i = 1; abs 101 modules/core/src/persistence.cpp unsigned val = abs(_val); abs 372 modules/core/src/rand.cpp if( (unsigned)std::abs(hz) < kn[iz] ) abs 2434 modules/core/src/stat.cpp result = std::max(result, (ST)std::abs(src1[k] - src2[k])); abs 2455 modules/core/src/stat.cpp result += std::abs(src1[k] - src2[k]); abs 1217 modules/core/test/ocl/test_arithm.cpp return std::abs(actual - expected) < eps*(1 + std::abs(actual)); abs 54 modules/core/test/test_conjugate_gradient.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); abs 117 modules/core/test/test_countnonzero.cpp case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(sign(src.at<char>(i, j)));} break; } abs 119 modules/core/test/test_countnonzero.cpp case CV_16S: { if (!src.at<short>(i, j)) {src.at<short>(i, j) = cv::randu<short>(); n += abs(sign(src.at<short>(i, j)));} break; } abs 120 modules/core/test/test_countnonzero.cpp case CV_32S: { if (!src.at<int>(i, j)) {src.at<int>(i, j) = cv::randu<int>(); n += abs(sign(src.at<int>(i, j)));} break; } abs 153 modules/core/test/test_countnonzero.cpp else if (current_type == CV_8S) result += abs(sign(src.at<char>(i, j))); abs 155 modules/core/test/test_countnonzero.cpp else if (current_type == CV_16S) result += abs(sign(src.at<short>(i, j))); abs 156 modules/core/test/test_countnonzero.cpp else if (current_type == CV_32S) result += abs(sign(src.at<int>(i, j))); abs 62 modules/core/test/test_downhill_simplex.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); abs 415 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(ocvPrjTestPoints), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); abs 436 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(rvPrjTestPoints.rowRange(0,maxComponents)), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); abs 438 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(rvPrjTestPoints), cv::abs(rPrjTestPoints.colRange(0,cPCA.eigenvectors.rows).t()), CV_RELATIVE_L2 ); abs 498 modules/core/test/test_mat.cpp err = cvtest::norm(cv::abs(prjTestPoints), cv::abs(rPrjTestPoints.t()), CV_RELATIVE_L2 ); abs 220 modules/core/test/test_math.cpp int ipower = cvRound(power), apower = abs(ipower); abs 2424 modules/core/test/test_math.cpp Mat diff = abs(anglesInDegrees - resInDeg); abs 2851 modules/core/test/test_math.cpp for( int k = 0; k < std::abs(ipower); k++ ) abs 620 modules/core/test/test_operations.cpp CHECK_DIFF(abs(negf), -negf); abs 621 modules/core/test/test_operations.cpp CHECK_DIFF(abs(posf - posf2), -negf); abs 622 modules/core/test/test_operations.cpp CHECK_DIFF(abs(negi), -(negi & negi)); abs 137 modules/core/test/test_rand.cpp while( abs(a-b) <= 1 ); abs 152 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void abs(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); abs 459 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::abs(d_src, dst); abs 322 modules/cudaarithm/test/test_arithm.cpp C.create(std::abs(A.rows - B.rows) + 1, std::abs(A.cols - B.cols) + 1, A.type()); abs 798 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); abs 799 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 800 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 801 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 835 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); abs 836 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 837 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 838 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1165 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); abs 1166 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1167 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1168 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1202 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); abs 1203 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1204 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1205 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); abs 1497 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::abs(loadMat(src, useRoi), dst); abs 1499 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::abs(src); abs 193 modules/cudaarithm/test/test_reductions.cpp sum[c] += std::abs(src.at<T>(y, x * cn + c)); abs 488 modules/cudafilters/src/filtering.cpp if (ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON) abs 101 modules/cudaimgproc/test/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; abs 78 modules/cudalegacy/test/TestHypothesesFilter.cpp return std::abs((Ncv32s)r1.x - (Ncv32s)r2.x) <= delta && abs 79 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y - (Ncv32s)r2.y) <= delta && abs 80 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.x + (Ncv32s)r1.width - (Ncv32s)r2.x - (Ncv32s)r2.width) <= delta && abs 81 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y + (Ncv32s)r1.height - (Ncv32s)r2.y - (Ncv32s)r2.height) <= delta; abs 77 modules/cudaobjdetect/src/cuda/lbp.hpp return ::abs(r1.x - r2.x) <= delta && ::abs(r1.y - r2.y) <= delta abs 78 modules/cudaobjdetect/src/cuda/lbp.hpp && ::abs(r1.x + r1.z - r2.x - r2.z) <= delta && ::abs(r1.y + r1.w - r2.y - r2.w) <= delta; abs 297 modules/cudaoptflow/src/farneback.cpp CV_Assert(!fastPyramids_ || std::abs(pyrScale_ - 0.5) < 1e-6); abs 244 modules/cudaoptflow/test/test_optflow.cpp bool eq = std::abs(a.x - b.x) <= 1 && std::abs(a.y - b.y) <= 1; abs 68 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp CV_CUDEV_EXPR_UNARY_FUNC(abs) abs 356 modules/cudev/include/opencv2/cudev/functional/functional.hpp return abs(x); abs 372 modules/cudev/include/opencv2/cudev/functional/functional.hpp return ::abs((int) x); abs 388 modules/cudev/include/opencv2/cudev/functional/functional.hpp return ::abs((int) x); abs 404 modules/cudev/include/opencv2/cudev/functional/functional.hpp return ::abs(x); abs 79 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp srcx = ::abs(srcx); abs 82 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp srcy = ::abs(srcy); abs 149 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return ::abs(i) % len; abs 155 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return ::abs(last_ind - ::abs(last_ind - i)) % len; abs 175 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return (::abs(i) - (i < 0)) % len; abs 181 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return (last_ind - ::abs(last_ind - i) + (i > last_ind)); abs 204 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return (schar) ::abs((int) val); abs 209 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return (short) ::abs((int) val); abs 213 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, uchar, uchar) abs 214 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, vec_math_detail::abs_, char, char) abs 215 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, ushort, ushort) abs 216 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, vec_math_detail::abs_, short, short) abs 217 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::abs, int, int) abs 218 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, /*::abs*/, uint, uint) abs 219 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::fabsf, float, float) abs 220 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(abs, ::fabs, double, double) abs 121 modules/features2d/test/test_detectors_regression.cpp abs(p1.angle - p2.angle) < maxAngleDif && abs 122 modules/features2d/test/test_detectors_regression.cpp abs(p1.response - p2.response) < maxResponseDif && abs 242 modules/features2d/test/test_matchers_algorithmic.cpp if( match.queryIdx != (int)i || match.trainIdx != (int)i || std::abs(match.distance) > FLT_EPSILON ) abs 58 modules/flann/include/opencv2/flann/dist.h inline T abs(T x) { return (x<0) ? -x : x; } abs 61 modules/flann/include/opencv2/flann/dist.h inline int abs<int>(int x) { return ::abs(x); } abs 64 modules/flann/include/opencv2/flann/dist.h inline float abs<float>(float x) { return fabsf(x); } abs 67 modules/flann/include/opencv2/flann/dist.h inline double abs<double>(double x) { return fabs(x); } abs 225 modules/flann/include/opencv2/flann/dist.h diff0 = (ResultType)abs(a[0] - b[0]); abs 226 modules/flann/include/opencv2/flann/dist.h diff1 = (ResultType)abs(a[1] - b[1]); abs 227 modules/flann/include/opencv2/flann/dist.h diff2 = (ResultType)abs(a[2] - b[2]); abs 228 modules/flann/include/opencv2/flann/dist.h diff3 = (ResultType)abs(a[3] - b[3]); abs 239 modules/flann/include/opencv2/flann/dist.h diff0 = (ResultType)abs(*a++ - *b++); abs 251 modules/flann/include/opencv2/flann/dist.h return abs(a-b); abs 289 modules/flann/include/opencv2/flann/dist.h diff0 = (ResultType)abs(a[0] - b[0]); abs 290 modules/flann/include/opencv2/flann/dist.h diff1 = (ResultType)abs(a[1] - b[1]); abs 291 modules/flann/include/opencv2/flann/dist.h diff2 = (ResultType)abs(a[2] - b[2]); abs 292 modules/flann/include/opencv2/flann/dist.h diff3 = (ResultType)abs(a[3] - b[3]); abs 303 modules/flann/include/opencv2/flann/dist.h diff0 = (ResultType)abs(*a++ - *b++); abs 315 modules/flann/include/opencv2/flann/dist.h return pow(static_cast<ResultType>(abs(a-b)),order); abs 345 modules/flann/include/opencv2/flann/dist.h diff0 = abs(a[0] - b[0]); abs 346 modules/flann/include/opencv2/flann/dist.h diff1 = abs(a[1] - b[1]); abs 347 modules/flann/include/opencv2/flann/dist.h diff2 = abs(a[2] - b[2]); abs 348 modules/flann/include/opencv2/flann/dist.h diff3 = abs(a[3] - b[3]); abs 362 modules/flann/include/opencv2/flann/dist.h diff0 = abs(*a++ - *b++); abs 195 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_abs, (typename V_TypeTraits<_Tp>::abs_type)std::abs, abs 264 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_ADD_SUB_OP(v_absdiff, -, (rtype)std::abs, typename V_TypeTraits<_Tp>::abs_type) abs 140 modules/hal/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); abs 63 modules/hal/src/matrix.cpp if( std::abs(A[j*astep + i]) > std::abs(A[k*astep + i]) ) abs 66 modules/hal/src/matrix.cpp if( std::abs(A[k*astep + i]) < eps ) abs 248 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]) + std::abs(a[j+1] - b[j+1]) + abs 249 modules/hal/src/stat.cpp std::abs(a[j+2] - b[j+2]) + std::abs(a[j+3] - b[j+3]); abs 254 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]); abs 297 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]) + std::abs(a[j+1] - b[j+1]) + abs 298 modules/hal/src/stat.cpp std::abs(a[j+2] - b[j+2]) + std::abs(a[j+3] - b[j+3]); abs 302 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]); abs 111 modules/highgui/src/window_w32.cpp bmih->biHeight = origin ? abs(height) : -abs(height); abs 1038 modules/highgui/src/window_w32.cpp size->cx = abs(bmp.bmWidth); abs 1039 modules/highgui/src/window_w32.cpp size->cy = abs(bmp.bmHeight); abs 1384 modules/highgui/src/window_w32.cpp if (abs(pos->x - mi.rcMonitor.left) <= SNAP_DISTANCE) abs 1387 modules/highgui/src/window_w32.cpp if (abs(pos->x + pos->cx - mi.rcMonitor.right) <= SNAP_DISTANCE) abs 1390 modules/highgui/src/window_w32.cpp if (abs(pos->y - mi.rcMonitor.top) <= SNAP_DISTANCE) abs 1393 modules/highgui/src/window_w32.cpp if (abs(pos->y + pos->cy - mi.rcMonitor.bottom) <= SNAP_DISTANCE) abs 1911 modules/highgui/src/window_w32.cpp if( (delay > 0 && abs((int)(GetTickCount() - time0)) >= delay) || hg_windows == 0 ) abs 172 modules/imgcodecs/src/grfmt_bmp.cpp m_height = std::abs(m_height); abs 862 modules/imgcodecs/test/test_grfmt.cpp minMaxLoc(abs(img_rle - img_no_rle), &min, &max); abs 871 modules/imgcodecs/test/test_grfmt.cpp minMaxLoc(abs(img_rle - written_img), &min, &max); abs 412 modules/imgproc/include/opencv2/imgproc/types_c.h double am00 = std::abs(m.m00); abs 386 modules/imgproc/src/canny.cpp _norm[j] = std::abs(int(_dx[j])) + std::abs(int(_dy[j])); abs 480 modules/imgproc/src/canny.cpp int x = std::abs(xs); abs 481 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; abs 790 modules/imgproc/src/canny.cpp _norm[j] = std::abs(int(_dx[j])) + std::abs(int(_dy[j])); abs 883 modules/imgproc/src/canny.cpp int x = std::abs(xs); abs 884 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; abs 1010 modules/imgproc/src/demosaicing.cpp brow[0] = (ushort)(std::abs(srow[-1-bstep] - srow[-1+bstep]) + abs 1011 modules/imgproc/src/demosaicing.cpp std::abs(srow[-bstep] - srow[+bstep])*2 + abs 1012 modules/imgproc/src/demosaicing.cpp std::abs(srow[1-bstep] - srow[1+bstep])); abs 1013 modules/imgproc/src/demosaicing.cpp brow[N] = (ushort)(std::abs(srow[-1-bstep] - srow[1-bstep]) + abs 1014 modules/imgproc/src/demosaicing.cpp std::abs(srow[-1] - srow[1])*2 + abs 1015 modules/imgproc/src/demosaicing.cpp std::abs(srow[-1+bstep] - srow[1+bstep])); abs 1016 modules/imgproc/src/demosaicing.cpp brow[N2] = (ushort)(std::abs(srow[+1-bstep] - srow[-1+bstep])*2); abs 1017 modules/imgproc/src/demosaicing.cpp brow[N3] = (ushort)(std::abs(srow[-1-bstep] - srow[1+bstep])*2); abs 1018 modules/imgproc/src/demosaicing.cpp brow[N4] = (ushort)(brow[N2] + std::abs(srow[-bstep] - srow[-1]) + abs 1019 modules/imgproc/src/demosaicing.cpp std::abs(srow[+bstep] - srow[1])); abs 1020 modules/imgproc/src/demosaicing.cpp brow[N5] = (ushort)(brow[N3] + std::abs(srow[-bstep] - srow[1]) + abs 1021 modules/imgproc/src/demosaicing.cpp std::abs(srow[+bstep] - srow[-1])); abs 1519 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; abs 1530 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; abs 1541 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; abs 545 modules/imgproc/src/distransform.cpp d[q] = std::sqrt(sqr_tab[std::abs(q - p)] + f[p]); abs 992 modules/imgproc/src/drawing.cpp axes.width = std::abs(axes.width), axes.height = std::abs(axes.height); abs 2465 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; abs 2534 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; abs 364 modules/imgproc/src/hough.cpp rv = r * sinTable[(int) (std::abs( ti2 ))] - r0; abs 597 modules/imgproc/src/hough.cpp good_line = std::abs(line_end[1].x - line_end[0].x) >= lineLength || abs 598 modules/imgproc/src/hough.cpp std::abs(line_end[1].y - line_end[0].y) >= lineLength; abs 2888 modules/imgproc/src/imgwarp.cpp bool is_area_fast = std::abs(inv_fx - iscale_x) < DBL_EPSILON && abs 2889 modules/imgproc/src/imgwarp.cpp std::abs(inv_fy - iscale_y) < DBL_EPSILON; abs 3241 modules/imgproc/src/imgwarp.cpp bool is_area_fast = std::abs(scale_x - iscale_x) < DBL_EPSILON && abs 3242 modules/imgproc/src/imgwarp.cpp std::abs(scale_y - iscale_y) < DBL_EPSILON; abs 1216 modules/imgproc/src/min_enclosing_triangle.cpp if (std::abs(angle2 - angle3) > 180) { abs 1292 modules/imgproc/src/min_enclosing_triangle.cpp double nominator = std::abs((term1 * term2) - (term3 * term4)); abs 1328 modules/imgproc/src/min_enclosing_triangle.cpp return std::abs(determinant) / 2; abs 1542 modules/imgproc/src/min_enclosing_triangle.cpp return (std::abs(number1 - number2) <= (EPSILON * maximum(1.0, std::abs(number1), std::abs(number2)))); abs 84 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); abs 458 modules/imgproc/src/moments.cpp if( std::abs(m00) > DBL_EPSILON ) abs 473 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); abs 1062 modules/imgproc/src/morph.cpp if( std::abs(dy) <= r ) abs 870 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && abs 871 modules/imgproc/src/pyramids.cpp std::abs(dsize.height*2 - ssize.height) <= 2 ); abs 993 modules/imgproc/src/pyramids.cpp CV_Assert( std::abs(dsize.width - ssize.width*2) == dsize.width % 2 && abs 994 modules/imgproc/src/pyramids.cpp std::abs(dsize.height - ssize.height*2) == dsize.height % 2); abs 1080 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && abs 1081 modules/imgproc/src/pyramids.cpp std::abs(dsize.height*2 - ssize.height) <= 2 ); abs 151 modules/imgproc/src/segmentation.cpp db = std::abs((ptr1)[0] - (ptr2)[0]);\ abs 152 modules/imgproc/src/segmentation.cpp dg = std::abs((ptr1)[1] - (ptr2)[1]);\ abs 153 modules/imgproc/src/segmentation.cpp dr = std::abs((ptr1)[2] - (ptr2)[2]);\ abs 529 modules/imgproc/src/segmentation.cpp stop_flag = (x0 == x1 && y0 == y1) || std::abs(x1-x0) + std::abs(y1-y0) + abs 1609 modules/imgproc/src/smooth.cpp if( ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON ) abs 2821 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(val - val0)]; abs 2894 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(b - b0) + abs 2895 modules/imgproc/src/smooth.cpp std::abs(g - g0) + std::abs(r - r0)]; abs 3212 modules/imgproc/src/smooth.cpp float alpha = (float)(std::abs(val - val0)*scale_index); abs 3292 modules/imgproc/src/smooth.cpp float alpha = (float)((std::abs(b - b0) + abs 3293 modules/imgproc/src/smooth.cpp std::abs(g - g0) + std::abs(r - r0))*scale_index); abs 3351 modules/imgproc/src/smooth.cpp if(std::abs(minValSrc - maxValSrc) < FLT_EPSILON) abs 1091 modules/imgproc/src/templmatch.cpp CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, abs 1092 modules/imgproc/src/templmatch.cpp std::abs(img.rows - templ.rows) + 1) && abs 118 modules/imgproc/test/ocl/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; abs 132 modules/imgproc/test/test_bilateral_filter.cpp if(std::abs(minValSrc - maxValSrc) < FLT_EPSILON) abs 195 modules/imgproc/test/test_bilateral_filter.cpp float alpha = (float)(std::abs(val - val0)*scale_index); abs 216 modules/imgproc/test/test_bilateral_filter.cpp float alpha = (float)((std::abs(b - b0) + abs 217 modules/imgproc/test/test_bilateral_filter.cpp std::abs(g - g0) + std::abs(r - r0))*scale_index); abs 197 modules/imgproc/test/test_color.cpp if( abs(*h - *h0) >= hue_range-1 && (*h <= 1 || *h0 <= 1) ) abs 1996 modules/imgproc/test/test_color.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[step] - S[-step]) ? (S[step] + S[-step] + 1) : (S[-1] + S[1] + 1)) / 2; abs 2007 modules/imgproc/test/test_color.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[step] - S[-step]) ? (S[step] + S[-step] + 1) : (S[-1] + S[1] + 1)) / 2; abs 2065 modules/imgproc/test/test_color.cpp if (std::abs(A[x] - R[x]) > 1) abs 2174 modules/imgproc/test/test_color.cpp if (abs(rD[x] - D[x]) >= 1) abs 177 modules/imgproc/test/test_convhull.cpp return (abs(d1 + d2 - d3) <= (1E-5)); abs 62 modules/imgproc/test/test_houghLines.cpp return abs(other[0] - value[0]) < rho_eps && abs(other[1] - value[1]) < theta_eps; abs 229 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(Math.abs(list1.get(i).doubleValue() - list2.get(i).doubleValue()) <= epsilon); abs 323 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.size - actual.size) < eps); abs 324 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.angle - actual.angle) < eps); abs 325 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.response - actual.response) < eps); abs 341 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.distance - actual.distance) < eps); abs 346 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[0] - actual.val[0]) < eps); abs 347 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[1] - actual.val[1]) < eps); abs 348 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[2] - actual.val[2]) < eps); abs 349 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[3] - actual.val[3]) < eps); abs 259 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(Math.abs(list1.get(i).doubleValue() - list2.get(i).doubleValue()) <= epsilon); abs 353 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.size - actual.size) < eps); abs 354 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.angle - actual.angle) < eps); abs 355 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.response - actual.response) < eps); abs 371 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.distance - actual.distance) < eps); abs 376 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[0] - actual.val[0]) < eps); abs 377 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[1] - actual.val[1]) < eps); abs 378 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[2] - actual.val[2]) < eps); abs 379 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.val[3] - actual.val[3]) < eps); abs 268 modules/ml/src/boost.cpp CV_Assert( std::abs(w->ord_responses[si]) == 1 ); abs 134 modules/ml/src/kdtree.cpp CV_Assert(std::abs(more - less) <= 1); abs 351 modules/ml/src/kdtree.cpp d += std::abs(vec[j] - row[j]); abs 383 modules/ml/src/kdtree.cpp d = std::abs(d) + alt_d; abs 162 modules/ml/src/rtrees.cpp double val = std::abs(w->ord_responses[w->sidx[i]]); abs 208 modules/ml/src/svm.cpp Qfloat e = std::exp(-std::abs(t)); abs 1395 modules/ml/src/svm.cpp if( std::abs(_alpha[i]) > 0 ) abs 1503 modules/ml/src/svm.cpp if( std::abs(_alpha[k]) > 0 ) abs 591 modules/ml/test/test_emknearestkmeans.cpp errCaseCount = std::abs(em->predict2(samples.row(i), noArray())[1] - firstResult.at<int>(i)) < FLT_EPSILON ? 0 : 1; abs 165 modules/ml/test/test_gbttest.cpp if ( abs( current_error - mean[test_num]) > 6*sigma[test_num] ) abs 108 modules/ml/test/test_mltests.cpp testCaseIdx, curErr, mean, abs( curErr - mean), coeff, coeff*sigma ); abs 109 modules/ml/test/test_mltests.cpp if ( abs( curErr - mean) > coeff*sigma ) abs 128 modules/objdetect/include/opencv2/objdetect.hpp return std::abs(r1.x - r2.x) <= delta && abs 129 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y - r2.y) <= delta && abs 130 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.x + r1.width - r2.x - r2.width) <= delta && abs 131 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y + r1.height - r2.y - r2.height) <= delta; abs 359 modules/objdetect/test/test_cascadeandhog.cpp if( map[minIdx] != 0 || (minDist > dist) || (abs(cr->width - vr.width) > wDiff) || abs 360 modules/objdetect/test/test_cascadeandhog.cpp (abs(cr->height - vr.height) > hDiff) ) abs 168 modules/photo/src/align.cpp int width = src.cols - abs(shift.x); abs 169 modules/photo/src/align.cpp int height = src.rows - abs(shift.y); abs 211 modules/photo/src/align.cpp compare(abs(img - median), exclude_range, eb, CMP_GT); abs 235 modules/photo/src/calibrate.cpp float diff = static_cast<float>(sum(sum(abs(new_response - response)))[0] / channels); abs 293 modules/photo/src/contrast_preserve.hpp sum += abs(alf[i]); abs 116 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::abs(dy), 1.0); abs 98 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::abs((int)(a-b)); abs 106 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::abs((int)(a[0]-b[0])) + std::abs((int)(a[1]-b[1])); abs 115 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[0]-b[0])) + abs 116 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[1]-b[1])) + abs 117 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[2]-b[2])); abs 126 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[0]-b[0])) + abs 127 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[1]-b[1])) + abs 128 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[2]-b[2])) + abs 129 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[3]-b[3])); abs 555 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color))+ abs 556 modules/photo/src/inpaint.cpp abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))); abs 558 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)))*2.0f; abs 562 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color)))*2.0f; abs 569 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))+ abs 570 modules/photo/src/inpaint.cpp abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); abs 572 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)))*2.0f; abs 576 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; abs 643 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm))+ abs 644 modules/photo/src/inpaint.cpp abs(CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); abs 646 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm)))*2.0f; abs 650 modules/photo/src/inpaint.cpp gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; abs 657 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))+ abs 658 modules/photo/src/inpaint.cpp abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1))); abs 660 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm)))*2.0f; abs 664 modules/photo/src/inpaint.cpp gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; abs 179 modules/photo/src/merge.cpp contrast = abs(contrast); abs 421 modules/photo/src/npr.hpp distx.at<float>(i,k) + abs(derivx.at<float>(i,j*channel+c)); abs 429 modules/photo/src/npr.hpp disty.at<float>(k,j) + abs(derivy.at<float>(i,j*channel+c)); abs 374 modules/photo/src/seamless_cloning_impl.cpp if(abs(patchXLinePtr[j] - patchYLinePtr[j]) > abs 375 modules/photo/src/seamless_cloning_impl.cpp abs(destinationXLinePtr[j] - destinationYLinePtr[j])) abs 473 modules/photo/src/tonemap.cpp pow(abs(src), power, dst); abs 72 modules/photo/test/test_denoise_tvl1.cpp bool ok = std::abs(image.at<uchar>(x,y) - val) < 10; abs 56 modules/photo/test/test_hdr.cpp minMaxLoc(abs(img0 - img1), NULL, &max); abs 236 modules/photo/test/test_hdr.cpp Mat diff = abs(response - expected); abs 81 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f1 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); abs 91 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f0 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); abs 606 modules/stitching/src/matchers.cpp if (matches_info.H.empty() || std::abs(determinant(matches_info.H)) < std::numeric_limits<double>::epsilon()) abs 754 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(gradx1_(y + dy1, x + dx1)) + std::abs(gradx1_(y + dy1, x + dx1 - 1)) + abs 755 modules/stitching/src/seam_finders.cpp std::abs(gradx2_(y + dy2, x + dx2)) + std::abs(gradx2_(y + dy2, x + dx2 - 1)) + 1.f; abs 778 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(grady1_(y + dy1, x + dx1)) + std::abs(grady1_(y + dy1 - 1, x + dx1)) + abs 779 modules/stitching/src/seam_finders.cpp std::abs(grady2_(y + dy2, x + dx2)) + std::abs(grady2_(y + dy2 - 1, x + dx2)) + 1.f; abs 807 modules/stitching/src/seam_finders.cpp isHorizontal = std::abs(dst.x - src.x) > std::abs(dst.y - src.y); abs 253 modules/stitching/src/stitcher.cpp if (std::abs(compose_scale - 1) > 1e-1) abs 266 modules/stitching/src/stitcher.cpp if (std::abs(compose_scale - 1) > 1e-1) abs 359 modules/superres/src/btv_l1.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); abs 184 modules/superres/src/btv_l1_cuda.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); abs 361 modules/ts/src/cuda_test.cpp return std::abs(diff.at<float>(0, 0) - 1.f); abs 448 modules/ts/src/cuda_test.cpp abs(p1.angle - p2.angle) < maxAngleDif && abs 449 modules/ts/src/cuda_test.cpp abs(p1.response - p2.response) < maxResponseDif && abs 252 modules/ts/src/ocl_test.cpp return std::abs(diff.at<float>(0, 0) - 1.f); abs 1139 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i]));// trick with 0 used to quiet gcc warning abs 1145 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i*cn + c])); abs 1152 modules/ts/src/ts_func.cpp result += std::abs(0+src[i]); abs 1158 modules/ts/src/ts_func.cpp result += std::abs(0+src[i*cn + c]); abs 1196 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i] - src2[i])); abs 1202 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i*cn + c] - src2[i*cn + c])); abs 1209 modules/ts/src/ts_func.cpp result += std::abs(src1[i] - src2[i]); abs 1215 modules/ts/src/ts_func.cpp result += std::abs(src1[i*cn + c] - src2[i*cn + c]); abs 1736 modules/ts/src/ts_func.cpp int diff = std::abs(src1[i] - src2[i]); abs 1778 modules/ts/src/ts_func.cpp int diff = std::abs(a - b); abs 350 modules/ts/src/ts_perf.cpp eps *= std::max(std::abs(expect_min), std::abs(expect_max)); abs 430 modules/ts/src/ts_perf.cpp cv::Mat expected_abs = cv::abs(expected.reshape(1)); abs 431 modules/ts/src/ts_perf.cpp cv::Mat actual_abs = cv::abs(actual.reshape(1)); abs 693 modules/video/src/lkpyramid.cpp if( j > 0 && std::abs(delta.x + prevDelta.x) < 0.01 && abs 694 modules/video/src/lkpyramid.cpp std::abs(delta.y + prevDelta.y) < 0.01 ) abs 736 modules/video/src/lkpyramid.cpp errval += std::abs((float)diff); abs 1531 modules/video/src/lkpyramid.cpp if( std::abs( m[0]*pA[i].x + m[1]*pA[i].y + m[2] - pB[i].x ) + abs 1532 modules/video/src/lkpyramid.cpp std::abs( m[3]*pA[i].x + m[4]*pA[i].y + m[5] - pB[i].y ) < std::max(brect.width,brect.height)*0.05 ) abs 617 modules/video/src/optflowgf.cpp CV_Assert(!fastPyramids || std::abs(pyrScale - 0.5) < 1e-6); abs 120 modules/video/test/ocl/test_optflowpyrlk.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; abs 2372 modules/videoio/src/cap_dshow.cpp else if( abs(widthIn-x) < abs(widthIn-tempW) ){ abs 2384 modules/videoio/src/cap_dshow.cpp else if( abs(heightIn-y) < abs(heightIn-tempH) ){ abs 2402 modules/videoio/src/cap_dshow.cpp else if( abs(widthIn - tempW) + abs(heightIn - tempH) < abs(widthIn - nearW) + abs(heightIn - nearH) ) abs 232 modules/videoio/src/cap_openni.cpp double timeDiff = 1e-3 * std::abs(static_cast<double>(depth.Timestamp()) - static_cast<double>(image.Timestamp())); abs 112 modules/videostab/src/deblurring.cpp (sensitivity_ + std::abs(intensity(p1) - intensity(p))); abs 220 modules/videostab/src/inpainting.cpp err += std::abs(intensity(frame1.at<Point3_<uchar> >(y1,x1)) - abs 191 samples/cpp/autofocus.cpp int stepToMax = abs(state.stepToLastMax); abs 29 samples/cpp/camshiftdemo.cpp selection.width = std::abs(x - origin.x); abs 30 samples/cpp/camshiftdemo.cpp selection.height = std::abs(y - origin.y); abs 31 samples/cpp/contours2.cpp 3, LINE_AA, hierarchy, std::abs(_levels) ); abs 380 samples/cpp/image_alignment.cpp imshow ("error (black: no error)", abs(errorImage)*255/max_of_error); abs 132 samples/cpp/letter_recog.cpp r = std::abs(r + rdelta - responses.at<int>(i)) <= FLT_EPSILON ? 1.f : 0.f; abs 322 samples/cpp/letter_recog.cpp double r = std::abs(best_class - responses.at<int>(i)) < FLT_EPSILON ? 1 : 0; abs 752 samples/cpp/stitching_detailed.cpp if (std::abs(compose_scale - 1) > 1e-1) abs 765 samples/cpp/stitching_detailed.cpp if (abs(compose_scale - 1) > 1e-1) abs 55 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp minVal = abs(minVal); maxVal = abs(maxVal); abs 64 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp { drawing.at<Vec3b>(j,i)[0] = (uchar)(255 - abs(raw_dist.at<float>(j,i))*255/minVal); } abs 29 samples/gpu/farneback_optical_flow.cpp uMin = ::abs(uMin); uMax = ::abs(uMax); abs 30 samples/gpu/farneback_optical_flow.cpp vMin = ::abs(vMin); vMax = ::abs(vMax); abs 27 samples/tapi/camshift.cpp selection.width = std::abs(x - origin.x); abs 28 samples/tapi/camshift.cpp selection.height = std::abs(y - origin.y); abs 203 samples/tapi/hog.cpp if (abs(scale-1.0)>0.001) abs 73 samples/winrt/ImageManipulations/MediaExtensions/Common/BufferLock.h *ppbScanLine0 = pData + abs(lDefaultStride) * (dwHeightInPixels - 1);