Merge pull request #3299 from felixendres:orb_keypoint_detector_threshold

This commit is contained in:
Vadim Pisarevsky
2014-10-09 14:52:38 +00:00
4 changed files with 12 additions and 7 deletions

View File

@@ -48,6 +48,8 @@ using namespace cv;
TEST(Features2D_ORB, _1996)
{
Ptr<FeatureDetector> fd = FeatureDetector::create("ORB");
fd->set("nFeatures", 10000);//setting a higher maximum to make effect of threshold visible
fd->set("fastThreshold", 20);//more features than the default
Ptr<DescriptorExtractor> de = DescriptorExtractor::create("ORB");
Mat image = imread(string(cvtest::TS::ptr()->get_data_path()) + "shared/lena.png");