Rotation Estimation#
Detailed Description#
Classes#
Name |
Description |
|---|---|
Affine transformation based estimator. View details |
|
Bundle adjuster that expects affine transformation represented in homogeneous coordinates in R for each camera param. Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares. View details |
|
Bundle adjuster that expects affine transformation with 4 DOF represented in homogeneous coordinates in R for each camera param. Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares. View details |
|
Base class for all camera parameters refinement methods. View details |
|
Implementation of the camera parameters refinement algorithm which minimizes sum of the distances between the rays passing through the camera center and a feature. : View details |
|
Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection error squares. View details |
|
|
Rotation estimator base class. View details |
Homography based rotation estimator. View details |
|
Stub bundle adjuster that does nothing. View details |
Enumerations#
Enumeration Type Documentation#
WaveCorrectKind#
enum cv::detail::WaveCorrectKind
#include <opencv2/stitching/detail/motion_estimators.hpp>
Enumerator:
|
|
|
Function Documentation#
autoDetectWaveCorrectKind()#
WaveCorrectKind cv::detail::autoDetectWaveCorrectKind(const std::vector< Mat > & rmats)
#include <opencv2/stitching/detail/motion_estimators.hpp>
Tries to detect the wave correction kind depending on whether a panorama spans horizontally or vertically.
Parameters
rmats— Camera rotation matrices.
Returns
The correction kind to use for this panorama
findMaxSpanningTree()#
void cv::detail::findMaxSpanningTree(
int num_images,
const std::vector< MatchesInfo > & pairwise_matches,
Graph & span_tree,
std::vector< int > & centers )
leaveBiggestComponent()#
std::vector< int > cv::detail::leaveBiggestComponent(
std::vector< ImageFeatures > & features,
std::vector< MatchesInfo > & pairwise_matches,
float conf_threshold )
#include <opencv2/stitching/detail/motion_estimators.hpp>
Python:
cv.detail.leaveBiggestComponent(features, pairwise_matches, conf_threshold) -> retval
matchesGraphAsString()#
String cv::detail::matchesGraphAsString(
std::vector< String > & paths,
std::vector< MatchesInfo > & pairwise_matches,
float conf_threshold )
#include <opencv2/stitching/detail/motion_estimators.hpp>
Python:
cv.detail.matchesGraphAsString(paths, pairwise_matches, conf_threshold) -> retval
waveCorrect()#
void cv::detail::waveCorrect(
std::vector< Mat > & rmats,
WaveCorrectKind kind )
#include <opencv2/stitching/detail/motion_estimators.hpp>
Python:
cv.detail.waveCorrect(rmats, kind) -> rmats
Tries to make panorama more horizontal (or vertical).
Parameters
rmats— Camera rotation matrices.kind— Correction kind, see detail::WaveCorrectKind.