Finding an area of one image within another image...
- June 29, 2023
- 2 replies
- 951 views
Hi all.
There are two images.
There is an area in the FIRST image that is the SECOND image.
The task is to select the area on the FIRST image where the SECOND image is located.
Proposed algorithm of actions.
From the colors contained in the SECOND image, we get the average color.
From the known height and width of the SECOND image, we obtain the side of the average square of the image.
To the FIRST image we apply the mosaic filter with the parameter of the averaged square of the SECOND image.
We are looking for an area of the FIRST image that matches in color with the average color of the SECOND image.
It is clear that this task is from the field of Artificial Intelligence, it will be necessary to change the value of the average square of the SECOND image, and compare the probabilities of color matching ...
It is likely that someone has already solved a similar problem ...
Can anyone share information from this area ???
