#include <camera.h>
However, it forces the pixel aspect ratio to be unity.
Definition at line 370 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 (const TooN::Vector< 2 > &camframe) const |
TooN::Vector< 2 > | unproject (const TooN::Vector< 2 > &imframe) |
TooN::Matrix< 2, 2 > | get_derivative () const |
TooN::Matrix < num_parameters, 2 > | get_parameter_derivs () const |
TooN::Vector < num_parameters > | get_parameter_derivs (const TooN::Vector< 2 > &direction) const |
TooN::Vector < num_parameters > & | get_parameters () |
Static Public Attributes | |
static const int | num_parameters = 5 |
void Camera::SquareHarris::load | ( | std::istream & | is | ) | [inline] |
Load parameters from a stream.
is | The stream to use |
void Camera::SquareHarris::save | ( | std::ostream & | os | ) | [inline] |
TooN::Vector<2> Camera::SquareHarris::linearproject | ( | const TooN::Vector< 2 > & | camframe, | |
double | scale = 1 | |||
) | const [inline] |
TooN::Vector<2> Camera::SquareHarris::project | ( | const TooN::Vector< 2 > & | camframe | ) | const [inline] |
Project from Euclidean camera frame to image plane.
Definition at line 403 of file camera.h.
References linearproject().
TooN::Vector<2> Camera::SquareHarris::unproject | ( | const TooN::Vector< 2 > & | imframe | ) | [inline] |
TooN::Matrix<2,2> Camera::SquareHarris::get_derivative | ( | ) | const [inline] |
TooN::Matrix<num_parameters,2> Camera::SquareHarris::get_parameter_derivs | ( | ) | const [inline] |
Get the motion of a point with respect to each of the internal camera parameters.
Definition at line 445 of file camera.h.
Referenced by get_parameter_derivs().
TooN::Vector<num_parameters> Camera::SquareHarris::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 483 of file camera.h.
References get_parameter_derivs().
TooN::Vector<num_parameters>& Camera::SquareHarris::get_parameters | ( | ) | [inline] |
const int Camera::SquareHarris::num_parameters = 5 [static] |