TooN Algorithm Library - tag  0.2
Namespaces | Functions
fourpointpose.cpp File Reference
#include <tag/fourpointpose.h>
#include <tag/absorient.h>
#include <TooN/SVD.h>
#include <TooN/helpers.h>
#include <iostream>
Include dependency graph for fourpointpose.cpp:

Namespaces

namespace  tag
 

Functions

static bool tag::computeDistances (const double xx, const double x, const double angle, const double distance, const double angularError, TooN::Vector< 2 > &roots)
 
static TooN::Vector< 5 > tag::getACoeffs (double c1, double c2, double c3, double d1, double d2, double d3)
 
static TooN::Vector< 3 > tag::getBCoeffs (int i, int j, int k, int l, const TooN::Vector< 5 > &v4, const TooN::Vector< 5 > &v5)
 
static bool tag::fourPointSolver (const std::vector< TooN::Vector< 3 > > &points, std::vector< TooN::Vector< 3 > > &myPixels, TooN::Vector< 6 > &distances, std::vector< TooN::Vector< 2 > > &length, const double angularError)
 
TooN::SE3 tag::fourPointPose (const std::vector< TooN::Vector< 3 > > &points, const std::vector< TooN::Vector< 3 > > &pixels, bool &valid, const double angularError=0.14)
 
TooN::SE3 tag::fourPointPoseFromCamera (const std::vector< TooN::Vector< 3 > > &points, const std::vector< TooN::Vector< 3 > > &pixels, bool &valid, const double angularError=0.14)