CN111028298A - Convergent binocular system for rigid coordinate system space transformation calibration - Google Patents

Convergent binocular system for rigid coordinate system space transformation calibration Download PDF

Info

Publication number
CN111028298A
CN111028298A CN201911304061.6A CN201911304061A CN111028298A CN 111028298 A CN111028298 A CN 111028298A CN 201911304061 A CN201911304061 A CN 201911304061A CN 111028298 A CN111028298 A CN 111028298A
Authority
CN
China
Prior art keywords
rigid body
calibrated
camera
coordinate system
sliding table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911304061.6A
Other languages
Chinese (zh)
Other versions
CN111028298B (en
Inventor
李长乐
张雷锋
张学贺
范逸伦
赵杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology Shenzhen
Original Assignee
Harbin Institute of Technology Shenzhen
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Institute of Technology Shenzhen filed Critical Harbin Institute of Technology Shenzhen
Priority to CN201911304061.6A priority Critical patent/CN111028298B/en
Publication of CN111028298A publication Critical patent/CN111028298A/en
Application granted granted Critical
Publication of CN111028298B publication Critical patent/CN111028298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • G06T7/85Stereo camera calibration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30244Camera pose

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

一种用于刚体坐标系空间变换标定的汇聚式双目系统,属于刚体坐标系空间变换定位技术领域。本发明解决了现有刚性差的工具在进行标系空间变换标定时,仍然存在标定速度慢、准确性差的问题。本发明主要采用汇聚式双目系统,两个相机以光轴相交形式放置,调整两个相机的相对位姿可以灵活地改变相交视觉空间的大小,以适应不同刚体的尺寸和标定分辨率需求,通过相关的相机标定技术,建立相机空间坐标系,通过一定的图像处理算法可以精确表示放入相交视觉测量空间的任意一点的相机空间坐标,控制刚体进行一定步骤的平移运动和旋转运动即可建立与刚体相关联的关键点坐标系在已知坐标系中的位姿。本发明适用于对刚体的位置姿态进行标定。

Figure 201911304061

The invention discloses a convergent binocular system used for the calibration of rigid body coordinate system space transformation, belonging to the technical field of rigid body coordinate system space transformation and positioning. The invention solves the problems of slow calibration speed and poor accuracy when the existing tool with poor rigidity performs the calibration of the calibration system space transformation. The present invention mainly adopts a convergent binocular system, two cameras are placed in the form of intersecting optical axes, and adjusting the relative poses of the two cameras can flexibly change the size of the intersecting visual space to adapt to the size and calibration resolution requirements of different rigid bodies, Through the relevant camera calibration technology, the camera space coordinate system is established. Through certain image processing algorithms, the camera space coordinates of any point in the intersecting visual measurement space can be accurately represented, and the rigid body can be controlled to perform certain steps of translation and rotation. The pose of the keypoint coordinate system associated with the rigid body in a known coordinate system. The invention is suitable for calibrating the position and attitude of the rigid body.

Figure 201911304061

Description

一种用于刚体坐标系空间变换标定的汇聚式双目系统A Converged Binocular System for Calibration of Rigid Body Coordinate System Space Transformation

技术领域technical field

本发明属于刚体坐标系空间变换定位技术领域,具体涉及一种用于刚体坐标系空间变换标定的汇聚式双目系统。The invention belongs to the technical field of rigid body coordinate system space transformation and positioning, and particularly relates to a convergent binocular system used for rigid body coordinate system space transformation calibration.

背景技术Background technique

刚体坐标系空间变换是刚体运动学的基础,在机器人领域,刚体坐标系空间变换的准确与否直接影响机器人的工作性能,由于机械制造与装配的误差导致设计尺寸与实际尺寸不符,因此机器人在投入使用前必须进行运动学标定,通常生产厂家会使用激光跟踪仪通过规范的步骤和稳健的算法计算出实际的关键尺寸,以保证机器人的性能,但是用户所使用的末端工具千差万别,如何经济快速地标定末端工具的关键点与机器人末端法兰中心的坐标转换关系一直以来没有较为通用的解决方案。在手术机器人导航领域,红外光学导航是最为普遍的技术,但是红外光学导航系统一般只能精准跟踪生产厂家提供的标准工具,因而使用过程中通常是将标准工具固连在实际使用的工具上,对于形状简单刚性较好的工具,一些厂家提出了方便快捷的主点旋转校准法实现标准工具坐标系与实际使用工具关键点坐标系之间的精确转换,但是对于形状复杂,刚性较差的工具仍然存在标定速度慢、准确性差的问题。The space transformation of rigid body coordinate system is the basis of rigid body kinematics. In the field of robotics, the accuracy of the space transformation of rigid body coordinate system directly affects the working performance of the robot. Due to the error of mechanical manufacturing and assembly, the design size does not match the actual size. Kinematics calibration must be performed before being put into use. Usually, the manufacturer will use the laser tracker to calculate the actual key dimensions through standardized steps and robust algorithms to ensure the performance of the robot. However, the end tools used by users vary widely, how to be economical and fast There has been no general solution for the coordinate transformation relationship between the key points of the end tool and the center of the robot end flange. In the field of surgical robot navigation, infrared optical navigation is the most common technology, but the infrared optical navigation system can generally only accurately track the standard tools provided by the manufacturer, so the standard tools are usually fixed on the actual tools during use. For tools with simple shapes and good rigidity, some manufacturers have proposed a convenient and quick principal point rotation calibration method to achieve accurate conversion between the standard tool coordinate system and the actual tool key point coordinate system, but for tools with complex shapes and poor rigidity There are still problems of slow calibration speed and poor accuracy.

发明内容SUMMARY OF THE INVENTION

本发明是为了现有刚性差的工具在进行标系空间变换标定时,仍然存在标定速度慢、准确性差的问题。提出了一种用于刚体坐标系空间变换标定的汇聚式双目系统。The present invention is for the problems of slow calibration speed and poor accuracy when the existing tool with poor rigidity is performing the calibration space transformation and calibration. A convergent binocular system for calibration of rigid body coordinate system space transformation is proposed.

本发明所述的一种用于刚体坐标系空间变换标定的汇聚式双目系统,该系统包括相机a1、两个平面光源2、两个光源固定板3、十字调整台a、十字调整台b、相机b5、基座8和上位机9;A convergent binocular system for spatial transformation and calibration of a rigid coordinate system according to the present invention includes a camera a1, two plane light sources 2, two light source fixing plates 3, a cross adjustment table a, and a cross adjustment table b , camera b5, base 8 and host computer 9;

十字调整台a包括纵向滑台a10和横向滑台a11;横向滑台a11设置在纵向滑台a10的上侧,所述横向滑台a11的滑动方向与纵向滑台a10的滑动方向垂直;The cross adjustment table a includes a longitudinal sliding table a10 and a transverse sliding table a11; the transverse sliding table a11 is arranged on the upper side of the longitudinal sliding table a10, and the sliding direction of the transverse sliding table a11 is perpendicular to the sliding direction of the longitudinal sliding table a10;

十字调整台b包括横向滑台b6和纵向滑台b7;横向滑台b6设置在纵向滑台b7上,所述横向滑台b6的滑动方向与纵向滑台b7的滑动方向垂直;The cross adjustment table b includes a transverse sliding table b6 and a longitudinal sliding table b7; the transverse sliding table b6 is arranged on the longitudinal sliding table b7, and the sliding direction of the transverse sliding table b6 is perpendicular to the sliding direction of the longitudinal sliding table b7;

十字调整台a、十字调整台b和两个光源固定板3均固定在基座8的上表面,围成视觉测量空间;所述视觉测量空间用于放置待标定刚体;The cross adjustment table a, the cross adjustment table b and the two light source fixing plates 3 are all fixed on the upper surface of the base 8 to form a visual measurement space; the visual measurement space is used to place the rigid body to be calibrated;

纵向滑台a10的滑动方向与纵向滑台b7的滑动方向垂直;The sliding direction of the longitudinal sliding table a10 is perpendicular to the sliding direction of the longitudinal sliding table b7;

横向滑台a11的滑动方向与横向滑台b6的滑动方向垂直;The sliding direction of the lateral slide a11 is perpendicular to the sliding direction of the lateral slide b6;

两个光源固定板3相邻设置,所述两个光源固定板3均固定有平面光源2;Two light source fixing plates 3 are arranged adjacently, and the two light source fixing plates 3 are both fixed with the plane light source 2;

纵向滑台a10和纵向滑台b7的滑动方向分别与两个光源固定板3垂直;The sliding directions of the longitudinal sliding table a10 and the longitudinal sliding table b7 are respectively perpendicular to the two light source fixing plates 3;

横向滑台a11上固定有相机a1,所述相机a1的拍摄面与一个平面光源相对;A camera a1 is fixed on the lateral slide a11, and the shooting surface of the camera a1 is opposite to a plane light source;

横向滑台b6上固定有相机b5,所述相机b5的拍摄面与另一个平面光源相对;相机b5和相机a1用于对视觉测量空间内待标定刚体进行图像采集;A camera b5 is fixed on the lateral slide b6, and the shooting surface of the camera b5 is opposite to another plane light source; the camera b5 and the camera a1 are used for image acquisition of the rigid body to be calibrated in the visual measurement space;

相机b5和相机a1分别将采集的待标定刚体的图像上传至上位机9;The camera b5 and the camera a1 upload the collected images of the rigid body to be calibrated to the host computer 9 respectively;

采用四个电机一一对应控制横向滑台b6、纵向滑台b7、纵向滑台a10和横向滑台a11;Four motors are used to control the lateral slide b6, the longitudinal slide b7, the longitudinal slide a10 and the lateral slide a11 in one-to-one correspondence;

上位机9用于对待标定刚体4图像进行三维形状的快速匹配,计算出待标定的关键点在视觉测量空间的坐标,利用刚体不同位姿的图片,获取多组关键点在视觉测量空间的坐标与多组刚体某确定点在外部已知坐标系的坐标,进而获得视觉测量空间与外部已知坐标系的对应关系,从而计算出与待标定刚体相关联的关键点在外部已知坐标系中的位置。The host computer 9 is used to quickly match the three-dimensional shape of the image of the rigid body 4 to be calibrated, calculate the coordinates of the key points to be calibrated in the visual measurement space, and use the pictures of different poses of the rigid body to obtain the coordinates of multiple sets of key points in the visual measurement space. The coordinates of a certain point of the rigid body in the known external coordinate system with multiple groups of rigid bodies, and then obtain the corresponding relationship between the visual measurement space and the external known coordinate system, so as to calculate the key points associated with the rigid body to be calibrated in the external known coordinate system. s position.

进一步地,上位机9还用于判断待标定刚体图像的像素面积占全部幅面的比例,当比例未处于比例阈值区间内时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a10、纵向滑台b7、横向滑台b6或纵向滑台b7中的一个或多个移动,直至待标定刚体图像的像素面积占全部幅面的比例处于比例阈值区间内位置。Further, the host computer 9 is also used to judge the ratio of the pixel area of the rigid body image to be calibrated to the entire width, and when the ratio is not within the ratio threshold range, send control signals to one or more of the four motors to control the longitudinal direction. One or more of the slide a10, the vertical slide b7, the horizontal slide b6, or the vertical slide b7 are moved until the ratio of the pixel area of the rigid body image to be calibrated to the entire frame is within the proportional threshold range.

进一步地,待标定刚体图像的像素面积占全部幅面的比例阈值区间为30%-50%。Further, the threshold range of the ratio of the pixel area of the rigid body image to be calibrated to the entire width is 30%-50%.

进一步地,四个电机的控制信号输入端端分别通过数据线与上位机9连接;Further, the control signal input ends of the four motors are respectively connected with the host computer 9 through data lines;

上位机9还用于判断待标定刚体4在图像中是否完整,当待标定刚体4在图像中不完整时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a10、纵向滑台b7、横向滑台b6或纵向滑台b7中的一个或多个移动,直至获得完整的待标定刚体图像。The host computer 9 is also used to judge whether the rigid body 4 to be calibrated is complete in the image, and when the rigid body 4 to be calibrated is incomplete in the image, it sends control signals to one or more of the four motors to control the longitudinal slides a10, One or more of the longitudinal slide b7, the lateral slide b6 or the longitudinal slide b7 are moved until a complete image of the rigid body to be calibrated is obtained.

本发明所述的用于刚体坐标系空间变换标定的汇聚式双目系统,快速精准地校准与刚体相关联的关键点坐标系在已知坐标系中的位姿。本发明主要采用汇聚式双目系统,两个相机以光轴相交形式放置,调整两个相机的相对位姿可以灵活地改变相交视觉空间的大小,以适应不同刚体的尺寸和标定分辨率需求,通过相关的相机标定技术,建立相机空间坐标系,通过一定的图像处理算法可以精确表示放入相交视觉测量空间的任意一点的相机空间坐标,控制刚体进行一定步骤的平移运动和旋转运动即可建立与刚体相关联的关键点坐标系在已知坐标系中的位姿(位置姿态)。本发明具有灵敏度高,测量空间可调整,易用性强,使用范围广等优点,有效降低了标定过程的成本,提高了标定效率和标定精度。The convergent binocular system used for the spatial transformation and calibration of the rigid body coordinate system of the present invention can quickly and accurately calibrate the pose of the key point coordinate system associated with the rigid body in the known coordinate system. The present invention mainly adopts a convergent binocular system, two cameras are placed in the form of intersecting optical axes, and adjusting the relative poses of the two cameras can flexibly change the size of the intersecting visual space to adapt to the size and calibration resolution requirements of different rigid bodies, Through the relevant camera calibration technology, the camera space coordinate system is established. Through certain image processing algorithms, the camera space coordinates of any point in the intersecting visual measurement space can be accurately represented, and the rigid body can be controlled to perform certain steps of translation and rotation. The pose (position pose) of the keypoint coordinate system associated with the rigid body in a known coordinate system. The invention has the advantages of high sensitivity, adjustable measurement space, strong usability, wide application range, etc., effectively reduces the cost of the calibration process, and improves the calibration efficiency and calibration accuracy.

附图说明Description of drawings

图1是本发明所述用于刚体坐标系空间变换标定的汇聚式双目系统的结构示意图;FIG. 1 is a schematic structural diagram of a convergent binocular system for calibration of rigid body coordinate system space transformation according to the present invention;

图2至图4是调整相机a、或相机b位置视觉测量空间位置、尺寸变化示意图;其中,2 to 4 are schematic diagrams of adjusting the position of the camera a or the position of the camera b to visually measure the spatial position and size change; wherein,

图2是相机a与相机b与待标定刚体的距离相等时视觉测量空间位置、尺寸示意图;Figure 2 is a schematic diagram of the spatial position and size of visual measurement when the distances between camera a and camera b and the rigid body to be calibrated are equal;

图3是相机a与待标定刚体的距离大于相机b与待标定刚体的距离时视觉测量空间位置、尺寸示意图;3 is a schematic diagram of the spatial position and size of visual measurement when the distance between the camera a and the rigid body to be calibrated is greater than the distance between the camera b and the rigid body to be calibrated;

图4是相机a与待标定刚体的距离小于相机b与待标定刚体的距离时视觉测量空间位置、尺寸示意图。4 is a schematic diagram of the spatial position and size of visual measurement when the distance between the camera a and the rigid body to be calibrated is smaller than the distance between the camera b and the rigid body to be calibrated.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.

下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The present invention will be further described below with reference to the accompanying drawings and specific embodiments, but it is not intended to limit the present invention.

具体实施方式一:下面结合图1和图2说明本实施方式,本实施方式所述一种用于刚体坐标系空间变换标定的汇聚式双目系统,该系统包括相机a1、两个平面光源2、两个光源固定板3、十字调整台a、十字调整台b、相机b5、基座8和上位机9;Embodiment 1: The present embodiment is described below with reference to FIG. 1 and FIG. 2 . The present embodiment describes a convergent binocular system for spatial transformation and calibration of a rigid coordinate system. The system includes a camera a1 and two plane light sources 2 , two light source fixing plates 3, a cross adjustment table a, a cross adjustment table b, a camera b5, a base 8 and a host computer 9;

十字调整台a包括纵向滑台a10和横向滑台a11;横向滑台a11设置在纵向滑台a10的上侧,所述横向滑台a11的滑动方向与纵向滑台a10的滑动方向垂直;The cross adjustment table a includes a longitudinal sliding table a10 and a transverse sliding table a11; the transverse sliding table a11 is arranged on the upper side of the longitudinal sliding table a10, and the sliding direction of the transverse sliding table a11 is perpendicular to the sliding direction of the longitudinal sliding table a10;

十字调整台b包括横向滑台b6和纵向滑台b7;横向滑台b6设置在纵向滑台b7上,所述横向滑台b6的滑动方向与纵向滑台b7的滑动方向垂直;The cross adjustment table b includes a transverse sliding table b6 and a longitudinal sliding table b7; the transverse sliding table b6 is arranged on the longitudinal sliding table b7, and the sliding direction of the transverse sliding table b6 is perpendicular to the sliding direction of the longitudinal sliding table b7;

十字调整台a、十字调整台b和两个光源固定板3均固定在基座8的上表面,围成视觉测量空间;所述视觉测量空间用于放置待标定刚体;The cross adjustment table a, the cross adjustment table b and the two light source fixing plates 3 are all fixed on the upper surface of the base 8 to form a visual measurement space; the visual measurement space is used to place the rigid body to be calibrated;

纵向滑台a10的滑动方向与纵向滑台b7的滑动方向垂直;The sliding direction of the longitudinal sliding table a10 is perpendicular to the sliding direction of the longitudinal sliding table b7;

横向滑台a11的滑动方向与横向滑台b6的滑动方向垂直;The sliding direction of the lateral slide a11 is perpendicular to the sliding direction of the lateral slide b6;

两个光源固定板3相邻设置,所述两个光源固定板3均固定有平面光源2;Two light source fixing plates 3 are arranged adjacently, and the two light source fixing plates 3 are both fixed with the plane light source 2;

纵向滑台a10和纵向滑台b7的滑动方向分别与两个光源固定板3垂直;The sliding directions of the longitudinal sliding table a10 and the longitudinal sliding table b7 are respectively perpendicular to the two light source fixing plates 3;

横向滑台a11上固定有相机a1,所述相机a1的拍摄面与一个平面光源相对;A camera a1 is fixed on the lateral slide a11, and the shooting surface of the camera a1 is opposite to a plane light source;

横向滑台b6上固定有相机b5,所述相机b5的拍摄面与另一个平面光源相对;相机b5和相机a1用于对视觉测量空间内待标定刚体进行图像采集;A camera b5 is fixed on the lateral slide b6, and the shooting surface of the camera b5 is opposite to another plane light source; the camera b5 and the camera a1 are used for image acquisition of the rigid body to be calibrated in the visual measurement space;

相机b5和相机a1分别将采集的待标定刚体的图像上传至上位机9;The camera b5 and the camera a1 upload the collected images of the rigid body to be calibrated to the host computer 9 respectively;

采用四个电机一一对应控制横向滑台b6、纵向滑台b7、纵向滑台a10和横向滑台a11;Four motors are used to control the lateral slide b6, the longitudinal slide b7, the longitudinal slide a10 and the lateral slide a11 in one-to-one correspondence;

上位机9用于待标定刚体4图像进行三维形状的快速匹配,计算出待标定的关键点在视觉测量空间的坐标,利用刚体不同位姿的图片,获取多组关键点在视觉测量空间的坐标与多组刚体某确定点在外部已知坐标系的坐标,进而获得视觉测量空间与外部已知坐标系的对应关系,从而计算出与待标定刚体相关联的关键点在外部已知坐标系中的位置。The host computer 9 is used to quickly match the three-dimensional shape of the image of the rigid body 4 to be calibrated, calculate the coordinates of the key points to be calibrated in the visual measurement space, and use the pictures of different poses of the rigid body to obtain the coordinates of multiple sets of key points in the visual measurement space. The coordinates of a certain point of the rigid body in the known external coordinate system with multiple groups of rigid bodies, and then obtain the corresponding relationship between the visual measurement space and the external known coordinate system, so as to calculate the key points associated with the rigid body to be calibrated in the external known coordinate system. s position.

进一步地,上位机9还用于判断待标定刚体图像的像素面积占全部幅面的比例,当比例未处于比例阈值区间内时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a10、纵向滑台b7、横向滑台b6或纵向滑台b7中的一个或多个移动,直至待标定刚体图像的像素面积占全部幅面的比例处于比例阈值区间位置。Further, the host computer 9 is also used to judge the ratio of the pixel area of the rigid body image to be calibrated to the entire width, and when the ratio is not within the ratio threshold range, send control signals to one or more of the four motors to control the longitudinal direction. One or more of the sliding table a10, the vertical sliding table b7, the horizontal sliding table b6 or the vertical sliding table b7 are moved until the ratio of the pixel area of the rigid body image to be calibrated to the entire frame is at the proportional threshold interval position.

进一步地,待标定刚体图像的像素面积占全部幅面的比例阈值区间为30%-50%。Further, the threshold range of the ratio of the pixel area of the rigid body image to be calibrated to the entire width is 30%-50%.

进一步地,四个电机的控制信号输入端端分别通过数据线与上位机9连接;Further, the control signal input ends of the four motors are respectively connected with the host computer 9 through data lines;

上位机9还用于判断待标定刚体4在图像中是否完整,当待标定刚体4在图像中不完整时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a10、纵向滑台b7、横向滑台b6或纵向滑台b7中的一个或多个移动,直至获得完整的待标定刚体图像。The host computer 9 is also used to judge whether the rigid body 4 to be calibrated is complete in the image, and when the rigid body 4 to be calibrated is incomplete in the image, it sends control signals to one or more of the four motors to control the longitudinal slides a10, One or more of the longitudinal slide b7, the lateral slide b6 or the longitudinal slide b7 are moved until a complete image of the rigid body to be calibrated is obtained.

本发明所述的上位机包括图像处理模块,所述图像处理模块对接收的待标定刚体的图像进行图像处理,首先根据拍摄图像与待标定刚体的大小灵活调整两个相机的位置以适应不同形状与大小的待标定刚体,同时判断采集的待标定刚体是否完整时,只需要进行图像对比即可,原理如图2至图4所示,为简化分析,假设两台相机水平放置,仅考虑像素级的空间点的定位问题,单个像元所对应的的空间点的大小由两相机光心处发出的单个像元边界的射线相交组成,仅分析单行像元(多行像元类似),其相交部分呈四边形,该四边形的大小即为分辨率,由于测量空间内各点分辨率不同,单均与光心处的像元的分辨率相关,分辨率调整时,相机a向右移动,测量空间整体缩小并向靠近相机b的方向移动,分辨率提高,同时测量空间变狭长,适用于形状狭长的刚体;两相机同时沿着另外一个相机的光心方向靠近,测量空间整体大幅度缩小,进一步提高分辨率,适用于待测量刚体较小但是精度较高的场合。The host computer of the present invention includes an image processing module, the image processing module performs image processing on the received image of the rigid body to be calibrated, and firstly adjusts the positions of the two cameras flexibly according to the size of the captured image and the rigid body to be calibrated to adapt to different shapes When judging whether the collected rigid body to be calibrated is complete, it is only necessary to compare the images. The principle is shown in Figure 2 to Figure 4. To simplify the analysis, it is assumed that the two cameras are placed horizontally and only pixels are considered. The localization problem of spatial point at the level of 1. The size of the spatial point corresponding to a single pixel is composed of the intersection of rays at the boundary of a single pixel emitted at the optical center of the two cameras. Only a single row of pixels (similar to multiple rows of pixels) is analyzed. The intersecting part is a quadrilateral, and the size of the quadrilateral is the resolution. Since the resolution of each point in the measurement space is different, the unit is related to the resolution of the pixel at the optical center. When the resolution is adjusted, the camera a moves to the right, and the measurement The overall space shrinks and moves toward the direction of camera b, the resolution is improved, and the measurement space becomes narrower and longer, which is suitable for rigid bodies with narrow and long shapes; the two cameras are approached along the optical center of the other camera at the same time, and the overall measurement space is greatly reduced. To further improve the resolution, it is suitable for occasions where the rigid body to be measured is small but the precision is high.

显然针对较大的待标定刚体具有较低的分辨率,通过对图像进行分析,计算待标定刚体各个姿态下所占相机拍摄幅面的像素面积比例,确保其在50%以下30%以上,以保证待标定刚体有足够的运动空间以及一定的测量精度,当高于50%时系统控制电机远离待标定刚体,当低于30%时系统控制电机靠近待标定刚体,然后进行系统的内参与外参标定,最后利用两个相机所组成的立体视觉系统进行三维形状的快速匹配,并计算出待标定的关键点在立体视觉系统的坐标,通过刚体执行一定的运动从而获取到多组关键点在立体视觉系统的坐标与刚体上某确定点在外部已知坐标系中的位姿的对应关系,从而计算出与待标定刚体相关联的关键点坐标系在外部已知坐标系中的位姿。Obviously, the larger rigid body to be calibrated has a lower resolution. By analyzing the image, calculate the pixel area ratio of the camera shooting format occupied by the rigid body to be calibrated in each posture, and ensure that it is below 50% and more than 30% to ensure that The rigid body to be calibrated has enough movement space and a certain measurement accuracy. When it is higher than 50%, the system controls the motor to stay away from the rigid body to be calibrated. When it is lower than 30%, the system controls the motor to approach the rigid body to be calibrated, and then conducts the internal and external parameters of the system. Calibration, and finally use the stereo vision system composed of two cameras to quickly match the three-dimensional shape, and calculate the coordinates of the key points to be calibrated in the stereo vision system, and perform a certain movement through the rigid body to obtain multiple sets of key points in the stereo. The corresponding relationship between the coordinates of the vision system and the pose of a certain point on the rigid body in the external known coordinate system, so as to calculate the pose of the key point coordinate system associated with the rigid body to be calibrated in the external known coordinate system.

使用过程中,首先将待标定刚体4放入视觉测量空间(即两相机拍摄空间交汇的空间),分别调整横向滑台b6、.纵向滑台b7、纵向滑台a10和横向滑台a11使得待标定刚体4位于视觉测量空间合适的位置,外部控制待标定刚体4在视觉测量空间中移动至标定所需的所有位姿,并通过相机a1和相机b5对其进行拍照并将数据传送至上位机9,通过图像处理算法对拍摄的所有位姿的图片进行处理,计算出与待标定刚体4相关联的关键点坐标系在外部已知坐标系中的位姿。During use, first put the rigid body 4 to be calibrated into the visual measurement space (that is, the space where the shooting spaces of the two cameras meet), and adjust the horizontal slide table b6, the vertical slide table b7, the vertical slide table a10, and the horizontal slide table a11 respectively. The calibration rigid body 4 is located at a suitable position in the visual measurement space, and the rigid body 4 to be calibrated is externally controlled to move to all poses required for calibration in the visual measurement space, and the camera a1 and camera b5 are used to take pictures and transmit the data to the host computer 9 , the images of all the poses are processed through the image processing algorithm, and the poses of the key point coordinate system associated with the rigid body 4 to be calibrated in the external known coordinate system are calculated.

虽然在本文中参照了特定的实施方式来描述本发明,但是应该理解的是,这些实施例仅仅是本发明的原理和应用的示例。因此应该理解的是,可以对示例性的实施例进行许多修改,并且可以设计出其他的布置,只要不偏离所附权利要求所限定的本发明的精神和范围。应该理解的是,可以通过不同于原始权利要求所描述的方式来结合不同的从属权利要求和本文中所述的特征。还可以理解的是,结合单独实施例所描述的特征可以使用在其他所述实施例中。Although the invention has been described herein with reference to specific embodiments, it should be understood that these embodiments are merely illustrative of the principles and applications of the invention. It should therefore be understood that many modifications may be made to the exemplary embodiments and other arrangements can be devised without departing from the spirit and scope of the invention as defined by the appended claims. It should be understood that the features described in the various dependent claims and herein may be combined in different ways than are described in the original claims. It will also be appreciated that features described in connection with a single embodiment may be used in other described embodiments.

Claims (4)

1.一种用于刚体坐标系空间变换标定的汇聚式双目系统,其特征在于,该系统包括相机a(1)、两个平面光源(2)、两个光源固定板(3)、十字调整台a、十字调整台b、相机b(5)、基座(8)和上位机(9);1. A convergent binocular system for spatial transformation and calibration of a rigid body coordinate system, characterized in that the system comprises a camera a (1), two plane light sources (2), two light source fixing plates (3), a cross Adjustment table a, cross adjustment table b, camera b (5), base (8) and upper computer (9); 十字调整台a包括纵向滑台a(10)和横向滑台a(11);横向滑台a(11)设置在纵向滑台a(10)的上侧,所述横向滑台a(11)的滑动方向与纵向滑台a(10)的滑动方向垂直;The cross adjustment table a includes a longitudinal sliding table a (10) and a transverse sliding table a (11); the transverse sliding table a (11) is arranged on the upper side of the longitudinal sliding table a (10), and the transverse sliding table a (11) The sliding direction of is perpendicular to the sliding direction of the longitudinal sliding table a (10); 十字调整台b包括横向滑台b(6)和纵向滑台b(7);横向滑台b(6)设置在纵向滑台b(7)上,所述横向滑台b(6)的滑动方向与纵向滑台b(7)的滑动方向垂直;The cross adjustment table b includes a transverse sliding table b(6) and a longitudinal sliding table b(7); the transverse sliding table b(6) is arranged on the longitudinal sliding table b(7), and the sliding table b(6) slides The direction is perpendicular to the sliding direction of the longitudinal sliding table b(7); 十字调整台a、十字调整台b和两个光源固定板(3)均固定在基座(8)的上表面,围成视觉测量空间;所述视觉测量空间用于放置待标定刚体;The cross adjustment table a, the cross adjustment table b and the two light source fixing plates (3) are all fixed on the upper surface of the base (8) to form a visual measurement space; the visual measurement space is used for placing the rigid body to be calibrated; 纵向滑台a(10)的滑动方向与纵向滑台b(7)的滑动方向垂直;The sliding direction of the longitudinal sliding table a (10) is perpendicular to the sliding direction of the longitudinal sliding table b (7); 横向滑台a(11)的滑动方向与横向滑台b(6)的滑动方向垂直;The sliding direction of the lateral slide a (11) is perpendicular to the sliding direction of the lateral slide b (6); 两个光源固定板(3)相邻设置,所述两个光源固定板(3)均固定有平面光源(2);Two light source fixing plates (3) are arranged adjacently, and the two light source fixing plates (3) are both fixed with a plane light source (2); 纵向滑台a(10)和纵向滑台b(7)的滑动方向分别与两个光源固定板(3)垂直;The sliding directions of the longitudinal sliding table a (10) and the longitudinal sliding table b (7) are respectively perpendicular to the two light source fixing plates (3); 横向滑台a(11)上固定有相机a(1),所述相机a(1)的拍摄面与一个平面光源相对;A camera a (1) is fixed on the lateral slide a (11), and the shooting surface of the camera a (1) is opposite to a plane light source; 横向滑台b(6)上固定有相机b(5),所述相机b(5)的拍摄面与另一个平面光源相对;相机b(5)和相机a(1)用于对视觉测量空间内待标定刚体进行图像采集;A camera b(5) is fixed on the lateral sliding table b(6), and the shooting surface of the camera b(5) is opposite to another plane light source; the camera b(5) and the camera a(1) are used for visual measurement of the space The rigid body to be calibrated is used for image acquisition; 相机b(5)和相机a(1)分别将采集的待标定刚体的图像上传至上位机(9);The camera b (5) and the camera a (1) respectively upload the collected images of the rigid body to be calibrated to the upper computer (9); 采用四个电机一一对应控制横向滑台b(6)、纵向滑台b(7)、纵向滑台a(10)和横向滑台a(11);Four motors are used to control the transverse slide table b (6), the longitudinal slide table b (7), the longitudinal slide table a (10) and the transverse slide table a (11) in one-to-one correspondence; 上位机(9)用于对待标定刚体(4)图像进行三维形状的快速匹配,计算出待标定的关键点在视觉测量空间的坐标,利用刚体不同位姿的图片,获取多组关键点在视觉测量空间的坐标与多组刚体某确定点在外部已知坐标系的坐标,进而获得视觉测量空间与外部已知坐标系的对应关系,从而计算出与待标定刚体相关联的关键点在外部已知坐标系中的位置。The upper computer (9) is used to quickly match the three-dimensional shape of the image of the rigid body to be calibrated (4), calculate the coordinates of the key points to be calibrated in the visual measurement space, and use the pictures of different poses of the rigid body to obtain multiple sets of key points in the visual field. The coordinates of the measurement space and the coordinates of a certain point of multiple sets of rigid bodies in the external known coordinate system, and then the corresponding relationship between the visual measurement space and the external known coordinate system is obtained, and the key points associated with the rigid body to be calibrated are calculated. position in the coordinate system. 2.根据权利要求1所述一种用于刚体坐标系空间变换标定的汇聚式双目系统,其特征在于,上位机(9)还用于判断待标定刚体图像的像素面积占全部幅面的比例,当比例未处于比例阈值区间内时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a(10)、纵向滑台b(7)、横向滑台b(6)或纵向滑台b(7)中的一个或多个移动,直至待标定刚体图像的像素面积占全部幅面的比例处于比例阈值区间内为止。2. a kind of convergent binocular system for rigid body coordinate system space transformation calibration according to claim 1, is characterized in that, host computer (9) is also used for judging the ratio that the pixel area of rigid body image to be calibrated accounts for the whole width , when the ratio is not within the ratio threshold range, send control signals to one or more of the four motors to control the longitudinal slide a (10), the longitudinal slide b (7), and the lateral slide b (6) Or one or more of the vertical slides b(7) are moved until the ratio of the pixel area of the rigid body image to be calibrated to the entire frame is within the proportional threshold range. 3.根据权利要求2所述一种用于刚体坐标系空间变换标定的汇聚式双目系统,其特征在于,待标定刚体图像的像素面积占全部幅面的比例阈值区间为30%-50%。3 . The convergent binocular system for spatial transformation and calibration of rigid body coordinate system according to claim 2 , wherein the pixel area of the rigid body image to be calibrated accounts for the proportion of the entire width of the image, and the threshold range is 30%-50%. 4 . 4.根据权利要求1所述一种用于刚体坐标系空间变换标定的汇聚式双目系统,其特征在于,四个电机的控制信号输入端端分别通过数据线与上位机(9)连接;4. a kind of convergent binocular system for rigid body coordinate system space transformation calibration according to claim 1, is characterized in that, the control signal input end of four motors is respectively connected with host computer (9) by data line; 上位机(9)还用于判断待标定刚体(4)在图像中是否完整,当待标定刚体(4)在图像中不完整时,分别向四个电机中的一个或多个发送控制信号,控制纵向滑台a(10)、纵向滑台b(7)、横向滑台b(6)或纵向滑台b(7)中的一个或多个移动,直至获得完整的待标定刚体图像。The host computer (9) is also used for judging whether the rigid body (4) to be calibrated is complete in the image, and when the rigid body (4) to be calibrated is incomplete in the image, it sends a control signal to one or more of the four motors, respectively, One or more of the longitudinal slide a (10), the longitudinal slide b (7), the lateral slide b (6) or the longitudinal slide b (7) are controlled to move until a complete image of the rigid body to be calibrated is obtained.
CN201911304061.6A 2019-12-17 2019-12-17 A converging binocular system for space transformation calibration of rigid body coordinate system Active CN111028298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304061.6A CN111028298B (en) 2019-12-17 2019-12-17 A converging binocular system for space transformation calibration of rigid body coordinate system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304061.6A CN111028298B (en) 2019-12-17 2019-12-17 A converging binocular system for space transformation calibration of rigid body coordinate system

Publications (2)

Publication Number Publication Date
CN111028298A true CN111028298A (en) 2020-04-17
CN111028298B CN111028298B (en) 2023-02-03

Family

ID=70209691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304061.6A Active CN111028298B (en) 2019-12-17 2019-12-17 A converging binocular system for space transformation calibration of rigid body coordinate system

Country Status (1)

Country Link
CN (1) CN111028298B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112923849A (en) * 2021-01-27 2021-06-08 长春涵智科技有限公司 Space positioning method and system based on contour sensor
CN115727856A (en) * 2022-10-31 2023-03-03 哈尔滨工业大学(威海) Satellite remote sensing image self-adaptive correction method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11248421A (en) * 1998-03-04 1999-09-17 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for tracking moving bodies
JP2004157999A (en) * 2002-10-18 2004-06-03 D Link Corp Method for transforming spatial image and method for sending it in real time
US20050078304A1 (en) * 2003-10-09 2005-04-14 Dorrance Daniel R. Common reference target machine vision wheel alignment system
CN101825439A (en) * 2010-03-25 2010-09-08 天津大学 Multi-camera combination based method for online measuring engine cylinder combination face hole group
CN103954221A (en) * 2014-05-08 2014-07-30 哈尔滨工业大学 Binocular photogrammetry method of large flexible structure vibration displacement
US20150110347A1 (en) * 2013-10-22 2015-04-23 Fujitsu Limited Image processing device and image processing method
CN105593659A (en) * 2013-08-19 2016-05-18 实耐宝公司 Improved motor control system for self-calibrating multi-camera alignment system
CN106097367A (en) * 2016-06-21 2016-11-09 北京格灵深瞳信息技术有限公司 The scaling method of a kind of binocular solid camera and device
CN106780625A (en) * 2016-12-19 2017-05-31 南京天祥智能设备科技有限公司 Many mesh camera calibration devices
CN107292927A (en) * 2017-06-13 2017-10-24 厦门大学 A kind of symmetric motion platform's position and pose measuring method based on binocular vision
CN108051333A (en) * 2017-11-21 2018-05-18 江苏大学 A kind of on-line measuring device and method of the variation of fruit and vegetable dryness process physical property
CN108198224A (en) * 2018-03-15 2018-06-22 中国铁道科学研究院 A kind of line-scan digital camera caliberating device and scaling method for stereo-visiuon measurement
US20180314877A1 (en) * 2017-04-26 2018-11-01 Mashgin Inc. Synchronization of image data from multiple three-dimensional cameras for image recognition

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11248421A (en) * 1998-03-04 1999-09-17 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for tracking moving bodies
JP2004157999A (en) * 2002-10-18 2004-06-03 D Link Corp Method for transforming spatial image and method for sending it in real time
US20050078304A1 (en) * 2003-10-09 2005-04-14 Dorrance Daniel R. Common reference target machine vision wheel alignment system
CN101825439A (en) * 2010-03-25 2010-09-08 天津大学 Multi-camera combination based method for online measuring engine cylinder combination face hole group
CN105593659A (en) * 2013-08-19 2016-05-18 实耐宝公司 Improved motor control system for self-calibrating multi-camera alignment system
US20150110347A1 (en) * 2013-10-22 2015-04-23 Fujitsu Limited Image processing device and image processing method
CN103954221A (en) * 2014-05-08 2014-07-30 哈尔滨工业大学 Binocular photogrammetry method of large flexible structure vibration displacement
CN106097367A (en) * 2016-06-21 2016-11-09 北京格灵深瞳信息技术有限公司 The scaling method of a kind of binocular solid camera and device
CN106780625A (en) * 2016-12-19 2017-05-31 南京天祥智能设备科技有限公司 Many mesh camera calibration devices
US20180314877A1 (en) * 2017-04-26 2018-11-01 Mashgin Inc. Synchronization of image data from multiple three-dimensional cameras for image recognition
CN107292927A (en) * 2017-06-13 2017-10-24 厦门大学 A kind of symmetric motion platform's position and pose measuring method based on binocular vision
CN108051333A (en) * 2017-11-21 2018-05-18 江苏大学 A kind of on-line measuring device and method of the variation of fruit and vegetable dryness process physical property
CN108198224A (en) * 2018-03-15 2018-06-22 中国铁道科学研究院 A kind of line-scan digital camera caliberating device and scaling method for stereo-visiuon measurement

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HUI CHEN: ""A practical means for the calibration of a binocular structured light system"", 《2014 4TH IEEE INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND TECHNOLOGY》 *
孙楠: "" 基于十字靶标的双目立体测量系统标定"", 《光学学报》 *
曹宇: "" 摄像机标定及恢复目标点世界坐标的一种方法"", 《机械与电子》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112923849A (en) * 2021-01-27 2021-06-08 长春涵智科技有限公司 Space positioning method and system based on contour sensor
CN112923849B (en) * 2021-01-27 2022-09-13 长春涵智科技有限公司 Space positioning method and system based on contour sensor
CN115727856A (en) * 2022-10-31 2023-03-03 哈尔滨工业大学(威海) Satellite remote sensing image self-adaptive correction method
CN115727856B (en) * 2022-10-31 2024-10-29 哈尔滨工业大学(威海) Satellite remote sensing image self-adaptive correction method

Also Published As

Publication number Publication date
CN111028298B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN109483516B (en) A hand-eye calibration method of robotic arm based on spatial distance and epipolar constraints
CN109373898B (en) A system and method for pose estimation of complex parts based on 3D measurement point cloud
CN109443207B (en) A kind of light pen robot in-situ measurement system and method
US9124873B2 (en) System and method for finding correspondence between cameras in a three-dimensional vision system
CN103292695B (en) A kind of single eye stereo vision measuring method
CN105716542B (en) A kind of three-dimensional data joining method based on flexible characteristic point
US9679385B2 (en) Three-dimensional measurement apparatus and robot system
CN107449374B (en) Flexible layout of vision-assisted laser galvanometer scanning system and its on-site calibration method
CN108717715A (en) A kind of line-structured light vision system automatic calibration method for arc welding robot
CN105783711B (en) Three-dimensional scanner calibration system and its calibration method
CN110006402A (en) A visual measurement system and measurement method for relative pose of large component butt assembly
CN104827480A (en) Automatic calibration method of robot system
CN110355464A (en) Visual Matching Method, system and the medium of laser processing
CN108344360A (en) A kind of the laser scan type overall situation calibrating installation and method of vision measurement system
CN111220126A (en) Space object pose measurement method based on point features and monocular camera
CN108458659A (en) A kind of blade contactless detection device and method
CN112958960B (en) Robot hand-eye calibration device based on optical target
CN112381881B (en) Automatic butt joint method for large rigid body members based on monocular vision
CN111707189A (en) Beam direction calibration method of laser displacement sensor based on binocular vision
CN105066962A (en) Multiresolution large visual field angle high precision photogrammetry apparatus
CN115284292A (en) Mechanical arm hand-eye calibration method and device based on laser camera
JPWO2018043524A1 (en) Robot system, robot system control apparatus, and robot system control method
CN109900251A (en) A kind of robotic positioning device and method of view-based access control model technology
CN106964907A (en) A kind of method and apparatus of laser cutting
CN114001651A (en) Large-scale long and thin cylinder type component pose in-situ measurement method based on binocular vision measurement and prior detection data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant