Ranging method based on laser-line scanning imaging
11620760 · 2023-04-04
Assignee
Inventors
- Yongbing Zhang (Guangdong, CN)
- Xizhi Huang (Guangdong, CN)
- Xiangyang Ji (Guangdong, CN)
- Haoqian Wang (Guangdong, CN)
Cpc classification
G06T7/521
PHYSICS
International classification
Abstract
The present invention provides a ranging method based on laser-line scanning imaging to effectively suppress interference of extreme weather on imaging. The method includes the following steps: acquiring priori reference images for a fixed laser-line scanning system, including respectively placing reference whiteboards at different distances, projecting line laser beams to the whiteboards, and acquiring the reference images by using a camera; placing a laser-line scanning device in a real scene, causing the laser-line scanning device to respectively emit line lasers at different angles, and acquiring an image at each scanning angle by using a camera; and performing fusion calculation on the acquired scanning image in the real scene and the priori reference images by using a ranging algorithm based on laser-line scanning, and extracting distance information of a surrounding object, to implement environment perception.
Claims
1. A ranging method based on laser-line scanning imaging, the method comprising the following steps: S1: acquiring priori reference images for a fixed laser-line scanning system; S2: placing a laser-line scanning device in a real scene, causing the laser-line scanning device to successively emit line laser beams according angles of line laser scanning, and acquiring an image at each angle by using a camera; and S3: performing fusion calculation on the acquired scanning image in the real scene and the priori reference images by using a ranging algorithm based on laser-line scanning, and extracting distance information of a surrounding object, to implement environment perception, wherein in the step S1, during acquisition, reference whiteboards are respectively placed at different depths Z.sub.1, Z.sub.2, . . . , and Z.sub.m, line laser beams are respectively projected to the whiteboards from different angles X.sub.1, X.sub.2, . . . , and X.sub.n, and the reference images are acquired using a camera.
2. The ranging method based on laser-line scanning imaging according to claim 1, wherein the line laser scanning is implemented by using the following method: emitting a line laser beam perpendicular to a ground by a laser source, wherein the laser source and the camera are fixed relative to each other, and mechanically rotating the laser source about a central axis perpendicular to the ground.
3. The ranging method based on laser-line scanning imaging according to claim 1, wherein the line laser scanning is implemented by using the following method: projecting a line laser beam perpendicular to a ground to a rotating galvanometer near the light source for reflection, to implement the line laser scanning through fast rotation of the galvanometer.
4. The ranging method based on laser-line scanning imaging according to claim 1, wherein in the step S3, the algorithm used integrates a modulation characteristic of structured light imaging and a focal surface characteristic of virtual confocal imaging.
5. The ranging method based on laser-line scanning imaging according to claim 1, wherein in hardware, a scanning line laser is used as a light source for modulation tomographic information is separated during reconstruction, and a perception model is constructed.
6. The ranging method based on laser-line scanning imaging according to claim 1, wherein a scanning angle range determines an angle for reconstructing an ambient environment, and a depth range selected for the reference images determines a depth of reconstruction.
7. The ranging method based on laser-line scanning imaging according to claim 1, wherein specific algorithm steps are as follows: in the step S1, when the reference images are acquired for an acquisition system, there are a total of n*m images at angles X.sub.1-X.sub.n and at depths Z.sub.1-Z.sub.m, and the reference images are expressed as M(X.sub.iZ.sub.j), wherein i=1, 2, . . . , or n, and j=1, 2, . . . , or m; in the step S2, n images are acquired at the angles X.sub.1-X.sub.n in the real scene, and the images are expressed as O(X.sub.i), wherein i=1, 2, . . . , or n; and in the step S3, tomographic information O(X.sub.i)*M(X.sub.iZ.sub.j) at an angle X.sub.i and at a depth Z.sub.j is calculated by using a focal surface characteristic of virtual confocal imaging, wherein i=1, 2, . . . , or n, and j=1, 2, . . . , or m; a surface depth at the angle X.sub.i is obtained by using a modulation characteristic of structured light imaging; and a three-dimensional point cloud map of an object is reconstructed by using the surface depth Z.sub.surf(X.sub.i), to implement environment perception.
8. The ranging method base on laser-line scanning imaging according to claim 7, wherein the surface depth at the angle X.sub.i is obtained based on the following calculation formula by using the modulation characteristic of structured light imaging:
Z.sub.surf(X.sub.i)=argmax.sub.(Zj)(O(X.sub.i)*M(X.sub.iZ.sub.j)), wherein i=1,2, . . . , or n.
9. A ranging apparatus based on laser-line scanning imaging, comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by a processor, implementing the ranging method based on laser-line scanning imaging according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) The present invention is further described below with reference to the accompanying drawings.
(7) In the following embodiments of the present invention, a line laser in a near-infrared band is used as a light source to fast scan a surrounding scene, a camera is used to acquire images in a special band, and the surrounding scene is finally reconstructed using the images. This method avoids the use of radar ranging and therefore effectively reduces the costs. The impact of light reflection and scattering in rough weather can be weaken to some extent by implementing environment perception by imaging, using the line laser as the light source, and acquiring images in a corresponding band.
(8) The following embodiments of the present invention are applicable to scene reconstruction and environment perception. The imaging-based environment perception technology widely used in the research fields such as autonomous driving is susceptible to interference caused blight scattering and reflection under rainy, foggy and other rough weather conditions, resulting in a large error in ranging and reconstruction.
(9) Therefore, the embodiments of the present invention provide a ranging method based on laser-line scanning imaging to effectively suppress interference of extreme weather on imaging. The method includes the following steps:
(10) acquiring priori reference images for a fixed laser-line scanning system, including respectively placing reference whiteboards at different distances, projecting line laser beams to the whiteboards, and acquiring the reference images by using a camera;
(11) placing a laser-line scanning device in a real scene, causing the laser-line scanning device to respectively emit line lasers at different angles, and acquiring an image at each scanning angle by using a camera; and
(12) performing fusion calculation on the acquired scanning image in the real scene and the priori reference images by using a ranging algorithm based on laser-line scanning, and extracting distance information of a surrounding object, to implement environment perception.
(13)
(14) The line laser source and the camera rotate simultaneously, and one image is acquired each time they are rotated by an angle. Assuming that the abscissa and ordinate of each image are an x-axis and a y-axis respectively, y-direction information of the image corresponds to y-direction information of the acquisition system, and x-direction information of the image corresponds to z-direction information of the acquisition system, that is, distance information of a surrounding environment. The x-direction information of the acquisition system is determined by the scanning angle. For example, if the laser source and the camera rotate by 30 degrees, information about perception of remote objects within a range of 30 degrees using the rotation axis as the center can be obtained.
(15) As shown in
(16) 1) acquiring priori reference images for a fixed laser-line scanning system, respectively placing reference whiteboards at different depths, projecting line laser beams to the whiteboards from different angles, and acquiring the reference images by using a camera, wherein it is assumed that the angles of line laser scanning are X.sub.1, X.sub.2, . . . , and X.sub.n respectively, and sampling depths are Z.sub.1, Z.sub.2, . . . , and Z.sub.m respectively;
(17) 2) placing a laser-line scanning device in a real scene, causing the laser-line scanning device to successively emit line laser beams at angles X.sub.1, X.sub.2, . . . , and X.sub.n, and acquiring an image at each angle by using a camera; and
(18) 3) performing fusion calculation on the acquired scanning image in the real scene and the priori reference images by using a ranging algorithm based on laser-line scanning, and extracting distance information of a surrounding object, to implement environment perception.
(19) A general algorithm procedure is as follows:
(20) (1) when the reference images are acquired for an acquisition system, there are a total of n*m images at angles X.sub.1-X.sub.n and at depths Z.sub.1-Z.sub.m, and the reference images are expressed as M(X.sub.iZ.sub.j), wherein i=1, 2, . . . , or n, and j=1, 2, . . . , or m;
(21) (2) n images are acquired at the angles X.sub.1-X.sub.n in the real scene, and the images are expressed as O(X.sub.i), wherein i=1, 2, . . . , or n;
(22) (3) tomographic information O(X.sub.i)*M(X.sub.iZ.sub.j) at an angle X.sub.i and at a depth Z.sub.j is calculated by using a focal surface characteristic of virtual confocal imaging, wherein i=1, 2, . . . , or n, and j=1, 2, . . . , or m;
(23) (4) a surface depth at the angle X.sub.i is obtained by using a modulation characteristic of structured light imaging, based on the following calculation formula:
Z.sub.surf(X.sub.i)=argmax.sub.(Zj)(O(X.sub.i)*M(X.sub.iZ.sub.j)), wherein i=1,2, . . . , or n; and
(24) (5) a three-dimensional point cloud map of an object is reconstructed by using the surface depth Z.sub.surf(X.sub.i), to implement environment perception.
(25) The principle that the imaging system performs a fusion calculation on the priori images and the acquired image to obtain the tomographic information for three-dimensional reconstruction is described below.
(26)
(27) After the priori images at the z positions are obtained, the system is applied to acquire an image in a real scene. One image is acquired by using each of 30 line arrays, and the images are expressed as Ox.sub.1-Ox.sub.30. Then, a tomographic image at a position z.sub.i may be obtained through calculation:
Iz.sub.i=(Ox.sub.1*Mx.sub.1z.sub.i+ . . . +Ox.sub.30*Mx.sub.30z.sub.i)/(Mx.sub.1z.sub.i+ . . . +Mx.sub.30z.sub.i) (1)
(28) where the position z.sub.i represents a depth position for which tomographic information is required. By using tomographic information at different z positions, a surface point cloud map of an object may be obtained by taking a maximum value of each pixel, so as to obtain perception information for reconstruction. The algorithm utilizes a modulation characteristic of structured light imaging, and the projection of the modulated image to the object to obtain the tomographic information also utilizes a focal surface characteristic of a virtual confocal system. It is worth mentioning that one system can be applied to the reconstruction of different scenes once the acquisition of priori images is finished.
(29)
(30) In a scene of autonomous driving, it is necessary to use fast scanning for environment perception. The implementation of environment perception using images is a challenge for both hardware facilities and the calculation speed, and imaging using laser-line scanning further requires even higher scanning and imaging speeds. However, simultaneous rotation and scanning of the laser source and the camera greatly limit the imaging speed. Therefore, it is necessary to improve the system by using galvanometer deflection to implement scanning, thereby increasing the scanning and imaging speeds.
(31)
(32) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.