2
$\begingroup$

I have one image that may or may not be part of another image (possibly resized).

How can I tell if that's the case, and pointing out the region of the first image that contains the second? For example, I'd like to tell that the second image is an enlarged portion of the first.

enter image description here enter image description here

$\endgroup$
4
$\begingroup$

This problem can be treated as signal/image detection or image registration. From the image registration perspective, there is a good tutorial that is exactly what you need: Registering an Image Using Normalized Cross-Correlation

enter image description here enter image description here enter image description here

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.