| 37 | namespace { |
| 38 | |
| 39 | bool UseInlierMatchesCheck(const DatabaseCache::Options& options, |
| 40 | int two_view_geometry_config, |
| 41 | size_t num_matches) { |
| 42 | return num_matches >= options.min_num_matches && |
| 43 | (!options.ignore_watermarks || |
| 44 | two_view_geometry_config != TwoViewGeometry::WATERMARK); |
| 45 | }; |
| 46 | |
| 47 | std::vector<Eigen::Vector2d> FeatureKeypointsToPointsVector( |
| 48 | const FeatureKeypoints& keypoints) { |
no outgoing calls
no test coverage detected