mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge remote-tracking branch 'master' into stitch-fix
* 'master' of github.com:itseez/opencv: (82 commits)
moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
added some basic functionality needed by the new face module (moved from the old "contrib")
moved to the new opencv_contrib/face module
fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
Fixed review comment from Vadim Pisarevsky
modified farneback sample to use T-API
ECC patch by the author (G. Evangelidis); fixed some OCL Farneback optical flow test failures on Mac
small fix for GaussianBlur ocl test
fix binary package build
small fix for ocl_resize
fix IOS framework
fixed test ocl_MatchTemplate for sparse matrix
Fixed typos
fixing error, wrong template method param.
fixing Mac build
some formal changes (generally adding constness)
Fixed choice of kercn and rowsPerWI for non-Intel device.
fixed nDiffs for CalcBackProject
fixed tests for ocl_filter2d, ocl_matchTemplate, ocl_histogram.cpp
Fixed issue: Mat::copyTo(UMat) if device copy is obsolete. Added test.
...
Conflicts:
modules/core/include/opencv2/core/mat.inl.hpp
This commit is contained in:
@@ -760,6 +760,27 @@ They are
|
||||
:math:`[R_2, -t]`.
|
||||
By decomposing ``E``, you can only get the direction of the translation, so the function returns unit ``t``.
|
||||
|
||||
decomposeHomographyMat
|
||||
--------------------------
|
||||
Decompose a homography matrix to rotation(s), translation(s) and plane normal(s).
|
||||
|
||||
.. ocv:function:: int decomposeHomographyMat( InputArray H, InputArray K, OutputArrayOfArrays rotations, OutputArrayOfArrays translations, OutputArrayOfArrays normals)
|
||||
|
||||
:param H: The input homography matrix between two images.
|
||||
|
||||
:param K: The input intrinsic camera calibration matrix.
|
||||
|
||||
:param rotations: Array of rotation matrices.
|
||||
|
||||
:param translations: Array of translation matrices.
|
||||
|
||||
:param normals: Array of plane normal matrices.
|
||||
|
||||
This function extracts relative camera motion between two views observing a planar object from the homography ``H`` induced by the plane.
|
||||
The intrinsic camera matrix ``K`` must also be provided. The function may return up to four mathematical solution sets. At least two of the
|
||||
solutions may further be invalidated if point correspondences are available by applying positive depth constraint (all points must be in front of the camera).
|
||||
The decomposition method is described in detail in [Malis]_.
|
||||
|
||||
|
||||
recoverPose
|
||||
---------------
|
||||
@@ -1876,3 +1897,5 @@ Performs stereo calibration
|
||||
.. [Slabaugh] Slabaugh, G.G. Computing Euler angles from a rotation matrix. http://www.soi.city.ac.uk/~sbbh653/publications/euler.pdf (verified: 2013-04-15)
|
||||
|
||||
.. [Zhang2000] Z. Zhang. A Flexible New Technique for Camera Calibration. IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330-1334, 2000.
|
||||
|
||||
.. [Malis] Malis, E. and Vargas, M. Deeper understanding of the homography decomposition for vision-based control, Research Report 6303, INRIA (2007)
|
||||
|
||||
Reference in New Issue
Block a user