Ask Your Question
0

How to get SURF to work in these scenarios?

asked 2014-11-23 03:31:58 -0500

mrpega gravatar image

Hey guys, SURF is able to compare images which are of different scale but they have to be the same proportion. For example, they are able to match picture 1 (1000x800) to picture 2 (500x400) but if picture 2's dimensions are squashed to (500x300), SURF is not able to detect them.

Also, when doing a comparison between picture 1 (1000x800) and picture 2 (500x400), i tried to rotate picture 2 to 10 degrees right, SURF is able to pick them up, but the bounding box i drew using the same homograph returned isn't working correctly.

Please help...Thanks!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-23 12:43:29 -0500

Indeed, SURF is not affine-invariant. It means that non-uniform scaling (as well as perspective transformations) produces too much perturbations, and the SURF features vectors will be very distant.

Unfortunately, there is not yet a good algorithm which can deals with such transformation... So you will have to find an other way to match your images :-(

For the bounding-box problem, you have to draw a rotated bounding box using points of each corners, and lines...

edit flag offensive delete link more
0

answered 2014-11-24 04:46:55 -0500

JohannesZ gravatar image

First of all, feature descriptors like SIFT, SURF etc. are matched in general, not whole images. This means, a high matching score can be a sign that two images are equal, bus this is not a must.

Second, SIFT, SURF etc. are not fully affine invariant, that means "special transformations " like a perspective tilt for example can be a problem. But, in general, the extracted features are scale & rotation invariant.

In case you deal with large perspective distortions, maybe the ASIFT principle could be a solution for you. ASIFT follows a strategy which uses a traing phase based on simulated images to extract features under different viewing angles. So, a high degree of affine invariance can be achieved. The principle can be addapted to other feature descriptors like SURF, KAZE etc.

edit flag offensive delete link more

Comments

The ASIFT principle sounds interesting..Thanks for the heads up! =)

mrpega gravatar imagemrpega ( 2014-11-24 20:34:30 -0500 )edit

I found a demo for the SURF, SIFT and ASIFT. In this demo, they are look pretty adaptable though..I wonder did they implement it differently from me:

SURF:http://demo.ipol.im/demo/69/result?key=9A4D56A520918F5E56991897D3D5AA15 SIFT: http://demo.ipol.im/demo/82/result?key=0F7C973CAC8E2641A879BA1EEC3C2052 ASIFT:http://demo.ipol.im/demo/my_affine_sift/result?key=62EFE027693293F949F14E76A682008D

mrpega gravatar imagemrpega ( 2014-11-24 23:51:55 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-11-23 03:31:58 -0500

Seen: 255 times

Last updated: Nov 24 '14