#include <camera.h>
Definition at line 136 of file camera.h.
Public Member Functions | |
void | load (std::istream &is) |
void | save (std::ostream &os) |
TooN::Vector< 2 > | linearproject (const TooN::Vector< 2 > &camframe, double scale=1) const |
TooN::Vector< 2 > | project_vector (const TooN::Vector< 2 > &x, const TooN::Vector< 2 > &d) const |
TooN::Vector< 2 > | project_vector (const TooN::Vector< 2 > &d) const |
TooN::Vector< 2 > | unproject_vector (const TooN::Vector< 2 > &d) const |
TooN::Vector< 2 > | project (const TooN::Vector< 2 > &camframe) const |
std::pair < TooN::Vector< 2 >, TooN::Matrix< 2 > > | project (const TooN::Vector< 2 > &camframe, const TooN::Matrix< 2 > &R) const |
TooN::Vector< 2 > | unproject (const TooN::Vector< 2 > &imframe) const |
std::pair < TooN::Vector< 2 >, TooN::Matrix< 2 > > | unproject (const TooN::Vector< 2 > &imframe, const TooN::Matrix< 2 > &R) const |
TooN::Matrix< 2, 2 > | get_derivative () const |
TooN::Matrix< 2, 2 > | get_derivative (const TooN::Vector< 2 > &x) const |
TooN::Matrix< 2, 2 > | get_inv_derivative () const |
TooN::Matrix< 2, 2 > | get_inv_derivative (const TooN::Vector< 2 > &x) const |
TooN::Matrix < num_parameters, 2 > | get_parameter_derivs () const |
TooN::Vector < num_parameters > | get_parameter_derivs (const TooN::Vector< 2 > &direction) const |
void | update (const TooN::Vector< num_parameters > &updates) |
const TooN::Vector < num_parameters > & | get_parameters () const |
TooN::Vector < num_parameters > & | get_parameters () |
Static Public Attributes | |
static const int | num_parameters = 6 |
void Camera::Quintic::load | ( | std::istream & | is | ) | [inline] |
void Camera::Quintic::save | ( | std::ostream & | os | ) | [inline] |
TooN::Vector< 2 > Camera::Quintic::linearproject | ( | const TooN::Vector< 2 > & | camframe, | |
double | scale = 1 | |||
) | const [inline] |
TooN::Vector<2> Camera::Quintic::project_vector | ( | const TooN::Vector< 2 > & | x, | |
const TooN::Vector< 2 > & | d | |||
) | const [inline] |
TooN::Vector< 2 > Camera::Quintic::unproject | ( | const TooN::Vector< 2 > & | imframe | ) | const [inline] |
Project from image plane to a Euclidean camera.
Definition at line 695 of file camera.h.
Referenced by unproject().
TooN::Matrix< 2, 2 > Camera::Quintic::get_derivative | ( | ) | const [inline] |
Get the derivative of image frame wrt camera frame at the last computed projection in the form .
Definition at line 733 of file camera.h.
Referenced by project(), and unproject().
TooN::Matrix< Camera::Quintic::num_parameters, 2 > Camera::Quintic::get_parameter_derivs | ( | ) | const [inline] |
Get the motion of a point with respect to each of the internal camera parameters.
Definition at line 804 of file camera.h.
Referenced by get_parameter_derivs().
TooN::Vector< Camera::Quintic::num_parameters > Camera::Quintic::get_parameter_derivs | ( | const TooN::Vector< 2 > & | direction | ) | const [inline] |
Get the component of the motion of a point in the direction provided with respect to each of the internal camera parameters.
direction | The (x,y) direction to use |
Definition at line 828 of file camera.h.
References get_parameter_derivs().
void Camera::Quintic::update | ( | const TooN::Vector< num_parameters > & | updates | ) | [inline] |
const TooN::Vector<num_parameters>& Camera::Quintic::get_parameters | ( | ) | const [inline] |
TooN::Vector<num_parameters>& Camera::Quintic::get_parameters | ( | ) | [inline] |
const int Camera::Quintic::num_parameters = 6 [static] |