SIFT, HOG and SURF c++, opencv
Asked Answered
M

6

7

I have a simple question, which I want to know, what kind of libraries are available and can give good results for implementing SIFT, HOG(Histogram Oriented Gradient) and SURF in c++ or opencv?

Hence: 1- Give me the link for the code if you can, which I will be so appreciated. 2- If you know one of them or any kind of information to lead me to what I want, I will be so appreciated as well.

Thanks

Myocardium answered 14/3, 2011 at 22:26 Comment(0)
Z
3

check these: surf - great article http://people.csail.mit.edu/kapu/papers/mar_mir08.pdf sift - great source, I tried it on the iPhone http://blogs.oregonstate.edu/hess/ - fast - fast corner detection library http://svr-www.eng.cam.ac.uk/~er258/work/fast.html

Z answered 14/3, 2011 at 23:12 Comment(0)
B
3

Example of surf code in openCV https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/cpp/matching_to_many_images.cpp

Blesbok answered 17/5, 2011 at 11:29 Comment(0)
M
3

Not sure if this is still relevant, but you also get two implementations of computing HOG descriptors in opencv i.e. both GPU and CPU versions of the HOG code.

for the CPU version you can check this blog post

however in the CPU version you would need to write your own logic for sliding windows.

and the GPU version is fairly straightforward you can read the documentation here

Mussel answered 23/6, 2012 at 12:2 Comment(0)
B
2

Might help you to know that SIFT and SURF implementations are already integrated into OpenCV. http://opencv.willowgarage.com/documentation/cpp/features2d__feature_detection_and_descriptor_extraction.html

Blatman answered 16/3, 2011 at 4:35 Comment(0)
G
2

Be careful about OpenCV implementations, because latest versions of OpenCV have classified SIFT and SURF implementations as nonfree http://docs.opencv.org/modules/nonfree/doc/nonfree.html.

Now you can use them, but probably they are subject to licensing and cannot be used for commercial solutions.

Gormley answered 13/7, 2012 at 19:54 Comment(1)
thank you so much for the note,, i'm using it for student project and so far it works with me very fine..Myocardium
S
0

This one uses descriptors based on HoG, Sobel and Lab channels for detection Class-Specific Hough Forests for Object Detection (opencv/c source code).

Rather then performing detection at every possible location this approach calculates a vote for each descriptor, then when putted together they produce a voting cloud where maximum will correspond to most probable location of the target. When combined with cvGoodFeaturesToTrack can produce very good results, even with a small training database.

Stowers answered 13/9, 2013 at 16:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.