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

Function ComputeNormalizedGuidedMatchingMaxResidual

src/colmap/feature/sift.cc:1026–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026double ComputeNormalizedGuidedMatchingMaxResidual(const Camera& camera1,
1027 const Camera& camera2,
1028 const double max_error) {
1029 const double normalized_max_error1 = camera1.CamFromImgThreshold(max_error);
1030 const double normalized_max_error2 = camera2.CamFromImgThreshold(max_error);
1031 return 0.5 * (normalized_max_error1 * normalized_max_error1 +
1032 normalized_max_error2 * normalized_max_error2);
1033}
1034
1035class SiftCPUFeatureMatcher : public FeatureMatcher {
1036 public:

Callers 2

MatchGuidedMethod · 0.85
MatchGuidedMethod · 0.85

Calls 1

CamFromImgThresholdMethod · 0.45

Tested by

no test coverage detected