Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
jafar::camera::StereoBench Class Reference

Stereo bench model. More...


Detailed Description

Stereo bench model.

It is composed of a the left camera pinhole model and the stereo alpha parameter.

Todo:
This class should better fit the stereo module.

Definition at line 266 of file cameraPinhole.hpp.

#include <cameraPinhole.hpp>

Inheritance diagram for jafar::camera::StereoBench:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 StereoBench (StereoBench const &s)
void setParameters (int width_, int height_, double u0_, double v0_, double alphaU_, double alphaV_, double alpha_)
 Set the parameters of the perspective camera model.
void applyScale (double scale)
 Scales the current model.
template<class Pix , class Vec >
void compute3dPoint (Pix const &pix, double disp, Vec &point) const
 compute the 3D point in the left camera frame.
template<class Pix , class Mat >
void compute3dPointJac (Pix const &pix, double disp, Mat &J) const
template<class Vec , class Pix >
void computePixDisp (Vec const &point, Pix &pix, double &disp) const
template<class Vec , class Mat >
void computePixDispJac (Vec const &point, Mat &J) const

Public Attributes

CameraPinhole leftCamera
double alpha
 stereo vision calibration
double baseline
 stereo vision baseline

Static Public Attributes

static const double epsilon

Protected Member Functions

void loadKeyValueFile (jafar::kernel::KeyValueFile const &keyValueFile)
 Implement this method calling repeatedly KeyValueFile::getItem() method.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:33 for Jafar by doxygen 1.7.6.1
LAAS-CNRS