src/qvmath/qvprojective.h File Reference
File from the QVision library.
More...
#include <qvmath.h>
#include <QVMatrix>
Go to the source code of this file.
|
Functions |
QVMatrix | ComputeProjectiveHomography (const QList< QPointFMatching > &matchings) |
| Obtains a planar homography from two lists of corresponding points.
This function obtains the planar homography which maps the location of the points from a source plane to a destination plane. One of the planes can be the image plane as well.
|
QVMatrix | ComputeEuclideanHomography (const QList< QPointFMatching > &matchings) |
| Obtains the fundamental matrix between two images, using the 8 point algorithm.
This function performs point normalization to robustly obtain the F matrix.
|
QPointF | ApplyHomography (const QVMatrix &homography, const QPointF &point) |
| Obtains the homogenized coordinates of a point mapped using an homography transformation.
This function obtains the point which holds the following equation:.
|
QList< QPointF > | ApplyHomography (const QVMatrix &homography, const QList< QPointF > &sourcePoints) |
| Obtains the homogenized coordinates of a set of points mapped using an homography transformation.
This function applies a transformation homography over a set of points. For further info about this mapping see function ApplyHomography(const QVMatrix &, const QPointF &).
|
double | HomographyTestError (const QVMatrix &homography) |
| Function to test if a 3x3 matrix corresponds to an homography.
Every matrix which holds a perspective deformation from one plane to another should validate some constrains. The most important is that its two first columns should be perpendicular, and with a similar size, because for the matrix to correspond to an homography, they should be contained in a base of a rotated coordinate system. Given the following homography matrix:.
|
void | GetExtrinsicCameraMatrixFromHomography (const QVMatrix &K, const QVMatrix &H, QVMatrix &M4x4) |
void | GetDirectIntrinsicCameraMatrixFromHomography (const QVMatrix &H, QVMatrix &K) |
| Diagonal intrinsic camera matrix calibration
This function obtains a diagonal intrinsic camera matrix, consisting on the focal distance only. This matrix is such that.
|
void | CalibrateCameraFromPlanarHomography (const QVMatrix &H, QVMatrix &K, QVMatrix &Rt) |
| Diagonal intrinsic camera matrix calibration
This function obtains a diagonal intrinsic camera matrix, consisting on the focal distance only. This matrix is such that.
|
void | GetPinholeCameraIntrinsicsFromPlanarHomography (const QVMatrix &H, QVMatrix &K, const int iterations=100, const double maxGradientNorm=1e-3, const double step=0.01, const double tol=1e-4) |
| Obtains the intrinsic camera matrix from a planar homography
This functions obtains the intrinsic calibration matrix corresponding to a simple pinhole camera model. The intrinsic camera matrix has only one free parameter, related to the focal distance of the camera:.
|
Detailed Description
File from the QVision library.
- Author:
- PARP Research Group. University of Murcia, Spain.
Definition in file qvprojective.h.