why should i subtract mean of image when searching for position of sub-image in image?

7 views (last 30 days)
i have tried several times to find position of sub-image inside the bigger image, and i found out that i must substract the mean of the images for it.
i still couldn't understand why.
can someone help please?

Answers (1)

Jalaj Gambhir
Jalaj Gambhir on 27 Aug 2020
Hi,
I am not sure the complete process that you are following, but subtraction with mean Image is generally done to center the image. It is a common preprocessing step for most Image Processing algorithms.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!