|
Blender V4.3
|
#include <homography_error.h>
Static Public Member Functions | |
| static void | Residuals (const Mat &H, const Mat &x1, const Mat &x2, Mat3X *dx) |
| static void | Residuals (const Mat &H, const Vec &x1, const Vec &x2, Vec3 *dx) |
| static double | Error (const Mat &H, const Mat &x1, const Mat &x2) |
| static double | Error (const Mat &H, const Vec &x1, const Vec &x2) |
Structure for estimating the algebraic error (cross product) between a vector x2 and the transformed x1 such that Error = ||[x2] * H * x1||^^2 where [x2] is the skew matrix of x2.
Definition at line 162 of file homography_error.h.
|
inlinestatic |
Computes the squared norm of the algebraic residuals between a set of 2D points x2 and the transformed 2D point set x1 such that [x2] * H * x1 where [x2] is the skew matrix of x2.
| [in] | H | The 3x3 homography matrix. The estimated homography should approximatelly hold the condition y = H x. |
| [in] | x1 | A set of 2D points (2xN or 3xN matrix of column vectors). |
| [in] | x2 | A set of 2D points (2xN or 3xN matrix of column vectors). |
Definition at line 221 of file homography_error.h.
References H, and Residuals().
|
inlinestatic |
Computes the squared norm of the algebraic residuals between a 2D point x2 and the transformed 2D point x1 such that [x2] * H * x1 where [x2] is the skew matrix of x2.
| [in] | H | The 3x3 homography matrix. The estimated homography should approximatelly hold the condition y = H x. |
| [in] | x1 | A 2D point (vector of size 2 or 3 (euclidean/homogeneous)) |
| [in] | x2 | A 2D point (vector of size 2 or 3 (euclidean/homogeneous)) |
Definition at line 237 of file homography_error.h.
References H, and Residuals().
|
inlinestatic |
Computes the algebraic residuals (cross product) between a set of 2D points x2 and the transformed 2D point set x1 such that [x2] * H * x1 where [x2] is the skew matrix of x2.
| [in] | H | The 3x3 homography matrix. The estimated homography should approximatelly hold the condition y = H x. |
| [in] | x1 | A set of 2D points (2xN or 3xN matrix of column vectors). |
| [in] | x2 | A set of 2D points (2xN or 3xN matrix of column vectors). |
| [out] | dx | A 3xN matrix of column vectors of residuals errors |
Definition at line 176 of file homography_error.h.
References col, H, and Residuals().
Referenced by Error(), Error(), and Residuals().
|
inlinestatic |
Computes the algebraic residuals (cross product) between a 2D point x2 and the transformed 2D point x1 such that [x2] * H * x1 where [x2] is the skew matrix of x2.
| [in] | H | The 3x3 homography matrix. The estimated homography should approximatelly hold the condition y = H x. |
| [in] | x1 | A 2D point (vector of size 2 or 3 (euclidean/homogeneous)) |
| [in] | x2 | A 2D point (vector of size 2 or 3 (euclidean/homogeneous)) |
| [out] | dx | A vector of size 3 of the residual error |
Definition at line 195 of file homography_error.h.
References libmv::EuclideanToHomogeneous(), H, and libmv::SkewMat().