whuaegeanse · GitHub

Merged

Merged

Conversation

ahojnnes

distances->resize(
query.rows(),
std::min(kNumNearestNeighbors, static_cast<size_t>(database.rows())));
if (kNumNearestNeighbors > database.rows()) {

ahojnnes

return database_->ExistsKeypoints(image_id);
}

bool FeatureMatcherCache::ExiststDescriptors(const image_t image_id) {

ahojnnes

return image_ids;
}

bool FeatureMatcherCache::ExiststKeypoints(const image_t image_id) {

ahojnnes

continue;
}

if (!cache_->ExiststDescriptors(data.image_id1) ||

ahojnnes

continue;
}

if (!cache_->ExiststDescriptors(data.image_id1) ||
…s with test function ExistsKeypoints.
…Cache.

@ahojnnes

lucasthahn pushed a commit to tne-ai/colmap that referenced this pull request

Aug 17, 2022
* Fix bugs of sift features matching.
* Remove the return value.
* Change names of function. And combine test function ExiststDescriptors with test function ExistsKeypoints.
* Enhance the feature of testing keypoints and descriptors by using LRUCache.

Labels

None yet

Read the original on github.com ↗