CVD 0.8
Public Member Functions | Static Public Attributes
Camera::Quintic Class Reference

A camera with zero skew and quintic distortion. More...

#include <camera.h>

List of all members.

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_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_parametersget_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

Detailed Description

A camera with zero skew and quintic distortion.

Definition at line 137 of file camera.h.


Member Function Documentation

void Camera::Quintic::load ( std::istream &  is) [inline]

Load parameters from a stream.

Parameters:
isThe stream to use

Definition at line 878 of file camera.h.

void Camera::Quintic::save ( std::ostream &  os) const [inline]

Save parameters to a stream.

Parameters:
osThe stream to use

Definition at line 882 of file camera.h.

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.

Parameters:
directionThe (x,y) direction to use

Definition at line 1041 of file camera.h.

void Camera::Quintic::update ( const TooN::Vector< num_parameters > &  updates) [inline]

Update the internal camera parameters by adding the vector given.

Parameters:
updatesUpdate vector in the format $ \begin{pmatrix}\Delta f_u & \Delta f_v & \Delta u_0 & \Delta v_0 & \Delta c & \Delta q\end{pmatrix} $

Definition at line 1048 of file camera.h.


The documentation for this class was generated from the following file: