32 typedef Eigen::MatrixX2i CorrespondenceIndices;
42 Eigen::MatrixX2d coordinates;
46 std::optional<gtsam::Vector> scales;
51 Keypoints(
const Eigen::MatrixX2d &_coordinates)
52 : coordinates(_coordinates) {}
55 using KeypointsVector = std::vector<Keypoints>;
58 using MatchIndicesMap = std::map<IndexPair, CorrespondenceIndices>;
73 const MatchIndicesMap& matches,
const KeypointsVector& keypoints,
74 bool verbose =
false);
std::optional< gtsam::Vector > responses
Optional confidences/responses for each detection, of shape N.
Definition: DsfTrackGenerator.h:49
A simple data structure for a track in Structure from Motion.
Definition: DsfTrackGenerator.h:40
Definition: chartTesting.h:28
std::vector< SfmTrack2d > tracksFromPairwiseMatches(const MatchIndicesMap &matches, const KeypointsVector &keypoints, bool verbose=false)
Creates a list of tracks from 2d point correspondences.
Allow for arbitrary type in DSF.