Classes | |
class | Quaternion |
class | Solution |
Functions | |
void | AbsKernel (cv::Mat P, cv::Mat Q, const std::vector< cv::Mat > &F, const cv::Mat &G, cv::Mat &R, cv::Mat &t, cv::Mat &Qout, double &err2) |
void | AbsKernel (Mat P, Mat Q, const vector< Mat > &F, const Mat &G, Mat &R, Mat &t, Mat &Qout, double &err2) |
bool | DecomposeR (const cv::Mat &R, cv::Mat &Rz2, cv::Mat &ret) |
bool | DecomposeR (const Mat &R, Mat &Rz2, Mat &ret) |
cv::Mat | EstimateT (const cv::Mat &R, const cv::Mat &G, const std::vector< cv::Mat > &F, const cv::Mat &P) |
Mat | EstimateT (const Mat &R, const Mat &G, const vector< Mat > &F, const Mat &P) |
bool | Get2ndPose_Exact (const cv::Mat &v, const cv::Mat &P, const cv::Mat &R, const cv::Mat &t, std::vector< Solution > &ret) |
bool | Get2ndPose_Exact (const Mat &v, const Mat &P, const Mat &R, const Mat &t, vector< Solution > &ret) |
bool | GetRfor2ndPose_V_Exact (const cv::Mat &v, const cv::Mat &P, const cv::Mat &R, const cv::Mat &t, std::vector< Solution > &ret) |
bool | GetRfor2ndPose_V_Exact (const Mat &v, const Mat &P, const Mat &R, const Mat &t, vector< Solution > &ret) |
cv::Mat | GetRotationbyVector (const cv::Vec3d &v1, const cv::Vec3d &v2) |
Mat | GetRotationbyVector (const Vec3d &v1, const Vec3d &v2) |
void | GetRotationY_wrtT (const cv::Mat &v, const cv::Mat &P, const cv::Mat &t, const cv::Mat &Rz, std::vector< double > &al, cv::Mat &tnew, std::vector< double > &at) |
void | GetRotationY_wrtT (const Mat &v, const Mat &p, const Mat &t, const Mat &Rz, vector< double > &al, Mat &tnew, vector< double > &at) |
cv::Mat | Mean (const cv::Mat &m) |
Mat | Mean (const Mat &m) |
cv::Mat | Mul (const cv::Mat &a, const cv::Mat &b) |
Mat | Mul (const Mat &a, const Mat &b) |
double | Norm (const cv::Mat &m) |
double | Norm (const Mat &m) |
cv::Mat | NormRv (const cv::Mat &R) |
cv::Mat | NormRv (const cv::Vec3d &V) |
Mat | NormRv (const Mat &R) |
Mat | NormRv (const Vec3d &V) |
void | ObjPose (const Mat _P, Mat Qp, Mat initR, Mat &R, Mat &t, int &it, double &obj_err, double &img_err) |
void | ObjPose (const cv::Mat P, cv::Mat Qp, cv::Mat initR, cv::Mat &R, cv::Mat &t, int &it, double &obj_err, double &img_err) |
cv::Mat | Point2Mat (const std::vector< cv::Point3d > &pts) |
cv::Mat | Point2Mat (const std::vector< cv::Point2d > &pts) |
Mat | Point2Mat (const vector< Point3d > &pts) |
Mat | Point2Mat (const vector< Point2d > &pts) |
void | Print (const cv::Mat &m) |
void | Print (const Quaternion &q) |
void | Print (const Mat &m) |
cv::Mat | quat2mat (const Quaternion &Q) |
Quaternion | Quaternion_byAngleAndVector (double q_angle, const cv::Vec3d &q_vector) |
Quaternion | Quaternion_byAngleAndVector (double q_angle, const Vec3d &q_vector) |
Quaternion | Quaternion_byVectorAndScalar (const cv::Vec3d &vector, double scalar) |
Quaternion | Quaternion_multiplyByScalar (const Quaternion &q, double scalar) |
double | Quaternion_Norm (const Quaternion &Q) |
bool | Rpp (const Mat &model_3D, const Mat &iprts, Mat &Rlu, Mat &tlu, int &it1, double &obj_err1, double &img_err1, vector< Solution > &sol) |
bool | Rpp (const cv::Mat &model_3D, const cv::Mat &iprts, cv::Mat &Rlu, cv::Mat &tlu, int &it1, double &obj_err1, double &img_err1, std::vector< Solution > &sol) |
bool | RpyAng (const cv::Mat &R, cv::Vec3d &ret) |
bool | RpyAng (const Mat &R, Vec3d &ret) |
bool | RpyAng_X (const cv::Mat &R, cv::Vec3d &ret) |
bool | RpyAng_X (const Mat &R, Vec3d &ret) |
cv::Mat | RpyMat (const cv::Vec3d &angs) |
Mat | RpyMat (const Vec3d &angs) |
int | sign (double x) |
cv::Mat | Sq (const cv::Mat &m) |
Mat | Sq (const Mat &m) |
cv::Mat | Sum (const cv::Mat &m, int dim=1) |
Mat | Sum (const Mat &m, int dim) |
cv::Mat | Vec2Mat (const cv::Vec3d &v) |
Mat | Vec2Mat (const Vec3d &v) |
cv::Mat | Xform (const cv::Mat &P, const cv::Mat &R, const cv::Mat &t) |
Mat | Xform (const Mat &P, const Mat &R, const Mat &t) |
void RPP::AbsKernel | ( | cv::Mat | P, |
cv::Mat | Q, | ||
const std::vector< cv::Mat > & | F, | ||
const cv::Mat & | G, | ||
cv::Mat & | R, | ||
cv::Mat & | t, | ||
cv::Mat & | Qout, | ||
double & | err2 | ||
) |
void RPP::AbsKernel | ( | Mat | P, |
Mat | Q, | ||
const vector< Mat > & | F, | ||
const Mat & | G, | ||
Mat & | R, | ||
Mat & | t, | ||
Mat & | Qout, | ||
double & | err2 | ||
) |
bool RPP::DecomposeR | ( | const cv::Mat & | R, |
cv::Mat & | Rz2, | ||
cv::Mat & | ret | ||
) |
bool RPP::DecomposeR | ( | const Mat & | R, |
Mat & | Rz2, | ||
Mat & | ret | ||
) |
cv::Mat RPP::EstimateT | ( | const cv::Mat & | R, |
const cv::Mat & | G, | ||
const std::vector< cv::Mat > & | F, | ||
const cv::Mat & | P | ||
) |
Mat RPP::EstimateT | ( | const Mat & | R, |
const Mat & | G, | ||
const vector< Mat > & | F, | ||
const Mat & | P | ||
) |
bool RPP::Get2ndPose_Exact | ( | const cv::Mat & | v, |
const cv::Mat & | P, | ||
const cv::Mat & | R, | ||
const cv::Mat & | t, | ||
std::vector< Solution > & | ret | ||
) |
bool RPP::Get2ndPose_Exact | ( | const Mat & | v, |
const Mat & | P, | ||
const Mat & | R, | ||
const Mat & | t, | ||
vector< Solution > & | ret | ||
) |
bool RPP::GetRfor2ndPose_V_Exact | ( | const cv::Mat & | v, |
const cv::Mat & | P, | ||
const cv::Mat & | R, | ||
const cv::Mat & | t, | ||
std::vector< Solution > & | ret | ||
) |
bool RPP::GetRfor2ndPose_V_Exact | ( | const Mat & | v, |
const Mat & | P, | ||
const Mat & | R, | ||
const Mat & | t, | ||
vector< Solution > & | ret | ||
) |
cv::Mat RPP::GetRotationbyVector | ( | const cv::Vec3d & | v1, |
const cv::Vec3d & | v2 | ||
) |
Mat RPP::GetRotationbyVector | ( | const Vec3d & | v1, |
const Vec3d & | v2 | ||
) |
void RPP::GetRotationY_wrtT | ( | const cv::Mat & | v, |
const cv::Mat & | P, | ||
const cv::Mat & | t, | ||
const cv::Mat & | Rz, | ||
std::vector< double > & | al, | ||
cv::Mat & | tnew, | ||
std::vector< double > & | at | ||
) |
void RPP::GetRotationY_wrtT | ( | const Mat & | v, |
const Mat & | p, | ||
const Mat & | t, | ||
const Mat & | Rz, | ||
vector< double > & | al, | ||
Mat & | tnew, | ||
vector< double > & | at | ||
) |
cv::Mat RPP::Mean | ( | const cv::Mat & | m | ) |
cv::Mat RPP::Mul | ( | const cv::Mat & | a, |
const cv::Mat & | b | ||
) |
double RPP::Norm | ( | const cv::Mat & | m | ) |
cv::Mat RPP::NormRv | ( | const cv::Mat & | R | ) |
cv::Mat RPP::NormRv | ( | const cv::Vec3d & | V | ) |
Mat RPP::NormRv | ( | const Mat & | R | ) |
Mat RPP::NormRv | ( | const Vec3d & | V | ) |
void RPP::ObjPose | ( | const Mat | _P, |
Mat | Qp, | ||
Mat | initR, | ||
Mat & | R, | ||
Mat & | t, | ||
int & | it, | ||
double & | obj_err, | ||
double & | img_err | ||
) |
void RPP::ObjPose | ( | const cv::Mat | P, |
cv::Mat | Qp, | ||
cv::Mat | initR, | ||
cv::Mat & | R, | ||
cv::Mat & | t, | ||
int & | it, | ||
double & | obj_err, | ||
double & | img_err | ||
) |
cv::Mat RPP::Point2Mat | ( | const std::vector< cv::Point3d > & | pts | ) |
cv::Mat RPP::Point2Mat | ( | const std::vector< cv::Point2d > & | pts | ) |
Mat RPP::Point2Mat | ( | const vector< Point3d > & | pts | ) |
Mat RPP::Point2Mat | ( | const vector< Point2d > & | pts | ) |
void RPP::Print | ( | const cv::Mat & | m | ) |
void RPP::Print | ( | const Quaternion & | q | ) |
void RPP::Print | ( | const Mat & | m | ) |
Mat RPP::quat2mat | ( | const Quaternion & | Q | ) |
Quaternion RPP::Quaternion_byAngleAndVector | ( | double | q_angle, |
const cv::Vec3d & | q_vector | ||
) |
Quaternion RPP::Quaternion_byAngleAndVector | ( | double | q_angle, |
const Vec3d & | q_vector | ||
) |
Quaternion RPP::Quaternion_byVectorAndScalar | ( | const cv::Vec3d & | vector, |
double | scalar | ||
) | [inline] |
Quaternion RPP::Quaternion_multiplyByScalar | ( | const Quaternion & | q, |
double | scalar | ||
) | [inline] |
double RPP::Quaternion_Norm | ( | const Quaternion & | Q | ) | [inline] |
bool RPP::Rpp | ( | const Mat & | model_3D, |
const Mat & | iprts, | ||
Mat & | Rlu, | ||
Mat & | tlu, | ||
int & | it1, | ||
double & | obj_err1, | ||
double & | img_err1, | ||
vector< Solution > & | sol | ||
) |
bool RPP::Rpp | ( | const cv::Mat & | model_3D, |
const cv::Mat & | iprts, | ||
cv::Mat & | Rlu, | ||
cv::Mat & | tlu, | ||
int & | it1, | ||
double & | obj_err1, | ||
double & | img_err1, | ||
std::vector< Solution > & | sol | ||
) |
bool RPP::RpyAng | ( | const cv::Mat & | R, |
cv::Vec3d & | ret | ||
) |
bool RPP::RpyAng | ( | const Mat & | R, |
Vec3d & | ret | ||
) |
bool RPP::RpyAng_X | ( | const cv::Mat & | R, |
cv::Vec3d & | ret | ||
) |
bool RPP::RpyAng_X | ( | const Mat & | R, |
Vec3d & | ret | ||
) |
cv::Mat RPP::RpyMat | ( | const cv::Vec3d & | angs | ) |
Mat RPP::RpyMat | ( | const Vec3d & | angs | ) |
cv::Mat RPP::Sq | ( | const cv::Mat & | m | ) |
cv::Mat RPP::Sum | ( | const cv::Mat & | m, |
int | dim = 1 |
||
) |
cv::Mat RPP::Vec2Mat | ( | const cv::Vec3d & | v | ) |
Mat RPP::Vec2Mat | ( | const Vec3d & | v | ) |
cv::Mat RPP::Xform | ( | const cv::Mat & | P, |
const cv::Mat & | R, | ||
const cv::Mat & | t | ||
) |
Mat RPP::Xform | ( | const Mat & | P, |
const Mat & | R, | ||
const Mat & | t | ||
) |