fixed several test failures; currently 9 out of 73 tests fail

This commit is contained in:
Vadim Pisarevsky
2014-10-16 17:00:40 +04:00
parent d017faa06c
commit 97a5dd0ead
9 changed files with 67 additions and 25 deletions

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("threshold", threshold);
fast_9_16_ = FastFeatureDetector::create(threshold);
fast_9_16_->detect(img_, keypoints);
// also write scores