Finding good correspondences is a critical prerequisite in many feature based tasks. Given a putative correspondence set of an image pair, we propose a neural network which finds correct correspondences by a binary-class classifier and estimates relative pose through classified correspondences. First, we analyze that due to the imbalance in the number of correct and wrong correspondences, the loss function has a great impact on the classification results. Thus, we propose a new Guided Loss that can directly use evaluation criterion (Fn-measure) as guidance to dynamically adjust the objective function during training. We theoretically prove that the perfect negative correlation between the Guided Loss and Fn-measure, so that the network is always trained towards the direction of increasing Fn-measure to maximize it. We then propose a hybrid attention block to extract feature, which integrates the Bayesian attentive context normalization (BACN) and channel-wise attention (CA). BACN can mine the prior information to better exploit global context and CA can capture complex channel context to enhance the channel awareness of the network. Finally, based on our Guided Loss and hybrid attention block, a cascade network is designed to gradually optimize the result for more superior performance. Experiments have shown that our network achieves the state-of-the-art performance on benchmark datasets. Our code will be available in https://github.com/wenbingtao/GLHA.
翻译:在许多基于特征的任务中,寻找好的通信是许多基于特征的任务的关键先决条件。根据一组图像配对的假设通信,我们提议建立一个神经网络,由二等级分类员找到正确的通信,并通过保密通信估计相对构成。首先,我们分析由于正确和错误通信数量不平衡,损失功能对分类结果有很大影响。因此,我们提议一个新的“引导损失”标准,可以直接使用评价标准(Fn-措施)作为在培训期间动态调整目标功能的指南。我们理论上证明,“引导损失”和“Fn-措施”之间的完美负相关关系,这样,这个网络就总是被训练为增加“Fn-措施”的方向,以最大限度地扩大这种联系。我们然后建议一个混合关注点块,以提取特征,将巴耶斯的注意环境正常化(BACN)和频道关注结合起来。BACN可以利用先前的信息更好地利用全球环境,而CAA可以捕获复杂的频道环境,以提高网络的频道意识。最后,根据我们的“引导损失”和“Fn-cond-condition”的注意区块,一个级网络将逐步优化结果,以便实现更高级的绩效。我们现有的“G-lax-lax-lab-labs”基准。我们的数据将实现我们的网络的成绩基准。