TOF系列--iTOF标定

        本篇文章主要介绍iTOF的标定内容,鉴于自身水平所限,如有错误,欢迎批评指正。(欢迎进Q群交流:874653199)

一、简介

         从iTOF芯片获取到原始数据后,需要将原始数据进行与标定参数进行一系列运算来获取深度图及点云数据。标定参数是指原始数据至深度图这一计算过程中必不可缺的参数。

        iTOF的标定主要可分为以下四部分:

        1.相机标定;

        2.Global and pixel-dependent offset;

        3.Cyclic error;

        4.Temperature drifts。

二、iTOF标定

         2.1 相机标定

           TOF模组由一个RX(接收端)和一个TX(发射端)组成,相机标定针对RX端进行,RX端与普通的RGB模组相似,所以TOF模组需要进行相机标定。相机标定使用 张正友相机标定法进行标定,标定板通常使用棋盘格。iTOF相机标定结果通常如下:

                f_{x},f_{y},c_{x},c_{y},k_{1},k_{2}

        fx,fy表示焦距,cx,cy表示像主点坐标,k1,k2表示径向畸变。由于切向畸变,径向畸变k3影响较小,且TOF精度要求没那么高,所以p1,p2,k3都不考虑。

        畸变校正公式如下:

         2.2  Global and pixel-dependent offset

        1.Calculate the distance at Lens model.

          

Lens model distance

        2.Calculate difference between measured depth maps to Lens model depth maps.
Bad data masked out. (Low signal strength, Noisy data and Edges)

        

Compare measured depth to known reference

        3.Combine 4 orientations into single image and fit polynomial surface to data.

        

Combine and fit polynomial surface

        Gradient error model fit

        2.3 Cyclic error

        Non-sinusoidal signal: harmonics alias due to under sampling(N=4)
        Changes in modulation waveform shape and emitted optical power between exposures

        Calculate the difference between the true phase and the measured phase while shifting the laser illumination timing with respect to the reference pulse. The error is modeled by fitting a Fourier series function of predefined order.

\phi _{m}=\phi _{t}+f\left ( \phi _{t} \right )

f\left ( \phi _{t} \right )= \phi _{m}- \phi _{t}

\phi _{m}:measured phase

\phi _{t}:true phase

f\left ( \phi _{t} \right ):cyclic error

                使用查表法对测量的相位进行校正,得到理想相位。

cyclic error

         2.4 Temperature drifts

        Effect of temperature on the illumination driver output signal。
        Calibration is currently using a linear temperature offset model. The phase depends linearly on multiple temperature sensors:

        It is necessary to measure phase versus temperature on subset of cameras of the one batch in oven before calibration.
        The coefficients are calculated from linear regression.

温度漂移

根据引用\[1\]中提到的,ToF技术在工业领域中有广泛的应用。而标定是将相机的内部参数和外部参数与实际世界的坐标系相对应的过程。因此,将ToF和工业相机联合标定可以实现将ToF相机的测距信息与工业相机的图像信息进行对应,从而实现更精确的测量和定位。 具体的联合标定过程可以参考以下步骤: 1. 准备标定板:使用一个已知尺寸和特征的标定板,如棋盘标定板。 2. 安装标定板:将标定板放置在工业相机ToF相机的视野范围内,确保标定板在不同位置和角度下都能被两个相机同时看到。 3. 拍摄图像:使用工业相机ToF相机分别拍摄标定板的图像。确保拍摄时两个相机的参数设置一致。 4. 提取特征点:对于工业相机的图像,可以使用传统的特征点提取算法,如SIFT或SURF。对于ToF相机的图像,可以使用相位偏移等方法提取特征点。 5. 匹配特征点:将工业相机ToF相机提取的特征点进行匹配,建立二者之间的对应关系。 6. 计算相机参数:使用标定板的已知尺寸和特征点的对应关系,通过相机标定算法计算工业相机ToF相机的内部参数和外部参数。 7. 验证标定结果:使用其他场景或物体进行验证,检查标定结果的准确性和稳定性。 通过以上步骤,可以实现ToF和工业相机的联合标定,从而将ToF相机的测距信息与工业相机的图像信息进行对应,为工业应用提供更精确的测量和定位能力。 #### 引用[.reference_title] - *1* *2* *3* [dToFiToF技术解析](https://blog.csdn.net/Yong_Qi2015/article/details/124958113)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值