Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding a small image in a bigger one [duplicate]

Possible Duplicate:
Matching a rotated bitmap to a collage image

Given an image with a large dimension (> 1.000 x 1.000). What is a good approach to find a small image (e.g. 50 x 50) in the big one?

The smaller image can be rotated and differ in the size, but only with a 1:1 ratio.

It's not related to any programming language - I'm just interested in pattern recognition.

Thank you.

like image 354
tur1ng Avatar asked Apr 26 '10 15:04

tur1ng


2 Answers

Look at my answer here:

Matching a rotated bitmap to a collage image

like image 61
mmr Avatar answered Nov 14 '22 08:11

mmr


You might be able to do something with a log-polar transform as a pre-processing step on both images followed by cross correlation. The log-polar transform removes scaling and rotation variances, while cross correlation will identify translation. You might have to center the log-polar transform at various places in the larger image.

like image 30
andand Avatar answered Nov 14 '22 08:11

andand