Ask Your Question
0

SurfFeatureDetector

asked 2013-06-16 22:42:18 -0500

ToBeSafe gravatar image

Hi Can we use SurfFeatureDetector in java or it has no equivalent in java ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-06-18 06:44:41 -0500

berak gravatar image

yes)

edit flag offensive delete link more

Comments

If you mean we can use SurfFeatureDetector in java:May you lead me to any reference about how to use SurfFeatureDetector in java ?

ToBeSafe gravatar imageToBeSafe ( 2013-06-18 13:07:55 -0500 )edit
0

answered 2013-06-18 18:57:04 -0500

MysticBE gravatar image

Yes it can be done in Java with the OpenCV Library. Try this:

MatOfKeyPoint keypoints = new MatOfKeyPoint();
FeatureDetector surf = FeatureDetector.create(FeatureDetector.SURF);
surf.detect(inputMat, keypoints);

I should note that SURF is actually very slow (just saying)

edit flag offensive delete link more

Comments

In C++ we provide threshold value in the surf object constructor so how could we set the threshold value in that code? Is there any documentation for this subject ?

ToBeSafe gravatar imageToBeSafe ( 2013-06-19 01:17:21 -0500 )edit

SURF is not included in java Package from opencv 2.4.2 version onwards

Mehul Thakkar2 gravatar imageMehul Thakkar2 ( 2014-01-27 00:13:15 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-06-16 22:42:18 -0500

Seen: 2,018 times

Last updated: Jun 18 '13