归一化互相关Normalization cross correlation (NCC)

NCC正如其名字,是用来描述两个目标的相关程度的,也就是说可以用来刻画目标间的相似性。一般NCC也会被用来进行图像匹配,即在一个图像中搜索与一小块已知区域的NCC最高的区域作为对应匹配,然后对准整幅图像。

假设两幅图像,那么其NCC可如下计算:

其中表示点乘运算。

比如下面两幅图像,我们想对齐

enter description here

enter description here

首先在一幅图像中选取两个图像都有的区域作为templete

enter description here

然后在另一幅图像中选取包含templete的区域

enter description here
最终对齐的结果如下

enter description here

猜你喜欢

转载自blog.csdn.net/qq_41598072/article/details/91441098