CVD 0.8
|
This camera class is a very similar to the Harris model. More...
#include <camera.h>
Public Member Functions | |
void | load (std::istream &is) |
void | save (std::ostream &os) const |
TooN::Vector< 2 > | linearproject (const TooN::Vector< 2 > &camframe, TooN::DefaultPrecision scale=1) const |
TooN::Vector< 2 > | project (const TooN::Vector< 2 > &camframe) const |
TooN::Vector< 2 > | unproject (const TooN::Vector< 2 > &imframe) const |
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 |
This camera class is a very similar to the Harris model.
However, it forces the pixel aspect ratio to be unity.
void Camera::SquareHarris::load | ( | std::istream & | is | ) | [inline] |
void Camera::SquareHarris::save | ( | std::ostream & | os | ) | const [inline] |
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 506 of file camera.h.
References get_parameter_derivs().
TooN::Vector<num_parameters>& Camera::SquareHarris::get_parameters | ( | ) | [inline] |