HALCON标定之hand_eye_stationarycam_calibration.hdev

该示例详细说明了在相机静止而标定物体随机械手臂移动的情况下进行手眼标定的过程。目标是确定相机坐标系中机械手基座的位姿和工具坐标系中标定物体的位姿。为了获得高精度,建议使用至少10个不同角度的图像。标定物体的位姿通过静态相机捕获,然后利用这些信息进行手眼标定,计算出的变换矩阵用于计算物体在相机坐标系中的位姿。
摘要由CSDN通过智能技术生成

*这个示例演示如何进行相机机械手相对固定场合的手眼标定,标定物体附着在机械手臂上

  • This example explains how to use the hand eye calibration for the case where
  • the camera is stationary with respect to the robot and the calibration
  • object is attached to the robot arm.

*在这个案例中,手眼标定的目标是:确定两个未知的位姿
*1.机械手基座在相机坐标系的位姿BaseInCamPose
*2.标定物体在工具坐标系的位姿CalObjInToolPose)

  • In this case, the goal of the hand eye calibration
  • is to determine two unknown poses:
    • the pose of the robot base in the coordinate system
  • of the camera (BaseInCamPose).
    • the pose of the calibration object in the coordinate system of the
  • tool (CalObjInToolPose)

*理论上来说,至少需要三个标定物体在相机坐标系的位姿和对应的机械手工具在机械手坐标系的位姿
*但是,为了更高精度,推荐是至少10个位姿

  • Theoretically, as input the method needs at least 3 poses of the
  • calibration object in the camera coordinate system and the corresponding
  • poses of the robot tool in the coordinate system of the
  • robot base. However it is recommended
  • to use at least 10 Poses.
    *标定物体的位姿从静态相机拍摄的图片中得来
  • The poses of the calibration object are obtained from images of the
  • calibration object recorded with the stationary camera.
    *标定物体由机械手带动。
  • The calibration object is moved by the robot with respect to the camera.
    *为了获得高精度标定结果,推荐相对于相机定位标定物体,获取一些标定物体是倾斜的图片
  • To obtain good calibration results, it its essential to position
  • the calibration object with respect to the camera so that the object appears
  • tilted in the image.
    *手眼标定后,计算好的矩阵变换提取出来,用来计算标定物体在相机坐标系的位姿
  • After the hand eye calibration, the computed transformations are
  • extracted and used to compute the pose of the calibration object in the
  • camera coordinate system.
    dev_update_off ()
  • Directories with calibration images and data files
    ImageNameStart := ‘3d_machine_vision/hand_eye/stationarycam_calib3cm_’
    DataNameStart := ‘hand_eye/stationarycam_’
    NumImages := 17
  • Read image
    *读取图像
    read_i
  • 1
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值