文章目录
1. 模板匹配
模板匹配的公式表示
- CROSS-CORRELATION
2. Convolution vs. Correlation
3. Problem with Cross-Correlation
4. 解决办法: Normalized Cross-Correlation: en
- f [ m , n ] f[m,n] f[m,n] : engery in the image in the area of the image that overlaps with the template
- t [ m , n ] t[m,n] t[m,n]: engery of the template itself, 通过它, you make the cross correlation insensitive to changes in brightness
- so let’s say you had a template that you captured a pattern that you captured with the camera ata some point. It was taken under some lighting conditions and camera gain and so on , and then this pattern appears exactly in its true form, except under different lighting condition, different camera gain and a
5. 图片举例加深理解
看到右侧黄框,里面的小亮点