0

Using this particular FeatureDetector, I can't figure out how to set the Hessian Threshold.

Ptr<FeatureDetector> detector = FeatureDetector::create("SURF");

Anyone know how?

Amir
  • 10,600
  • 9
  • 48
  • 75

1 Answers1

-2

Try this:

float newThresh = detector->getDouble("threshold") + 3;
detector->set("threshold", newThresh);
Ken Y-N
  • 14,644
  • 21
  • 71
  • 114
simpleisg
  • 1
  • 1