![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include "util/testing.h"#include <Eigen/Core>#include <Eigen/Geometry>#include "base/pose.h"#include "base/similarity_transform.h"#include "estimators/similarity_transform.h"#include "optim/ransac.h"#include "util/random.h"
Go to the source code of this file.
Macros | |
| #define | TEST_NAME "optim/ransac" |
Functions | |
| BOOST_AUTO_TEST_CASE (TestOptions) | |
| BOOST_AUTO_TEST_CASE (TestReport) | |
| BOOST_AUTO_TEST_CASE (TestNumTrials) | |
| BOOST_AUTO_TEST_CASE (TestSimilarityTransform) | |
| #define TEST_NAME "optim/ransac" |
Definition at line 32 of file ransac_test.cc.
| BOOST_AUTO_TEST_CASE | ( | TestNumTrials | ) |
Definition at line 65 of file ransac_test.cc.
| BOOST_AUTO_TEST_CASE | ( | TestOptions | ) |
Definition at line 46 of file ransac_test.cc.
References colmap::RANSACOptions::confidence, colmap::RANSACOptions::max_error, colmap::RANSACOptions::max_num_trials, colmap::RANSACOptions::min_inlier_ratio, and colmap::RANSACOptions::min_num_trials.
| BOOST_AUTO_TEST_CASE | ( | TestReport | ) |
Definition at line 55 of file ransac_test.cc.
| BOOST_AUTO_TEST_CASE | ( | TestSimilarityTransform | ) |
Definition at line 89 of file ransac_test.cc.
References colmap::ComposeIdentityQuaternion(), e, colmap::RANSAC< Estimator, SupportMeasurer, Sampler >::Estimate(), colmap::SimilarityTransform3::Matrix(), colmap::RANSACOptions::max_error, colmap::RandomReal(), colmap::SetPRNGSeed(), and colmap::SimilarityTransform3::TransformPoint().