Example Using SurfAdjuster

asked 2015-10-14 22:10:10 -0500

jpistorino gravatar image

updated 2015-10-14 22:43:56 -0500

I am using OpenCV 3.0 with VS2012 C++/CLI on a Win 8.1 64 bit machine and playing around with SURF.

I created a SURF detector as follows:

SurfDetector = new Ptr<SurfFeatureDetector>;
*SurfDetector = SurfFeatureDetector::create(MINHESSIANDEFAULT);

Where I set MINHESSIANDEFAULT to 400.

Now I want to adjust the Hessian value. I see the SurfAdjuster class/function but there is no example.

How would I use SurfAdjuster to change the Hessian value for my next feature detection?

Alternatively, is there a better way to do this?

Thanks

edit retag flag offensive close merge delete

Comments

above code seems to be ocv2.4, not 3.0 ? also the SurfAdjuster only exists in 2.4

berak gravatar imageberak ( 2015-10-15 00:13:54 -0500 )edit