*在这个项目中,测量了一个尺子,这个尺子表面在标定板表下面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