CN110750094A - Method, apparatus and system for determining pose change information of movable equipment - Google Patents
Method, apparatus and system for determining pose change information of movable equipment Download PDFInfo
- Publication number
- CN110750094A CN110750094A CN201810813571.5A CN201810813571A CN110750094A CN 110750094 A CN110750094 A CN 110750094A CN 201810813571 A CN201810813571 A CN 201810813571A CN 110750094 A CN110750094 A CN 110750094A
- Authority
- CN
- China
- Prior art keywords
- relative
- position information
- dimensional
- dimensional image
- information
- 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
Links
- 230000008859 change Effects 0.000 title claims abstract description 84
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000008569 process Effects 0.000 claims abstract description 11
- 230000007613 environmental effect Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 11
- 230000015654 memory Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 239000002184 metal Substances 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 101100126955 Arabidopsis thaliana KCS2 gene Proteins 0.000 description 1
- 241000132023 Bellis perennis Species 0.000 description 1
- 235000005633 Chrysanthemum balsamita Nutrition 0.000 description 1
- 241001417527 Pempheridae Species 0.000 description 1
- 206010034719 Personality change Diseases 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本公开是关于一种确定可移动设备的位姿变化信息的方法、装置和系统,属于机器视觉技术领域。所述方法包括:根据可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于可移动设备的相对位置信息;在可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定可移动设备相对于初始位置的位姿变化信息。采用本公开,在恶劣的环境条件下,还可以可靠地确定位姿变化信息。
The present disclosure relates to a method, device and system for determining pose change information of a movable device, which belongs to the technical field of machine vision. The method includes: according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, determining the physical point corresponding to each feature point relative to the movable device. In the process of moving the movable device, in the image currently captured by each three-dimensional image capturing component, determine the three-dimensional position information of the feature points contained in each image; according to the relative position information corresponding to the determined physical point , The currently determined three-dimensional position information of the feature point and the pre-stored relative pose information between different three-dimensional image capturing components, determine the pose change information of the movable device relative to the initial position. With the present disclosure, the pose change information can also be determined reliably under harsh environmental conditions.
Description
技术领域technical field
本公开是关于机器视觉技术领域,尤其是关于一种确定可移动设备的位姿变化信息的方法、装置和系统。The present disclosure relates to the technical field of machine vision, and in particular, to a method, apparatus and system for determining pose change information of a movable device.
背景技术Background technique
相关技术中,可以通过视觉导航技术使得可移动设备在陌生的环境中,依靠可移动设备中安装的三维图像拍摄部件拍摄的图像来进行导航处理。其中,三维图像拍摄部件可以包括两个摄像头。三维图像拍摄部件拍摄的图像可以包括两个二维图像,即二维图像A和二维图像B。可以基于二维图像A、二维图像B和两个摄像头之间的基线距离确定二维图像A中的像素点的深度信息。像素点的三维位置信息则可以包括该像素点在二维图像A中的二维位置信息和深度信息。In the related art, the mobile device can be navigated in an unfamiliar environment by relying on images captured by a three-dimensional image capturing component installed in the movable device through the visual navigation technology. Wherein, the three-dimensional image capturing component may include two cameras. The images captured by the three-dimensional image capturing component may include two two-dimensional images, namely, two-dimensional image A and two-dimensional image B. The depth information of the pixel points in the two-dimensional image A may be determined based on the two-dimensional image A, the two-dimensional image B, and the baseline distance between the two cameras. The three-dimensional position information of the pixel point may include the two-dimensional position information and depth information of the pixel point in the two-dimensional image A.
在可移动设备开机时,可以认为可移动设备处于初始位置。可移动设备可以识别三维图像拍摄部件拍摄的图像中是否包含障碍物的图像,如果是,则需要在可移动设备移动的过程中,不断检测障碍物相对于移动后的可移动设备的相对位置信息,这样,才能基于障碍物相对于移动后的可移动设备的相对位置信息,确定如何控制可移动设备避开障碍物进行移动。可以根据障碍物相对于初始位置上的可移动设备的相对位置信息、以及可移动设备相对于初始位置的位姿变化信息,确定障碍物相对于移动后的可移动设备的相对位置信息。其中,位姿变化信息记录了可移动设备相对于初始位置在位置和姿态上的变化程度。上述相对位置信息是,在考虑可移动设备的位置和姿态的情况下,障碍物相对于可移动设备的相对位置信息,例如,相对位置信息可以是障碍物在基于可移动设备建立的坐标系中的坐标,或者,相对位置信息可以是障碍物在可移动设备正向偏左(或偏右)某角度的某距离处。When the removable device is powered on, the removable device can be considered to be in the initial position. The movable device can identify whether the image captured by the 3D image capturing component contains an image of an obstacle. If so, it is necessary to continuously detect the relative position information of the obstacle relative to the moved movable device during the movement of the movable device. , so that it is possible to determine how to control the movable device to move to avoid the obstacle based on the relative position information of the obstacle relative to the moved movable device. The relative position information of the obstacle relative to the moved movable device can be determined according to the relative position information of the obstacle relative to the movable device at the initial position and the pose change information of the movable device relative to the initial position. Among them, the position and attitude change information records the degree of change in position and attitude of the movable device relative to the initial position. The above-mentioned relative position information is the relative position information of the obstacle relative to the movable device when the position and attitude of the movable device are considered. For example, the relative position information can be that the obstacle is in the coordinate system established based on the movable device. The coordinates of , or the relative position information can be that the obstacle is at a certain distance from a certain angle to the left (or right) of the movable device.
下面介绍确定位姿变化信息的方式:可以根据特征点对应的实物点相对于初始位置的可移动设备的相对位置信息、以及可移动设备在移动的过程中三维图像拍摄部件不断拍摄的图像中的特征点在图像中的三维位置信息,确定位姿变化信息。其中,特征点可以是图像中具有某种图像特点的像素点,可以通过预设的特征提取算法在图像中提取,如FAST(Features from Accelerated Segment Test,一种角点检测方法)角点,例如显示器的四个角会被识别为FAST角点。The method of determining the pose change information is described below: the relative position information of the movable device relative to the initial position of the physical point corresponding to the feature point and the relative position information of the movable device in the moving process of the three-dimensional image capturing part can be used. The three-dimensional position information of the feature points in the image determines the pose change information. Among them, the feature points can be pixels with certain image characteristics in the image, which can be extracted from the image through a preset feature extraction algorithm, such as FAST (Features from Accelerated Segment Test, a corner detection method) corner points, for example The four corners of the display are identified as FAST corners.
在实现本公开的过程中,发明人发现至少存在以下问题:In the process of realizing the present disclosure, the inventor found at least the following problems:
可移动设备中只安装了一个三维图像拍摄部件,如果该三维图像拍摄部件正对强光进行拍摄,则拍摄的图像会过于明亮,导致难以准确识别图像中的特征点,进而确定的位姿变化信息也不准确。There is only one 3D image capturing component installed in the movable device. If the 3D image capturing component is shooting strong light, the captured image will be too bright, making it difficult to accurately identify the feature points in the image, and then determine the change in pose. The information is also not accurate.
发明内容SUMMARY OF THE INVENTION
为了克服相关技术中存在的问题,本公开提供了以下技术方案:In order to overcome the problems existing in the related art, the present disclosure provides the following technical solutions:
根据本公开实施例的第一方面,提供一种确定可移动设备的位姿变化信息的方法,所述可移动设备包括至少两个三维图像拍摄部件,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for determining pose change information of a movable device, where the movable device includes at least two three-dimensional image capturing components, and the method includes:
根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息;According to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, determine the physical point corresponding to each feature point relative to the movable device. relative location information;
在所述可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;During the movement of the movable device, in the images currently captured by each 3D image capturing component, determine the 3D position information of the feature points included in each image;
根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。Determine the relative position information of the movable device relative to the initial position according to the relative position information corresponding to the determined physical point, the three-dimensional position information of the currently determined feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. Pose change information.
可选地,所述根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息,包括:Optionally, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, it is determined that the physical point corresponding to each feature point is relative to the actual point. The relative position information of the movable device, including:
根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息;According to the three-dimensional position information in the image of at least one feature point in the image captured by each 3D image capturing component when the movable device is in the initial position, it is determined that the physical point corresponding to each feature point is relative to the corresponding 3D image capturing component relative position information;
根据每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息,以及预存的所述至少两个三维图像拍摄部件中预存的基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,作为每个特征点对应的实物点相对于所述可移动设备的相对位置信息。According to the relative position information of the physical point corresponding to each feature point relative to the corresponding 3D image capturing component, and the relationship between the pre-stored reference 3D image capturing component and other 3D image capturing components in the pre-stored at least two 3D image capturing components Determine the relative position information of the physical point corresponding to each feature point relative to the reference three-dimensional image capturing component, as the relative position information of the physical point corresponding to each feature point relative to the movable device.
可选地,所述根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息,包括:Optionally, according to the relative position information corresponding to the determined physical point, the three-dimensional position information of the currently determined feature point, and the relative pose information between the pre-stored different three-dimensional image capturing components, determine the relative position of the movable device. The pose change information at the initial position, including:
根据当前确定的特征点的三维位置信息,以及预存的所述基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息;According to the currently determined 3D position information of the feature point and the pre-stored relative pose information between the reference 3D image capturing component and other 3D image capturing components, determine the current position of each feature point relative to the reference 3D image capturing component. The three-dimensional position information of the captured image;
根据每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,以及每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。According to the relative position information of the physical point corresponding to each feature point with respect to the reference 3D image capturing part, and the 3D position information of each feature point with respect to the image currently captured by the reference 3D image capturing part, determine the possible The pose change information of the mobile device relative to the initial position.
可选地,所述方法还包括:Optionally, the method further includes:
在每个三维图像拍摄部件当前拍摄的图像包含的特征点中,确定与所述至少一个特征点中任意特征点的图像特征相匹配的目标特征点,确定每个目标特征点的三维位置信息;In the feature points contained in the image currently captured by each three-dimensional image capturing component, determine a target feature point that matches the image feature of any feature point in the at least one feature point, and determine the three-dimensional position information of each target feature point;
所述根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息,包括:The relative position information corresponding to the determined physical point, the currently determined three-dimensional position information of the feature point, and the pre-stored relative pose information between different three-dimensional image capturing components, determine the relative position of the movable device relative to the initial The pose change information of the position, including:
根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。Determine the relative position information of the movable device relative to the initial position according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. Pose change information.
可选地,所述根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息,包括:Optionally, according to the determined relative position information corresponding to the physical point, the three-dimensional position information of each target feature point, and the pre-stored relative pose information between different three-dimensional image capturing components, determine the relative position of the movable device. The pose change information at the initial position, including:
如果所述目标特征点的数量大于或等于预设的数量阈值,则根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。If the number of the target feature points is greater than or equal to the preset number threshold, then according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point and the pre-stored difference between different three-dimensional image capturing components The relative pose information is to determine the pose change information of the movable device relative to the initial position.
可选地,所述方法还包括:Optionally, the method further includes:
如果所述目标特征点的数量小于预设的数量阈值,则将当前位置设置为初始位置,根据所述可移动设备在重新设置的初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息。If the number of the target feature points is less than the preset number threshold, the current position is set as the initial position, according to at least one of the images captured by each three-dimensional image capturing component when the movable device is in the reset initial position The three-dimensional position information of the feature points in the image determines the relative position information of the physical point corresponding to each feature point relative to the movable device.
根据本公开实施例的第二方面,提供一种确定可移动设备的位姿变化信息的装置,所述可移动设备包括至少两个三维图像拍摄部件,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for determining pose change information of a movable device, where the movable device includes at least two three-dimensional image capturing components, and the apparatus includes:
确定模块,用于根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息;The determining module is configured to determine, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, the physical point corresponding to each feature point is relative to all the feature points. the relative location information of the movable device;
所述确定模块,还用于在所述可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;The determining module is further configured to, in the process of moving the movable device, determine the three-dimensional position information of the feature points included in each image in the image currently captured by each three-dimensional image capturing component;
所述确定模块,还用于根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。The determining module is further configured to determine the movable relative position information according to the relative position information corresponding to the determined physical point, the three-dimensional position information of the currently determined feature point, and the relative pose information between different pre-stored three-dimensional image capturing components. The pose change information of the device relative to the initial position.
可选地,所述确定模块,用于:Optionally, the determining module is used for:
根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息;According to the three-dimensional position information in the image of at least one feature point in the image captured by each 3D image capturing component when the movable device is in the initial position, it is determined that the physical point corresponding to each feature point is relative to the corresponding 3D image capturing component relative position information;
根据每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息,以及预存的所述至少两个三维图像拍摄部件中预存的基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,作为每个特征点对应的实物点相对于所述可移动设备的相对位置信息。According to the relative position information of the physical point corresponding to each feature point relative to the corresponding 3D image capturing component, and the relationship between the pre-stored reference 3D image capturing component and other 3D image capturing components in the pre-stored at least two 3D image capturing components Determine the relative position information of the physical point corresponding to each feature point relative to the reference three-dimensional image capturing component, as the relative position information of the physical point corresponding to each feature point relative to the movable device.
可选地,所述确定模块,用于:Optionally, the determining module is used for:
根据当前确定的特征点的三维位置信息,以及预存的所述基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息;According to the currently determined 3D position information of the feature point and the pre-stored relative pose information between the reference 3D image capturing component and other 3D image capturing components, determine the current position of each feature point relative to the reference 3D image capturing component. The three-dimensional position information of the captured image;
根据每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,以及每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。According to the relative position information of the physical point corresponding to each feature point with respect to the reference 3D image capturing part, and the 3D position information of each feature point with respect to the image currently captured by the reference 3D image capturing part, determine the possible The pose change information of the mobile device relative to the initial position.
可选地,所述确定模块,还用于:Optionally, the determining module is also used for:
在每个三维图像拍摄部件当前拍摄的图像包含的特征点中,确定与所述至少一个特征点中任意特征点的图像特征相匹配的目标特征点,确定每个目标特征点的三维位置信息;In the feature points contained in the image currently captured by each three-dimensional image capturing component, determine a target feature point that matches the image feature of any feature point in the at least one feature point, and determine the three-dimensional position information of each target feature point;
根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。Determine the relative position information of the movable device relative to the initial position according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. Pose change information.
可选地,所述确定模块,用于:Optionally, the determining module is used for:
当所述目标特征点的数量大于或等于预设的数量阈值时,根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。When the number of the target feature points is greater than or equal to the preset number threshold, according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point and the pre-stored difference between different three-dimensional image capturing components The relative pose information is to determine the pose change information of the movable device relative to the initial position.
可选地,所述确定模块,还用于:Optionally, the determining module is also used for:
当所述目标特征点的数量小于预设的数量阈值时,将当前位置设置为初始位置,根据所述可移动设备在重新设置的初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息。When the number of the target feature points is less than the preset number threshold, the current position is set as the initial position, according to at least one of the images captured by each three-dimensional image capturing component when the movable device is in the reset initial position The three-dimensional position information of the feature points in the image determines the relative position information of the physical point corresponding to each feature point relative to the movable device.
根据本公开实施例的第三方面,提供一种确定可移动设备的位姿变化信息的系统,所述系统包括服务器和可移动设备,所述可移动设备包括至少两个三维图像拍摄部件,其中:According to a third aspect of the embodiments of the present disclosure, there is provided a system for determining pose change information of a movable device, the system includes a server and a movable device, the movable device includes at least two three-dimensional image capturing components, wherein :
所述可移动设备,用于每当预设的周期到达时,通过每个三维图像拍摄部件拍摄图像,向所述服务器发送每个三维图像拍摄部件拍摄的图像;The movable device is configured to capture an image through each 3D image capturing component whenever a preset period arrives, and send the image captured by each 3D image capturing component to the server;
所述服务器,用于根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息;在所述可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。The server is configured to, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, determine that the physical point corresponding to each feature point is relative to the actual point. relative position information of the movable device; during the movement of the movable device, in the images currently captured by each 3D image capturing component, determine the 3D position information of the feature points included in each image; according to the determined The relative position information corresponding to the physical point, the three-dimensional position information of the currently determined feature points, and the pre-stored relative pose information between different three-dimensional image capturing components, to determine the pose change of the movable device relative to the initial position information.
根据本公开实施例的第四方面,提供一种服务器,所述服务器包括处理器、通信接口、存储器和通信总线,其中:According to a fourth aspect of embodiments of the present disclosure, there is provided a server, the server comprising a processor, a communication interface, a memory and a communication bus, wherein:
所述处理器、所述通信接口和所述存储器通过所述通信总线完成相互间的通信;The processor, the communication interface and the memory communicate with each other through the communication bus;
所述存储器,用于存放计算机程序;the memory for storing computer programs;
所述处理器,用于执行所述存储器上所存放的程序,以实现上述确定可移动设备的位姿变化信息的方法。The processor is configured to execute the program stored in the memory, so as to realize the above-mentioned method for determining the pose change information of the movable device.
根据本公开实施例的第五方面,提供一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述确定可移动设备的位姿变化信息的方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned determination of the pose of a movable device is implemented Methods of changing information.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过本公开实施例提供的方法,可以通过至少两个三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。即使有一个三维图像拍摄部件受到强光的影响,或者其他因素的影响,还可以借助剩余的三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。进而,在恶劣的环境条件下,还可以可靠地确定位姿变化信息。With the method provided by the embodiment of the present disclosure, the pose change information of the movable device relative to the initial position can be determined through images captured by at least two three-dimensional image capturing components. Even if one of the three-dimensional image capturing parts is affected by strong light or other factors, the pose change information of the movable device relative to the initial position can be determined by using the images captured by the remaining three-dimensional image capturing parts. Furthermore, the pose change information can also be reliably determined under harsh environmental conditions.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. In the attached image:
图1是根据一示例性实施例示出的一种确定可移动设备的位姿变化信息的方法的流程示意图;1 is a schematic flowchart of a method for determining pose change information of a movable device according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种确定可移动设备的底座的结构示意图;FIG. 2 is a schematic structural diagram of determining a base of a movable device according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种确定可移动设备的位姿变化信息的方法的示意图;3 is a schematic diagram of a method for determining pose change information of a movable device according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种确定可移动设备的位姿变化信息的方法的变换关系示意图;4 is a schematic diagram of a transformation relationship of a method for determining pose change information of a movable device according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种确定可移动设备的位姿变化信息的装置的结构示意图;5 is a schematic structural diagram of an apparatus for determining pose change information of a movable device according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种服务器的结构示意图。Fig. 6 is a schematic structural diagram of a server according to an exemplary embodiment.
图例说明:illustration:
1-6摄像头;7硬件触发板;1-6 cameras; 7 hardware trigger boards;
8金属底板;9-11走线孔;8 metal bottom plate; 9-11 wiring holes;
12-17矩形凹槽12-17 Rectangular groove
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。The above-mentioned drawings have shown clear embodiments of the present disclosure, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开实施例提供了一种确定可移动设备的位姿变化信息的方法,该方法可以由可移动终设备和服务器配合实现。其中,可移动终设备可以是扫地机、机器人、无人车等。The embodiments of the present disclosure provide a method for determining pose change information of a movable device, and the method can be implemented by a movable terminal device and a server in cooperation. Among them, the movable terminal equipment may be a sweeper, a robot, an unmanned vehicle, or the like.
服务器可以包括处理器、存储器等部件。处理器,可以为CPU(Central ProcessingUnit,中央处理单元)等,可以用于根据可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于可移动设备的相对位置信息,等处理。存储器,可以为RAM(Random Access Memory,随机存取存储器),Flash(闪存)等,可以用于存储接收到的数据、处理过程所需的数据、处理过程中生成的数据等,如实物点对应的相对位置信息等。A server may include components such as processors, memory, and the like. The processor, which can be a CPU (Central Processing Unit, central processing unit), etc., can be used for the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, Determine the relative position information of the physical point corresponding to each feature point relative to the movable device, etc. The memory, which can be RAM (Random Access Memory, Random Access Memory), Flash (flash memory), etc., can be used to store the received data, the data required for the processing process, the data generated in the processing process, etc., such as physical points corresponding to relative position information, etc.
服务器还可以包括收发器等。收发器,可以用于与可移动设备进行数据传输,收发器可以包括蓝牙部件、WiFi(Wireless-Fidelity,无线高保真技术)部件、天线、匹配电路、调制解调器等。The server may also include transceivers and the like. The transceiver may be used for data transmission with the movable device, and the transceiver may include a Bluetooth component, a WiFi (Wireless-Fidelity, wireless high-fidelity technology) component, an antenna, a matching circuit, a modem, and the like.
本公开一示例性实施例提供了一种确定可移动设备的位姿变化信息的方法,其中,可移动设备包括至少两个三维图像拍摄部件,如图1所示,该方法的处理流程可以包括如下的步骤:An exemplary embodiment of the present disclosure provides a method for determining pose change information of a movable device, wherein the movable device includes at least two three-dimensional image capturing components. As shown in FIG. 1 , the processing flow of the method may include: Follow the steps below:
步骤S110,根据可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于可移动设备的相对位置信息。Step S110, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, determine the relative position of the physical point corresponding to each feature point relative to the movable device. location information.
在本公开实施例中,可以在可移动设备中设置至少两个三维图像拍摄部件,推荐为三个三维图像拍摄部件(共包括六个摄像头)。如图2所示,是可移动设备的底座的结构示意图。在可移动设备的底座中,标号1-6对应的部件分别为六个不同的摄像头。标号7对应的部件为硬件触发板,其作用为控制六个摄像头进行同步曝光。标号8对应的部件为金属底板,在金属底板的上方可以设置有摄像头和硬件触发板。在金属底板上还可以设置有如标号9-11对应的三个走线孔,走线孔可以用于将摄像头和硬件触发板的相关电线输出到可移动设备的底座的下面。在金属底板上还可以设置有如标号12-17对应的六个矩形凹槽,矩形凹槽用于将摄像头固定在金属底板上。In the embodiment of the present disclosure, at least two three-dimensional image capturing components may be provided in the movable device, and three three-dimensional image capturing components are recommended (including six cameras in total). As shown in FIG. 2 , it is a schematic diagram of the structure of the base of the movable device. In the base of the movable device, the parts corresponding to the numbers 1-6 are six different cameras. The component corresponding to the label 7 is a hardware trigger board, which is used to control six cameras to perform synchronous exposure. The component corresponding to the numeral 8 is a metal bottom plate, and a camera and a hardware trigger board can be arranged above the metal bottom plate. The metal base plate can also be provided with three wiring holes corresponding to the numbers 9-11, and the wiring holes can be used to output the relevant wires of the camera and the hardware trigger board to the bottom of the base of the movable device. The metal base plate may also be provided with six rectangular grooves corresponding to the reference numerals 12-17, and the rectangular grooves are used to fix the camera on the metal base plate.
六个摄像头可以是独立的工业摄像头,摄像头的种类可以包括普通的针孔摄像头、鱼眼摄像头等。两个相邻的,且摆放位置平行的摄像头为一对双目摄像头(三维图像拍摄部件)。不同对双目摄像头之间的视角可以重合也可以不重合。The six cameras can be independent industrial cameras, and the types of cameras can include ordinary pinhole cameras, fisheye cameras, and the like. The two adjacent cameras that are placed in parallel are a pair of binocular cameras (three-dimensional image capturing components). The viewing angles between different pairs of binocular cameras may or may not overlap.
金属底板可以设置为三角形,共有三条边,三对双目摄像头分别被设置在三条边中的一条边上,且一对双目摄像头中的两个摄像头拍摄方向一致。每对双目摄像头的基线距离可以设置为12厘米。可移动设备可以包括三个三维图像拍摄部件,任意两个三维图像拍摄部件与可移动设备的预设参考中心的连线之间的夹角等于120度,即不同对双目摄像头中相邻的两个摄像头的夹角可以设置为120度。The metal base plate can be set as a triangle with three sides in total, three pairs of binocular cameras are respectively arranged on one of the three sides, and two cameras in the pair of binocular cameras shoot in the same direction. The baseline distance of each pair of binocular cameras can be set to 12 cm. The movable device may include three 3D image capturing components, and the included angle between any two 3D image capturing components and the line connecting the preset reference center of the movable device is equal to 120 degrees, that is, adjacent pairs of binocular cameras in different pairs. The angle between the two cameras can be set to 120 degrees.
在硬件触发板控制六个摄像头进行同步曝光之后,可以将拍摄到的图像发送至服务器,由服务器进行后续处理,并将处理结果返回至可移动设备。本实施例提供的方法,主要由服务器执行,并由可移动设备配合执行。After the hardware trigger board controls the six cameras for synchronous exposure, the captured images can be sent to the server for subsequent processing, and the processing results are returned to the removable device. The method provided in this embodiment is mainly executed by the server, and executed by the movable device.
在本公开实施例中,一个三维图像拍摄部件可以包括两个摄像头。由于单个摄像头拍摄的二维图像A中的像素点缺少深度信息,因此需要借助另一个摄像头拍摄的二维图像B,来确定二维图像A中的像素点的深度信息。由此,可以基于二维图像A和二维图像A中的像素点的深度信息建立三维图像,三维图像中的每个像素点都存在与之对应的三维位置信息。In the embodiment of the present disclosure, one three-dimensional image capturing component may include two cameras. Since the pixels in the two-dimensional image A captured by a single camera lack depth information, the two-dimensional image B captured by another camera needs to be used to determine the depth information of the pixels in the two-dimensional image A. Thus, a three-dimensional image can be established based on the two-dimensional image A and the depth information of the pixels in the two-dimensional image A, and each pixel in the three-dimensional image has corresponding three-dimensional position information.
接着,可以提取所有摄像头拍摄的图像中的特征点。可以通过ORB(Oriented FASTand Rotated BRIEF,一种快速特征点提取和描述的算法)、DAISY(一种特征点提取算法)和SIFT(Scale-invariant feature transform,尺度不变特征变换)算法等算法提取所有摄像头拍摄的图像中的特征点。在本公开实施例中,主要以通过ORB算法提取的FAST(Features from Accelerated Segment Test,一种角点检测方法)角点为例进行说明,其他算法类似,在此不再赘述。Next, feature points in images captured by all cameras can be extracted. All can be extracted by algorithms such as ORB (Oriented FAST and Rotated BRIEF, a fast feature point extraction and description algorithm), DAISY (a feature point extraction algorithm) and SIFT (Scale-invariant feature transform, scale-invariant feature transform) algorithm. Feature points in the image captured by the camera. In the embodiments of the present disclosure, the corner points of FAST (Features from Accelerated Segment Test, a corner point detection method) extracted by the ORB algorithm are mainly used as an example for description, and other algorithms are similar, and are not repeated here.
ORB算法主要是以拍摄的图像中的任一像素点为圆心,分析其周围的16个像素点的灰度值呈现的特性。如果16个像素点中存在灰度值大于圆心的灰度值加上预设的灰度值阈值,且都小于圆心的灰度值减去预设的灰度值阈值的连续的N(一般情况下,N为9)个像素点,则该圆心为FAST角点。The ORB algorithm mainly uses any pixel in the captured image as the center of the circle, and analyzes the characteristics of the gray value of the surrounding 16 pixels. If the gray value of the 16 pixels is greater than the gray value of the center of the circle plus the preset gray value threshold, and all of them are smaller than the gray value of the center of the circle minus the preset gray value threshold, there is a continuous N (generally Below, N is 9) pixels, then the center of the circle is the FAST corner.
以拍摄的图像中的P点为圆心,其周围的16个像素点和P点的灰度值之间存在三种状态,即16个像素点中的像素点的灰度亮于P点,16个像素点中的像素点的灰度和P点相似,16个像素点中的像素点的灰度暗于P点。可以通过公式1进行确定:Taking the point P in the captured image as the center of the circle, there are three states between the 16 pixels around it and the gray value of point P, that is, the gray value of the pixels in the 16 pixels is brighter than the point P, and the gray value of the pixels in the 16 pixels The grayscale of the pixels in the pixel points is similar to that of the point P, and the grayscale of the pixels in the 16 pixel points is darker than that of the point P. It can be determined by Equation 1:
其中,Sp→x为16个像素点中的像素点的灰度和P点进行比较时的三种状态,即d(较暗)、s(相似)和b(较亮)。I标识灰度值,T为预设的灰度值阈值,可以根据环境进行调节。Among them, S p→x is the three states when the grayscale of the pixel point in the 16 pixel points is compared with the point P, namely d (darker), s (similar) and b (bright). I identifies the gray value, and T is a preset gray value threshold, which can be adjusted according to the environment.
可以通过BRIEF描述子来描述FAST角点的属性。可以在FAST角点周围选取一个直径为31的圆形区域,按照预定的规则,选取其中的N对像素点进行灰度值的比较,根据比较结果生成一个256位的二进制描述符,该描述符即可作为该FAST角点的BRIEF描述子。The properties of FAST corners can be described by the BRIEF descriptor. A circular area with a diameter of 31 can be selected around the FAST corner, and according to predetermined rules, N pairs of pixels are selected to compare the gray values, and a 256-bit binary descriptor is generated according to the comparison result. It can be used as the Brief descriptor of the FAST corner.
在确定每个特征点对应的实物点相对于可移动设备的相对位置信息之前,可以对拍摄的图像进行校正。由于拍摄的图像存在一定的畸变,可以对拍摄的图像进行校正,获得理想情况的图像。理想情况下,如图3所示,一对双目摄像头的摄像头坐标系,是将原点从O2点平移到O1点,坐标系不发生旋转。Before determining the relative position information of the physical point corresponding to each feature point with respect to the movable device, the captured image can be corrected. Since the captured image has certain distortion, the captured image can be corrected to obtain an ideal image. Ideally, as shown in Figure 3, the camera coordinate system of a pair of binocular cameras is to translate the origin from point O2 to point O1, and the coordinate system does not rotate.
在获得理想情况的图像之后,对于每对双目摄像头拍摄的图像,可以在右摄像头拍摄到的图像中,确定与左摄像头拍摄到的图像中的FAST角点相匹配的FAST角点。并且可以根据摄像头的基线距离,确定FAST角点的深度信息。After the ideal image is obtained, for each pair of binocular cameras, the FAST corners that match the FAST corners in the image captured by the left camera can be determined in the image captured by the right camera. And the depth information of FAST corner points can be determined according to the baseline distance of the camera.
在本公开实施例中,可以认为右摄像头是辅助左摄像头确定左摄像头拍摄的图像中的FAST角点的深度信息的,主要以左摄像头拍摄的图像为依据,进行位姿变化信息的确定处理。In the embodiment of the present disclosure, it can be considered that the right camera assists the left camera in determining the depth information of the FAST corner points in the image captured by the left camera, and mainly performs the determination processing of the pose change information based on the image captured by the left camera.
可以以每对双目摄像头中的左摄像头为准,分别建立摄像头坐标系。其中,摄像头坐标系是以摄像头的光心为原点,以光轴为Z轴,以拍摄的图像的长边所在的线为X轴,以拍摄的图像的宽边所在的线为Y轴,建立的坐标系。由此,对于图2中的设备,可以得到三个摄像头坐标系。在这三个摄像头坐标系中,可以以标号1对应的摄像头建立的摄像头坐标系为本体坐标系。The camera coordinate system can be established separately based on the left camera in each pair of binocular cameras. Among them, the camera coordinate system takes the optical center of the camera as the origin, the optical axis as the Z axis, the line where the long side of the captured image is located as the X axis, and the line where the wide side of the captured image is located as the Y axis. coordinate system. Thus, for the device in Figure 2, three camera coordinate systems can be obtained. Among the three camera coordinate systems, the camera coordinate system established by the camera corresponding to label 1 may be used as the body coordinate system.
在执行步骤S110之前,可以预先标定三个摄像头坐标系中除本体坐标系之外的摄像头坐标系与本体坐标系的相对位姿信息,也可以称为三个摄像头坐标系中除本体坐标系之外的摄像头坐标系相对于本体坐标系的外参,分别记为Tbl(标号4对应的摄像头)和Tbr(标号5对应的摄像头)。Before performing step S110, the relative pose information of the camera coordinate system and the body coordinate system in the three camera coordinate systems other than the body coordinate system can be pre-calibrated, which can also be referred to as the one of the three camera coordinate systems except the body coordinate system. The external parameters of the external camera coordinate system relative to the body coordinate system are respectively denoted as T bl (the camera corresponding to the label 4) and T br (the camera corresponding to the label 5).
接着,可以根据可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息。最后,可以根据每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息,以及预存的至少两个三维图像拍摄部件中预存的基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点对应的实物点相对于基准三维图像拍摄部件的相对位置信息,作为每个特征点对应的实物点相对于可移动设备的相对位置信息。Next, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, it can be determined that the physical point corresponding to each feature point is relative to the corresponding three-dimensional image capturing The relative position information of the part. Finally, according to the relative position information of the physical point corresponding to each feature point with respect to the corresponding 3D image capture component, and the relationship between the pre-stored reference 3D image capture component and other 3D image capture components in the pre-stored at least two 3D image capture components The relative pose information between each feature point is determined, and the relative position information of the physical point corresponding to each feature point relative to the reference three-dimensional image capturing component is determined as the relative position information of the physical point corresponding to each feature point relative to the movable device.
其中,上述相对位置信息是,在当前可移动设备的位置和姿态的情况下,障碍物相对于可移动设备的相对位置信息。如果当前可移动设备处于初始位置,则相对位置信息为,障碍物相对于初始位置的可移动设备的相对位置信息。实物点相对于可移动设备的相对位置信息可以是实物点在以可移动设备中的预设点为原点建立的坐标系中的坐标信息,可以是实物点在以可移动设备的基准三维图像拍摄部件的光心为原点,以光轴所在的线为Z轴,以铅直线为Y轴,以同时和Z轴、Y轴相垂直的线为X轴建立的坐标系中的坐标信息。Wherein, the above-mentioned relative position information is the relative position information of the obstacle relative to the movable device in the case of the current position and attitude of the movable device. If the current movable device is at the initial position, the relative position information is the relative position information of the obstacle relative to the initial position of the movable device. The relative position information of the physical point relative to the movable device can be the coordinate information of the physical point in the coordinate system established with the preset point in the movable device as the origin, or the physical point can be captured with the reference 3D image of the movable device. The optical center of the component is the origin, the line where the optical axis is located is the Z axis, the vertical line is the Y axis, and the line perpendicular to both the Z axis and the Y axis is the coordinate information in the coordinate system established by the X axis.
在应用中,实物点相对于处于初始位置A上的可移动设备的相对位置信息,可以表示实物点处于可移动设备左前方30度20米处。在可移动设备移动到位置B之后,实物点相对于处于位置B上的可移动设备的相对位置信息,可以表示实物点处于可移动设备右前方60度15米处。In the application, the relative position information of the physical point relative to the movable device at the initial position A can indicate that the physical point is 30 degrees and 20 meters in front of the movable device. After the movable device moves to position B, the relative position information of the physical point relative to the movable device at position B can indicate that the physical point is located 60 degrees and 15 meters in front of the movable device to the right.
至少两个三维图像拍摄部件中可以包括基准三维图像拍摄部件(标号1对应的摄像头)和除基准三维图像拍摄部件之外的非基准三维图像拍摄部件(标号4和标号5分别对应的摄像头)。The at least two 3D image capturing components may include a reference 3D image capturing component (camera corresponding to reference numeral 1) and a non-reference 3D image capturing component (cameras corresponding to reference numerals 4 and 5 respectively) other than the reference 3D image capturing component.
首先,可以根据可移动设备在初始位置时每个非基准三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息、以及每个非基准三维图像拍摄部件对应的预先存储的特征点的三维位置信息和实物点相对于非基准三维图像拍摄部件的相对位置信息之间的转换关系(也可称为摄像头内参),分别确定每个非基准三维图像拍摄部件拍摄的图像中的至少一个特征点对应的实物点相对于非基准三维图像拍摄部件的相对位置信息。First, the three-dimensional position information in the image of at least one feature point in the image captured by each non-reference 3D image capturing component and the pre-stored corresponding to each non-reference 3D image capturing component can be based on The conversion relationship between the three-dimensional position information of the feature points and the relative position information of the physical point relative to the non-reference three-dimensional image capturing component (also called the camera internal reference), respectively determines the value of the image captured by each non-reference three-dimensional image capturing component. The relative position information of the physical point corresponding to the at least one feature point with respect to the non-reference three-dimensional image capturing component.
接着,可以根据每个非基准三维图像拍摄部件拍摄的图像中的至少一个特征点对应的实物点相对于非基准三维图像拍摄部件的相对位置信息、以及每个非基准三维图像拍摄部件相对于基准三维图像拍摄部件的相对位姿信息(也可称为三个摄像头坐标系中除本体坐标系之外的摄像头坐标系相对于本体坐标系的外参),确定每个非基准三维图像拍摄部件拍摄的图像中的至少一个特征点对应的实物点相对于基准三维图像拍摄部件的相对位置信息(也可称为地图点)。其中,基准三维图像拍摄部件所在的初始位置为可移动设备所在的初始位置。Next, according to the relative position information of the physical point corresponding to at least one feature point in the image captured by each non-reference 3D image capturing component relative to the non-reference 3D image capturing component, and the relative position information of each non-reference 3D image capturing component relative to the reference The relative pose information of the three-dimensional image capture component (also referred to as the external parameters of the camera coordinate system other than the body coordinate system in the three camera coordinate systems relative to the body coordinate system), to determine the capture of each non-reference three-dimensional image capture component. Relative position information (also referred to as map points) of the physical point corresponding to at least one feature point in the image relative to the reference three-dimensional image capturing component. Wherein, the initial position where the reference three-dimensional image capturing component is located is the initial position where the movable device is located.
最后,可以根据可移动设备在初始位置时基准三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息、以及基准三维图像拍摄部件对应的预先存储的特征点的三维位置信息和实物点相对于基准三维图像拍摄部件的相对位置信息之间的转换关系,确定基准三维图像拍摄部件拍摄的图像中的至少一个特征点对应的实物点相对于基准三维图像拍摄部件的相对位置信息(也可称为地图点)。Finally, the three-dimensional position information in the image of at least one feature point in the image captured by the reference 3D image capturing component when the movable device is in the initial position, and the 3D position information of the pre-stored feature point corresponding to the reference 3D image capturing component can be used. and the conversion relationship between the physical point relative to the relative position information of the reference 3D image capturing component, to determine the relative position information of the physical point corresponding to at least one feature point in the image captured by the reference 3D image capturing component relative to the reference 3D image capturing component (also known as map points).
基于下述公式,可以确定每个特征点对应的实物点相对于可移动设备的相对位置信息(也可称为地图点)。Based on the following formula, the relative position information (also referred to as a map point) of the physical point corresponding to each feature point relative to the movable device can be determined.
其中,为地图点在世界坐标系中的坐标。K为不同的三维图像拍摄部件对应的摄像头内参,为FAST角点,Z为该FAST角点的深度信息。in, is the coordinates of the map point in the world coordinate system. K is the camera internal parameter corresponding to different 3D image capturing components, is the FAST corner, and Z is the depth information of the FAST corner.
其中,世界坐标系为可移动设备在开机时的本体坐标系,世界坐标系固定不变,而本体坐标系会随着可移动设备的移动而进行平移和旋转。Among them, the world coordinate system is the body coordinate system of the movable device when it is powered on, the world coordinate system is fixed, and the body coordinate system will translate and rotate with the movement of the movable device.
通过摄像头内参,可以将拍摄的图像中的像素点的位置信息转换为摄像头坐标系下的实物点的位置信息。其中,摄像头内参包括摄像头的拍摄焦距等摄像头固有的属性参数。Through the internal parameters of the camera, the position information of the pixel points in the captured image can be converted into the position information of the physical point in the camera coordinate system. Among them, the camera internal parameters include the camera's inherent property parameters such as the shooting focal length of the camera.
在得到多个地图点之后,地图建立完毕。在地图中记录了不同地图点在世界坐标系下的位置信息,以及其对应的BRIEF描述子。需要说明的是,地图点数量的选取是可以根据每次可移动设备移动的距离的长短确定的。在可移动设备移动的过程中,不断地拍摄新的图像,不断将地图点和拍摄的新的图像中的特征点进行匹配。当地图点和拍摄的新的图像中的特征点匹配上的数量小于预设的数量阈值时,重新建立地图,生成新的地图点。当前已经匹配上的地图点不再参与新的地图点的生成的过程中。After getting multiple map points, the map is established. The location information of different map points in the world coordinate system and their corresponding Brief descriptors are recorded in the map. It should be noted that the selection of the number of map points can be determined according to the length of the distance that the movable device moves each time. During the movement of the movable device, new images are continuously captured, and map points are continuously matched with feature points in the captured new images. When the number of map points that match the feature points in the new captured image is less than a preset number threshold, the map is rebuilt to generate a new map point. The currently matched map points are no longer involved in the process of generating new map points.
由于地图点的生成和拍摄的图像的帧号相关,可以对应于地图点记录图像的帧号。在实际应用中,例如当前拍摄的图像的帧号为N,则进行匹配处理时,使用基于帧号为N-T的图像生成插入的地图点,进行地图点在当前拍摄的图像中的投影处理。其中,T为固定值,可以根据具体情况进行调整。Since the generation of the map point is related to the frame number of the captured image, the frame number of the image can be recorded corresponding to the map point. In practical applications, for example, the frame number of the currently captured image is N, when performing matching processing, the inserted map point is generated based on the image whose frame number is N-T, and the projection processing of the map point in the currently captured image is performed. Among them, T is a fixed value, which can be adjusted according to the specific situation.
步骤S120,在可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息。In step S120, during the movement of the movable device, in the images currently captured by each 3D image capturing component, determine the 3D position information of the feature points included in each image.
可以在可移动设备移动的过程中,按照预设的周期,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息。During the movement of the movable device, the three-dimensional position information of the feature points included in each image may be determined according to a preset period in the images currently captured by each three-dimensional image capturing component.
像素点在图像中的三维置信息,可以通过摄像头内参转换到摄像头坐标系下的实物点的位置信息。对于图2中的设备,标号4对应的摄像头、标号5对应的摄像头拍摄的图像中的像素点对应的实物点的位置信息,可以通过标号4对应的摄像头的摄像头内参和标号5对应的摄像头的摄像头内参转换到标号4对应的摄像头的摄像头坐标系下和标号5对应的摄像头的摄像头坐标系下。如图4所示,不同的三维图像拍摄部件之间的相对位置信息可以为三个摄像头坐标系中除本体坐标系之外的摄像头坐标系相对于本体坐标系的外参,分别记为Tbl(标号4对应的摄像头)和Tbr(标号5对应的摄像头)。可以通过外参Tbl和Tbr,将标号4对应的摄像头的摄像头坐标系下和标号5对应的摄像头的摄像头坐标系下的实物点的位置信息转换为本体坐标系下的实物点的位置信息。这样,可以将三个不同的三维图像拍摄部件拍摄的图像对应的实物点的位置信息转换为本体坐标系下的实物点的位置信息。进而,可以通过位姿变化信息将本体坐标系下的实物点的位置信息转换为世界坐标系下的实物点的位置信息。The three-dimensional position information of the pixel point in the image can be converted to the position information of the physical point in the camera coordinate system through the camera internal parameters. For the device in FIG. 2 , the position information of the physical point corresponding to the pixel point in the image captured by the camera corresponding to the label 4 and the camera corresponding to the label 5 can be obtained through the camera internal parameters of the camera corresponding to the label 4 and the camera corresponding to the label 5. The camera internal parameters are converted into the camera coordinate system of the camera corresponding to the label 4 and the camera coordinate system of the camera corresponding to the label 5 . As shown in FIG. 4 , the relative position information between different three-dimensional image capturing components can be the external parameters of the camera coordinate systems other than the body coordinate system in the three camera coordinate systems relative to the body coordinate system, which are respectively denoted as T b1 (the camera corresponding to the number 4) and T br (the camera corresponding to the number 5). The position information of the physical point in the camera coordinate system of the camera corresponding to the label 4 and the camera coordinate system of the camera corresponding to the label 5 can be converted into the position information of the physical point in the body coordinate system through the external parameters T bl and T br . . In this way, the position information of the physical point corresponding to the images captured by the three different three-dimensional image capturing components can be converted into the position information of the physical point in the body coordinate system. Furthermore, the position information of the physical point in the body coordinate system can be converted into the position information of the physical point in the world coordinate system through the pose change information.
本公开实施例提供的方法还包括:在每个三维图像拍摄部件当前拍摄的图像包含的特征点中,确定与至少一个特征点中任意特征点的图像特征相匹配的目标特征点,确定每个目标特征点的三维位置信息。The method provided by the embodiment of the present disclosure further includes: among the feature points included in the image currently captured by each three-dimensional image capturing component, determining a target feature point that matches the image feature of any feature point in the at least one feature point, and determining each feature point. The three-dimensional position information of the target feature point.
由于当前还未确定当前的位姿变化信息,因此,可以借助上一次确定的位姿变化信息,将地图点(世界坐标系下的实物点的位置信息)投影到当前拍摄的图像中,在当前拍摄的图像中得到投影点。在投影点的领域中包含的FAST角点对应的BRIEF描述子中,选取与地图点的BRIEF描述子的特征向量距离小于预设的距离阈值的目标特征点m,则目标特征点m为与地图点相匹配的投影点。确定每个目标特征点的三维位置信息。Since the current pose change information has not yet been determined, the map point (position information of the physical point in the world coordinate system) can be projected into the currently captured image with the help of the last determined pose change information. Projection points are obtained in the captured image. Among the Brief descriptors corresponding to the FAST corner points contained in the field of projection points, select the target feature point m whose distance from the feature vector of the Brief descriptor of the map point is less than the preset distance threshold, then the target feature point m is the same as the map point. point to match the projected point. Determine the three-dimensional position information of each target feature point.
如图4所示,假如有3个地图点即P1、P2、Pn,相匹配的投影点为m1、m2、mn,则可以通过下述公式,根据地图点P1、P2、Pn以及其他相关参数,来确定m1、m2、mn的三维位置信息。As shown in Figure 4, if there are three map points, namely P 1 , P 2 , and P n , and the matching projection points are m 1 , m 2 , and m n , the following formula can be used to determine the map points P 1 , m 2 , and m n . P 2 , P n and other related parameters to determine the three-dimensional position information of m 1 , m 2 , and m n .
m1=K1T-1P1;m2=K2Tbl -1T-1P2;m3=K3Tbr -1T-1P3 (公式3)m 1 =K 1 T -1 P 1 ; m 2 =K 2 T bl -1 T -1 P 2 ; m 3 =K 3 T br -1 T -1 P 3 (Equation 3)
其中,K为不同的摄像头对应的摄像头内参,Tbl和Tbr为外参,T为上一次确定位姿变化信息。上一次确定位姿变化信息只是预估的位姿变化信息,不能直接作为当前的位姿变化信息。Among them, K is the camera internal parameters corresponding to different cameras, T bl and T br are external parameters, and T is the last determined pose change information. The last determined pose change information is only the estimated pose change information, and cannot be directly used as the current pose change information.
步骤S130,根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定可移动设备相对于初始位置的位姿变化信息。Step S130: Determine the position of the movable device relative to the initial position according to the relative position information corresponding to the determined physical point, the three-dimensional position information of the currently determined feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. posture change information.
首先,可以根据当前确定的特征点的三维位置信息,以及预存的基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点相对于基准三维图像拍摄部件当前拍摄的图像的三维位置信息。接着,可以根据每个特征点对应的实物点相对于基准三维图像拍摄部件的相对位置信息,以及每个特征点相对于基准三维图像拍摄部件当前拍摄的图像的三维位置信息,确定可移动设备相对于初始位置的位姿变化信息。First, according to the currently determined three-dimensional position information of the feature point and the pre-stored relative pose information between the reference three-dimensional image capturing component and other three-dimensional image capturing components, it is possible to determine the current capture of each feature point relative to the reference three-dimensional image capturing component. 3D position information of the image. Next, according to the relative position information of the physical point corresponding to each feature point relative to the reference 3D image capturing component, and the 3D position information of each feature point relative to the image currently captured by the reference 3D image capturing component, determine the relative position of the movable device relative to the reference 3D image capturing component. Pose change information at the initial position.
至少两个三维图像拍摄部件中包括基准三维图像拍摄部件和除基准三维图像拍摄部件之外的非基准三维图像拍摄部件。The at least two three-dimensional image capturing parts include a reference three-dimensional image capturing part and a non-reference three-dimensional image capturing part other than the reference three-dimensional image capturing part.
首先,可以在可移动设备移动的过程中,确定每个非基准三维图像拍摄部件当前拍摄的图像包含的特征点在图像中的三维位置信息,以及确定基准三维图像拍摄部件当前拍摄的图像包含的特征点在图像中的三维位置信息。First, in the process of moving the movable device, determine the three-dimensional position information of the feature points in the image contained in the image currently captured by each non-reference 3D image capturing component, and determine the 3D position information contained in the image currently captured by the reference 3D image capturing component. The three-dimensional position information of feature points in the image.
接着,可以根据每个非基准三维图像拍摄部件当前拍摄的图像包含的特征点在图像中的三维位置信息、以及每个非基准三维图像拍摄部件相对于基准三维图像拍摄部件的相对位姿信息,分别确定每个非基准三维图像拍摄部件当前拍摄的图像包含的特征点相对于基准三维图像拍摄部件当前拍摄的图像的三维位置信息。Next, according to the three-dimensional position information in the image of the feature points contained in the image currently captured by each non-reference 3D image capturing component, and the relative pose information of each non-reference 3D image capturing component relative to the reference 3D image capturing component, The three-dimensional position information of the feature points included in the image currently captured by each non-reference 3D image capturing component relative to the image currently captured by the reference 3D image capturing component is respectively determined.
最后,可以根据实物点对应的相对位置信息、每个非基准三维图像拍摄部件当前拍摄的图像包含的特征点相对于基准三维图像拍摄部件当前拍摄的图像的三维位置信息、以及基准三维图像拍摄部件当前拍摄的图像包含的特征点在图像中的三维位置信息,确定可移动设备相对于初始位置的位姿变化信息。Finally, according to the relative position information corresponding to the physical point, the three-dimensional position information of the feature points contained in the image currently captured by each non-reference 3D image capturing part relative to the image currently captured by the reference 3D image capturing part, and the reference 3D image capturing part The three-dimensional position information of the feature points contained in the currently captured image in the image determines the pose change information of the movable device relative to the initial position.
可选地,可以在每个三维图像拍摄部件当前拍摄的图像包含的特征点中,确定与至少一个特征点中任意特征点的图像特征相匹配的目标特征点,确定每个目标特征点的三维位置信息。接着,根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定可移动设备相对于初始位置的位姿变化信息。Optionally, among the feature points included in the image currently captured by each three-dimensional image capturing component, a target feature point that matches the image feature of any feature point in the at least one feature point can be determined, and the three-dimensional feature point of each target feature point can be determined. location information. Next, according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point, and the relative pose information between different pre-stored three-dimensional image capturing components, determine the pose of the movable device relative to the initial position change information.
可选地,如果目标特征点的数量大于或等于预设的数量阈值,则根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定可移动设备相对于初始位置的位姿变化信息。如果目标特征点的数量小于预设的数量阈值,则将当前位置设置为初始位置,根据可移动设备在重新设置的初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于可移动设备的相对位置信息。Optionally, if the number of target feature points is greater than or equal to a preset number threshold, then according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point and the pre-stored difference between the three-dimensional image capturing components. The relative pose information between them is used to determine the pose change information of the movable device relative to the initial position. If the number of target feature points is less than the preset number threshold, the current position is set as the initial position, according to at least one feature point in the image captured by each 3D image capturing component when the movable device is in the reset initial position The three-dimensional position information in the , determine the relative position information of the physical point corresponding to each feature point relative to the movable device.
在可移动设备移动的过程中,不断地拍摄新的图像,不断将地图点和拍摄的新的图像中的特征点进行匹配。当地图点和拍摄的新的图像中的特征点匹配上的数量小于预设的数量阈值时,重新建立地图,生成新的地图点。如果当前存在已经匹配上的地图点,则它们不再参与新的地图点的生成的过程中。During the movement of the movable device, new images are continuously captured, and map points are continuously matched with feature points in the captured new images. When the matching number of map points and feature points in the new captured image is less than a preset number threshold, the map is re-established to generate a new map point. If there are currently matched map points, they no longer participate in the process of generating new map points.
可以根据公式4,来确定当前的位姿变化信息。The current pose change information can be determined according to formula 4.
min[||(m1-K1T-1P1)||2+||(m2-K2Tbl -1T-1P2)||2+||(m3-K3Tbr -1T-1P3)||2] (公式4)min[||(m 1 -K 1 T -1 P 1 )|| 2 +||(m 2 -K 2 T bl -1 T -1 P 2 )|| 2 +||(m 3 -K 3 T br -1 T -1 P 3 )|| 2 ] (Equation 4)
在上式中,T是未知的,是当前的位姿变化信息,其余参数已知。可以通过迭代优化T的取值,使得T在一定取值下,公式4的最终结果最小,即确定可以使得与地图点相匹配的目标特征点的三维位置信息和通过公式3在理论上计算得到的投影点的三维位置信息之间的误差最小的T,为当前的位姿变化信息。In the above formula, T is unknown, it is the current pose change information, and the rest of the parameters are known. The value of T can be optimized iteratively, so that when T is a certain value, the final result of formula 4 is the smallest, that is, the three-dimensional position information of the target feature point that can be matched with the map point is determined and calculated theoretically by formula 3. The error T with the smallest error between the three-dimensional position information of the projection points is the current pose change information.
通过本公开实施例提供的方法,可以通过至少两个三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。即使有一个三维图像拍摄部件受到强光的影响,或者其他因素的影响,还可以借助剩余的三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。进而,在恶劣的环境条件下,还可以可靠地确定位姿变化信息。With the method provided by the embodiment of the present disclosure, the pose change information of the movable device relative to the initial position can be determined through images captured by at least two three-dimensional image capturing components. Even if one of the three-dimensional image capturing parts is affected by strong light or other factors, the pose change information of the movable device relative to the initial position can be determined by using the images captured by the remaining three-dimensional image capturing parts. Furthermore, the pose change information can also be reliably determined under harsh environmental conditions.
本公开又一示例性实施例提供了一种确定可移动设备的位姿变化信息的装置,所述可移动设备包括至少两个三维图像拍摄部件,如图5所示,该装置包括:Yet another exemplary embodiment of the present disclosure provides an apparatus for determining pose change information of a movable device, where the movable device includes at least two three-dimensional image capturing components. As shown in FIG. 5 , the apparatus includes:
确定模块510,用于根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息;The determination module 510 is configured to determine, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, the physical point corresponding to each feature point relative to the actual point. relative position information of the movable device;
所述确定模块510,还用于在所述可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;The determining module 510 is further configured to determine, in the image currently captured by each 3D image capturing component, the 3D position information of the feature points included in each image during the movement of the movable device;
所述确定模块510,还用于根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。The determining module 510 is further configured to determine the possible relative position information according to the relative position information corresponding to the determined physical point, the three-dimensional position information of the currently determined feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. The pose change information of the mobile device relative to the initial position.
可选地,所述确定模块510,用于:Optionally, the determining module 510 is configured to:
根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息;According to the three-dimensional position information in the image of at least one feature point in the image captured by each 3D image capturing component when the movable device is in the initial position, it is determined that the physical point corresponding to each feature point is relative to the corresponding 3D image capturing component relative position information;
根据每个特征点对应的实物点相对于对应的三维图像拍摄部件的相对位置信息,以及预存的所述至少两个三维图像拍摄部件中预存的基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,作为每个特征点对应的实物点相对于所述可移动设备的相对位置信息。According to the relative position information of the physical point corresponding to each feature point relative to the corresponding 3D image capturing component, and the relationship between the pre-stored reference 3D image capturing component and other 3D image capturing components in the pre-stored at least two 3D image capturing components Determine the relative position information of the physical point corresponding to each feature point relative to the reference three-dimensional image capturing component, as the relative position information of the physical point corresponding to each feature point relative to the movable device.
可选地,所述确定模块510,用于:Optionally, the determining module 510 is configured to:
根据当前确定的特征点的三维位置信息,以及预存的所述基准三维图像拍摄部件与其它三维图像拍摄部件之间的相对位姿信息,确定每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息;According to the currently determined 3D position information of the feature point and the pre-stored relative pose information between the reference 3D image capturing component and other 3D image capturing components, determine the current position of each feature point relative to the reference 3D image capturing component. The three-dimensional position information of the captured image;
根据每个特征点对应的实物点相对于所述基准三维图像拍摄部件的相对位置信息,以及每个特征点相对于所述基准三维图像拍摄部件当前拍摄的图像的三维位置信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。According to the relative position information of the physical point corresponding to each feature point with respect to the reference 3D image capturing part, and the 3D position information of each feature point with respect to the image currently captured by the reference 3D image capturing part, determine the possible The pose change information of the mobile device relative to the initial position.
可选地,所述确定模块510,还用于:Optionally, the determining module 510 is further configured to:
在每个三维图像拍摄部件当前拍摄的图像包含的特征点中,确定与所述至少一个特征点中任意特征点的图像特征相匹配的目标特征点,确定每个目标特征点的三维位置信息;In the feature points contained in the image currently captured by each three-dimensional image capturing component, determine a target feature point that matches the image feature of any feature point in the at least one feature point, and determine the three-dimensional position information of each target feature point;
根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。Determine the relative position information of the movable device relative to the initial position according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point, and the pre-stored relative pose information between different three-dimensional image capturing components. Pose change information.
可选地,所述确定模块510,用于:Optionally, the determining module 510 is configured to:
当所述目标特征点的数量大于或等于预设的数量阈值时,根据确定的实物点对应的相对位置信息、每个目标特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。When the number of the target feature points is greater than or equal to the preset number threshold, according to the relative position information corresponding to the determined physical point, the three-dimensional position information of each target feature point and the pre-stored difference between different three-dimensional image capturing components The relative pose information is to determine the pose change information of the movable device relative to the initial position.
可选地,所述确定模块510,还用于:Optionally, the determining module 510 is further configured to:
当所述目标特征点的数量小于预设的数量阈值时,将当前位置设置为初始位置,根据所述可移动设备在重新设置的初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息。When the number of the target feature points is less than the preset number threshold, the current position is set as the initial position, according to at least one of the images captured by each three-dimensional image capturing component when the movable device is in the reset initial position The three-dimensional position information of the feature points in the image determines the relative position information of the physical point corresponding to each feature point relative to the movable device.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
通过本公开实施例提供的装置,可以通过至少两个三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。即使有一个三维图像拍摄部件受到强光的影响,或者其他因素的影响,还可以借助剩余的三维图像拍摄部件拍摄的图像确定可移动设备相对于初始位置的位姿变化信息。进而,在恶劣的环境条件下,还可以可靠地确定位姿变化信息。With the apparatus provided by the embodiment of the present disclosure, the pose change information of the movable device relative to the initial position can be determined through images captured by at least two three-dimensional image capturing components. Even if one of the three-dimensional image capturing parts is affected by strong light or other factors, the pose change information of the movable device relative to the initial position can be determined by using the images captured by the remaining three-dimensional image capturing parts. Furthermore, the pose change information can also be reliably determined under harsh environmental conditions.
需要说明的是:上述实施例提供的确定可移动设备的位姿变化信息的装置在确定可移动设备的位姿变化信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将服务器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的确定可移动设备的位姿变化信息的装置与确定可移动设备的位姿变化信息的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the device for determining the pose change information of the movable device provided in the above embodiment determines the pose change information of the movable device, only the division of the above functional modules is used as an example for illustration. The above-mentioned function distribution is completed by different function modules as required, that is, the internal structure of the server is divided into different function modules, so as to complete all or part of the functions described above. In addition, the apparatus for determining the pose change information of the movable device provided by the above embodiments and the method embodiment for determining the pose change information of the movable device belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here. .
本公开再一示例性实施例提供了一种确定可移动设备的位姿变化信息的系统,所述系统包括服务器和可移动设备,所述可移动设备包括至少两个三维图像拍摄部件,其中:Yet another exemplary embodiment of the present disclosure provides a system for determining pose change information of a movable device, the system includes a server and a movable device, the movable device includes at least two three-dimensional image capturing components, wherein:
所述可移动设备,用于每当预设的周期到达时,通过每个三维图像拍摄部件拍摄图像,向所述服务器发送每个三维图像拍摄部件拍摄的图像;The movable device is configured to capture an image through each 3D image capturing component whenever a preset period arrives, and send the image captured by each 3D image capturing component to the server;
所述服务器,用于根据所述可移动设备在初始位置时每个三维图像拍摄部件拍摄的图像中的至少一个特征点在图像中的三维位置信息,确定每个特征点对应的实物点相对于所述可移动设备的相对位置信息;在所述可移动设备移动的过程中,在每个三维图像拍摄部件当前拍摄的图像中,确定每个图像包含的特征点的三维位置信息;根据确定的实物点对应的相对位置信息、当前确定的特征点的三维位置信息和预存的不同的三维图像拍摄部件之间的相对位姿信息,确定所述可移动设备相对于所述初始位置的位姿变化信息。The server is configured to, according to the three-dimensional position information in the image of at least one feature point in the image captured by each three-dimensional image capturing component when the movable device is in the initial position, determine that the physical point corresponding to each feature point is relative to the actual point. relative position information of the movable device; during the movement of the movable device, in the images currently captured by each 3D image capturing component, determine the 3D position information of the feature points included in each image; according to the determined The relative position information corresponding to the physical point, the three-dimensional position information of the currently determined feature points, and the pre-stored relative pose information between different three-dimensional image capturing components, to determine the pose change of the movable device relative to the initial position information.
关于上述实施例中的系统,其中可移动设备、服务器执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the system in the above embodiment, the specific manner in which the movable device and the server perform operations have been described in detail in the embodiment of the method, and will not be described in detail here.
图6示出了本公开一个示例性实施例提供的服务器1900的结构示意图。该服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(centralprocessing units,CPU)1910和一个或一个以上的存储器1920。其中,所述存储器1920中存储有至少一条指令,所述至少一条指令由所述处理器1910加载并执行以实现上述实施例所述的确定可移动设备的位姿变化信息的方法。FIG. 6 shows a schematic structural diagram of a server 1900 provided by an exemplary embodiment of the present disclosure. The server 1900 may vary greatly due to different configurations or performances, and may include one or more processors (central processing units, CPU) 1910 and one or more memories 1920 . Wherein, the memory 1920 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1910 to implement the method for determining the pose change information of the movable device described in the above embodiments.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813571.5A CN110750094B (en) | 2018-07-23 | 2018-07-23 | Method, device and system for determining posture change information of movable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813571.5A CN110750094B (en) | 2018-07-23 | 2018-07-23 | Method, device and system for determining posture change information of movable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110750094A true CN110750094A (en) | 2020-02-04 |
CN110750094B CN110750094B (en) | 2025-02-11 |
Family
ID=69275177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810813571.5A Active CN110750094B (en) | 2018-07-23 | 2018-07-23 | Method, device and system for determining posture change information of movable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110750094B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111780764A (en) * | 2020-06-30 | 2020-10-16 | 杭州海康机器人技术有限公司 | Visual positioning method and device based on visual map |
CN113298879A (en) * | 2021-05-26 | 2021-08-24 | 北京京东乾石科技有限公司 | Visual positioning method and device, storage medium and electronic equipment |
CN112013850B (en) * | 2020-10-16 | 2021-11-19 | 北京猎户星空科技有限公司 | Positioning method, positioning device, self-moving equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010179403A (en) * | 2009-02-05 | 2010-08-19 | Denso Wave Inc | Robot simulation image display system |
CN103988226A (en) * | 2011-08-31 | 2014-08-13 | Metaio有限公司 | Method for estimating camera motion and for determining three-dimensional model of real environment |
CN105825518A (en) * | 2016-03-31 | 2016-08-03 | 西安电子科技大学 | Sequence image rapid three-dimensional reconstruction method based on mobile platform shooting |
WO2017007254A1 (en) * | 2015-07-08 | 2017-01-12 | 고려대학교 산학협력단 | Device and method for generating and displaying 3d map |
CN106713773A (en) * | 2017-03-31 | 2017-05-24 | 联想(北京)有限公司 | Shooting control method and electronic device |
CN106813672A (en) * | 2017-01-22 | 2017-06-09 | 深圳悉罗机器人有限公司 | The air navigation aid and mobile robot of mobile robot |
JP2017134617A (en) * | 2016-01-27 | 2017-08-03 | 株式会社リコー | Position estimation device, program and position estimation method |
CN107330917A (en) * | 2017-06-23 | 2017-11-07 | 歌尔股份有限公司 | The track up method and tracking equipment of mobile target |
CN107907131A (en) * | 2017-11-10 | 2018-04-13 | 珊口(上海)智能科技有限公司 | Alignment system, method and the robot being applicable in |
CN208752459U (en) * | 2018-07-23 | 2019-04-16 | 杭州海康威视数字技术股份有限公司 | Movable equipment |
-
2018
- 2018-07-23 CN CN201810813571.5A patent/CN110750094B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010179403A (en) * | 2009-02-05 | 2010-08-19 | Denso Wave Inc | Robot simulation image display system |
CN103988226A (en) * | 2011-08-31 | 2014-08-13 | Metaio有限公司 | Method for estimating camera motion and for determining three-dimensional model of real environment |
WO2017007254A1 (en) * | 2015-07-08 | 2017-01-12 | 고려대학교 산학협력단 | Device and method for generating and displaying 3d map |
JP2017134617A (en) * | 2016-01-27 | 2017-08-03 | 株式会社リコー | Position estimation device, program and position estimation method |
CN105825518A (en) * | 2016-03-31 | 2016-08-03 | 西安电子科技大学 | Sequence image rapid three-dimensional reconstruction method based on mobile platform shooting |
CN106813672A (en) * | 2017-01-22 | 2017-06-09 | 深圳悉罗机器人有限公司 | The air navigation aid and mobile robot of mobile robot |
CN106713773A (en) * | 2017-03-31 | 2017-05-24 | 联想(北京)有限公司 | Shooting control method and electronic device |
CN107330917A (en) * | 2017-06-23 | 2017-11-07 | 歌尔股份有限公司 | The track up method and tracking equipment of mobile target |
CN107907131A (en) * | 2017-11-10 | 2018-04-13 | 珊口(上海)智能科技有限公司 | Alignment system, method and the robot being applicable in |
CN208752459U (en) * | 2018-07-23 | 2019-04-16 | 杭州海康威视数字技术股份有限公司 | Movable equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111780764A (en) * | 2020-06-30 | 2020-10-16 | 杭州海康机器人技术有限公司 | Visual positioning method and device based on visual map |
CN111780764B (en) * | 2020-06-30 | 2022-09-02 | 杭州海康机器人技术有限公司 | Visual positioning method and device based on visual map |
CN112013850B (en) * | 2020-10-16 | 2021-11-19 | 北京猎户星空科技有限公司 | Positioning method, positioning device, self-moving equipment and storage medium |
CN113298879A (en) * | 2021-05-26 | 2021-08-24 | 北京京东乾石科技有限公司 | Visual positioning method and device, storage medium and electronic equipment |
CN113298879B (en) * | 2021-05-26 | 2024-04-16 | 北京京东乾石科技有限公司 | Visual positioning method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110750094B (en) | 2025-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11039121B2 (en) | Calibration apparatus, chart for calibration, chart pattern generation apparatus, and calibration method | |
CN107660337B (en) | System and method for generating a combined view from a fisheye camera | |
CN110176032B (en) | Three-dimensional reconstruction method and device | |
JP2019536170A (en) | Virtually extended visual simultaneous localization and mapping system and method | |
WO2021098448A1 (en) | Sensor calibration method and device, storage medium, calibration system, and program product | |
CN109816730A (en) | Workpiece grabbing method, apparatus, computer equipment and storage medium | |
CN111737518B (en) | Image display method and device based on three-dimensional scene model and electronic equipment | |
CN107843251B (en) | Pose estimation method of mobile robot | |
CN111144349B (en) | Indoor visual relocation method and system | |
US11380016B2 (en) | Fisheye camera calibration system, method and electronic device | |
US20160245641A1 (en) | Projection transformations for depth estimation | |
CN110490943B (en) | Rapid and accurate calibration method and system of 4D holographic capture system and storage medium | |
CN114640833B (en) | Projection picture adjusting method, device, electronic equipment and storage medium | |
US11514608B2 (en) | Fisheye camera calibration system, method and electronic device | |
CN110750094A (en) | Method, apparatus and system for determining pose change information of movable equipment | |
CN109902675B (en) | Object pose acquisition method and scene reconstruction method and device | |
CN110544278B (en) | Rigid body motion capture method and device and AGV pose capture system | |
CN108444452A (en) | The detection method and device of the three-dimensional attitude of target longitude and latitude and filming apparatus | |
CN115588052A (en) | Sight direction data acquisition method, device, equipment and storage medium | |
JP2024503275A (en) | Mobile robot control method, computer-implemented storage medium, and mobile robot | |
CN111353945B (en) | Fisheye image correction method, device and storage medium | |
CN208752459U (en) | Movable equipment | |
CN112446928B (en) | External parameter determining system and method for shooting device | |
CN115834860A (en) | Background blurring method, apparatus, device, storage medium, and program product | |
CN110796596A (en) | Image splicing method, imaging device and panoramic imaging system |
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 |