文献57-《Fast Full-Search Equivalent Template Matching by Enhanced Bounded Correlation 》和58《ZNCC-based template matching using bounded partial correlation 》是代价匹配中两篇经典算法,分别介绍的是归一化相关(NCC)和零平均归一化(ZNCC)因为这两者有一定的相关性,所以放在一起整理来看。
归一化相关,有一篇博客写的很详细,还有C++的代码实现:https://blog.csdn.net/weixin_42104289/article/details/83088043
文献57中: