|
The normalized correlation method allows for stable pattern matching without being affected by ambient light. As the following pictures show, the average brightness of the whole image is subtracted from the brightness (grayscale data) of each pixel for both the reference image and input image. This is called normalization, which eliminates the difference in the brightness of both whole images. Then, the image is located at the position where the patterns of the reference and input images best match (i.e. highest correlation), and the position of the target pattern in the image is accurately detected.
|