src/qvmath/qvprojective.cpp File Reference
File from the QVision library.
More...
#include <qvprojective.h>
#include <qvmatrixalgebra.h>
#include <qvdefines.h>
#include <qvmath.h>
#include <float.h>
#include <qvnumericalanalysis.h>
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 &H, 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 | 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 | GetExtrinsicCameraMatrixFromHomography (const QVMatrix &K, const QVMatrix &H, QVMatrix &Rt) |
void | GetPinholeCameraIntrinsicsFromPlanarHomography (const QVMatrix &H, QVMatrix &K, const int iterations, const double maxGradientNorm, const double step, const double tol) |
| 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.cpp.