|
Fawkes API
Fawkes Development Version
|
A Calibration matrix for a ccd camera. More...
#include <>>

Public Member Functions | |
| CCDCalibration (float ax, float ay, float x0, float y0) | |
| Constructor. | |
| CCDCalibration (float hor_fov, unsigned int img_width, unsigned int img_height) | |
| Constructor. | |
| CCDCalibration (const CCDCalibration &cp) | |
| Copy constructor. | |
| virtual | ~CCDCalibration () |
| Destructor. | |
Public Member Functions inherited from firevision::Calibration | |
| Calibration (const Calibration &cal) | |
| Copy Constructor. | |
| Calibration (const fawkes::Matrix &k) | |
| Constructor. | |
| virtual | ~Calibration () |
| Destructor. | |
| Matrix | K () const |
| Calibration getter. | |
Public Member Functions inherited from fawkes::Matrix | |
| Matrix (unsigned int num_rows=0, unsigned int num_cols=0, float *data=0, bool manage_own_memory=true) | |
| Constructor. | |
| Matrix (const Matrix &tbc) | |
| Copy-constructor. | |
| ~Matrix () | |
| Destructor. | |
| void | size (unsigned int &num_rows, unsigned int &num_cols) const |
| Determines the dimensions of the matrix. | |
| unsigned int | num_rows () const |
| Return the number of rows in the Matrix. | |
| unsigned int | num_cols () const |
| Return the number of columns in the Matrix. | |
| Matrix & | id () |
| Sets the diagonal elements to 1.0 and all other to 0.0. | |
| Matrix & | transpose () |
| Transposes the matrix. | |
| Matrix | get_transpose () const |
| Computes a matrix that is the transposed of this matrix. | |
| Matrix & | invert () |
| Inverts the matrix. | |
| Matrix | get_inverse () const |
| Computes a matrix that is the inverse of this matrix. | |
| float | det () const |
| Computes the determinant of the matrix. | |
| const float * | get_data () const |
| Returns the const data pointer. | |
| float * | get_data () |
| Returns the data pointer. | |
| Matrix | get_submatrix (unsigned int row, unsigned int col, unsigned int num_rows, unsigned int num_cols) const |
| Returns a submatrix of the matrix. | |
| void | overlay (unsigned int row, unsigned int col, const Matrix &m) |
| Overlays another matrix over this matrix. | |
| float | operator() (unsigned int row, unsigned int col) const |
| (Read-only) Access-operator. | |
| float & | operator() (unsigned int row, unsigned int col) |
| (RW) Access operator. | |
| Matrix & | operator= (const Matrix &rhs) |
| Assignment operator. | |
| Matrix | operator* (const Matrix &rhs) const |
| Matrix multiplication operator. | |
| Matrix & | operator*= (const Matrix &rhs) |
| Combined matrix-multipliation and assignement operator. | |
| Vector | operator* (const Vector &cv) const |
| Multiply the matrix with given vector. | |
| Matrix | operator* (const float &f) const |
| Mulitply every element of the matrix with the given scalar. | |
| Matrix & | operator*= (const float &f) |
| Combined scalar multiplication and assignment operator. | |
| Matrix | operator/ (const float &f) const |
| Divide every element of the matrix with the given scalar. | |
| Matrix & | operator/= (const float &f) |
| Combined scalar division and assignment operator. | |
| Matrix | operator+ (const Matrix &rhs) const |
| Addition operator. | |
| Matrix & | operator+= (const Matrix &rhs) |
| Add-assign operator. | |
| Matrix | operator- (const Matrix &rhs) const |
| Subtraction operator. | |
| Matrix & | operator-= (const Matrix &rhs) |
| Subtract-assign operator. | |
| bool | operator== (const Matrix &rhs) const |
| Comparison operator. | |
| void | print_info (const char *name=0, const char *col_sep=0, const char *row_sep=0) const |
| Print matrix to standard out. | |
Additional Inherited Members | |
Protected Member Functions inherited from firevision::Calibration | |
| Calibration () | |
| Hidden default constructor. | |
| Calibration & | K (const fawkes::Matrix &k) |
| Sets the calibration matrix. | |
A Calibration matrix for a ccd camera.
Definition at line 34 of file ccd_calibration.h.
| firevision::CCDCalibration::CCDCalibration | ( | float | ax, |
| float | ay, | ||
| float | x0, | ||
| float | y0 | ||
| ) |
Constructor.
| ax | is the scale factor in the x-coordinate direction |
| ay | is the scale factor in the y-coordinate direction |
| x0 | is the x-coordinate of the principal point |
| y0 | is the y-coordinate of the principal point |
Definition at line 43 of file ccd_calibration.cpp.
References firevision::Calibration::K(), and fawkes::Matrix::Matrix().
| firevision::CCDCalibration::CCDCalibration | ( | float | hor_fov, |
| unsigned int | img_width, | ||
| unsigned int | img_height | ||
| ) |
Constructor.
| hor_fov | horizontal field of view [rad] |
| img_width | width of the image [px] |
| img_height | height of the image [px] |
Definition at line 62 of file ccd_calibration.cpp.
References firevision::Calibration::K(), and fawkes::Matrix::Matrix().
| firevision::CCDCalibration::CCDCalibration | ( | const CCDCalibration & | cp | ) |
Copy constructor.
| cp | the CCDCalibration to copy |
Definition at line 82 of file ccd_calibration.cpp.
References firevision::Calibration::K().
|
virtual |
Destructor.
Definition at line 90 of file ccd_calibration.cpp.