34
34
namespace euclidean_resection {
36
36
typedef unsigned int uint;
43
38
bool EuclideanResection(const Mat2X &x_camera,
49
43
case RESECTION_ANSAR_DANIILIDIS:
50
44
EuclideanResectionAnsarDaniilidis(x_camera, X_world, R, t);
53
return EuclideanResectionEPnP(x_camera, X_world, R, t, success_threshold);
47
return EuclideanResectionEPnP(x_camera, X_world, R, t);
56
return EuclideanResectionPPnP(x_camera, X_world, R, t, success_threshold);
50
return EuclideanResectionPPnP(x_camera, X_world, R, t);
59
53
LOG(FATAL) << "Unknown resection method.";