Go to the source code of this file.
#define GPC_CHECK_SEMIDEF 0 |
Definition at line 46 of file gpc.h.
This program solves the general point correspondences problem: to find a translation $t$ and rotation $$ that minimize
(rot(theta)*c[k].p+t-c[k].q)' * c[k].C * (rot(theta)*c[k].p+t-c[k].q)
(see the attached documentation for details).
Definition at line 42 of file gpc.h.
double gpc_error |
( |
const struct gpc_corr * |
co, |
|
|
const double * |
x |
|
) |
| |
Computes error for a single correspondence
Definition at line 285 of file gpc.c.
int gpc_solve |
( |
int |
K, |
|
|
const struct gpc_corr * |
, |
|
|
const double * |
x0, |
|
|
const double * |
cov_x0, |
|
|
double * |
x |
|
) |
| |
if c[k].valid is 0, the correspondence is not used
Definition at line 29 of file gpc.c.
double gpc_total_error |
( |
const struct gpc_corr * |
co, |
|
|
int |
n, |
|
|
const double * |
x |
|
) |
| |