Ask Your Question

template matching angle and scale invariant

asked 2013-10-01 07:07:30 -0600

grobian gravatar image


I have another question concerning the image matching. It seems so to be that opencv does not support angle and scale invariant template matching?

Cheers, Gordon

edit retag flag offensive close merge delete


that's right. template matching is neither scale nor rotation invariant.

(that's why there's all those SURF/SIFT/ORB things)

what do you actually want to do ?

berak gravatar imageberak ( 2013-10-01 07:49:09 -0600 )edit


I have old scripts (middle age) and I would like to find similar objects in the manuscripts. (This is a challenge due to the fact that also "identical" objects have small differences....

grobian gravatar imagegrobian ( 2013-10-02 02:29:10 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-01 08:16:24 -0600

updated 2013-10-01 08:23:54 -0600

Take a look at Rotation, Scale, Translation-Invariant Template Matching

"We conducted several experiments to compare grayscale and color Ciratefis with SIFT, C-color-SIFT and EasyMatch algorithms in many different situations. The results attest that grayscale and color Ciratefis are more accurate than the compared algorithms and that color-Ciratefi outperforms grayscale Ciratefi most of the time. However, Ciratefi is slower than the other algorithms" (taken from Ciratefi: An RST-Invariant Template Matching with Extension to Color Images)

[rotation (R), scale (S) and translation (T)]

edit: i think that source code can be downloaded from here (i didn't try it)

edit flag offensive delete link more


Thanks for answer! I will give it try.

grobian gravatar imagegrobian ( 2013-10-02 02:30:29 -0600 )edit

Hi grobian, Did you have any luck with this? Please let me know when you get a chance.

Samjakar gravatar imageSamjakar ( 2014-07-15 01:58:20 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-01 07:07:30 -0600

Seen: 10,117 times

Last updated: Oct 01 '13