1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)

This commit is contained in:
Vadim Pisarevsky
2014-10-18 20:44:26 +04:00
parent 22ff1e8826
commit d2b9dc5530
29 changed files with 278 additions and 312 deletions
+1 -1
View File
@@ -2099,7 +2099,7 @@ BriskLayer::BriskLayer(const BriskLayer& layer, int mode)
void
BriskLayer::getAgastPoints(int threshold, std::vector<KeyPoint>& keypoints)
{
fast_9_16_->set(FastFeatureDetector::THRESHOLD, threshold);
fast_9_16_->setThreshold(threshold);
fast_9_16_->detect(img_, keypoints);
// also write scores