MCPcopy Create free account
hub / github.com/colmap/colmap / FeatureKeypointsToPointsVector

Function FeatureKeypointsToPointsVector

src/colmap/feature/utils.cc:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace colmap {
35
36std::vector<Eigen::Vector2d> FeatureKeypointsToPointsVector(
37 const FeatureKeypoints& keypoints) {
38 std::vector<Eigen::Vector2d> points(keypoints.size());
39 for (size_t i = 0; i < keypoints.size(); ++i) {
40 points[i] = Eigen::Vector2d(keypoints[i].x, keypoints[i].y);
41 }
42 return points;
43}
44
45void L2NormalizeFeatureDescriptors(FeatureDescriptorsFloatData* descriptors) {
46 descriptors->rowwise().normalize();

Callers 4

TESTFunction · 0.70
RunMethod · 0.50
RigVerificationFunction · 0.50
RunMethod · 0.50

Calls 1

sizeMethod · 0.80

Tested by 1

TESTFunction · 0.56