sqrt 1988 3rdparty/libjasper/jpc_enc.c tile->tcmpts[0].synweight = jpc_dbltofix(sqrt(3.0)); sqrt 1989 3rdparty/libjasper/jpc_enc.c tile->tcmpts[1].synweight = jpc_dbltofix(sqrt(0.6875)); sqrt 1990 3rdparty/libjasper/jpc_enc.c tile->tcmpts[2].synweight = jpc_dbltofix(sqrt(0.6875)); sqrt 1993 3rdparty/libjasper/jpc_enc.c tile->tcmpts[0].synweight = jpc_dbltofix(sqrt(3.0000)); sqrt 1994 3rdparty/libjasper/jpc_enc.c tile->tcmpts[1].synweight = jpc_dbltofix(sqrt(3.2584)); sqrt 1995 3rdparty/libjasper/jpc_enc.c tile->tcmpts[2].synweight = jpc_dbltofix(sqrt(2.4755)); sqrt 260 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(3.0)); sqrt 263 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(0.6875)); sqrt 266 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(0.6875)); sqrt 273 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(3.0000)); sqrt 276 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(3.2584)); sqrt 279 3rdparty/libjasper/jpc_mct.c synweight = jpc_dbltofix(sqrt(2.4755)); sqrt 164 3rdparty/libjasper/jpc_util.c return jpc_dbltofix(sqrt(jpc_fixtodbl(s))); sqrt 743 3rdparty/libtiff/tif_luv.c *gp++ = (uint8) ((Y <= 0.) ? 0 : (Y >= 1.) ? 255 : (int)(256.*sqrt(Y))); sqrt 770 3rdparty/libtiff/tif_luv.c rgb[0] = (uint8)((r<=0.) ? 0 : (r >= 1.) ? 255 : (int)(256.*sqrt(r))); sqrt 771 3rdparty/libtiff/tif_luv.c rgb[1] = (uint8)((g<=0.) ? 0 : (g >= 1.) ? 255 : (int)(256.*sqrt(g))); sqrt 772 3rdparty/libtiff/tif_luv.c rgb[2] = (uint8)((b<=0.) ? 0 : (b >= 1.) ? 255 : (int)(256.*sqrt(b))); sqrt 56 3rdparty/openexr/IlmImf/ImfEnvmap.cpp float r = sqrt (dir.z * dir.z + dir.x * dir.x); sqrt 503 3rdparty/openexr/Imath/ImathEuler.h T sy = Math<T>::sqrt (N[j][i]*N[j][i] + N[k][i]*N[k][i]); sqrt 535 3rdparty/openexr/Imath/ImathEuler.h T cy = Math<T>::sqrt (N[i][i]*N[i][i] + N[i][j]*N[i][j]); sqrt 582 3rdparty/openexr/Imath/ImathEuler.h T sy = Math<T>::sqrt (N[j][i]*N[j][i] + N[k][i]*N[k][i]); sqrt 611 3rdparty/openexr/Imath/ImathEuler.h T cy = Math<T>::sqrt (N[i][i]*N[i][i] + N[i][j]*N[i][j]); sqrt 114 3rdparty/openexr/Imath/ImathMath.h static T sqrt (T x) {return ::sqrt (double(x));} sqrt 141 3rdparty/openexr/Imath/ImathMath.h static float sqrt (float x) {return ::sqrtf (x);} sqrt 356 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? sqrt 379 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); sqrt 382 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c_2 = T(1) / std::sqrt (T(1) + t_2*t_2); sqrt 497 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? sqrt 520 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); sqrt 523 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c_2 = T(1) / std::sqrt (T(1) + t_2*t_2); sqrt 996 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); sqrt 997 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c = T(1) / std::sqrt (T(1) + t*t); sqrt 1051 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); sqrt 1052 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c = T(1) / std::sqrt (T(1) + t*t); sqrt 631 3rdparty/openexr/Imath/ImathMatrixAlgo.h T cy = Math<T>::sqrt (N[0][0]*N[0][0] + N[0][1]*N[0][1]); sqrt 678 3rdparty/openexr/Imath/ImathMatrixAlgo.h T cy = Math<T>::sqrt (N[2][2]*N[2][2] + N[2][1]*N[2][1]); sqrt 700 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = Math<T>::sqrt (tr + T(1.0)); sqrt 718 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = Math<T>::sqrt ((mat[i][i] - (mat[j][j] + mat[k][k])) + T(1.0)); sqrt 384 3rdparty/openexr/Imath/ImathQuat.h return Math<T>::sqrt (r * r + (v ^ v)); sqrt 483 3rdparty/openexr/Imath/ImathQuat.h T lengthD = Math<T>::sqrt (d ^ d); sqrt 486 3rdparty/openexr/Imath/ImathQuat.h T lengthS = Math<T>::sqrt (s ^ s); sqrt 385 3rdparty/openexr/Imath/ImathRandom.h return x * sqrt (-2 * log (double (length2)) / length2); sqrt 128 3rdparty/openexr/Imath/ImathRoots.h T s = Math<T>::sqrt (D); sqrt 166 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> u = std::pow (-q / 2 + std::sqrt (std::complex<T> (D)), sqrt 140 3rdparty/openexr/Imath/ImathSphere.h T sqroot = Math<T>::sqrt(discr); sqrt 133 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 202 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 271 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 340 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 409 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 478 3rdparty/openexr/Imath/ImathVec.cpp float lenF = Math<float>::sqrt ((float)dot (*this)); sqrt 1166 3rdparty/openexr/Imath/ImathVec.h return max * Math<T>::sqrt (absX * absX + absY * absY); sqrt 1178 3rdparty/openexr/Imath/ImathVec.h return Math<T>::sqrt (length2); sqrt 1657 3rdparty/openexr/Imath/ImathVec.h return max * Math<T>::sqrt (absX * absX + absY * absY + absZ * absZ); sqrt 1669 3rdparty/openexr/Imath/ImathVec.h return Math<T>::sqrt (length2); sqrt 2061 3rdparty/openexr/Imath/ImathVec.h Math<T>::sqrt (absX * absX + absY * absY + absZ * absZ + absW * absW); sqrt 2073 3rdparty/openexr/Imath/ImathVec.h return Math<T>::sqrt (length2); sqrt 1631 apps/createsamples/utility.cpp guessed_w = cvFloor( sqrt( (float) file.vecsize ) ); sqrt 20 apps/traincascade/features.cpp return (float) sqrt( (double) (area * valSqSum - (double)valSum * valSum) ); sqrt 141 apps/traincascade/old_ml_inner_functions.cpp CV_MAT_ELEM(*S, float, i, i) = (float)sqrt(CV_MAT_ELEM(*A, float, i, i) - sum); sqrt 1707 apps/traincascade/old_ml_tree.cpp if( sqrt(node->node_risk)/n < data->params.regression_accuracy ) sqrt 3423 apps/traincascade/old_ml_tree.cpp ab->data.db[ti] = sqrt(ab->data.db[ti]*ab->data.db[ti+1]); sqrt 3457 apps/traincascade/old_ml_tree.cpp min_err_se = sqrt( sum_err*(n - sum_err) ); sqrt 127 modules/calib3d/src/calibinit.cpp sum += sqrt(dx*dx + dy*dy); sqrt 1722 modules/calib3d/src/calibinit.cpp d1 = sqrt(dx*dx + dy*dy); sqrt 1726 modules/calib3d/src/calibinit.cpp d2 = sqrt(dx*dx + dy*dy); sqrt 1733 modules/calib3d/src/calibinit.cpp d3 = sqrt(dx*dx + dy*dy); sqrt 1736 modules/calib3d/src/calibinit.cpp d4 = sqrt(dx*dx + dy*dy); sqrt 310 modules/calib3d/src/calibration.cpp theta = std::sqrt(rx*rx + ry*ry + rz*rz); sqrt 396 modules/calib3d/src/calibration.cpp s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); sqrt 410 modules/calib3d/src/calibration.cpp rx = std::sqrt(MAX(t,0.)); sqrt 412 modules/calib3d/src/calibration.cpp ry = std::sqrt(MAX(t,0.))*(R[1] < 0 ? -1. : 1.); sqrt 414 modules/calib3d/src/calibration.cpp rz = std::sqrt(MAX(t,0.))*(R[2] < 0 ? -1. : 1.); sqrt 417 modules/calib3d/src/calibration.cpp theta /= std::sqrt(rx*rx + ry*ry + rz*rz); sqrt 1025 modules/calib3d/src/calibration.cpp h1_norm = std::sqrt(h[0]*h[0] + h[3]*h[3] + h[6]*h[6]); sqrt 1026 modules/calib3d/src/calibration.cpp h2_norm = std::sqrt(h[1]*h[1] + h[4]*h[4] + h[7]*h[7]); sqrt 1200 modules/calib3d/src/calibration.cpp n[j] = 1./std::sqrt(n[j]); sqrt 1214 modules/calib3d/src/calibration.cpp a[0] = std::sqrt(fabs(1./f[0])); sqrt 1215 modules/calib3d/src/calibration.cpp a[4] = std::sqrt(fabs(1./f[1])); sqrt 1561 modules/calib3d/src/calibration.cpp return std::sqrt(reprojErr/total); sqrt 2092 modules/calib3d/src/calibration.cpp return std::sqrt(reprojErr/(pointsTotal*2)); sqrt 2533 modules/calib3d/src/calibration.cpp double d = MAX(std::sqrt(e2[0]*e2[0] + e2[1]*e2[1]),DBL_EPSILON); sqrt 2770 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); sqrt 2789 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); sqrt 2809 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); sqrt 39 modules/calib3d/src/dls.h sr = std::sqrt(sr); sqrt 216 modules/calib3d/src/dls.h z = std::sqrt(std::abs(q)); sqrt 240 modules/calib3d/src/dls.h r = std::sqrt(p * p + q * q); sqrt 311 modules/calib3d/src/dls.h s = std::sqrt(s); sqrt 375 modules/calib3d/src/dls.h s = std::sqrt(p * p + q * q + r * r); sqrt 618 modules/calib3d/src/dls.h double g = std::sqrt(h); sqrt 78 modules/calib3d/src/epnp.cpp double k = sqrt(dc[i - 1] / number_of_correspondences); sqrt 323 modules/calib3d/src/epnp.cpp sum2 += sqrt( (u - ue) * (u - ue) + (v - ve) * (v - ve) ); sqrt 349 modules/calib3d/src/epnp.cpp betas[0] = sqrt(-b4[0]); sqrt 354 modules/calib3d/src/epnp.cpp betas[0] = sqrt(b4[0]); sqrt 380 modules/calib3d/src/epnp.cpp betas[0] = sqrt(-b3[0]); sqrt 381 modules/calib3d/src/epnp.cpp betas[1] = (b3[2] < 0) ? sqrt(-b3[2]) : 0.0; sqrt 383 modules/calib3d/src/epnp.cpp betas[0] = sqrt(b3[0]); sqrt 384 modules/calib3d/src/epnp.cpp betas[1] = (b3[2] > 0) ? sqrt(b3[2]) : 0.0; sqrt 414 modules/calib3d/src/epnp.cpp betas[0] = sqrt(-b5[0]); sqrt 415 modules/calib3d/src/epnp.cpp betas[1] = (b5[2] < 0) ? sqrt(-b5[2]) : 0.0; sqrt 417 modules/calib3d/src/epnp.cpp betas[0] = sqrt(b5[0]); sqrt 418 modules/calib3d/src/epnp.cpp betas[1] = (b5[2] > 0) ? sqrt(b5[2]) : 0.0; sqrt 566 modules/calib3d/src/epnp.cpp double sigma = sqrt(sum2); sqrt 128 modules/calib3d/src/fisheye.cpp double r = std::sqrt(r2); sqrt 285 modules/calib3d/src/fisheye.cpp double r = std::sqrt(r2); sqrt 371 modules/calib3d/src/fisheye.cpp double theta_d = sqrt(pw[0]*pw[0] + pw[1]*pw[1]); sqrt 463 modules/calib3d/src/fisheye.cpp double r = sqrt(x*x + y*y); sqrt 1031 modules/calib3d/src/fisheye.cpp rms = sqrt(rms); sqrt 1479 modules/calib3d/src/fisheye.cpp std_err *= sqrt((double)ex.total()/((double)ex.total() - 1.0)); sqrt 1483 modules/calib3d/src/fisheye.cpp sigma_x *= sqrt(2.0 * (double)ex.total()/(2.0 * (double)ex.total() - 1.0)); sqrt 1490 modules/calib3d/src/fisheye.cpp sqrt(JJ2_inv, JJ2_inv); sqrt 1504 modules/calib3d/src/fisheye.cpp rms = sqrt(rms); sqrt 585 modules/calib3d/src/fundam.cpp scale1 += std::sqrt(x*x + y*y); sqrt 588 modules/calib3d/src/fundam.cpp scale2 += std::sqrt(x*x + y*y); sqrt 597 modules/calib3d/src/fundam.cpp scale1 = std::sqrt(2.)/scale1; sqrt 598 modules/calib3d/src/fundam.cpp scale2 = std::sqrt(2.)/scale2; sqrt 847 modules/calib3d/src/fundam.cpp nu = nu ? 1./std::sqrt(nu) : 1.; sqrt 863 modules/calib3d/src/fundam.cpp nu = nu ? 1./std::sqrt(nu) : 1.; sqrt 193 modules/calib3d/src/homography_decomp.cpp double t2 = sqrt(1.0+4.0*lambda1t3/lambda1m3_2); sqrt 201 modules/calib3d/src/homography_decomp.cpp double nv1p = sqrt(e1_2*lambda1m3_2 + 2*e1*(lambda1t3-1) + 1.0); sqrt 202 modules/calib3d/src/homography_decomp.cpp double nv3p = sqrt(e3_2*lambda1m3_2 + 2*e3*(lambda1t3-1) + 1.0); sqrt 333 modules/calib3d/src/homography_decomp.cpp double rtM00 = sqrt(M00); sqrt 334 modules/calib3d/src/homography_decomp.cpp double rtM11 = sqrt(M11); sqrt 335 modules/calib3d/src/homography_decomp.cpp double rtM22 = sqrt(M22); sqrt 382 modules/calib3d/src/homography_decomp.cpp double v = 2.0 * sqrt(1 + traceS - M00 - M11 - M22); sqrt 388 modules/calib3d/src/homography_decomp.cpp double r = sqrt(r_2); sqrt 389 modules/calib3d/src/homography_decomp.cpp double n_t = sqrt(nt_2); sqrt 105 modules/calib3d/src/p3p.cpp norm = sqrt(mu0 * mu0 + mv0 * mv0 + 1); sqrt 110 modules/calib3d/src/p3p.cpp norm = sqrt(mu1 * mu1 + mv1 * mv1 + 1); sqrt 115 modules/calib3d/src/p3p.cpp norm = sqrt(mu2 * mu2 + mv2 * mv2 + 1); sqrt 119 modules/calib3d/src/p3p.cpp distances[0] = sqrt( (X1 - X2) * (X1 - X2) + (Y1 - Y2) * (Y1 - Y2) + (Z1 - Z2) * (Z1 - Z2) ); sqrt 120 modules/calib3d/src/p3p.cpp distances[1] = sqrt( (X0 - X2) * (X0 - X2) + (Y0 - Y2) * (Y0 - Y2) + (Z0 - Z2) * (Z0 - Z2) ); sqrt 121 modules/calib3d/src/p3p.cpp distances[2] = sqrt( (X0 - X1) * (X0 - X1) + (Y0 - Y1) * (Y0 - Y1) + (Z0 - Z1) * (Z0 - Z1) ); sqrt 247 modules/calib3d/src/p3p.cpp double Z = distances[2] / sqrt(v); sqrt 368 modules/calib3d/src/p3p.cpp t = 1.0 / (fabs(theta) + sqrt(1.0 + theta * theta)); sqrt 379 modules/calib3d/src/p3p.cpp double c = 1.0 / sqrt(1 + t * t); sqrt 21 modules/calib3d/src/polynom_solver.cpp double sqrt_delta = sqrt(delta); sqrt 75 modules/calib3d/src/polynom_solver.cpp double theta = acos(R / sqrt(-Q3)); sqrt 76 modules/calib3d/src/polynom_solver.cpp double sqrt_Q = sqrt(-Q); sqrt 85 modules/calib3d/src/polynom_solver.cpp double AD = pow(fabs(R) + sqrt(D), 1.0 / 3.0) * (R > 0 ? 1 : (R < 0 ? -1 : 0)); sqrt 120 modules/calib3d/src/polynom_solver.cpp R = sqrt(R2); sqrt 132 modules/calib3d/src/polynom_solver.cpp double sqrt_temp = sqrt(temp); sqrt 146 modules/calib3d/src/polynom_solver.cpp double D = sqrt(D2); sqrt 155 modules/calib3d/src/polynom_solver.cpp double E = sqrt(E2); sqrt 362 modules/calib3d/src/ptsetreg.cpp sigma = 2.5*1.4826*(1 + 5./(count - modelPoints))*std::sqrt(minMedian); sqrt 465 modules/calib3d/src/ptsetreg.cpp errptr[i] = (float)std::sqrt(a*a + b*b + c*c); sqrt 1630 modules/calib3d/src/rho.cpp double beta_beta1_sq_chi = sqrt(beta*(1.0-beta)) * CHI_SQ; sqrt 1634 modules/calib3d/src/rho.cpp double sigma = sqrt((double)n)* beta_beta1_sq_chi; sqrt 278 modules/calib3d/src/triangulate.cpp scale = sqrt(cvGetReal2D(V,0,2)*cvGetReal2D(V,0,2) + cvGetReal2D(V,1,2)*cvGetReal2D(V,1,2)); sqrt 296 modules/calib3d/src/triangulate.cpp scale = sqrt(cvGetReal2D(V,0,2)*cvGetReal2D(V,0,2) + cvGetReal2D(V,1,2)*cvGetReal2D(V,1,2)); sqrt 258 modules/calib3d/src/upnp.cpp sum2 += sqrt( (u - ue) * (u - ue) + (v - ve) * (v - ve) ); sqrt 346 modules/calib3d/src/upnp.cpp betas[0] = sqrt( abs( x.at<double>(0) ) ); sqrt 349 modules/calib3d/src/upnp.cpp efs[0] = sqrt( abs( x.at<double>(1) ) ) / betas[0]; sqrt 751 modules/calib3d/src/upnp.cpp double sigma = sqrt(sum2); sqrt 163 modules/calib3d/test/test_cameracalibration.cpp theta0 = sqrt(r[0]*r[0] + r[1]*r[1] + r[2]*r[2]); sqrt 1559 modules/calib3d/test/test_cameracalibration.cpp if (cvtest::norm(triangulatedPoints, reprojectedPoints, NORM_L2) / sqrt((double)pointsCount) > requiredAccuracy) sqrt 54 modules/calib3d/test/test_chessboardgenerator.cpp squareEdgePointsNum(200), min_cos(std::sqrt(2.f)*0.5f), cov(0.5), sqrt 128 modules/calib3d/test/test_chesscorners.cpp err = sqrt(err/count_exp); sqrt 107 modules/calib3d/test/test_cornerssubpix.cpp mean_dist = sqrt(sum_dist/set1.size()); sqrt 326 modules/calib3d/test/test_fisheye.cpp std_err *= sqrt((double)merr.reshape(2).total() / (merr.reshape(2).total() - 1)); sqrt 73 modules/calib3d/test/test_fundam.cpp theta = sqrt(r[0]*r[0] + r[1]*r[1] + r[2]*r[2]); sqrt 239 modules/calib3d/test/test_fundam.cpp double dtheta_dtr = -1./sqrt(1 - tr*tr); sqrt 304 modules/calib3d/test/test_fundam.cpp r[0] = theta*sqrt((R[0] + 1)*0.5); sqrt 305 modules/calib3d/test/test_fundam.cpp r[1] = theta*sqrt((R[4] + 1)*0.5)*(R[1] >= 0 ? 1 : -1); sqrt 306 modules/calib3d/test/test_fundam.cpp r[2] = theta*sqrt((R[8] + 1)*0.5)*(R[2] >= 0 ? 1 : -1); sqrt 635 modules/calib3d/test/test_fundam.cpp theta0 = sqrt(r[0]*r[0] + r[1]*r[1] + r[2]*r[2]); sqrt 1035 modules/calib3d/test/test_fundam.cpp double n1 = 1./sqrt(x1*x1 + y1*y1 + 1); sqrt 1036 modules/calib3d/test/test_fundam.cpp double n2 = 1./sqrt(x2*x2 + y2*y2 + 1); sqrt 1317 modules/calib3d/test/test_fundam.cpp error = sqrt(error); sqrt 1373 modules/calib3d/test/test_fundam.cpp double n1 = 1./sqrt(x1*x1 + y1*y1 + 1); sqrt 1374 modules/calib3d/test/test_fundam.cpp double n2 = 1./sqrt(x2*x2 + y2*y2 + 1); sqrt 1385 modules/calib3d/test/test_fundam.cpp e_prop1[0] = sqrt(0.5); sqrt 1386 modules/calib3d/test/test_fundam.cpp e_prop1[1] = sqrt(0.5); sqrt 1698 modules/calib3d/test/test_fundam.cpp double d = sqrt(t0*t0 + t1*t1); sqrt 281 modules/calib3d/test/test_homography.cpp double t_x = cvtest::randReal(rng)*sqrt(image_size*1.0), sqrt 282 modules/calib3d/test/test_homography.cpp t_y = cvtest::randReal(rng)*sqrt(image_size*1.0); sqrt 406 modules/calib3d/test/test_homography.cpp mask.at<bool>(i, 0) = !(sqrt(a[0]*a[0]+a[1]*a[1]) > reproj_threshold); sqrt 110 modules/calib3d/test/test_reproject_image_to_3d.cpp return sqrt(sum)/(sqrt(nsum)+1.); sqrt 282 modules/calib3d/test/test_stereomatching.cpp return 1.f/sqrt((float)pointsCount) * (float)cvtest::norm(computedDisp, groundTruthDisp, NORM_L2, mask); sqrt 1343 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void sqrt(InputArray src, OutputArray dst); sqrt 245 modules/core/include/opencv2/core/affine.hpp double theta = std::sqrt(rx*rx + ry*ry + rz*rz); sqrt 343 modules/core/include/opencv2/core/affine.hpp double s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); sqrt 356 modules/core/include/opencv2/core/affine.hpp rx = std::sqrt(std::max(t, 0.0)); sqrt 358 modules/core/include/opencv2/core/affine.hpp ry = std::sqrt(std::max(t, 0.0)) * (R.val[1] < 0 ? -1.0 : 1.0); sqrt 360 modules/core/include/opencv2/core/affine.hpp rz = std::sqrt(std::max(t, 0.0)) * (R.val[2] < 0 ? -1.0 : 1.0); sqrt 364 modules/core/include/opencv2/core/affine.hpp theta /= std::sqrt(rx*rx + ry*ry + rz*rz); sqrt 500 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_UN_FUNCTOR(sqrt, ::sqrt) sqrt 211 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, uchar, float) sqrt 212 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, char, float) sqrt 213 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, ushort, float) sqrt 214 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, short, float) sqrt 215 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, int, float) sqrt 216 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, uint, float) sqrt 217 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, float, float) sqrt 218 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrt, double, double) sqrt 74 modules/core/include/opencv2/core/cvstd.hpp using std::sqrt; sqrt 835 modules/core/include/opencv2/core/matx.hpp return std::sqrt(normL2Sqr<_Tp, double>(M.val, m*n)); sqrt 843 modules/core/include/opencv2/core/matx.hpp std::sqrt((double)normL2Sqr<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n)); sqrt 1020 modules/core/include/opencv2/core/types.hpp return std::sqrt( (double)a.re*a.re + (double)a.im*a.im); sqrt 1192 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y); sqrt 1436 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y + (double)pt.z*pt.z); sqrt 197 modules/core/include/opencv2/core/types_c.h #define cvInvSqrt(value) ((float)(1./sqrt(value))) sqrt 198 modules/core/include/opencv2/core/types_c.h #define cvSqrt(value) ((float)sqrt(value)) sqrt 1852 modules/core/misc/java/test/CoreTest.java Core.sqrt(gray9_32f, dst); sqrt 1859 modules/core/misc/java/test/CoreTest.java Core.sqrt(rgba144, dst); sqrt 33 modules/core/misc/java/test/RotatedRectTest.java double halfDiagonal = length * Math.sqrt(2) / 2; sqrt 661 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::sqrt(src, dst); sqrt 319 modules/core/src/dxt.cpp w.re = w1.re = std::sqrt(1. - w1.im*w1.im); sqrt 3243 modules/core/src/dxt.cpp scale = (!inv ? 2 : 1)*std::sqrt(t); sqrt 3245 modules/core/src/dxt.cpp w1.re = std::sqrt(1. - w1.im*w1.im); sqrt 80 modules/core/src/lapack.cpp return a*std::sqrt(1 + b*b); sqrt 85 modules/core/src/lapack.cpp return b*std::sqrt(1 + a*a); sqrt 435 modules/core/src/lapack.cpp if( std::abs(p) <= eps*std::sqrt((double)a*b) ) sqrt 443 modules/core/src/lapack.cpp s = (_Tp)std::sqrt(delta/gamma); sqrt 448 modules/core/src/lapack.cpp c = (_Tp)std::sqrt((gamma + beta)/(gamma*2)); sqrt 489 modules/core/src/lapack.cpp W[i] = std::sqrt(sd); sqrt 561 modules/core/src/lapack.cpp sd = std::sqrt(sd); sqrt 378 modules/core/src/lda.cpp z = std::sqrt(std::abs(q)); sqrt 402 modules/core/src/lda.cpp r = std::sqrt(p * p + q * q); sqrt 473 modules/core/src/lda.cpp s = std::sqrt(s); sqrt 537 modules/core/src/lda.cpp s = std::sqrt(p * p + q * q + r * r); sqrt 780 modules/core/src/lda.cpp double g = std::sqrt(h); sqrt 1360 modules/core/src/mathfuncs.cpp static void Sqrt_32f(const float* src, float* dst, int n) { hal::sqrt(src, dst, n); } sqrt 1361 modules/core/src/mathfuncs.cpp static void Sqrt_64f(const double* src, double* dst, int n) { hal::sqrt(src, dst, n); } sqrt 1966 modules/core/src/mathfuncs.cpp d = std::sqrt(d); sqrt 1997 modules/core/src/mathfuncs.cpp double theta = acos(R / std::sqrt(Qcubed)); sqrt 1998 modules/core/src/mathfuncs.cpp double sqrtQ = std::sqrt(Q); sqrt 2010 modules/core/src/mathfuncs.cpp d = std::sqrt(-d); sqrt 2571 modules/core/src/matmul.cpp return std::sqrt(result); sqrt 5260 modules/core/src/matrix.cpp result = std::sqrt(result); sqrt 289 modules/core/src/opencl/arithm.cl #define PROCESS_ELEM storedst(sqrt(srcelem1)) sqrt 340 modules/core/src/opencl/arithm.cl dstT magnitude = sqrt(x2 + y2); \ sqrt 354 modules/core/src/rand.cpp dn = std::sqrt(-2.*std::log(vn/dn+std::exp(-.5*dn*dn))); sqrt 1591 modules/core/src/stat.cpp stddev[i] = std::sqrt(std::max(stddev[i] * total - mean[i] * mean[i] , 0.)); sqrt 1809 modules/core/src/stat.cpp sq[k] = std::sqrt(std::max(sq[k]*scale - s[k]*s[k], 0.)); sqrt 2606 modules/core/src/stat.cpp result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); sqrt 2790 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; sqrt 2812 modules/core/src/stat.cpp return std::sqrt(result); sqrt 2934 modules/core/src/stat.cpp result.d = std::sqrt(result.d); sqrt 2980 modules/core/src/stat.cpp result = std::sqrt(result); sqrt 2982 modules/core/src/stat.cpp s2 = std::sqrt(s2); sqrt 3202 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? std::sqrt(norm1 * norm1 + norm2 * norm2 + norm3 * norm3) : sqrt 3286 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; sqrt 3309 modules/core/src/stat.cpp return std::sqrt(result); sqrt 3420 modules/core/src/stat.cpp result.d = std::sqrt(result.d); sqrt 3475 modules/core/src/stat.cpp dist[i] = std::sqrt(normL2Sqr<_Tp, _Rt>(src1, src2 + step2*i, len)); sqrt 3481 modules/core/src/stat.cpp dist[i] = mask[i] ? std::sqrt(normL2Sqr<_Tp, _Rt>(src1, src2 + step2*i, len)) : val0; sqrt 3788 modules/core/src/stat.cpp double diff = std::sqrt(norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); sqrt 1447 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::sqrt(src1_roi, dst1_roi)); sqrt 1448 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::sqrt(usrc1_roi, udst1_roi)); sqrt 1037 modules/core/test/test_arithm.cpp mptr[j] = std::sqrt(xptr[j]*xptr[j] + yptr[j]*yptr[j]); sqrt 1052 modules/core/test/test_arithm.cpp mptr[j] = std::sqrt(xptr[j]*xptr[j] + yptr[j]*yptr[j]); sqrt 1212 modules/core/test/test_arithm.cpp sqmean[c] = std::sqrt(std::max(sqmean[c] - mean[c]*mean[c], 0.)); sqrt 389 modules/core/test/test_ds.cpp double sqrt_scale = sqrt(ts->get_test_case_count_scale()); sqrt 143 modules/core/test/test_dxt.cpp double scale = sqrt(1./n); sqrt 146 modules/core/test/test_dxt.cpp scale *= sqrt(2.); sqrt 87 modules/core/test/test_hal_core.cpp hal::sqrt(src.ptr<float>(), dst.ptr<float>(), n); sqrt 89 modules/core/test/test_hal_core.cpp hal::sqrt(src.ptr<double>(), dst.ptr<double>(), n); sqrt 178 modules/core/test/test_math.cpp cv::sqrt(a, b); sqrt 1135 modules/core/test/test_math.cpp test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = cvRealScalar(sqrt(cvtest::crossCorr(test_mat[TEMP][0], test_mat[TEMP][1]))); sqrt 2327 modules/core/test/test_math.cpp div += sqrt(pow(r[j].real() - ar[j].real(), 2) + pow(r[j].imag() - ar[j].imag(), 2)); sqrt 137 modules/core/test/test_operations.cpp float data[] = { sqrt(2.f)/2, -sqrt(2.f)/2, 1.f, sqrt(2.f)/2, sqrt(2.f)/2, 10.f }; sqrt 511 modules/core/test/test_operations.cpp float data[] = { sqrt(2.f)/2, -sqrt(2.f)/2, 1.f, sqrt(2.f)/2, sqrt(2.f)/2, 10.f }; sqrt 33 modules/core/test/test_rand.cpp return n + sqrt((double)2*n)*xp + 0.6666666666666*(xp*xp - 1); sqrt 58 modules/core/test/test_rand.cpp double alpha = 2*sqrt(2.)/r, beta = -alpha*r; sqrt 170 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void sqrt(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); sqrt 515 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::sqrt(d_src, dst); sqrt 523 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::sqrt(src, dst); sqrt 1565 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::sqrt(static_cast<float>(src.at<T>(y, x)))); sqrt 1606 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::sqrt(loadMat(src, useRoi), dst); sqrt 522 modules/cudafeatures2d/src/orb.cpp for (int v = 0; v <= half_patch_size * std::sqrt(2.f) / 2 + 1; ++v) sqrt 524 modules/cudafeatures2d/src/orb.cpp u_max[v] = cvRound(std::sqrt(static_cast<float>(half_patch_size * half_patch_size - v * v))); sqrt 528 modules/cudafeatures2d/src/orb.cpp for (int v = half_patch_size, v_0 = 0; v >= half_patch_size * std::sqrt(2.f) / 2; --v) sqrt 825 modules/cudaimgproc/src/generalized_hough.cpp const double maxDist = sqrt((double) templSize_.width * templSize_.width + templSize_.height * templSize_.height) * maxScale_; sqrt 213 modules/cudalegacy/src/fgd.cpp relativeVariance[0][thres] = std::sqrt(sqsum[0] / count[0] - my[0] * my[0]); sqrt 214 modules/cudalegacy/src/fgd.cpp relativeVariance[1][thres] = std::sqrt(sqsum[1] / count[1] - my[1] * my[1]); sqrt 215 modules/cudalegacy/src/fgd.cpp relativeVariance[2][thres] = std::sqrt(sqsum[2] / count[2] - my[2] * my[2]); sqrt 93 modules/cudalegacy/src/needle_map.cpp float max_flow = static_cast<float>(std::sqrt(uMax * uMax + vMax * vMax)); sqrt 117 modules/cudastereo/src/disparity_bilateral_filter.cpp row[x] = exp(-sqrt(float(y * y) + float(x * x)) / dist_space); sqrt 70 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp CV_CUDEV_EXPR_UNARY_FUNC(sqrt) sqrt 521 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_UNARY_FUNCTION_INST(sqrt, ::sqrt) sqrt 222 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, uchar, float) sqrt 223 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, char, float) sqrt 224 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, ushort, float) sqrt 225 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, short, float) sqrt 226 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, int, float) sqrt 227 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, uint, float) sqrt 228 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrtf, float, float) sqrt 229 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(sqrt, ::sqrt, double, double) sqrt 713 modules/features2d/include/opencv2/features2d.hpp return (ResultType)std::sqrt((double)normL2Sqr<ValueType, ResultType>(a, b, size)); sqrt 233 modules/features2d/src/blobdetector.cpp double denominator = std::sqrt(std::pow(2 * moms.mu11, 2) + std::pow(moms.mu20 - moms.mu02, 2)); sqrt 69 modules/features2d/src/evaluation.cpp d = std::sqrt(d); sqrt 148 modules/features2d/src/evaluation.cpp axes.width = (float)(1/sqrt(x1)); sqrt 149 modules/features2d/src/evaluation.cpp axes.height = (float)(1/sqrt(x2)); sqrt 151 modules/features2d/src/evaluation.cpp boundingBox.width = (float)sqrt(ellipse[2]/ac_b2); sqrt 152 modules/features2d/src/evaluation.cpp boundingBox.height = (float)sqrt(ellipse[0]/ac_b2); sqrt 203 modules/features2d/src/evaluation.cpp float rad = sqrt(axes.height*axes.width); sqrt 331 modules/features2d/src/evaluation.cpp float maxDist = sqrt(kp1.axes.width*kp1.axes.height), sqrt 963 modules/features2d/src/kaze/AKAZEFeatures.cpp len = sqrt(len); sqrt 1090 modules/features2d/src/kaze/AKAZEFeatures.cpp len = sqrt(len); sqrt 767 modules/features2d/src/kaze/KAZEFeatures.cpp len = sqrt(len); sqrt 896 modules/features2d/src/kaze/KAZEFeatures.cpp len = sqrt(len); sqrt 1048 modules/features2d/src/kaze/KAZEFeatures.cpp len = sqrt(len); sqrt 1205 modules/features2d/src/kaze/KAZEFeatures.cpp len = sqrt(len); sqrt 178 modules/features2d/src/kaze/fed.cpp int upperLimit = (int)sqrt(1.0f + number); sqrt 191 modules/features2d/src/kaze/nldiffusion_functions.cpp float den = sqrt(1.0f+inv_k*(Lx_row[x]*Lx_row[x] + Ly_row[x]*Ly_row[x])); sqrt 246 modules/features2d/src/kaze/nldiffusion_functions.cpp hmax = sqrt(hmax); sqrt 256 modules/features2d/src/kaze/nldiffusion_functions.cpp nbin = (int)floor(nbins*(sqrt(modg) / hmax)); sqrt 1287 modules/features2d/src/matchers.cpp dist = std::sqrt(dists.at<float>(i,j)); sqrt 1072 modules/features2d/src/mser.cpp float diam = std::sqrt(rect.size.height*rect.size.width); sqrt 115 modules/features2d/src/opencl/brute_force_match.cl # define DIST_RES(x) sqrt(x) sqrt 802 modules/features2d/src/orb.cpp int v, v0, vmax = cvFloor(halfPatchSize * std::sqrt(2.f) / 2 + 1); sqrt 803 modules/features2d/src/orb.cpp int vmin = cvCeil(halfPatchSize * std::sqrt(2.f) / 2); sqrt 805 modules/features2d/src/orb.cpp umax[v] = cvRound(std::sqrt((double)halfPatchSize * halfPatchSize - v * v)); sqrt 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)); sqrt 610 modules/flann/include/opencv2/flann/dist.h diff0 = sqrt(static_cast<ResultType>(a[0])) - sqrt(static_cast<ResultType>(b[0])); sqrt 611 modules/flann/include/opencv2/flann/dist.h diff1 = sqrt(static_cast<ResultType>(a[1])) - sqrt(static_cast<ResultType>(b[1])); sqrt 612 modules/flann/include/opencv2/flann/dist.h diff2 = sqrt(static_cast<ResultType>(a[2])) - sqrt(static_cast<ResultType>(b[2])); sqrt 613 modules/flann/include/opencv2/flann/dist.h diff3 = sqrt(static_cast<ResultType>(a[3])) - sqrt(static_cast<ResultType>(b[3])); sqrt 619 modules/flann/include/opencv2/flann/dist.h diff0 = sqrt(static_cast<ResultType>(*a++)) - sqrt(static_cast<ResultType>(*b++)); sqrt 631 modules/flann/include/opencv2/flann/dist.h ResultType diff = sqrt(static_cast<ResultType>(a)) - sqrt(static_cast<ResultType>(b)); sqrt 861 modules/flann/include/opencv2/flann/dist.h ResultType operator()( ResultType dist ) { return sqrt(dist); } sqrt 868 modules/flann/include/opencv2/flann/dist.h ResultType operator()( ResultType dist ) { return sqrt(dist); } sqrt 876 modules/flann/include/opencv2/flann/dist.h ResultType operator()( ResultType dist ) { return sqrt(dist); } sqrt 883 modules/flann/include/opencv2/flann/dist.h ResultType operator()( ResultType dist ) { return sqrt(dist); } sqrt 890 modules/flann/include/opencv2/flann/dist.h ResultType operator()( ResultType dist ) { return sqrt(dist); } sqrt 856 modules/flann/include/opencv2/flann/kmeans_index.h mean_radius += sqrt(d); sqrt 91 modules/hal/include/opencv2/hal.hpp void sqrt(const float* src, float* dst, int len); sqrt 92 modules/hal/include/opencv2/hal.hpp void sqrt(const double* src, double* dst, int len); sqrt 190 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_sqrt, std::sqrt, _Tp) sqrt 271 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = 1.f/std::sqrt(a.s[i]); sqrt 280 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = std::sqrt(a.s[i]*a.s[i] + b.s[i]*b.s[i]); sqrt 195 modules/hal/src/mathfuncs.cpp mag[i] = std::sqrt(x0*x0 + y0*y0); sqrt 231 modules/hal/src/mathfuncs.cpp mag[i] = std::sqrt(x0*x0 + y0*y0); sqrt 263 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); sqrt 278 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); sqrt 309 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); sqrt 340 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); sqrt 150 modules/hal/src/matrix.cpp L[i*astep + i] = (_Tp)(1./std::sqrt(s)); sqrt 413 modules/imgproc/include/opencv2/imgproc/types_c.h inv_sqrt_m00 = am00 > DBL_EPSILON ? 1./std::sqrt(am00) : 0; sqrt 1475 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(-Math.sqrt(0.5), sign2); sqrt 51 modules/imgproc/src/_geom.h return std::sqrt( dx*dx + dy*dy ); sqrt 203 modules/imgproc/src/approx.cpp sqrt( ((double)dx1 * dx1 + (double)dy1 * dy1) * sqrt 300 modules/imgproc/src/convhull.cpp double scale = dx0 == 0 && dy0 == 0 ? 0. : 1./std::sqrt(dx0*dx0 + dy0*dy0); sqrt 662 modules/imgproc/src/convhull.cpp scale = 1./std::sqrt(dx0*dx0 + dy0*dy0); sqrt 113 modules/imgproc/src/corner.cpp dst[j] = (float)((a + c) - std::sqrt((a - c)*(a - c) + b*b)); sqrt 196 modules/imgproc/src/corner.cpp double v = std::sqrt((a - c)*(a - c)*0.25 + b*b); sqrt 216 modules/imgproc/src/corner.cpp double d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); sqrt 237 modules/imgproc/src/corner.cpp d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); sqrt 545 modules/imgproc/src/distransform.cpp d[q] = std::sqrt(sqr_tab[std::abs(q - p)] + f[p]); sqrt 1595 modules/imgproc/src/drawing.cpp r = (thickness + oddThickness*XY_ONE*0.5)/std::sqrt(r); sqrt 685 modules/imgproc/src/generalized_hough.cpp const double maxDist = sqrt((double) templSize_.width * templSize_.width + templSize_.height * templSize_.height) * maxScale_; sqrt 235 modules/imgproc/src/geometry.cpp result = std::sqrt(min_dist_num/min_dist_denom); sqrt 129 modules/imgproc/src/grabcut.cpp res = 1.0f/sqrt(covDeterms[ci]) * exp(-0.5f*mult); sqrt 277 modules/imgproc/src/grabcut.cpp const double gammaDivSqrt2 = gamma / std::sqrt(2.0f); sqrt 2433 modules/imgproc/src/histogram.cpp result += std::sqrt(a*b); sqrt 2465 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; sqrt 2470 modules/imgproc/src/histogram.cpp s1 = fabs(s1) > FLT_EPSILON ? 1./std::sqrt(s1) : 1.; sqrt 2471 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); sqrt 2534 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; sqrt 2556 modules/imgproc/src/histogram.cpp result += std::sqrt(v1*v2); sqrt 2565 modules/imgproc/src/histogram.cpp s1 = fabs(s1) > FLT_EPSILON ? 1./std::sqrt(s1) : 1.; sqrt 2566 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); sqrt 2977 modules/imgproc/src/histogram.cpp result = fabs(denom2) > DBL_EPSILON ? num/sqrt(denom2) : 1; sqrt 3011 modules/imgproc/src/histogram.cpp result += sqrt(v1 * v2); sqrt 3023 modules/imgproc/src/histogram.cpp s1 = fabs(s1) > FLT_EPSILON ? 1./sqrt(s1) : 1.; sqrt 3025 modules/imgproc/src/histogram.cpp result = sqrt(MAX(result,0.)); sqrt 241 modules/imgproc/src/hough.cpp int rn = cvFloor( std::sqrt( (double)w * w + (double)h * h ) * irho ); sqrt 289 modules/imgproc/src/hough.cpp r = (float) std::sqrt( (double)xc * xc + (double)yc * yc ); sqrt 357 modules/imgproc/src/hough.cpp r = (float) std::sqrt( (double)xc * xc + (double)yc * yc ) * isrho; sqrt 1072 modules/imgproc/src/hough.cpp float mag = std::sqrt(vx*vx+vy*vy); sqrt 6558 modules/imgproc/src/imgwarp.cpp double p = log(std::sqrt(xx*xx + yy*yy) + 1.)*M; sqrt 192 modules/imgproc/src/linefit.cpp n = (float) std::sqrt( (double)v[0] * v[0] + (double)v[1] * v[1] + (double)v[2] * v[2] ); sqrt 243 modules/imgproc/src/linefit.cpp dist[j] = (float) std::sqrt( p1*p1 + p2*p2 + p3*p3 ); sqrt 267 modules/imgproc/src/linefit.cpp w[i] = 1.0f / (float) std::sqrt( 1 + (double) (d[i] * d[i] * 0.5) ); sqrt 89 modules/imgproc/src/lsd.cpp return sqrt(distSq(x1, y1, x2, y2)); sqrt 453 modules/imgproc/src/lsd.cpp const unsigned int h = (unsigned int)(ceil(sigma * sqrt(2 * sprec * log(10.0)))); sqrt 569 modules/imgproc/src/lsd.cpp double norm = std::sqrt((gx * gx + gy * gy) / 4); // gradient norm sqrt 770 modules/imgproc/src/lsd.cpp double lambda = 0.5 * (Ixx + Iyy - sqrt((Ixx - Iyy) * (Ixx - Iyy) + 4.0 * Ixy * Ixy)); sqrt 812 modules/imgproc/src/lsd.cpp double tau = 2.0 * sqrt((s_sum - 2.0 * mean_angle * sum) / double(n) + mean_angle * mean_angle); sqrt 999 modules/imgproc/src/min_enclosing_triangle.cpp double distFormulaDenom = sqrt((side2Params[0] * side2Params[0]) + (side2Params[1] * side2Params[1])); sqrt 1293 modules/imgproc/src/min_enclosing_triangle.cpp double denominator = std::sqrt((term1 * term1) + (term4 * term4)); sqrt 1309 modules/imgproc/src/min_enclosing_triangle.cpp return std::sqrt((xDiff * xDiff) + (yDiff * yDiff)); sqrt 84 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); sqrt 473 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); sqrt 1064 modules/imgproc/src/morph.cpp int dx = saturate_cast<int>(c*std::sqrt((r*r - dy*dy)*inv_r2)); sqrt 261 modules/imgproc/src/opencl/match_template.cl *dstult = normAcc(*dstult, sqrt(image_sqsum_ * template_sqsum[0])); sqrt 344 modules/imgproc/src/opencl/match_template.cl *dstult = normAcc_SQDIFF(image_sqsum_ - 2.0f * dstult[0] + template_sqsum_value, sqrt(image_sqsum_ * template_sqsum_value)); sqrt 471 modules/imgproc/src/opencl/match_template.cl float denum = sqrt(mad(template_sqsum, convertToDT(value_sqsum), 0)); sqrt 512 modules/imgproc/src/opencl/match_template.cl float denum = sqrt(mad(template_sqsum, convertToDT(value_sqsum), 0)); sqrt 552 modules/imgproc/src/opencl/match_template.cl float denum = sqrt(mad(template_sqsum, convertToDT(value_sqsum), 0)); sqrt 87 modules/imgproc/src/phasecorr.cpp dataDst[j*stepDst] = (float)std::sqrt((double)dataSrc[j*stepSrc]*dataSrc[j*stepSrc] + sqrt 107 modules/imgproc/src/phasecorr.cpp dataDst[j] = (float)std::sqrt((double)dataSrc[j]*dataSrc[j] + (double)dataSrc[j+1]*dataSrc[j+1]); sqrt 131 modules/imgproc/src/phasecorr.cpp dataDst[j*stepDst] = std::sqrt(dataSrc[j*stepSrc]*dataSrc[j*stepSrc] + sqrt 151 modules/imgproc/src/phasecorr.cpp dataDst[j] = std::sqrt(dataSrc[j]*dataSrc[j] + dataSrc[j+1]*dataSrc[j+1]); sqrt 610 modules/imgproc/src/phasecorr.cpp cv::sqrt(dst, dst); sqrt 141 modules/imgproc/src/rotcalipers.cpp inv_vect_length[i] = (float)(1./std::sqrt(dx*dx + dy*dy)); sqrt 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); sqrt 367 modules/imgproc/src/rotcalipers.cpp box.size.height = (float)std::sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); sqrt 376 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt(dx*dx + dy*dy); sqrt 287 modules/imgproc/src/shapedescr.cpp radius = (float)(std::sqrt(radius)*(1 + eps)); sqrt 327 modules/imgproc/src/shapedescr.cpp sqrt(bufmat, bufmat); sqrt 455 modules/imgproc/src/shapedescr.cpp rp[2] = std::sqrt(2.0 / rp[2]); sqrt 458 modules/imgproc/src/shapedescr.cpp rp[3] = std::sqrt(2.0 / rp[3]); sqrt 3009 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i * i + (double)j * j); sqrt 3123 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i*i + (double)j*j); sqrt 3394 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i*i + (double)j*j); sqrt 889 modules/imgproc/src/templmatch.cpp sqrt(corr, corr); sqrt 891 modules/imgproc/src/templmatch.cpp result /= std::sqrt(templSum2); sqrt 1012 modules/imgproc/src/templmatch.cpp templNorm = std::sqrt(templNorm); sqrt 1013 modules/imgproc/src/templmatch.cpp templNorm /= std::sqrt(invArea); // care of accuracy here sqrt 1071 modules/imgproc/src/templmatch.cpp t = std::sqrt(MAX(wndSum2 - wndMean2,0))*templNorm; sqrt 425 modules/imgproc/src/undistort.cpp double u = std::sqrt(beta*v + alpha*alpha); sqrt 446 modules/imgproc/src/undistort.cpp double fx1 = iR/std::sqrt(1 - x1*x1); sqrt 447 modules/imgproc/src/undistort.cpp double fy1 = iR/std::sqrt(1 - y1*y1); sqrt 203 modules/imgproc/test/test_approxpoly.cpp Sq = sqrt( A*A + B*B ); sqrt 218 modules/imgproc/test/test_approxpoly.cpp else dist = sqrt( (double)(EndPt.y - Pt.y)*(EndPt.y - Pt.y) + (EndPt.x - Pt.x)*(EndPt.x - Pt.x) ); sqrt 304 modules/imgproc/test/test_approxpoly.cpp while( sqrt(dDiam) / IntervalsCount == 0 ) sqrt 313 modules/imgproc/test/test_approxpoly.cpp dDiam = (float)sqrt( dDiam ); sqrt 174 modules/imgproc/test/test_bilateral_filter.cpp double r = std::sqrt((double)i*i + (double)j*j); sqrt 186 modules/imgproc/test/test_canny.cpp (float)sqrt((double)(dxval*dxval + dyval*dyval)) : sqrt 79 modules/imgproc/test/test_convhull.cpp return sqrt(dx*dx + dy*dy); sqrt 152 modules/imgproc/test/test_convhull.cpp result = sqrt(min_dist_num/min_dist_denom); sqrt 1108 modules/imgproc/test/test_convhull.cpp result0 += sqrt(dx*dx + dy*dy); sqrt 1465 modules/imgproc/test/test_convhull.cpp s = 1./sqrt(s); sqrt 1585 modules/imgproc/test/test_convhull.cpp if( sqrt(vec_diff) > 0.05 ) sqrt 1606 modules/imgproc/test/test_convhull.cpp if( sqrt(vec_diff) > 1*MAX(fabs(t),1) ) sqrt 1358 modules/imgproc/test/test_filter.cpp double d = sqrt((a-c)*(a-c) + 4*b*b); sqrt 1367 modules/imgproc/test/test_filter.cpp s = 1./(sqrt(x1*x1+y1*y1)+DBL_EPSILON); sqrt 1374 modules/imgproc/test/test_filter.cpp s = 1./(sqrt(x2*x2+y2*y2)+DBL_EPSILON); sqrt 1408 modules/imgproc/test/test_filter.cpp double d = sqrt((a-c)*(a-c) + 4*b*b); sqrt 1023 modules/imgproc/test/test_histograms.cpp result0[CV_COMP_BHATTACHARYYA] += sqrt(v0*v1); sqrt 1055 modules/imgproc/test/test_histograms.cpp result0[CV_COMP_BHATTACHARYYA] += sqrt(v0*v1); sqrt 1078 modules/imgproc/test/test_histograms.cpp (result0[CV_COMP_CORREL] - s0*s1/total_size)/sqrt(t) : 1; sqrt 1082 modules/imgproc/test/test_histograms.cpp s0 = 1. - s0*(s1 > FLT_EPSILON ? 1./sqrt(s1) : 1.); sqrt 1083 modules/imgproc/test/test_histograms.cpp result0[CV_COMP_BHATTACHARYYA] = sqrt(MAX(s0,0.)); sqrt 1179 modules/imgproc/test/test_imgwarp.cpp dst_size.width = cvRound(sqrt(cvtest::randReal(rng)*src_size.width) + 1); sqrt 1180 modules/imgproc/test/test_imgwarp.cpp dst_size.height = cvRound(sqrt(cvtest::randReal(rng)*src_size.height) + 1); sqrt 1290 modules/imgproc/test/test_imgwarp.cpp dsz.width = cvRound(sqrt(cvtest::randReal(rng)*msz) + 1); sqrt 1291 modules/imgproc/test/test_imgwarp.cpp dsz.height = cvRound(sqrt(cvtest::randReal(rng)*msz) + 1); sqrt 164 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 186 modules/imgproc/test/test_intersection.cpp rect2.size.width = sqrt(2.0f); sqrt 211 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 260 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 313 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 362 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 411 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 447 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 490 modules/imgproc/test/test_intersection.cpp double r = sqrt(dx*dx + dy*dy); sqrt 258 modules/imgproc/test/test_moments.cpp m.inv_sqrt_m00 = 1./sqrt(fabs(m.m00)); sqrt 184 modules/imgproc/test/test_templmatch.cpp b_denom = sqrt(b_denom); sqrt 295 modules/imgproc/test/test_templmatch.cpp denom = sqrt(MAX(denom,0))*b_denom; sqrt 578 modules/ml/src/ann_mlp.cpp scale[j*2] = sigma2 < DBL_EPSILON ? 1 : 1./sqrt(sigma2); sqrt 136 modules/ml/src/inner_functions.cpp S.at<float>(i,i) = std::sqrt(std::max(A.at<float>(i,i) - sum, 0.f)); sqrt 409 modules/ml/src/kdtree.cpp sqrt(Mat(K, 1, CV_32F, dist), _dist); sqrt 110 modules/ml/src/rtrees.cpp int i, m = rparams.nactiveVars > 0 ? rparams.nactiveVars : cvRound(std::sqrt((double)nvars)); sqrt 389 modules/ml/src/tree.cpp if( sqrt(node.node_risk) < params.getRegressionAccuracy() ) sqrt 1223 modules/ml/src/tree.cpp ab[ti] = std::sqrt(ab[ti]*ab[ti+1]); sqrt 1256 modules/ml/src/tree.cpp min_err_se = sqrt( sum_err*(n - sum_err) ); sqrt 85 modules/ml/test/test_mltests.cpp sigma = sqrt(sigma/icount); sqrt 252 modules/objdetect/src/cascadedetect.cpp double w = (weightsV[i])*std::exp(-((aPt-bPt).dot(aPt-bPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); sqrt 283 modules/objdetect/src/cascadedetect.cpp sumW+=(weightsV[i])*std::exp(-(aPt.dot(aPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); sqrt 700 modules/objdetect/src/cascadedetect.cpp nf = std::sqrt(nf); sqrt 858 modules/objdetect/src/haar.cpp variance_norm_factor = std::sqrt(variance_norm_factor); sqrt 265 modules/objdetect/src/hog.cpp _lut(0,i) = std::sqrt((float)i); sqrt 995 modules/objdetect/src/hog.cpp float scale = 1.f/(std::sqrt(sum)+sz*0.1f), thresh = (float)descriptor->L2HysThreshold; sqrt 1043 modules/objdetect/src/hog.cpp scale = 1.f/(std::sqrt(sum)+1e-3f), i = 0; sqrt 166 modules/objdetect/src/opencl/cascadedetect.cl float nf = (float)normarea * sqrt(max(sqval - sval * sval, 0.f)); sqrt 185 modules/objdetect/src/opencl/objdetect_hog.cl elem = elem / (sqrt(sum) + 3.6f); sqrt 204 modules/objdetect/src/opencl/objdetect_hog.cl block_hists[gid] = elem / (sqrt(sum) + 1e-3f); sqrt 273 modules/objdetect/src/opencl/objdetect_hog.cl float scale = 1.0f / (sqrt(sum) + 0.1f * block_hist_size); sqrt 281 modules/objdetect/src/opencl/objdetect_hog.cl scale = 1.0f / (sqrt(sum) + 1e-3f); sqrt 616 modules/objdetect/src/opencl/objdetect_hog.cl dx = sqrt(b) - sqrt(a); sqrt 628 modules/objdetect/src/opencl/objdetect_hog.cl dy = sqrt(b) - sqrt(a); sqrt 696 modules/objdetect/src/opencl/objdetect_hog.cl dx = sqrt(sh_row[tid + 2]) - sqrt(sh_row[tid]); sqrt 706 modules/objdetect/src/opencl/objdetect_hog.cl dy = sqrt(a) - sqrt(b); sqrt 954 modules/objdetect/test/test_cascadeandhog.cpp float scale = 1.f/(std::sqrt(sum)+sz*0.1f), thresh = (float)descriptor->L2HysThreshold; sqrt 976 modules/objdetect/test/test_cascadeandhog.cpp scale = 1.f/(std::sqrt(sum)+1e-3f); sqrt 1206 modules/objdetect/test/test_cascadeandhog.cpp _lut(0,i) = std::sqrt((float)i); sqrt 86 modules/photo/src/calibrate.cpp int x_points = static_cast<int>(sqrt(static_cast<double>(samples) * images[0].cols / images[0].rows)); sqrt 99 modules/photo/src/contrast_preserve.cpp while(sqrt(pow(E-pre_E,2)) > tol) sqrt 202 modules/photo/src/contrast_preserve.hpp res=sqrt(pow(ImL[i],2) + pow(Ima[i],2) + pow(Imb[i],2))/100; sqrt 111 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::sqrt(dx*dx + dy*dy), 1.0); sqrt 224 modules/photo/src/inpaint.cpp sol = (a11+a22+sqrt((double)(2-(a11-a22)*(a11-a22))))*0.5; sqrt 345 modules/photo/src/inpaint.cpp dst = (float)(1./(VectorLength(r)*sqrt((double)VectorLength(r)))); sqrt 386 modules/photo/src/inpaint.cpp sat = (float)((Ia/s+(Jx+Jy)/(sqrt(Jx*Jx+Jy*Jy)+1.0e-20f)+0.5f)); sqrt 457 modules/photo/src/inpaint.cpp dst = (float)(1./(VectorLength(r)*sqrt(VectorLength(r)))); sqrt 498 modules/photo/src/inpaint.cpp sat = (float)((Ia/s+(Jx+Jy)/(sqrt(Jx*Jx+Jy*Jy)+1.0e-20f)+0.5f)); sqrt 588 modules/photo/src/inpaint.cpp dir = (float)fabs(VectorScalMult(r,gradI)/sqrt(VectorLength(r)*VectorLength(gradI))); sqrt 676 modules/photo/src/inpaint.cpp dir = (float)fabs(VectorScalMult(r,gradI)/sqrt(VectorLength(r)*VectorLength(gradI))); sqrt 193 modules/photo/src/merge.cpp sqrt(saturation, saturation); sqrt 178 modules/photo/src/npr.hpp float a = (float) exp((-1.0 * sqrt(2.0)) / sigma_h); sqrt 493 modules/photo/src/npr.hpp sigma_h = (float) (sigma_s * sqrt(3.0) * pow(2.0,(no_of_iter - (i+1))) / sqrt(pow(4.0,no_of_iter) -1)); sqrt 516 modules/photo/src/npr.hpp sigma_h = (float) (sigma_s * sqrt(3.0) * pow(2.0,(no_of_iter - (i+1))) / sqrt(pow(4.0,no_of_iter) -1)); sqrt 518 modules/photo/src/npr.hpp radius = (float) sqrt(3.0) * sigma_h; sqrt 563 modules/photo/src/npr.hpp sigma_h = (float) (sigma_s * sqrt(3.0) * pow(2.0,(no_of_iter - (i+1))) / sqrt(pow(4.0,no_of_iter) -1)); sqrt 565 modules/photo/src/npr.hpp radius = (float) sqrt(3.0) * sigma_h; sqrt 107 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); sqrt 108 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); sqrt 160 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); sqrt 161 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); sqrt 81 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f1 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); sqrt 82 modules/stitching/src/autocalib.cpp else if (v1 > 0) f1 = std::sqrt(v1); sqrt 91 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f0 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); sqrt 92 modules/stitching/src/autocalib.cpp else if (v1 > 0) f0 = std::sqrt(v1); sqrt 116 modules/stitching/src/autocalib.cpp all_focals.push_back(std::sqrt(f0 * f1)); sqrt 114 modules/stitching/src/exposure_compensate.cpp Isum1 += std::sqrt(static_cast<double>(sqr(r1[x].x) + sqr(r1[x].y) + sqr(r1[x].z))); sqrt 115 modules/stitching/src/exposure_compensate.cpp Isum2 += std::sqrt(static_cast<double>(sqr(r2[x].x) + sqr(r2[x].y) + sqr(r2[x].z))); sqrt 249 modules/stitching/src/motion_estimators.cpp LOGLN_CHAT("Bundle adjustment, final RMS error: " << std::sqrt(err.dot(err) / total_num_matches_)); sqrt 558 modules/stitching/src/motion_estimators.cpp double len = std::sqrt(x1*x1 + y1*y1 + z1*z1); sqrt 565 modules/stitching/src/motion_estimators.cpp len = std::sqrt(x2*x2 + y2*y2 + z2*z2); sqrt 568 modules/stitching/src/motion_estimators.cpp double mult = std::sqrt(f1 * f2); sqrt 232 modules/stitching/src/stitcher.cpp compose_scale = std::min(1.0, std::sqrt(compose_resol_ * 1e6 / full_img.size().area())); sqrt 417 modules/stitching/src/stitcher.cpp work_scale_ = std::min(1.0, std::sqrt(registr_resol_ * 1e6 / full_img.size().area())); sqrt 424 modules/stitching/src/stitcher.cpp seam_scale_ = std::min(1.0, std::sqrt(seam_est_resol_ * 1e6 / full_img.size().area())); sqrt 1316 modules/ts/src/ts_func.cpp result = sqrt(result); sqrt 1398 modules/ts/src/ts_func.cpp result = sqrt(result); sqrt 1405 modules/ts/src/ts_func.cpp double diff = std::sqrt(cvtest::norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); sqrt 1332 modules/ts/src/ts_perf.cpp gstddev = n > 1 ? sqrt(gstddev / (n - 1)) : 0; sqrt 1385 modules/ts/src/ts_perf.cpp metrics.gstddev = m > 1 ? sqrt(gstddev / (m - 1)) : 0; sqrt 1386 modules/ts/src/ts_perf.cpp metrics.stddev = n > 1 ? sqrt(stddev / (n - 1)) : 0; sqrt 155 modules/video/src/camshift.cpp double square = std::sqrt( 4 * b * b + (a - c) * (a - c) ); sqrt 166 modules/video/src/camshift.cpp double length = std::sqrt( rotate_a * inv_m00 ) * 4; sqrt 167 modules/video/src/camshift.cpp double width = std::sqrt( rotate_c * inv_m00 ) * 4; sqrt 489 modules/video/src/ecc.cpp const double tmpNorm = std::sqrt(countNonZero(imageMask)*(tmpStd.val[0])*(tmpStd.val[0])); sqrt 490 modules/video/src/ecc.cpp const double imgNorm = std::sqrt(countNonZero(imageMask)*(imgStd.val[0])*(imgStd.val[0])); sqrt 487 modules/video/src/lkpyramid.cpp float minEig = (A22 + A11 - std::sqrt((A11-A22)*(A11-A22) + sqrt 1511 modules/video/src/lkpyramid.cpp if( fabs(dax1*day2 - day1*dax2) < eps*std::sqrt(dax1*dax1+day1*day1)*std::sqrt(dax2*dax2+day2*day2) || sqrt 1512 modules/video/src/lkpyramid.cpp fabs(dbx1*dby2 - dby1*dbx2) < eps*std::sqrt(dbx1*dbx1+dby1*dby1)*std::sqrt(dbx2*dbx2+dby2*dby2) ) sqrt 96 modules/video/test/test_ecc.cpp return sqrt(errorMat.dot(errorMat)/(mat1.rows*mat1.cols)); sqrt 138 modules/video/test/test_tvl1optflow.cpp return sqrt(sum / (1e-9 + counter)); sqrt 61 modules/videostab/src/fast_marching.cpp float r = std::sqrt(2 - sqr(t1 - t2)); sqrt 101 modules/videostab/src/global_motion.cpp d += std::sqrt(sqr(points[i].x) + sqr(points[i].y)); sqrt 105 modules/videostab/src/global_motion.cpp float s = std::sqrt(2.f) / d; sqrt 138 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); sqrt 171 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); sqrt 196 modules/videostab/src/global_motion.cpp float C = std::sqrt(A*A + B*B); sqrt 219 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); sqrt 273 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); sqrt 306 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); sqrt 345 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); sqrt 298 modules/videostab/src/inpainting.cpp float w = 1.f / (std::sqrt(distColor * (dx*dx + dy*dy)) + eps); sqrt 94 modules/videostab/src/motion_stabilizing.cpp stdev_ = _stdev > 0.f ? _stdev : std::sqrt(static_cast<float>(_radius)); sqrt 283 modules/viz/src/clouds.cpp int sqlevel = (int)std::sqrt((double)level); sqrt 115 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java viewErrors[i] = (float) Math.sqrt(error * error / n); sqrt 122 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java return Math.sqrt(totalError / totalPoints); sqrt 99 samples/cpp/3calibration.cpp printf("Camera %d calibration reprojection error = %g\n", c, sqrt(err/N)); sqrt 143 samples/cpp/3calibration.cpp printf("Pair (1,%d) calibration reprojection error = %g\n", c, sqrt(err/(N*2))); sqrt 103 samples/cpp/calibration.cpp perViewErrors[i] = (float)std::sqrt(err*err/n); sqrt 108 samples/cpp/calibration.cpp return std::sqrt(totalErr/totalPoints); sqrt 11 samples/cpp/em.cpp const int N1 = (int)sqrt((double)N); sqrt 88 samples/cpp/kalman.cpp randn( processNoise, Scalar(0), Scalar::all(sqrt(KF.processNoiseCov.at<float>(0, 0)))); sqrt 29 samples/cpp/phase_corr.cpp double radius = std::sqrt(shift.x*shift.x + shift.y*shift.y); sqrt 243 samples/cpp/select3dobj.cpp float len = 1.f/std::sqrt(dx*dx+dy*dy); sqrt 43 samples/cpp/squares.cpp return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10); sqrt 430 samples/cpp/stitching_detailed.cpp work_scale = min(1.0, sqrt(work_megapix * 1e6 / full_img.size().area())); sqrt 437 samples/cpp/stitching_detailed.cpp seam_scale = min(1.0, sqrt(seam_megapix * 1e6 / full_img.size().area())); sqrt 731 samples/cpp/stitching_detailed.cpp compose_scale = min(1.0, sqrt(compose_megapix * 1e6 / full_img.size().area())); sqrt 799 samples/cpp/stitching_detailed.cpp float blend_width = sqrt(static_cast<float>(dst_sz.area())) * blend_strength / 100.f; sqrt 423 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp perViewErrors[i] = (float) std::sqrt(err*err/n); sqrt 428 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp return std::sqrt(totalErr/totalPoints); sqrt 57 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d1 = std::sqrt( std::pow(p1.x-origin.x, 2) + std::pow(p1.y-origin.y, 2) + std::pow(p1.z-origin.z, 2) ); sqrt 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d2 = std::sqrt( std::pow(p2.x-origin.x, 2) + std::pow(p2.y-origin.y, 2) + std::pow(p2.z-origin.z, 2) ); sqrt 53 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp double dist = sqrt( pow(col.at<double>(0) - matched2[i].pt.x, 2) + sqrt 26 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp hypotenuse = sqrt( (double) (p.y - q.y) * (p.y - q.y) + (p.x - q.x) * (p.x - q.x)); sqrt 71 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp double dist = sqrt(pow(col.at<double>(0) - matched2[i].pt.x, 2) + sqrt 59 samples/cpp/tvl1_optical_flow.cpp const float rad = sqrt(fx * fx + fy * fy); sqrt 107 samples/cpp/tvl1_optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); sqrt 61 samples/gpu/optical_flow.cpp const float rad = sqrt(fx * fx + fy * fy); sqrt 109 samples/gpu/optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); sqrt 43 samples/gpu/pyrlk_optical_flow.cpp double hypotenuse = sqrt( (double)(p.y - q.y)*(p.y - q.y) + (double)(p.x - q.x)*(p.x - q.x) ); sqrt 48 samples/tapi/pyrlk_optical_flow.cpp double hypotenuse = sqrt( (double)(p.y - q.y)*(p.y - q.y) + (double)(p.x - q.x)*(p.x - q.x) ); sqrt 29 samples/tapi/squares.cpp return (dx1*dx2 + dy1*dy2)/sqrt((dx1*dx1 + dy1*dy1)*(dx2*dx2 + dy2*dy2) + 1e-10);