Hi, I have been searching for a method that can locate the X and Y position of a smaller image inside a larger image (cropped screenshot) (only if the smaller image exists, sometimes it doesnt), i have found some solutions but i couldnt get any of them to work the way i needed
this is the my larger image
http://imageshack.us/photo/my-images/21/canchk.png/
and this is my smaller image
http://imageshack.us/photo/my-images/842/mycan.png/
Basically i need a method that i can call like this
findImagePos(SmallImage,LargeImage,X_array_varible, Y_array_varible, number_of_images_found_varible)
if no image is found then the number_of_images_found_varible would be 0
else number_of_images_found_varible would equal how many images where found
and X_array_varible[0] would have the X position of the first found image
and Y_array_varible[0] would have the Y position of the first found image
etc....
Thanks for any help