Searched refs:cws (Results 1 – 4 of 4) sorted by relevance
/external/opencv3/modules/calib3d/src/ |
D | epnp.cpp | 51 cws[0][0] = cws[0][1] = cws[0][2] = 0; in choose_control_points() 54 cws[0][j] += pws[3 * i + j]; in choose_control_points() 57 cws[0][j] /= number_of_correspondences; in choose_control_points() 70 PW0->data.db[3 * i + j] = pws[3 * i + j] - cws[0][j]; in choose_control_points() 80 cws[i][j] = cws[0][j] + k * uct[3 * (i - 1) + j]; in choose_control_points() 92 cc[3 * i + j - 1] = cws[j][i] - cws[0][i]; in compute_barycentric_coordinates() 102 ci[3 * j ] * (pi[0] - cws[0][0]) + in compute_barycentric_coordinates() 103 ci[3 * j + 1] * (pi[1] - cws[0][1]) + in compute_barycentric_coordinates() 104 ci[3 * j + 2] * (pi[2] - cws[0][2]); in compute_barycentric_coordinates() 469 rho[0] = dist2(cws[0], cws[1]); in compute_rho() [all …]
|
D | upnp.cpp | 267 cws[i][0] = cws[i][1] = cws[i][2] = 0.0; in choose_control_points() 268 cws[0][0] = cws[1][1] = cws[2][2] = 1.0; in choose_control_points() 273 Mat CC = Mat(4, 3, CV_64F, &cws); in compute_alphas() 673 rho[0] = dist2(cws[0], cws[1]); in compute_rho() 674 rho[1] = dist2(cws[0], cws[2]); in compute_rho() 675 rho[2] = dist2(cws[0], cws[3]); in compute_rho() 676 rho[3] = dist2(cws[1], cws[2]); in compute_rho() 677 rho[4] = dist2(cws[1], cws[3]); in compute_rho() 678 rho[5] = dist2(cws[2], cws[3]); in compute_rho()
|
D | epnp.h | 79 double cws[4][3], ccs[4][3]; variable
|
D | upnp.h | 129 double cws[4][3], ccs[4][3]; variable
|