Use correlation formula to find best pixel match