 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
99 E(
Eigen::Matrix3d::Zero()),
100 F(
Eigen::Matrix3d::Zero()),
101 H(
Eigen::Matrix3d::Zero()),
119 const std::vector<Eigen::Vector2d>& points1,
121 const std::vector<Eigen::Vector2d>& points2,
123 const Options& options);
142 const std::vector<Eigen::Vector2d>& points1,
144 const std::vector<Eigen::Vector2d>& points2,
146 const Options& options);
158 const std::vector<Eigen::Vector2d>& points1,
160 const std::vector<Eigen::Vector2d>& points2);
171 const std::vector<Eigen::Vector2d>& points1,
173 const std::vector<Eigen::Vector2d>& points2,
175 const Options& options);
186 const std::vector<Eigen::Vector2d>& points1,
188 const std::vector<Eigen::Vector2d>& points2,
190 const Options& options);
195 const std::vector<Eigen::Vector2d>& points1,
197 const std::vector<Eigen::Vector2d>& points2,
198 const size_t num_inliers,
199 const std::vector<char>& inlier_mask,
200 const Options& options);
Definition: two_view_geometry.h:43
void Check() const
Definition: two_view_geometry.h:83
Definition: two_view_geometry.h:19
CLOUDVIEWER_HOST_DEVICE Pair< First, Second > make_pair(const First &_first, const Second &_second)
Definition: SlabTraits.h:49
void InvertPose(const Eigen::Vector4d &qvec, const Eigen::Vector3d &tvec, Eigen::Vector4d *inv_qvec, Eigen::Vector3d *inv_tvec)
Definition: pose.cc:192
void SetPRNGSeed(unsigned seed)
Definition: random.cc:40
double Median(const std::vector< T > &elems)
Definition: math.h:189
uint32_t point2D_t
Definition: types.h:67
@ UNDEFINED
Definition: two_view_geometry.h:22
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)
Definition: two_view_geometry.cc:113
int config
Definition: two_view_geometry.h:203
double watermark_min_inlier_ratio
Definition: two_view_geometry.h:66
TwoViewGeometry()
Definition: two_view_geometry.h:97
@ CALIBRATED
Definition: two_view_geometry.h:26
@ PANORAMIC
Definition: two_view_geometry.h:32
Eigen::Matrix3d E
Definition: two_view_geometry.h:206
@ WATERMARK
Definition: two_view_geometry.h:36
double ImageToWorldThreshold(const double threshold) const
Definition: camera.cc:226
Eigen::Vector2d ImageToWorld(const Eigen::Vector2d &image_point) const
Definition: camera.cc:219
T RandomReal(const T min, const T max)
Definition: random.h:75
FeatureMatches inlier_matches
Definition: two_view_geometry.h:217
Definition: fundamental_matrix.h:69
bool multiple_ignore_watermark
Definition: two_view_geometry.h:78
void PoseFromEssentialMatrix(const Eigen::Matrix3d &E, const std::vector< Eigen::Vector2d > &points1, const std::vector< Eigen::Vector2d > &points2, Eigen::Matrix3d *R, Eigen::Vector3d *t, std::vector< Eigen::Vector3d > *points3D)
Definition: essential_matrix.cc:63
Eigen::Matrix3d CalibrationMatrix() const
Definition: camera.cc:75
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)
Definition: two_view_geometry.cc:126
Eigen::Matrix3d H
Definition: two_view_geometry.h:210
const double * e
Definition: essential_matrix_poly.h:10
Eigen::Vector3d tvec
Definition: two_view_geometry.h:214
double min_E_F_inlier_ratio
Definition: two_view_geometry.h:52
void swap(cloudViewer::core::SmallVectorImpl< T > &LHS, cloudViewer::core::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: SmallVector.h:1370
@ MULTIPLE
Definition: two_view_geometry.h:39
void Invert()
Definition: two_view_geometry.cc:99
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)
Definition: two_view_geometry.cc:429
size_t Width() const
Definition: camera.h:160
bool detect_watermark
Definition: two_view_geometry.h:75
std::vector< double > CalculateTriangulationAngles(const Eigen::Vector3d &proj_center1, const Eigen::Vector3d &proj_center2, const std::vector< Eigen::Vector3d > &points3D)
Definition: triangulation.cc:147
@ UNCALIBRATED
Definition: two_view_geometry.h:28
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)
Definition: two_view_geometry.cc:230
RANSACOptions ransac_options
Definition: two_view_geometry.h:81
double max_error
Definition: ransac.h:25
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)
Definition: two_view_geometry.cc:365
double watermark_border_size
Definition: two_view_geometry.h:71
Eigen::Vector4d RotationMatrixToQuaternion(const Eigen::Matrix3d &rot_mat)
Definition: pose.cc:70
Report Estimate(const std::vector< typename Estimator::X_t > &X, const std::vector< typename Estimator::Y_t > &Y)
Definition: loransac.h:72
double min_inlier_ratio
Definition: ransac.h:29
bool HasPriorFocalLength() const
Definition: camera.h:168
Definition: fundamental_matrix.h:27
Eigen::Vector4d qvec
Definition: two_view_geometry.h:213
@ PLANAR
Definition: two_view_geometry.h:30
@ PLANAR_OR_PANORAMIC
Definition: two_view_geometry.h:34
Eigen::Matrix3d F
Definition: two_view_geometry.h:208
bool EstimateRelativePose(const Camera &camera1, const std::vector< Eigen::Vector2d > &points1, const Camera &camera2, const std::vector< Eigen::Vector2d > &points2)
Definition: two_view_geometry.cc:167
Definition: AutomaticReconstructionController.h:17
size_t Height() const
Definition: camera.h:162
std::vector< FeatureMatch > FeatureMatches
Definition: types.h:80
size_t min_num_inliers
Definition: two_view_geometry.h:45
double tri_angle
Definition: two_view_geometry.h:220
@ DEGENERATE
Definition: two_view_geometry.h:24
double max_H_inlier_ratio
Definition: two_view_geometry.h:60
Definition: loransac.h:30
ConfigurationType
Definition: two_view_geometry.h:21
void Check() const
Definition: ransac.h:43
void PoseFromHomographyMatrix(const Eigen::Matrix3d &H, const Eigen::Matrix3d &K1, const Eigen::Matrix3d &K2, const std::vector< Eigen::Vector2d > &points1, const std::vector< Eigen::Vector2d > &points2, Eigen::Matrix3d *R, Eigen::Vector3d *t, Eigen::Vector3d *n, std::vector< Eigen::Vector3d > *points3D)
Definition: homography_matrix.cc:186