I am using a library AForgeto find (part of an image) inside another image using this code example .
(The images below are for reference only)
I use this desktop screenshot in 1920x1080 px .:

And I searched and found this fragment of the image above (55x557 px.):

But I change both images by 25% (to get the speed of comparison), so when I compare the images, the screenshot on the desktop is 480x270px. and cut off 13x14px image .
Using the library AForge, she returns me the relative coordinates of the found (cut) image inside the resized screen for the screen, coordinates x=86, y=200.
Now I need to set the mouse position in my desktop, in the center of the VMWare icon (more precisely, in the center of the found cropped image), and this is where I am confused, what is the arithmetic operation to set the mouse position there?
I'll remember:
Resolution:
My desktop: 1920x1080
Image 1: 1920x1080
Image to search in Image1: 55x57
Image resized 1: 480x270
Changed the image that can be found in Image1: 13x14
Relative coordinates of the found resized Image to search in Image1:
x = 86, y = 200
source
share