Question

I have various template images and one big image with multiple ocurrence of each template in it, but are rotated.

I have tried with SIFT and SURF but only work with one ocurrence of each template and matchTemplate is not rotation invariant. I am programming in C++.

Please, could you give me any suggestions? Thanks.

Was it helpful?

Solution

You can use log-polar template matching.

You can find more explanation here: http://www-cs.engr.ccny.cuny.edu/~wolberg/pub/icip00.pdf

In this paper described method for finding maximum correlated template. But with small modifications it can be used to find multiple occurrences of template.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top