40 #include <glog/logging.h>
54 matched_image_data.begin(),
55 matched_image_data.end());
64 std::vector<Matrix3d>& fundamental_matrices) {
66 fundamental_matrices.clear();
70 Matrix3d fundamental_matrix;
72 fundamental_matrix)) {
73 fundamental_matrices.push_back(fundamental_matrix);
75 VLOG(1) <<
"Failed to compute funamental matrix.";
80 if (fundamental_matrices.empty()) {
81 VLOG(1) <<
"Unable to compute a fundamental matrix for any of the input "
virtual void AddMatchedImagePairs(const PairwiseImageMatchList &matched_image_data)
virtual void AddMatchedImagePair(const PairwiseImageMatch &matched_image_data)
virtual bool ComputeFundamentalMatrix(const FeatureMatchList &matched_features, Matrix3d &fundamental_matrix) const =0
PairwiseImageMatchList matched_image_data_
std::vector< PairwiseImageMatch > PairwiseImageMatchList
virtual bool ComputeFundamentalMatrices(std::vector< Matrix3d > &fundamental_matrices)
virtual void SetOptions(const FundamentalMatrixSolverOptions &options)
FundamentalMatrixSolverOptions options_