Home
last modified time | relevance | path

Searched refs:cdist (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/calib3d/src/
Dcalibration.cpp755 double r2, r4, r6, a1, a2, a3, cdist, icdist2; in cvProjectPoints2() local
767 cdist = 1 + k[0]*r2 + k[1]*r4 + k[4]*r6; in cvProjectPoints2()
769 xd = x*cdist*icdist2 + k[2]*a1 + k[3]*a2 + k[8]*r2+k[9]*r4; in cvProjectPoints2()
770 yd = y*cdist*icdist2 + k[2]*a3 + k[3]*a1 + k[10]*r2+k[11]*r4; in cvProjectPoints2()
821 dpdk_p[5] = fx*x*cdist*(-icdist2)*icdist2*r2; in cvProjectPoints2()
822 dpdk_p[dpdk_step+5] = fy*y*cdist*(-icdist2)*icdist2*r2; in cvProjectPoints2()
823 dpdk_p[6] = fx*x*cdist*(-icdist2)*icdist2*r4; in cvProjectPoints2()
824 dpdk_p[dpdk_step+6] = fy*y*cdist*(-icdist2)*icdist2*r4; in cvProjectPoints2()
825 dpdk_p[7] = fx*x*cdist*(-icdist2)*icdist2*r6; in cvProjectPoints2()
826 dpdk_p[dpdk_step+7] = fy*y*cdist*(-icdist2)*icdist2*r6; in cvProjectPoints2()
[all …]
Dfisheye.cpp139 double cdist = r > 1e-8 ? theta_d * inv_r : 1; in projectPoints() local
141 Vec2d xd1 = x * cdist; in projectPoints()
196 Vec3d dcdistdom = inv_r * (dtheta_ddom - cdist*drdom); in projectPoints()
197 Vec3d dcdistdT = inv_r * (dtheta_ddT - cdist*drdT); in projectPoints()
203 dxd1dom[0] = x[0] * dcdistdom + cdist * dxdom[0]; in projectPoints()
204 dxd1dom[1] = x[1] * dcdistdom + cdist * dxdom[1]; in projectPoints()
205 dxd1dT[0] = x[0] * dcdistdT + cdist * dxdT[0]; in projectPoints()
206 dxd1dT[1] = x[1] * dcdistdT + cdist * dxdT[1]; in projectPoints()
296 double cdist = r > 1e-8 ? theta_d * inv_r : 1; in distortPoints() local
298 Vec2d xd1 = x * cdist; in distortPoints()
/external/opencv/cv/src/
Dcvcalibration.cpp967 double r2, r4, r6, a1, a2, a3, cdist; in cvProjectPoints2() local
979 cdist = 1 + k[0]*r2 + k[1]*r4 + k[4]*r6; in cvProjectPoints2()
980 xd = x*cdist + k[2]*a1 + k[3]*a2; in cvProjectPoints2()
981 yd = y*cdist + k[2]*a3 + k[3]*a1; in cvProjectPoints2()
1042 double dmxdt = fx*(dxdt[j]*cdist + x*dcdist_dt + in cvProjectPoints2()
1044 double dmydt = fy*(dydt[j]*cdist + y*dcdist_dt + in cvProjectPoints2()
1079 double dmxdr = fx*(dxdr*cdist + x*dcdist_dr + in cvProjectPoints2()
1081 double dmydr = fy*(dydr*cdist + y*dcdist_dr + in cvProjectPoints2()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration.cpp1086 cdist = 1+distCoeffs(0,0)*r2+distCoeffs(0,1)*r4; in run() local
1087 …validImgPoint.x = static_cast<float>((double)cameraMatrix(0,0)*(x*cdist + (double)distCoeffs(0,2)*… in run()
1089 …validImgPoint.y = static_cast<float>((double)cameraMatrix(1,1)*(y*cdist + (double)distCoeffs(0,2)*… in run()
/external/opencv3/modules/ts/src/
Dts_func.cpp2793 double cdist = 1 + (k[0] + (k[1] + k[4]*r2)*r2)*r2; in initUndistortMap() local
2794 double x1 = x*cdist + k[2]*2*x*y + k[3]*(r2 + 2*x2); in initUndistortMap()
2795 double y1 = y*cdist + k[3]*2*x*y + k[2]*(r2 + 2*y2); in initUndistortMap()