图像对齐:Parametric Image Alignment Using Enhanced Correlation Coefficient Maximization

Parametric Image Alignment Using Enhanced Correlation Coefficient Maximization


对齐的目的是找到两张图像像素点坐标间的对应关系,对于手持设备,首先假设两张图像间为简单的仿射变换,可以通过求解两张图像间的仿射变换矩阵,实现对齐图像的目的。作者导出ECC这个算法的两个核心思想,一个来源与作者本人的另一篇论文《An Enhanced Correlation-Based Method for Stereo Correspondence with Sub-Pixel Accuracy》中对增强相关系数的与残差之间的等同关系,一个来源与Takeo Kanade在其论文《An Iterative Image Registration Technique with an Application to Stereo Vision》中提出的Forward Additive迭代思想。

Problem Formulation

假设有一对图像,图像间仅存在像素点坐标间的畸变,记其中一帧图像为参考帧 I r I_{r} Ir,对应的像素坐标记为 x = [ x r , y r ] t \mathbf{x}=[x_{r},y_{r}]^{t} x=[xr,yr]t,另一帧图像为畸变帧 I w I_{w} Iw,对应的像素坐标记为 y = [ x w , y w ] t \mathbf{y}=[x_{w},y_{w}]^{t} y=[xw,yw]t,对齐的目的是找到 x \mathbf{x} x y \mathbf{y} y之间的对应关系 ϕ \phi ϕ,即 y = ϕ ( x ; p ) \mathbf{y}=\phi(\mathbf{x};p) y=ϕ(x;p),其中 p = [ p 1 , . . . . . . , p N ] T \mathbf{p}=[p_{1},......,p_{N}]^{T} p=[p1,......,pN]T N N N维的参数向量,因此可以将对齐问题看作是一个参数估计问题:
I r ( x ) = I w ( ϕ ( x ; p ) ) (1) I_{r}(\mathbf{x})=I_{w}(\phi(\mathbf{x};\mathbf{p}))\tag{1} Ir(x)=Iw(ϕ(x;p))(1)
将参数 p \mathbf{p} p的优化问题,定义为参考帧与畸变帧经过畸变矫正的结果之间的差值的最小化问题:
min ⁡ p , α E ( p , α ) = min ⁡ p , α ∑ x ∈ T ∣ I r ( x ) − Ψ ( I w ( ϕ ( x ; p ) ) , α ) ∣ p (2) \min _{\mathbf{p}, \boldsymbol{\alpha}} E(\mathbf{p}, \boldsymbol{\alpha})=\min _{\mathbf{p}, \boldsymbol{\alpha}} \sum_{\mathbf{x} \in \mathcal{T}}\left|I_{r}(\mathbf{x})-\Psi\left(I_{w}(\boldsymbol{\phi}(\mathbf{x} ; \mathbf{p})), \boldsymbol{\alpha}\right)\right|^{p}\tag{2} p,αminE(p,α)=p,αminxTIr(x)Ψ(Iw(ϕ(x;p)),α)p(2)
其中 Ψ ( I , α ) \Psi(I,\alpha) Ψ(I,α)为简单的亮度转换,目的是降低由图像亮度变化带来的图像间的不相关性。

Proposed Criterion and Main Results

Vectorization

记参考图像与目标图像间的目标对齐区域的中心坐标数为 K K K个,对齐区域的亮度值分别构成参考向量 i w ( p ) i_{w}(p) iw(p)、畸变向量 i r i_r ir,分别为:
i r = [ I r ( x 1 ) I r ( x 2 ) ⋯ I r ( x K ) ] t i w ( p ) = [ I w ( y 1 ( p ) ) I w ( y 2 ( p ) ) ⋯ I w ( y K ( p ) ) ] t (3) \begin{aligned} \mathbf{i}_{r} &=\left[I_{r}\left(\mathbf{x}_{1}\right) I_{r}\left(\mathbf{x}_{2}\right) \cdots I_{r}\left(\mathbf{x}_{K}\right)\right]^{t} \\ \mathbf{i}_{w}(\mathbf{p}) &=\left[I_{w}\left(\mathbf{y}_{1}(\mathbf{p})\right) I_{w}\left(\mathbf{y}_{2}(\mathbf{p})\right) \cdots I_{w}\left(\mathbf{y}_{K}(\mathbf{p})\right)\right]^{t} \end{aligned}\tag{3} iriw(p)=[Ir(x1)Ir(x2)Ir(xK)]t=[Iw(y1(p))Iw(y2(p))Iw(yK(p))]t(3)
i ˉ r \bar{i}_{r} iˉr i ˉ w ( p ) \bar{i}_{w}(p) iˉw(p)分别为对应的零均值向量(column-zero–mean versions),用ECC作为参数 p p p的性能评价指标:
E E C C ( p ) = ∥ i ˉ r ∥ i ˉ r ∥ − i ˉ w ( p ) ∥ i ˉ w ( p ) ∥ ∥ 2 (4) E_{ECC}(p)=\left \|\frac{\bar{i}_{r}}{\left \| \bar{i}_{r} \right \| } - \frac{\bar{i}_{w}(p)}{\left \| \bar{i}_{w}(p) \right \| } \right \|^{2}\tag{4} EECC(p)=iˉriˉriˉw(p)iˉw(p)2(4)
可以看出增益及亮度整体抬升不影响评价指标

Performance Measure Optimization

在本文作者的另外一篇论文《An Enhanced Correlation-Based Method for Stereo Correspondence with Sub-Pixel Accuracy》中证明了对公式(4)的最小化等同于对下式增强相关系数(Enhanced Correction Coefficient)的最大化:
ρ ( p ) = i ˉ r T i ˉ w ( p ) ∥ i ˉ r ∥ ∥ i ˉ w ( p ) ∥ = i ^ r T i ˉ w ( p ) ∥ i ˉ w ( p ) ∥ (5) \rho(p)=\frac{\bar{i}_{r}^{T}\bar{i}_{w}(p)}{\left \| \bar{i}_{r} \right \| \left \| \bar{i}_{w}(p) \right \|} =\hat{i}_{r}^{T}\frac{\bar{i}_{w}(p)}{\left \| \bar{i}_{w}(p) \right \| }\tag{5} ρ(p)=iˉriˉw(p)iˉrTiˉw(p)=i^rTiˉw(p)iˉw(p)(5)
其中 i ^ r = i ˉ r ∥ i ˉ r ∥ \hat{i}_{r}=\frac{\bar{i}_{r}}{\left \| \bar{i}_{r} \right \| } i^

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值