几何变换类型
保距变换 isometry
相似变换 similarity
仿射变换 affine
射影变换 projective -> homography
What is Homography?
A Homography is a transformation ( a 3×3 matrix ) that maps the points in one image to the corresponding points in the other image.
单应性矩阵
homography只针对同一平面
How to calculate a Homography ?
摄影变换的自由度为8,一对点能产生两个方程,共需要4对对应点,即可求取H矩阵;如超过4对,通过最小二乘法或RANSAC求取最优参数
理论推导
假设一对对应点
和
有
,其中
当有n对点时,
,对A进行SVD分解,即
,取