Jafar
|
Class Localizer, should be a wrap to opencv localizer functionnality TODO make it inherit from a generic localizer /!\ WARNING it is not tested yet /!\ will be rewritten soon. More...
Class Localizer, should be a wrap to opencv localizer functionnality TODO make it inherit from a generic localizer /!\ WARNING it is not tested yet /!\ will be rewritten soon.
Definition at line 24 of file localizer.hpp.
#include <localizer.hpp>
Public Member Functions | |
Localizer () | |
default constructor | |
Localizer (double *_intrinsic_matrix, double *_distortion_coeffs) | |
constructor with nasty double pointers | |
void | setIntrinsicParams (const double &_alphaU, const double &_alphaV, const double &_u0, const double &_v0) |
sets cameras intrinsics in jafar format | |
void | setCalifeIntrinsicParams (const double &_alphaU, const double &_alphaV, const double &_u0, const double &_v0) |
sets cameras intrinsics in calife format see implementation for difference | |
void | setDistortionCoefs (const double &_k1, const double &_k2, const double &_p1, const double &_p2) |
sets distorsion coefficients | |
void | setData (const localizer::Points2d3d &points) |
sets 2D3D points vector in jafar format | |
void | setCalifeData (const localizer::Points2d3d &points) |
sets 2D3D points vector in calife format | |
void | localize () |
main methode that computes the transition matrix | |
jblas::mat | transitionMatrix () |
Private Attributes | |
CvMat * | object_points |
3D points | |
CvMat * | image_points |
2D points | |
CvMat * | intrinsic_matrix |
camera intrinsic parameters | |
CvMat * | distortion_coeffs |
distorsion coefficients | |
CvMat * | rotation_vector |
rotation vector | |
CvMat * | translation_vector |
translation vector | |
jblas::mat | M |
transition matrix |
Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1 |