#include <two_view_geometry.h>
|
| | TwoViewGeometry () |
| |
| void | Invert () |
| |
| void | Estimate (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2, const FeatureMatches &matches, const Options &options) |
| |
| void | EstimateMultiple (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2, const FeatureMatches &matches, const Options &options) |
| |
| bool | EstimateRelativePose (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2) |
| |
| void | EstimateCalibrated (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2, const FeatureMatches &matches, const Options &options) |
| |
| void | EstimateUncalibrated (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2, const FeatureMatches &matches, const Options &options) |
| |
|
| static bool | DetectWatermark (const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2, const size_t num_inliers, const std::vector< char > &inlier_mask, const Options &options) |
| |
◆ ConfigurationType
| Enumerator |
|---|
| UNDEFINED | |
| DEGENERATE | |
| CALIBRATED | |
| UNCALIBRATED | |
| PLANAR | |
| PANORAMIC | |
| PLANAR_OR_PANORAMIC | |
| WATERMARK | |
| MULTIPLE | |
◆ TwoViewGeometry()
| colmap::TwoViewGeometry::TwoViewGeometry |
( |
| ) |
|
|
inline |
◆ DetectWatermark()
| bool colmap::TwoViewGeometry::DetectWatermark |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2, |
|
|
const size_t |
num_inliers, |
|
|
const std::vector< char > & |
inlier_mask, |
|
|
const Options & |
options |
|
) |
| |
|
static |
References colmap::TwoViewGeometry::Options::Check(), colmap::LORANSAC< Estimator, LocalEstimator, SupportMeasurer, Sampler >::Estimate(), colmap::Camera::Height(), colmap::RANSACOptions::min_inlier_ratio, colmap::TwoViewGeometry::Options::ransac_options, colmap::TwoViewGeometry::Options::watermark_border_size, colmap::TwoViewGeometry::Options::watermark_min_inlier_ratio, and colmap::Camera::Width().
Referenced by EstimateCalibrated(), and EstimateUncalibrated().
◆ Estimate()
| void colmap::TwoViewGeometry::Estimate |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2, |
|
|
const FeatureMatches & |
matches, |
|
|
const Options & |
options |
|
) |
| |
◆ EstimateCalibrated()
| void colmap::TwoViewGeometry::EstimateCalibrated |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2, |
|
|
const FeatureMatches & |
matches, |
|
|
const Options & |
options |
|
) |
| |
References colmap::TwoViewGeometry::Options::Check(), config, colmap::TwoViewGeometry::Options::detect_watermark, DetectWatermark(), E, colmap::LORANSAC< Estimator, LocalEstimator, SupportMeasurer, Sampler >::Estimate(), F, H, colmap::Camera::ImageToWorld(), colmap::Camera::ImageToWorldThreshold(), inlier_matches, colmap::RANSACOptions::max_error, colmap::TwoViewGeometry::Options::max_H_inlier_ratio, colmap::TwoViewGeometry::Options::min_E_F_inlier_ratio, colmap::TwoViewGeometry::Options::min_num_inliers, PLANAR_OR_PANORAMIC, and colmap::TwoViewGeometry::Options::ransac_options.
Referenced by Estimate().
◆ EstimateMultiple()
| void colmap::TwoViewGeometry::EstimateMultiple |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2, |
|
|
const FeatureMatches & |
matches, |
|
|
const Options & |
options |
|
) |
| |
◆ EstimateRelativePose()
| bool colmap::TwoViewGeometry::EstimateRelativePose |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2 |
|
) |
| |
References colmap::CalculateTriangulationAngles(), CALIBRATED, colmap::Camera::CalibrationMatrix(), config, E, H, colmap::Camera::ImageToWorld(), inlier_matches, colmap::Median(), PANORAMIC, PLANAR, PLANAR_OR_PANORAMIC, colmap::PoseFromEssentialMatrix(), colmap::PoseFromHomographyMatrix(), qvec, colmap::RotationMatrixToQuaternion(), tri_angle, tvec, and UNCALIBRATED.
◆ EstimateUncalibrated()
| void colmap::TwoViewGeometry::EstimateUncalibrated |
( |
const Camera & |
camera1, |
|
|
const std::vector< Eigen::Vector2d > & |
points1, |
|
|
const Camera & |
camera2, |
|
|
const std::vector< Eigen::Vector2d > & |
points2, |
|
|
const FeatureMatches & |
matches, |
|
|
const Options & |
options |
|
) |
| |
References colmap::TwoViewGeometry::Options::Check(), config, colmap::TwoViewGeometry::Options::detect_watermark, DetectWatermark(), colmap::LORANSAC< Estimator, LocalEstimator, SupportMeasurer, Sampler >::Estimate(), F, H, inlier_matches, colmap::TwoViewGeometry::Options::max_H_inlier_ratio, colmap::TwoViewGeometry::Options::min_num_inliers, and colmap::TwoViewGeometry::Options::ransac_options.
Referenced by Estimate().
◆ Invert()
| void colmap::TwoViewGeometry::Invert |
( |
| ) |
|
◆ config
| int colmap::TwoViewGeometry::config |
| Eigen::Matrix3d colmap::TwoViewGeometry::E |
| Eigen::Matrix3d colmap::TwoViewGeometry::F |
| Eigen::Matrix3d colmap::TwoViewGeometry::H |
◆ inlier_matches
Referenced by BOOST_AUTO_TEST_CASE(), EstimateCalibrated(), EstimateMultiple(), EstimateRelativePose(), EstimateUncalibrated(), Invert(), colmap::MatchGuidedSiftFeaturesCPU(), colmap::MatchGuidedSiftFeaturesGPU(), colmap::Database::ReadTwoViewGeometries(), colmap::Database::ReadTwoViewGeometry(), and colmap::Database::WriteTwoViewGeometry().
◆ qvec
| Eigen::Vector4d colmap::TwoViewGeometry::qvec |
◆ tri_angle
| double colmap::TwoViewGeometry::tri_angle |
◆ tvec
| Eigen::Vector3d colmap::TwoViewGeometry::tvec |
The documentation for this struct was generated from the following files: