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

Method Query

src/colmap/retrieval/visual_index.cc:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 void Query(const QueryOptions& options,
162 const FeatureDescriptorsFloat& descriptors,
163 std::vector<ImageScore>* image_scores) const override {
164 THROW_CHECK_EQ(descriptors.data.cols(), kDescDim);
165 THROW_CHECK_EQ(descriptors.type, feature_type_)
166 << "Feature type mismatch: index was built with "
167 << FeatureExtractorTypeToString(feature_type_) << " but received "
168 << FeatureExtractorTypeToString(descriptors.type);
169 Query(options, /*keypoints=*/{}, descriptors, image_scores);
170 }
171
172 void Query(const QueryOptions& options,
173 const FeatureKeypoints& keypoints,

Callers 1

QueryAndFindWordIdsMethod · 0.45

Calls 10

VoteAndVerifyFunction · 0.85
sizeMethod · 0.80
ComputeScaleMethod · 0.80
ComputeOrientationMethod · 0.80
FindMatchesMethod · 0.80
emptyMethod · 0.80
SquaredIDFWeightMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected