The invention discloses a relative orientation optimization method based on boundary constraint function, which comprises the following steps: constructing boundary constraint function; for the n of the corresponding image points, establish relative orientation optimization equation with bounded constraint; with bounded constraints of relative orientation optimization equation is transformed into unconstrained minimization equation using the least squares method for solving generalized inverse; the approximate optimal solution of unconstrained minimization equation; iterative termination when the termination criteria are met, and the relative orientation elements last obtained as relative orientation optimization equations approximate optimal solution with bounded constraint. Through the constraint function of the construction bound, the optimal solution of the relative orientation element is limited within the feasible region, and the optimization solution failure caused by the iteration point crossing the obstacle is avoided. On the other hand, the climb speed of the constraint function in the feasible region is controlled by the steep factor, and the optimal solution is quickly and reliably converged by exponentially controlling the velocity of the penalty factor and then making the relative directional elements converge quickly and reliably.
【技术实现步骤摘要】
基于界约束函数的相对定向优化方法
本专利技术属于机器视觉和摄影测量
,具体涉及一种基于界约束函数的相对定向优化方法。
技术介绍
随着单反相机性能的不断提升,采用单反相机以自由摄影方式,无需加工和维护成本很高的精密标定板和高精度相机运动平台,实现相机的自标定,快速、柔性、低成本地获取被测工业现场零部件的三维数据,已成为坐标测量技术发展的趋势之一。通过求解同名像点的共面条件方程,获得相对定向元素,是基于单反相机的三维测量和相机自标定的基础,也是n点透视问题(PnP)如五点、七点和八点等算法的核心。如图1所示,两个摄影中心分别为S1、S2,物方点Pi在像平面IA、IB上的成像点分别为Pi'、Pi”,同名核线分别为l、l'。第i对同名像点Pi'和Pi”对应的共面方程为β=(β0,β1,β2,β3,β4,β5);(1)式中bx,by,bz和φ,ω,κ分别为相对定向元素的直线元素与角度元素,下文中的相对定向元素均用β表示。像方空间坐标(u′i,v′i,w′i)和(u″i,v″i,w″i)的转换公式P′i和P″i在左右相片上的成像点分别为(x′i,y′i,-f),(x″i,y″i,-f),f是摄影中心到像平面的垂直距离(主距)。但与传统(航空)摄影测量是近似于垂直的摄影方式不同,自由摄影的随意性不可避免地产生大角度大重叠数字图像,若直接采用成熟的小角度共面条件方程线性化模型,难以准确可靠地解得相对定向元素,需要更多考虑共面条件方程的非线性特征,方能通过标尺实现绝对定向,高精度获得被测点的三维坐标。而基于奇异值分解(SingularValueDecompositio ...
【技术保护点】
一种基于界约束函数的相对定向优化方法,其特征在于:包括如下步骤:步骤一、构造界约束函数:
【技术特征摘要】
1.一种基于界约束函数的相对定向优化方法,其特征在于:包括如下步骤:步骤一、构造界约束函数:式中β代表相对定向元素,β0为相对定向元素的初值;cj表示在初值基础上的偏移量;当β为直线元素bx时,cj取为c0;当β为角元素φ,ω,κ时,cj取为c1;δn为惩罚因子,μ为陡峭因子,τ为惩罚因子的指数;步骤二、对于n对同名像点,建立含有界约束的相对定向优化方程:β=(β0,β1,β2,β3,β4,β5);fi(β)=0β0=bx,β1=by,β2=bz,β4=ω,β5=ki=0,1,…,n-1
【专利技术属性】
技术研发人员:张征宇,刘明敏,王学源,邹易峰,周润,范金磊,
申请(专利权)人:中国空气动力研究与发展中心高速空气动力研究所,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。