Differences between self similarity in OpenCV and in the Matlab package

asked 2013-11-26 06:20:45 -0500

updated 2013-11-26 06:21:26 -0500


I'm comparing the outputs of the self similarity code in OpenCV with the outputs of this Matlab Package: http://www.robots.ox.ac.uk/~vgg/software/MKL/

The outputs are different. Can someone please tell me on which Matlab package the OpenCV implementation is based upon and why there might be differences?



edit retag flag offensive close merge delete


Guess you need to ask the author, see https://github.com/Itseez/opencv/blob/ef91d7e8830c36785f0b6fdbf2045da48413dd76/modules/contrib/src/selfsimilarity.cpp#L45 . (Btw: is it that bad that it is different? Guess, if you'd implement it just knowing the paper, your output would be also different).

Guanta gravatar imageGuanta ( 2013-11-26 07:53:11 -0500 )edit

Thanks, I mailed him.

GilLevi gravatar imageGilLevi ( 2013-11-27 08:54:24 -0500 )edit

K, let us know what comes out, if he responses.

Guanta gravatar imageGuanta ( 2013-11-27 09:01:50 -0500 )edit

He responded, he said that the code in OpenCV was written long before the Matlab package I used and, so I can't expect getting the same results.

GilLevi gravatar imageGilLevi ( 2013-11-28 10:47:13 -0500 )edit