Laser radar measurement spot position detection method, device and system

Through infrared camera and affine transformation parameter correction technology, combined with Gaussian surface fitting, the problem of difficulty in obtaining the laser spot position is solved, and the accuracy and signal-to-noise ratio of laser ranging are improved.

CN114636370BActive Publication Date: 2024-10-11BEIJING GEO VISION TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210176365.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-24
Publication Date
2024-10-11
Estimated Expiration
2042-02-24

AI Technical Summary

Technical Problem

During the lidar ranging process, it is difficult to obtain the position of the laser spot. The existing technology is costly and complex, and the light spot distribution is divergent, making it difficult to determine the specific point, and is greatly affected by interference from external light sources.

Method used

An infrared camera is used to capture the laser radar measurement spot, the image is corrected through affine transformation parameters, the spot center point is calculated using Gaussian surface fitting, and the actual position is calculated using control point scaling to eliminate natural light interference.

Benefits of technology

It achieves accurate acquisition of lidar spot position, reduces measurement errors, improves measurement signal-to-noise ratio and reliability, and simplifies equipment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114636370B_ABST
    Figure CN114636370B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a laser radar measurement spot position detection method, device, system, electronic device and storage medium, wherein the method comprises: controlling an infrared camera to shoot a laser target plate with a laser radar measurement spot, and obtaining a first laser target plate image with error; correcting the first laser target plate image with error using affine transformation parameters, and obtaining a first laser target plate image with zero error; determining the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error as the image coordinates of the center point of the spot; scaling the image coordinates of the center point of the spot according to pixel equivalent, and obtaining the actual position coordinates of the center point of the laser radar measurement spot on the laser target plate. The technical solution provided by the embodiment of the present invention can be applied to the error calibration scenario of the laser radar, and can solve the problem of difficulty in obtaining the laser spot position during the laser radar ranging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of laser radar ranging technology, and in particular to a laser radar measurement spot position detection method, device, system, electronic equipment and storage medium. Background Art

[0002] LiDAR (Light Detection and Ranging) is an instrument based on laser detection and ranging. The principle of LiDAR ranging is to emit laser pulses and receive reflected signals, record the signal emission time and the signal reception time difference, and calculate the distance between the target and the laser emission position. Since LiDAR performs non-contact measurement of objects during ranging, the specific position where the laser spot falls on the measured object during ranging is unknown, which makes it impossible to compare the measured data with the real (or reference) data of the measured object to obtain its error and perform calibration.

[0003] A position sensitive detector (PSD) is an optical sensor that can detect the position of a light spot. The light spot can be captured using a position sensitive detector, but the PSD has a specific spectral response range. It is easily interfered by external light sources outside the target detection light source range and cannot solve the problem of laser radar light spot detection in different bands. In addition, the light spot of the laser scanner is distributed and divergent during the measurement process, making it difficult to determine the specific location of the light spot. Using PSD to detect the light spot requires a large area to be deployed, which is costly.

[0004] CCD (charge coupled device) cameras can image laser spots and determine the spot centroid based on the spot imaging rules. Their advantages such as low cost and easy operation make it possible for most lidar users to detect the laser spot position. However, ordinary optical CCD cameras require special processing of the experimental environment during the laser imaging process to eliminate the influence of natural light on the spot imaging. The imaging results have a low signal-to-noise ratio and reduced credibility. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a laser radar measurement spot position detection method, device, system, electronic device and storage medium to solve the problem of difficulty in obtaining the laser spot position during the laser radar ranging process.

[0006] In a first aspect, an embodiment of the present invention provides a method for detecting a laser radar measurement spot position, the method comprising:

[0007] Controlling the infrared camera to photograph the laser target plate with the laser radar measurement spot, and obtaining a first laser target plate image with error;

[0008] Correcting the first laser target plate image with errors by using affine transformation parameters to obtain the first laser target plate image with zero errors;

[0009] Determine the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error as the image coordinates of the center point of the spot;

[0010] According to the pixel equivalent, the image coordinates of the center point of the light spot are scaled to obtain the actual position coordinates of the center point of the laser radar measurement light spot on the laser target plate.

[0011] Furthermore, the method further comprises:

[0012] Controlling the infrared camera to photograph the laser target plate on which at least three control points are located, and obtaining a second laser target plate image with errors;

[0013] Obtaining the coordinates of the control point in the second laser target plate image with error;

[0014] Obtaining the coordinates of the control point in the second laser target plate image with zero error;

[0015] The affine transformation parameters are calculated using the two coordinates of the acquired control points.

[0016] Furthermore, the at least three control points are arranged on the laser target plate;

[0017] Obtaining the coordinates of the control point in the second laser target image with zero error, including:

[0018] Obtain the actual position coordinates of the control point measured by the measuring device on the laser target plate;

[0019] The actual position coordinates of the control point on the laser target plate are scaled according to the pixel equivalent to obtain the coordinates of the control point on the second laser target plate image with zero error.

[0020] Furthermore, the two coordinates of the acquired control points are used to calculate the affine transformation parameters, including:

[0021] Calculate the affine transformation parameters according to the following formula:

[0022]

[0023] Where: (x' n , y' n ) is the coordinate of the n-th control point in the second laser target image with zero error;

[0024] (u n , v n ) is the coordinate of the nth control point in the second laser target image with error;

[0025] is the affine transformation parameter;

[0026] The values ​​of n are 1, 2 and 3 respectively.

[0027] Furthermore, the method further comprises:

[0028] Calculate pixel equivalent according to the following formula:

[0029]

[0030] Among them, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, and μ is the pixel size of the infrared camera.

[0031] Further, determining the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error includes:

[0032] According to the energy distribution characteristics of the laser radar measurement spot, the Gaussian surface is used to fit the laser radar measurement spot, and the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0033] Further, calculating the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error includes:

[0034] Calculation equation α=A -1 Minimum Norm Solution of G Least Squares Fitting In the equation:

[0035]

[0036] g(p i ,q i ) is the coordinate of the first laser target image with zero error (p i ,q i ), i is an integer greater than 1 and less than or equal to ξ, ξ is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error;

[0037] Using the formula The coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0038] In a second aspect, an embodiment of the present invention provides a laser radar measurement spot position detection device, the device comprising:

[0039] A spot image shooting unit is used to control the infrared camera to shoot the laser target plate with the laser radar measurement spot, so as to obtain a first laser target plate image with error;

[0040] A spot image correction unit, used for correcting the first laser target plate image with error by using affine transformation parameters to obtain the first laser target plate image with zero error;

[0041] A light spot center point image coordinate determination unit, used to determine the coordinates of the laser radar measurement light spot center point in the zero-error first laser target plate image as the light spot center point image coordinates;

[0042] The actual coordinate determination unit of the center point of the light spot is used to scale the image coordinates of the center point of the light spot according to the pixel equivalent to obtain the actual position coordinates of the center point of the light spot measured by the laser radar on the laser target plate.

[0043] Furthermore, the device also includes:

[0044] A control point image shooting unit, used to control the infrared camera to shoot a laser target plate with at least three control points, to obtain a second laser target plate image with errors;

[0045] A first acquisition unit for the image coordinates of a control point is used to acquire the coordinates of the control point in the image of the second laser target plate with an error;

[0046] A second acquisition unit for the control point image coordinates is used to acquire the coordinates of the control point in the second laser target plate image with zero error;

[0047] The affine transformation parameter calculation unit is used to calculate the affine transformation parameters by using the two coordinates of the control point acquired by the first and second acquisition units of the control point image coordinates.

[0048] Furthermore, the at least three control points are arranged on the laser target plate;

[0049] The second acquisition unit of the control point image coordinates is used to acquire the coordinates of the control point in the second laser target plate image with zero error, including:

[0050] Obtain the actual position coordinates of the control point measured by the measuring device on the laser target plate;

[0051] The actual position coordinates of the control point on the laser target plate are scaled according to the pixel equivalent to obtain the coordinates of the control point on the second laser target plate image with zero error.

[0052] Furthermore, the affine transformation parameter calculation unit is used to calculate the affine transformation parameters using the two coordinates of the control point acquired by the first and second acquisition units of the control point image coordinates, including:

[0053] Calculate the affine transformation parameters according to the following formula:

[0054]

[0055] Where: (x'n , y' n ) is the coordinate of the n-th control point in the second laser target image with zero error;

[0056] (u n , v n ) is the coordinate of the nth control point in the second laser target image with error;

[0057] is the affine transformation parameter;

[0058] The values ​​of n are 1, 2 and 3 respectively.

[0059] Furthermore, the device also includes:

[0060] The pixel equivalent unit is used to calculate the pixel equivalent according to the following formula:

[0061]

[0062] Among them, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, and μ is the pixel size of the infrared camera.

[0063] Furthermore, the spot center point image coordinate determination unit is used to determine the coordinates of the laser radar measurement spot center point in the zero-error first laser target plate image, including:

[0064] According to the energy distribution characteristics of the laser radar measurement spot, the Gaussian surface is used to fit the laser radar measurement spot, and the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0065] Furthermore, the spot center point image coordinate determination unit is used to calculate the coordinates of the laser radar measurement spot center point in the zero-error first laser target plate image, including:

[0066] Calculation equation α=A -1 Minimum Norm Solution of G Least Squares Fitting In the equation:

[0067]

[0068] g(p i ,q i ) is the coordinate of the first laser target image with zero error (p i ,q i ), i is an integer greater than 1 and less than or equal to ξ, ξ is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error;

[0069] Using the formula The coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0070] In a third aspect, an embodiment of the present invention provides a laser radar measurement spot position detection system, the system comprising: an infrared camera, a laser radar, a laser target plate, and the laser radar measurement spot position detection device as described above.

[0071] Furthermore, the laser target plate is a rectangular or square plane target plate; the control point is a target point set on the laser target plate that can be sensed by the infrared camera and is different from the laser target plate.

[0072] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is arranged inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the laser radar measurement spot position detection method described in the first aspect above.

[0073] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more central processing units to implement the laser radar measurement spot position detection method described in the first aspect above.

[0074] In order to eliminate the influence of light in nature on the imaging of laser spots, combined with the characteristics that the laser wavelength is similar to the infrared camera's sensitive wavelength, an embodiment of the present invention proposes a solution for capturing the laser spot using an infrared camera. During the laser radar measurement process, the laser spot is captured by an infrared camera that is sensitive to the laser wavelength. This can eliminate the imaging influence of other wavelengths of light such as visible light on the laser spot, and determine the actual measurement position of the laser radar during the measurement process. This solution is of great significance to the verification and calibration of the laser radar measurement error. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0076] Figure 1A schematic diagram of a system architecture applicable to the technical solution provided in an embodiment of the present invention;

[0077] Figure 2 A flow chart of a laser radar measurement spot position detection method provided in Embodiment 1 of the present invention;

[0078] Figure 3 A flow chart of a laser radar measurement spot position detection method provided in Embodiment 2 of the present invention;

[0079] Figure 4 A schematic diagram of control point layout on a laser target plate provided in Embodiment 3 of the present invention;

[0080] Figure 5 A schematic diagram of the imaging principle of an infrared camera provided in Embodiment 3 of the present invention;

[0081] Figure 6 A schematic diagram of an infrared camera imaging and image processing method provided in Embodiment 3 of the present invention;

[0082] Fig. 7A An ideal zero-error image of a laser target plate with a laser radar measurement spot provided in the third embodiment of the present invention;

[0083] Figure 7B An actual image of a laser target plate with a laser radar measurement spot, provided in the third embodiment of the present invention, and having errors;

[0084] Figure 8 A schematic diagram of a laser radar measurement spot before and after the image of a laser target plate with a zero error laser radar measurement spot is magnified, provided in Embodiment 3 of the present invention;

[0085] Fig. 9 A schematic diagram of the structure of a laser radar measurement spot position detection device provided in Embodiment 4 of the present invention;

[0086] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0087] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0088] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0089] In order to solve the problems of difficulty in obtaining the laser spot position during the laser radar ranging process in the prior art, high cost and high complexity, the embodiment of the present invention provides a solution for capturing the laser radar measurement spot position using an infrared camera, which can provide reliable data support for laser radar error detection and calibration.

[0090] See also Figure 1 , the system architecture applicable to the technical solution provided by the embodiment of the present invention may include: laser radar, laser target board, imaging subsystem and signal processing subsystem. Among them, the imaging subsystem includes an infrared camera and an infrared lens; the laser target board is a rectangular or square plane target board, the surface of the target board is a short-wave infrared diffuse reflection material, and the coating or surface treatment is durable and not easy to damage; the signal processing subsystem can be used as a separate electronic device to connect to the infrared camera signal. The interaction process between the devices in the system is as follows:

[0091] The laser radar emits a measuring light spot and controls the measuring light spot to fall on the laser target plate;

[0092] The signal processing subsystem controls the infrared camera to capture the laser target plate and obtains the image of the laser target plate with the measurement spot;

[0093] The signal processing subsystem performs error correction on the laser target plate image, then finds the coordinates of the center point of the light spot from the corrected laser target plate image, and finally converts the found image coordinates of the center point of the light spot into the actual position coordinates of the light spot on the laser target plate.

[0094] It should be noted that the signal processing subsystem can also be embedded in the imaging subsystem or even in the infrared camera, or embedded in the laser radar, which is not specifically limited in the embodiment of the present invention. In addition, the shape of the laser target plate is not limited to a rectangle or a square, as long as the shape design can accurately locate the actual position coordinates of any point on the laser target plate according to the infrared camera image coordinates.

[0095] The following is a detailed description of the technical solution provided by the embodiment of the present invention based on the above system architecture diagram.

[0096] Embodiment 1

[0097] This embodiment provides a laser radar measurement spot position detection method, which can be performed by a corresponding laser radar measurement spot position detection device, wherein the device can be implemented by software and / or hardware and deployed in a signal processing subsystem in a system architecture. Figure 2 The method specifically includes the following steps 201-204.

[0098] Step 201: Control an infrared camera to photograph a laser target plate with a laser radar measurement spot, and obtain a first laser target plate image with errors.

[0099] In an embodiment of the present invention, the laser radar may be a mobile laser radar LiDAR, and the laser radar measurement spot refers to the laser spot used to determine the specific position of the laser radar measurement object during the laser radar pre-factory calibration process. Before this step 201, the laser radar should pre-send a measurement spot and control the measurement spot to fall on the laser target plate. Since the infrared camera's sensitive wavelength is equivalent to the laser wavelength, an infrared camera is used in an embodiment of the present invention to capture the laser spot for imaging to obtain a first laser target plate image with the laser radar measurement spot, which can eliminate the imaging effect of other wavelengths of light such as visible light on the laser spot. In the imaging process, affected by factors such as the camera itself and the surrounding environment, the first laser target plate image with the laser radar measurement spot may not truly reflect the actual situation, that is, the first laser target plate image has errors, and the spot position in the image is offset.

[0100] Step 202: Correct the first laser target plate image with errors using affine transformation parameters to obtain a first laser target plate image with zero errors.

[0101] In this step, the affine transformation parameters are parameters that describe the mapping relationship between the laser target image pixels with zero error and the laser target image pixels with error, and the parameters can be pre-calculated or directly set by those skilled in the art based on experience. Using the affine transformation parameters, the first laser target image with error can be corrected to the first laser target image with zero error.

[0102] Step 203: determine the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error as the image coordinates of the center point of the spot.

[0103] After obtaining the first laser target plate image with zero error, the center point of the laser radar measurement spot in the image is located, and the coordinates of the center point in the image coordinate system are used as the image coordinates of the center point of the spot.

[0104] Exemplarily, this step 203 includes: according to the energy distribution characteristics of the laser radar measurement spot, using Gaussian surface to fit the laser radar measurement spot, and calculating the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error. Specifically:

[0105] (1) Take the Gaussian surface function

[0106] Among them, g(p, q) is the gray value at the coordinate (p, q) on the image, (p0, q0) is the center point of the laser radar measurement spot, and σ and k are parameters to be determined;

[0107] (2) Function Taking the logarithm of both sides, we get:

[0108]

[0109] (3) Order

[0110]

[0111] in:

[0112]

[0113] g(p i ,q i ) is the coordinate of the first laser target image with zero error (p i ,q i ), i is an integer greater than 1 and less than or equal to ξ, and ξ is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error. In specific implementation, the ξ value can be determined by using the difference between the grayscale of the center point of the laser radar measurement spot and the background grayscale. For example, the ξ value is the number of pixels in the first laser target plate image with zero error whose difference with the background grayscale value in the surrounding preset area reaches a set threshold. Of course, the ξ value can also be preset by those skilled in the art based on experience.

[0114] Furthermore, according to the formula obtained in (2), we get the equation α = A -1 G;

[0115] (4) Calculation equation α = A -1 Minimum Norm Solution of G Least Squares Fitting

[0116] (5) From the formula in (3) above, we can know that: The coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error are thus calculated.

[0117] Step 204: scale the image coordinates of the center point of the light spot according to the pixel equivalent to obtain the actual position coordinates of the center point of the laser radar measurement light spot on the laser target plate.

[0118] The pixel equivalent is a parameter that describes the scaling relationship between the image and the actual photographed object, and refers to the size of the actual photographed object represented by one pixel. In specific implementation, the pixel equivalent m can be calculated according to the following formula:

[0119]

[0120] Among them, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, and μ is the pixel size of the infrared camera.

[0121] When the image coordinate system and the laser target plate coordinate system are in a simple proportional scaling relationship, the actual position coordinates of the laser radar measurement spot center point on the laser target plate are the coordinates (p0, q0) in the first laser target plate image with zero error divided by m, that is: Of course, the image coordinate system and the laser target coordinate system may also have other corresponding relationships. As long as the actual position coordinates of the center point of the laser radar measurement spot on the laser target can be obtained based on the other relationship and pixel equivalent, they are within the scope of protection of the embodiments of the present invention.

[0122] Embodiment 2

[0123] Based on the above embodiment 1, this embodiment further adds a step of determining affine transformation parameters. Figure 3 The laser radar measurement spot position detection method provided in this embodiment specifically includes the following steps 301-308.

[0124] Step 301: Control an infrared camera to photograph a laser target plate with at least three control points, and obtain a second laser target plate image with errors.

[0125] In this embodiment, at least three control points are set on the laser target plate, and the affine transformation parameters are calculated using the coordinates of the control points on the laser target plate image with errors and the coordinates on the laser target plate image with zero errors. Among them, the control points are used for image correction, and are target points set on the laser target plate that can be sensed by the infrared camera and are different from the laser target plate, such as infrared LED light sources. Specifically, the infrared LED lamp can be placed in the drill hole from the back of the laser target plate, and the lamp head does not exceed the plane of the laser target plate. The infrared LED lamp group power supply device of the laser target plate adopts a lithium battery pack. Typically, these control points are set in the edge area of ​​the laser target plate, and cover the edge area of ​​the laser target plate to a large extent.

[0126] The control points set on the laser target plate emit infrared light, and the infrared camera shoots the laser target plate to obtain a laser target plate image with the control points, which is called the second laser target plate image with error.

[0127] Step 302: Obtain the coordinates of the control point in the second laser target image with errors.

[0128] After generating the second laser target plate image with errors, the control point in the image is located to obtain the coordinates (u, v) of the control point in the image coordinate system.

[0129] Step 303: Obtain the coordinates of the control point in the second laser target plate image with zero error.

[0130] Exemplarily, this step 303 includes: obtaining the actual position coordinates of the control point on the laser target plate measured by the measuring device; scaling the actual position coordinates of the control point on the laser target plate according to pixel equivalent to obtain the coordinates of the control point in the second laser target plate image with zero error.

[0131] The measuring device can be a high-precision total station or theodolite, which can accurately measure the actual position coordinates (x, y) of the control point on the laser target and the actual distance s from the infrared camera to the laser target. The coordinates of the control point on the second laser target image with zero error (x', y') = (m*x, m*y).

[0132] Step 304: Calculate affine transformation parameters using the two coordinates of the acquired control point.

[0133] In this step 304, three control points may be selected arbitrarily from a plurality of control points or according to other preset selection rules, and the affine transformation parameters are obtained using the two coordinates (u, v) and (X', y') of each selected control point.

[0134] Exemplarily, the affine transformation parameters are calculated according to the following formula:

[0135]

[0136] Where: (x' n , y' n ) is the coordinate of the n-th control point in the second laser target image with zero error;

[0137] (u n , v n ) is the coordinate of the nth control point in the second laser target image with error;

[0138] is the affine transformation parameter;

[0139] The values ​​of n are 1, 2 and 3 respectively.

[0140] Step 305: Control the infrared camera to photograph the laser target plate with the laser radar measurement spot, and obtain a first laser target plate image with errors.

[0141] Step 306: Correct the first laser target plate image with errors using the affine transformation parameters to obtain a first laser target plate image with zero errors.

[0142] Step 307: determine the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error as the image coordinates of the center point of the spot.

[0143] Step 308: Scale the image coordinates of the center point of the light spot according to the pixel equivalent to obtain the actual position coordinates of the center point of the laser radar measurement light spot on the laser target plate.

[0144] It should be noted that, in this embodiment, when photographing a laser target plate with at least three control points and a laser target plate with a laser radar measurement spot, the relative position of the infrared camera and the laser target plate remains unchanged. Typically, the infrared camera and the laser target plate both maintain their positions unchanged.

[0145] Embodiment 3

[0146] This embodiment provides a preferred embodiment based on the above embodiments. Figure 1 The system architecture provided is as follows: a laser radar measurement spot position detection method is introduced in detail.

[0147] 1. Design of laser target plate and layout of control points, installation of mobile LiDAR and infrared camera.

[0148] The laser target plate is a rectangular or square plane target, and the control points are set at the edge area of ​​the laser target plate to cover a larger area of ​​the laser target plate. Preferably: the size of the laser target plate is 130cm×110cm, the surface of the laser target plate is a short-wave infrared diffuse reflection material, and the coating or surface treatment is durable and not easy to damage; 4 control points are set, and the control point layout positions are as follows: Figure 4 As shown in the figure, a short-wave infrared LED lamp is set at the control point. The LED lamp is placed in the drill hole from the back of the laser target plate. The head of the LED lamp does not exceed the plane of the laser target plate. The infrared LED lamp group power supply device adopts a lithium battery pack; the short-wave infrared camera adopts the Bobcat-320 camera of Xenics; the laser radar adopts the Beike Tianhui Yunying airborne laser radar system. The specific parameters of the infrared camera and laser radar are shown in Tables 1 and 2 below.

[0149] Table 1 Infrared camera parameters

[0150] Equipment parameters Numeric Chip parameters InGaAs Chip Type 0.9μm~1.7μm; Resolution 320×256 pixels Pixel size 20μm Refrigeration method TE1-stabilized Full Well Capacity 125ke- Quantum efficiency >99% focal length 200mm

[0151] Table 2 Technical indicators of laser radar system

[0152]

[0153]

[0154] 2. Use high-precision measuring equipment (total station or theodolite) to measure the coordinates (x, y) of the control point in the laser target coordinate system and the actual distance s from the infrared camera to the laser target.

[0155] In the embodiment, it is assumed that the coordinates of the four control points in the laser target plate coordinate system are (0, 0), (100, 0) (100, 120) (0, 120), respectively, in cm, and the distance s from the infrared camera to the target plate is 59.76 m.

[0156] 3. (1) Using the distance s between the infrared camera and the laser target and the optical imaging principle (see Figure 5 ), calculate the pixel equivalent m:

[0157]

[0158] Where, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, and μ is the pixel size of the infrared camera;

[0159] According to the pixel equivalent m, the coordinates (x, y) of the control point in the laser target plate coordinate system are scaled to obtain the coordinates (x', y') = (m*x, m*y) of the control point in the second laser target plate image with zero error;

[0160] (2) controlling the infrared camera to photograph the laser target plate on which the control point is located, and obtaining a second laser target plate image with an error;

[0161] Locate the control point in the second laser target plate image with error, and obtain the coordinates (u, v) of the control point in the image coordinate system;

[0162] (3) Select three control points and calculate the affine transformation parameters according to the following formula:

[0163]

[0164] Where: (x' n , y' n ) is the coordinate of the n-th control point in the second laser target image with zero error;

[0165] (u n , v n ) is the coordinate of the nth control point in the second laser target image with error; are the affine transformation parameters, represents a linear transformation, (a 13 a 23 ) T represents translation transformation; n takes values ​​of 1, 2, and 3 respectively.

[0166] For the above step 3, in a specific embodiment, assuming that the distance from the infrared camera to the target plate is s=59.76m, and the focal length of the infrared camera is f=200mm, then f / (sf)=0.00335965 can be calculated. Then, according to the pixel size μ=20μm of the infrared camera, the number of pixels of a 1m object in the image can be calculated to be 168, that is, m=0.00335965 / μ=0.168. Therefore, the pixel coordinates of the control point in the second laser target plate image with zero error are (0, 0), (168, 0), (168, 202), (0, 202);

[0167] Correspondingly, the coordinates of the four control points in the second laser target image with errors are (75, 27), (242, 28), (241, 230), and (74, 228);

[0168] Using the pixel coordinates (0, 0), (168, 0), (0, 202) of the control points in the second laser target image with zero error and the corresponding pixel coordinates (75, 27), (242, 28), (74, 228) with error, the affine transformation parameters are calculated as follows:

[0169]

[0170] 4. Keep the position of the infrared camera unchanged, turn on the laser radar, make the laser target plate within its scanning range, adjust the exposure time of the infrared camera, and capture the image of the laser radar measurement spot falling on the target plate (i.e. the first laser target plate image with error). This step can be achieved by synchronous timing or using a laser spectrometer to control the shutter of the infrared camera;

[0171] The captured first laser target plate image with errors is corrected using the affine transformation parameters obtained in step 3 to obtain a first laser target plate image with zero error.

[0172] Figure 6 The figure is a schematic diagram of infrared camera imaging and image processing method. The ideal imaging is a laser target image with zero error, and the actual imaging is a laser target image with error. The control point pixel position of the ideal imaging is obtained by using the laser target and control point information. The affine transformation parameters are obtained according to the ideal pixel position and the actual pixel position. The position coordinates of the center point of the laser spot on the laser target are calculated by using the affine transformation parameters and the pixel coordinates of the center point of the laser spot.

[0173] 5. According to the energy distribution characteristics of the laser radar measurement spot, the laser radar measurement spot is fitted using a Gaussian surface to calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error.

[0174] Specifically, the calculation equation α=A -1 Minimum Norm Solution of G Least Squares Fitting In the equation:

[0175]

[0176] g(p i ,q i ) is the coordinate of the first laser target image with zero error (p i ,q i ), i is an integer greater than 1 and less than or equal to ξ, ξ is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error;

[0177] Using the formula The coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0178] 6. Using the coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error in step 5 and the pixel equivalent m obtained in step 3, obtain the position coordinates of the center point of the laser radar measurement spot in the target plate coordinate system:

[0179] In the embodiment, the original position of the laser radar measurement spot obtained by the airborne laser radar Yunying system of Beike Tianhui is as follows: Fig. 7A The white point position in the image is as follows after correction: Figure 7B The white dot position in the image, the pixel coordinates of the center point of the laser radar measurement spot obtained from the calibrated image, and the laser target plate coordinates of the center point of the laser radar measurement spot calculated using the above steps are shown in Table 3. Among them, Figure 8 Schematic diagram of a laser radar measurement spot before and after the image of a laser target plate with a laser radar measurement spot is magnified with zero error, ξ=21.

[0180] Table 3 Coordinates of the center point of laser radar measurement spot (referred to as laser spot)

[0181]

[0182] Embodiment 4

[0183] This embodiment provides a laser radar measurement spot position detection device, which can be used to perform the laser radar measurement spot position detection method described in the embodiment of the present invention. Fig. 9 , the device specifically includes the following units:

[0184] The spot image shooting unit 901 is used to control the infrared camera to shoot the laser target plate with the laser radar measurement spot, and obtain a first laser target plate image with error;

[0185] The spot image correction unit 902 is used to correct the first laser target plate image with errors by using affine transformation parameters to obtain the first laser target plate image with zero error;

[0186] The light spot center point image coordinate determination unit 903 is used to determine the coordinates of the laser radar measurement light spot center point in the zero-error first laser target plate image as the light spot center point image coordinates;

[0187] The spot center actual coordinate determination unit 904 is used to scale the spot center image coordinates according to pixel equivalents to obtain the actual position coordinates of the laser radar measurement spot center on the laser target plate.

[0188] Exemplarily, the laser radar measurement spot position detection device also includes:

[0189] The control point image shooting unit 905 is used to control the infrared camera to shoot the laser target plate with at least three control points, so as to obtain a second laser target plate image with errors;

[0190] A control point image coordinate first acquisition unit 906 is used to acquire the coordinates of the control point in the second laser target plate image with error;

[0191] A control point image coordinate second acquisition unit 907 is used to acquire the coordinates of the control point in the second laser target plate image with zero error;

[0192] The affine transformation parameter calculation unit 908 is used to calculate the affine transformation parameters using the two coordinates of the control point acquired by the first and second control point image coordinate acquisition units.

[0193] Furthermore, the at least three control points are arranged on the laser target plate;

[0194] The control point image coordinate second acquisition unit 907 is used to acquire the coordinates of the control point in the second laser target plate image with zero error, including:

[0195] Obtain the actual position coordinates of the control point measured by the measuring device on the laser target plate;

[0196] The actual position coordinates of the control point on the laser target plate are scaled according to the pixel equivalent to obtain the coordinates of the control point on the second laser target plate image with zero error.

[0197] Furthermore, the affine transformation parameter calculation unit 908 is used to calculate the affine transformation parameters using the two coordinates of the control point acquired by the first and second control point image coordinate acquisition units, including:

[0198] Calculate the affine transformation parameters according to the following formula:

[0199]

[0200] Where: (x' n , y' n ) is the coordinate of the n-th control point in the second laser target image with zero error;

[0201] (u n , v n ) is the coordinate of the nth control point in the second laser target image with error;

[0202] is the affine transformation parameter;

[0203] The values ​​of n are 1, 2 and 3 respectively.

[0204] Exemplarily, the laser radar measurement spot position detection device also includes:

[0205] The pixel equivalent calculation unit 909 is used to calculate the pixel equivalent according to the following formula:

[0206]

[0207] Among them, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, and μ is the pixel size of the infrared camera.

[0208] Exemplarily, the spot center point image coordinate determination unit 903 is used to determine the coordinates of the laser radar measurement spot center point in the zero-error first laser target plate image, including:

[0209] According to the energy distribution characteristics of the laser radar measurement spot, the Gaussian surface is used to fit the laser radar measurement spot, and the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0210] Furthermore, the spot center image coordinate determination unit 903 is used to calculate the coordinates of the laser radar measurement spot center in the zero-error first laser target plate image, including:

[0211] Calculation equation α=A -1 Minimum Norm Solution of G Least Squares Fitting In the equation:

[0212]

[0213] g(p i ,q i ) is the coordinate of the first laser target image with zero error (p i ,q i ), i is an integer greater than 1 and less than or equal to ξ, ξ is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error;

[0214] Using the formula The coordinates (p0, q0) of the center point of the laser radar measurement spot in the first laser target plate image with zero error are calculated.

[0215] The laser radar measurement spot position detection device provided in this embodiment belongs to the same inventive concept as the aforementioned method embodiment. For technical details not described in this embodiment, please refer to the relevant description in the aforementioned method embodiment, and will not be repeated here.

[0216] In addition, an embodiment of the present invention further provides a laser radar measurement spot position detection system, which includes an infrared camera, a laser radar, a laser target plate, and the laser radar measurement spot position detection device described in the above-mentioned embodiment 4.

[0217] Preferably, the laser target plate is a rectangular or square plane target plate; the control point is a target point set on the laser target plate that can be sensed by the infrared camera and is different from the laser target plate.

[0218] Fig.10 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention, which can implement the present invention Figure 1 The process of the embodiment shown is as follows: Fig.10 As shown, the electronic device may include: a housing 11, a processor 12, a memory 13, a circuit board 14 and a power supply circuit 15, wherein the circuit board 14 is placed inside the space enclosed by the housing 11, and the processor 12 and the memory 13 are arranged on the circuit board 14; the power supply circuit 15 is used to supply power to various circuits or devices of the electronic device; the memory 13 is used to store executable program codes; the processor 12 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 13, so as to execute the picture decoding test method described in any of the aforementioned embodiments.

[0219] For details on the specific execution process of the above steps by the processor 12 and the steps further executed by the processor 12 by running the executable program code, please refer to the present invention. Figure 1 The description of the illustrated embodiment will not be repeated here.

[0220] This electronic device exists in many forms, including but not limited to:

[0221] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0222] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0223] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0224] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0225] (5) Other electronic equipment with data processing and communication functions.

[0226] Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more central processors to implement the laser radar measurement spot position detection method described in the above embodiment.

[0227] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0228] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0229] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0230] In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0231] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present invention, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.

[0232] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0233] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A laser radar measurement spot position detection method, characterized in that: The method comprises: Controlling the infrared camera to photograph the laser target plate with the laser radar measurement spot, and obtaining a first laser target plate image with error; Correcting the first laser target plate image with errors by using affine transformation parameters to obtain the first laser target plate image with zero errors; Determine the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error as the image coordinates of the center point of the spot; According to the pixel equivalent, the image coordinates of the center point of the light spot are scaled to obtain the actual position coordinates of the center point of the laser radar measurement light spot on the laser target plate; wherein the pixel equivalent is a parameter describing the scaling relationship between the image and the actual photographed object, which refers to the size of the actual photographed object represented by one pixel; The method further comprises: Controlling the infrared camera to photograph the laser target plate on which at least three control points are located, and obtaining a second laser target plate image with errors; Obtaining the coordinates of the control point in the second laser target plate image with error; Obtaining the coordinates of the control point in the second laser target plate image with zero error; Using the two coordinates of the acquired control points, calculate the affine transformation parameters; Using the two coordinates of the acquired control points, calculate the affine transformation parameters, including: Calculate the affine transformation parameters according to the following formula: ; in: For the n The coordinates of the control points in the second laser target image with zero error; For the n The coordinates of a control point in the second laser target image with error; is the affine transformation parameter; n The values ​​are 1, 2 and 3 respectively; The method further comprises: Calculate pixel equivalent according to the following formula: ; in, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, μ is the pixel size of the infrared camera; Determining the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error includes: According to the energy distribution characteristics of the laser radar measurement spot, the laser radar measurement spot is fitted using a Gaussian surface to calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error; Calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error, including: Calculation equation Minimum Norm Solution of Least Squares Fitting , where in the equation: , , ; The coordinates of the first laser target image with zero error are The gray value at is greater than 1 and less than or equal to integer, The value is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error; Using the formula , , calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error ; Among them, when the image coordinate system and the laser target plate coordinate system are in a simple proportional scaling relationship, the actual position coordinates of the center point of the laser radar measurement spot on the laser target plate are the coordinates in the first laser target plate image with zero error Divide by m , that is, the actual position coordinates of the laser radar measuring spot center on the laser target plate are .

2. The method according to claim 1, characterized in that The at least three control points are arranged on the laser target plate; Obtaining the coordinates of the control point in the second laser target image with zero error, including: Obtain the actual position coordinates of the control point on the laser target plate measured by the measuring device; The actual position coordinates of the control point on the laser target plate are scaled according to the pixel equivalent to obtain the coordinates of the control point on the second laser target plate image with zero error.

3. A laser radar measurement spot position detection device, characterized in that: The device comprises: A spot image shooting unit is used to control the infrared camera to shoot the laser target plate with the laser radar measurement spot, so as to obtain a first laser target plate image with error; A spot image correction unit, used for correcting the first laser target plate image with error by using affine transformation parameters to obtain the first laser target plate image with zero error; A light spot center point image coordinate determination unit, used to determine the coordinates of the laser radar measurement light spot center point in the zero-error first laser target plate image as the light spot center point image coordinates; The actual coordinate determination unit of the center point of the light spot is used to scale the image coordinates of the center point of the light spot according to the pixel equivalent to obtain the actual position coordinates of the center point of the light spot measured by the laser radar on the laser target plate; wherein the pixel equivalent is a parameter describing the scaling relationship between the image and the actual photographed object, and refers to the size of the actual photographed object represented by one pixel; The device also includes: A control point image shooting unit, used to control the infrared camera to shoot a laser target plate with at least three control points, to obtain a second laser target plate image with errors; A first acquisition unit for the image coordinates of a control point is used to acquire the coordinates of the control point in the image of the second laser target plate with an error; A second acquisition unit for the control point image coordinates is used to acquire the coordinates of the control point in the second laser target plate image with zero error; An affine transformation parameter calculation unit, used to calculate the affine transformation parameters using the two coordinates of the control point acquired by the first and second control point image coordinate acquisition units; The affine transformation parameter calculation unit is used to calculate the affine transformation parameters using the two coordinates of the control point acquired by the first and second control point image coordinate acquisition units, including: Calculate the affine transformation parameters according to the following formula: ; in: For the n The coordinates of the control points in the second laser target image with zero error; For the n The coordinates of a control point in the second laser target image with error; is the affine transformation parameter; n The values ​​are 1, 2 and 3 respectively; The device also includes: The pixel equivalent calculation unit is used to calculate the pixel equivalent according to the following formula: ; in, f is the focal length of the infrared camera, s is the actual distance from the infrared camera to the laser target, μ is the pixel size of the infrared camera; The spot center point image coordinate determination unit is used to determine the coordinates of the laser radar measurement spot center point in the zero-error first laser target plate image, including: According to the energy distribution characteristics of the laser radar measurement spot, the laser radar measurement spot is fitted using a Gaussian surface to calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error; The spot center image coordinate determination unit is used to calculate the coordinates of the laser radar measurement spot center in the zero-error first laser target plate image, including: Calculation equation Minimum Norm Solution of Least Squares Fitting , where in the equation: , , ; The coordinates of the first laser target image with zero error are The gray value at is greater than 1 and less than or equal to integer, The value is the number of pixels occupied by the center point of the laser radar measurement spot in the first laser target plate image with zero error; Using the formula , , calculate the coordinates of the center point of the laser radar measurement spot in the first laser target plate image with zero error .

4. The device according to claim 3, characterized in that The at least three control points are arranged on the laser target plate; The second acquisition unit of the control point image coordinates is used to acquire the coordinates of the control point in the second laser target plate image with zero error, including: Obtain the actual position coordinates of the control point on the laser target plate measured by the measuring device; The actual position coordinates of the control point on the laser target plate are scaled according to the pixel equivalent to obtain the coordinates of the control point on the second laser target plate image with zero error.

5. A laser radar measurement spot position detection system, characterized in that: The system comprises: An infrared camera, a laser radar, a laser target plate, and a laser radar measurement spot position detection device as described in any one of claims 3 to 4.

6. The system according to claim 5, characterized in that The laser target plate is a rectangular or square plane target plate; the control point is a target point set on the laser target plate that can be sensed by the infrared camera and is different from the laser target plate.

7. An electronic device, characterized in that: The electronic device comprises: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any one of claims 1 to 2.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more central processing units to implement the method described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Plane feature point navigation and positioning method and device

    CN104766309A

  • Laser rangefinder optical axis deviation automatic measuring device and measuring method

    CN110553665A

  • Laser spot center coordinate determination method and device, and equipment

    CN111811784A

  • Calibration method for moving stage in picture input device

    JP1995099566A