#include <vgl_h_matrix_1d.h>
Definition at line 27 of file vgl_h_matrix_1d.h.
Public Member Functions | |
| vgl_h_matrix_1d () | |
| Default constructor. | |
| vgl_h_matrix_1d (const vgl_h_matrix_1d< T > &M) | |
| Copy constructor. | |
| vgl_h_matrix_1d (const vgl_h_matrix_1d< T > &, const vgl_h_matrix_1d< T > &) | |
| vgl_h_matrix_1d (vnl_matrix_fixed< T, 2, 2 > const &M) | |
| Constructor. | |
| vgl_h_matrix_1d (const T *t_matrix) | |
| Constructor. | |
| vgl_h_matrix_1d (vcl_istream &s) | |
| ~vgl_h_matrix_1d () | |
| Destructor. | |
| vgl_homg_point_1d< T > | operator() (const vgl_homg_point_1d< T > &x1) const |
| Return the transformed point given by $x_2 = { H} x_1$. | |
| vgl_homg_point_1d< T > | preimage (const vgl_homg_point_1d< T > &x2) const |
| Return the transformed point given by $x_1 = { H}^{-1} x_2$. | |
| vgl_homg_point_1d< T > | operator * (const vgl_homg_point_1d< T > &x1) const |
| T | get (unsigned int row_index, unsigned int col_index) const |
| Get matrix element at (row_index, col_index). | |
| void | get (T *t_matrix) const |
| Fill H with contents of this. | |
| void | get (vnl_matrix< T > *t_matrix) const |
| Fill H with contents of this. | |
| const vnl_matrix_fixed< T, 2, 2 > & | get_matrix () const |
| const vgl_h_matrix_1d | get_inverse () const |
| Return the inverse. | |
| bool | projective_basis (vcl_vector< vgl_homg_point_1d< T > > const &three_points) |
| transformation to projective basis (canonical frame). | |
| void | set_identity () |
| void | set (const T *t_matrix) |
| Set to 2x2 row-stored matrix. | |
| void | set (vnl_matrix_fixed< T, 2, 2 > const &t_matrix) |
| Set to given vnl_matrix. | |
Static Public Member Functions | |
| static vgl_h_matrix_1d< T > | read (char const *filename) |
| Read H from file. | |
| static vgl_h_matrix_1d< T > | read (vcl_istream &) |
| Read H from vcl_istream. | |
Protected Attributes | |
| vnl_matrix_fixed< T, 2, 2 > | t12_matrix_ |
|
|||||||||
|
Default constructor.
Definition at line 17 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Copy constructor.
Definition at line 23 of file vgl_h_matrix_1d.txx. |
|
||||||||||||||||
|
Definition at line 38 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Constructor.
Definition at line 31 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Constructor.
Definition at line 46 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Definition at line 52 of file vgl_h_matrix_1d.txx. |
|
|||||||||
|
Destructor.
Definition at line 59 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Fill H with contents of this.
Definition at line 152 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Fill H with contents of this.
Definition at line 143 of file vgl_h_matrix_1d.txx. |
|
||||||||||||||||
|
Get matrix element at (row_index, col_index).
Definition at line 136 of file vgl_h_matrix_1d.txx. |
|
|||||||||
|
Return the inverse.
Definition at line 91 of file vgl_h_matrix_1d.txx. |
|
|||||||||
|
Definition at line 56 of file vgl_h_matrix_1d.h. |
|
||||||||||
|
Definition at line 83 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Return the transformed point given by $x_2 = { H} x_1$.
Definition at line 67 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Return the transformed point given by $x_1 = { H}^{-1} x_2$.
Definition at line 75 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
transformation to projective basis (canonical frame). Compute the homography that takes the input set of points to the canonical frame. The points act as the projective basis for the canonical coordinate system. In the canonical frame the points have coordinates: p[0]p[1]p[2]
1 0 1
0 1 1
Definition at line 176 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Read H from vcl_istream.
Definition at line 115 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Read H from file.
Definition at line 123 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Set to given vnl_matrix.
Definition at line 168 of file vgl_h_matrix_1d.txx. |
|
||||||||||
|
Set to 2x2 row-stored matrix.
Definition at line 159 of file vgl_h_matrix_1d.txx. |
|
|||||||||
|
Definition at line 71 of file vgl_h_matrix_1d.h. |
|
|||||
|
Definition at line 31 of file vgl_h_matrix_1d.h. |
1.4.4