Halcon相机标定之camera_calibration_single_image.hdev

本文通过示例展示了Halcon相机标定过程,分析了使用单一图像标定时,由于焦距误差和测量平面偏移导致的系统性测量误差。详细探讨了误差来源及公式,并给出了具体标定和测量的步骤。
摘要由CSDN通过智能技术生成

*在这个项目中,测量了一个尺子,这个尺子表面在标定板表下面2mm,推断结果,因为标定板离相机近,所以一个像素代表的实际距离会比较大,
*所以得到在尺子的表面上的像素到表的尺寸会偏大,所以标定结果比真实世界尺寸偏大

  • In this example, we measure a ruler whose surface is 2 mm below the
  • surface of the calibration plate used for calibration.
  • 当以单一一张图像标定时,相机和标定板之间的距离不能很清楚的得到
  • When calibrating with a single calibration image, ‘focus’ and ‘Z’
  • (the distance between camera and calibration plate) cannot be
  • determined unambiguously.
    *这就会导致系统性的测量误差
  • This leads to systematic measurement errors when measuring
  • outside of the calibration plane, e.g., if ‘set_origin_pose’ is used.
  • Initialization and introduction

*关闭更新
dev_update_off ()
*读取标定图像
read_image (CalibImage, ‘3d_machine_vision/calib/calib_image_01’)
*读取测量图像
read_image (MeasureImage, ‘3d_machine_vision/calib/ruler’)
*获取图像尺寸
get_image_size (Meas

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值