How can i write a code to decide whether one image contains another image or not.

I have a Matlab code to read two images image1 and image2 and i need to know how to make matlab decide whether image1 contains image2 or not.

Answers (1)

If it's in there EXACTLY, you can scan the image pixel by pixel using isequal to determine if the exact pixel values are located in the image.
If it's in there approximately, like maybe rotated or scaled or noisy etc., then see

Asked:

on 15 Nov 2022

Answered:

on 15 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!