HALCON's gray-value-based matching offers different methods, e.g., correlation-based matching. This method is particularly robust against defocus, shape deformation, and texture.