CN112258577B - Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end - Google Patents
Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end Download PDFInfo
- Publication number
- CN112258577B CN112258577B CN202011158441.6A CN202011158441A CN112258577B CN 112258577 B CN112258577 B CN 112258577B CN 202011158441 A CN202011158441 A CN 202011158441A CN 112258577 B CN112258577 B CN 112258577B
- Authority
- CN
- China
- Prior art keywords
- covariance matrix
- confidence
- vehicle
- target point
- calculating
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Operations Research (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computing Systems (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to a method and a system for evaluating the confidence of monocular vision mapping measurement at a vehicle end, wherein the method comprises the following steps: initializing each module covariance matrix of the vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end pose error covariance matrix omegaGAnd image feature point matching pixel error covariance matrix omegaP(ii) a Calculating a position covariance matrix of the target point after monocular vision mapping; and calculating the corresponding measurement confidence coefficient under the designated error radius according to the position covariance matrix based on a confidence ellipse theory. And calculating the confidence of the measurement result based on the specified error confidence interval to solve the problem of quantitative evaluation of uncertainty of the measurement result of the vehicle-end monocular mapping, directly provide the error distribution interval of the current measurement result for the user, provide the reliability evaluation basis of the visual measurement result in the applications of visual positioning, visual navigation, visual mapping and the like, and further guide the improvement of the visual mapping measurement precision.
Description
Technical Field
The invention relates to the field of computer vision positioning and mapping, in particular to a method and a system for evaluating confidence of vehicle-end monocular vision mapping measurement.
Background
Monocular vision has the advantages of low price, convenient installation, simple calibration process and the like, and is gradually applied to the vision positioning and image building process in a large scale in recent years. The visual positioning and mapping refers to recovering motion information of a camera from adjacent image frames through a mutual correlation relationship between visual images, and estimating a target position and establishing a point cloud map of a surrounding environment by combining an initial position prior value. The visual positioning and mapping provides target space position information for a plurality of applications such as visual obstacle avoidance and visual navigation, and the reliability of the measurement result provides safety coefficient measurement for upper-layer applications.
Currently, confidence evaluation of a visual positioning measurement result mainly uses a measurement information matrix to calculate an artificially defined algebraic value, and the method mainly has two problems: (1) the confidence coefficient is artificially defined and lacks physical effectiveness and rationality; (2) the confidence result cannot directly measure the error range of the current measurement value, and lacks guidance significance in practical application.
Disclosure of Invention
The invention provides a method and a system for evaluating the confidence of monocular vision mapping measurement at a vehicle end, aiming at the technical problems in the prior art, and solving the problems in the prior art.
The technical scheme for solving the technical problems is as follows: a method for evaluating confidence of monocular vision mapping measurement at a vehicle end comprises the following steps:
step 1, initializing each module error covariance matrix of a vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP;
Step 2, calculating a position covariance matrix of the target point after monocular vision mapping;
and 3, calculating the corresponding confidence coefficient under the specified error radius according to the position covariance matrix based on a confidence ellipse theory.
A vehicle-end monocular vision mapping measurement confidence evaluation system comprises: the device comprises an initialization module, a position covariance matrix estimation module and a confidence coefficient calculation module;
an initialization module for initializing each error covariance matrix of the vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP;
The position covariance matrix estimation module is used for calculating a position covariance matrix of the target point after monocular vision mapping;
and the confidence coefficient calculation module is used for calculating the corresponding confidence coefficient under the appointed error radius according to the position covariance matrix based on a confidence ellipse theory.
The invention has the beneficial effects that: the invention provides a method for evaluating the confidence of a vehicle-end monocular vision-based mapping measurement, which is used for calculating the confidence of a measurement result based on a specified error confidence interval so as to solve the problem of quantitative evaluation of uncertainty of the vehicle-end monocular measurement result, directly providing the error uncertainty of the current measurement result for a user, providing a reliability evaluation basis of the vision measurement result in the applications of vision positioning, vision navigation, vision mapping and the like, and further guiding the improvement of the vision measurement precision.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, in the step 1, a monte carlo statistical method is adopted to calculate each error covariance matrix of the vehicle-end monocular vision system.
Further, the step 2 comprises:
Further, the position covariance matrix is an error of the target in the transverse direction and the longitudinal direction under the coordinate system of the monocular camera, and the size of the position covariance matrix is 2 × 2 square matrix:
further, the step 2 further comprises: perfecting the boundary value of the position covariance matrix of the target point according to the sample data;
the process of calculating the boundary values of the position covariance matrix of the target point includes:
in step 205, the estimated value of the boundary value of the covariance matrix of the target point is:n represents the number of position covariance matrices of the target point.
Further, in step 3, the error radius is set to R according to the measurement precision requirement, and the corresponding confidence CIf is calculated according to the relationship between the confidence and the confidence interval as: CIf-1-exp (-R)2/(2λ));
Ω (1,1), Ω (2,2), and Ω (1,2) respectively denote elements of corresponding positions in the covariance matrix of the target position.
The beneficial effect of adopting the further scheme is that: the system covariance is calculated by adopting a Monte Carlo statistical method, and the accuracy of parameter estimation is improved.
Drawings
FIG. 1 is a flow chart of a method for evaluating confidence in a monocular vision mapping measurement at a vehicle end according to the present invention;
FIG. 2 is a flowchart of an embodiment of a method for evaluating confidence in a vehicle-end monocular vision mapping measurement according to the present invention;
FIG. 3 is a block diagram of an embodiment of a system for evaluating confidence in a monocular vision mapping measurement at a vehicle end according to the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. :
in the drawings, the components represented by the respective reference numerals are listed below:
101. the device comprises an initialization module 102, a position covariance matrix estimation module 103, a confidence coefficient calculation module 201, a processor 202, a communication interface 203, a memory 204 and a communication bus.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a method for evaluating confidence in a vehicle-end monocular vision mapping measurement according to the present invention, and as shown in fig. 1, the method includes:
step 1, initializing each module error covariance matrix of a vehicle-end monocular vision system, wherein the monocular vision system comprises a plurality of modules, such as a vehicle-end position and attitude calculation module and an image feature point matching pixel calculation module, and the corresponding covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP。
The covariance error matrix of the position and the attitude is the covariance error matrix of the position and the attitude of the GPS. In the process of visual mapping, the above error covariance matrixes are kept unchanged.
And 2, calculating a position covariance matrix of the target point after passing through the monocular vision system.
And 3, calculating the corresponding confidence coefficient under the specified error radius according to the position covariance matrix based on a confidence ellipse theory.
The invention provides a method for evaluating the confidence of a vehicle-end monocular vision-based mapping measurement, which is used for calculating the confidence of a measurement result based on a specified error confidence interval so as to solve the problem of quantitative evaluation of uncertainty of the vehicle-end monocular measurement result, directly providing the error uncertainty of the current measurement result for a user, providing a reliability evaluation basis of the vision measurement result in the applications of vision positioning, vision navigation, vision mapping and the like, and further guiding the improvement of the vision measurement precision.
Example 1
Embodiment 1 provided by the present invention is an embodiment of a method for evaluating confidence in a vehicle-end monocular vision mapping measurement provided by the present invention, and as shown in fig. 2, is a flowchart of an embodiment of a method for evaluating confidence in a vehicle-end monocular vision mapping measurement provided by the present invention, as can be seen from fig. 2, the embodiment includes:
step 1, initializing each module error covariance matrix of the vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP。
Preferably, in step 1, a monte carlo statistical method is adopted to calculate each error covariance matrix of the vehicle-end monocular vision system.
The system covariance is calculated by adopting a Monte Carlo statistical method, and the accuracy of parameter estimation is improved.
And 2, calculating a position covariance matrix of the target point after passing through the monocular vision system.
Preferably, step 2 comprises:
Specifically, the position covariance matrix is the error distribution of the target in the transverse direction and the longitudinal direction under the monocular camera coordinate system, and the size is 2 × 2 square matrix:
each target point possesses three-dimensional spatial position information, and its position covariance matrix is 3 × 3 matrix, but the position of the target point can be considered as negligible error in the height direction, mainly considering errors from the transverse direction and the longitudinal direction along the monocular camera coordinate system, so the position covariance matrix is reduced to 2 × 2 square matrix, here expressed as:the covariance matrix is a diagonal matrixI.e. omega12=Ω21。
Further, the calculation of the boundary value of the position covariance matrix of the target point is mainly based on a comparison method, and the process includes:
And step 204, sequentially comparing the difference values of the diagonal element values of the position covariance matrices of the new target point and the current target point, and adding the position covariance matrix of the new target point into the set omega of the position covariance matrices when the difference value exceeds a set threshold value.
In step 205, the estimated value of the boundary value of the covariance matrix of the target point is:n represents the number of position covariance matrices of the target point, and may be, for example, 30.
And 3, calculating the corresponding confidence coefficient under the specified error radius according to the position covariance matrix based on a confidence ellipse theory.
Preferably, in step 3, the error radius is set to R according to the measurement precision requirement, and the corresponding confidence CIf is calculated according to the relationship between the confidence and the confidence interval as: CIf-1-exp (-R)2/(2λ))。
Ω (1,1), Ω (2,2), and Ω (1,2) respectively denote elements of corresponding positions in the covariance matrix of the target position.
Example 2
Embodiment 2 provided by the present invention is an embodiment of a vehicle-end monocular vision mapping measurement confidence evaluation system provided by the present invention, and as shown in fig. 2, is a structural block diagram of an embodiment of a vehicle-end monocular vision mapping measurement confidence evaluation system provided by the present invention, as can be seen from fig. 2, the system includes: an initialization module 101, a location covariance matrix estimation module 102 and a confidence calculation module 103.
An initialization module 101, configured to initialize each error covariance matrix of the vehicle-end monocular vision system, where the covariance matrix includes a vehicle-end position and attitude error covariance matrix ΩGAnd the image characteristic point matching pixel error covariance matrix omegaP。
And the position covariance matrix estimation module 102 is configured to calculate a position covariance matrix of the target point after monocular vision mapping.
The confidence coefficient calculation module 103 is configured to calculate, based on a confidence ellipse theory, a corresponding confidence coefficient under the specified error radius according to the position covariance matrix.
Fig. 3 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device may include: the system comprises a processor 201, a communication interface 202, a memory 203 and a communication bus 204, wherein the processor 201, the communication interface 202 and the memory 203 are communicated with each other through the communication bus 204. The processor 201 may invoke a computer program stored on the memory 203 and operable on the processor 201 to perform the method for estimating the confidence of the vehicle-end monocular vision mapping measurement provided by the above embodiments, for example, including: step 1, initializing each error covariance matrix of the vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP(ii) a Step 2, calculating a position covariance matrix of the target point after monocular vision mapping; and 3, calculating the corresponding confidence coefficient under the specified error radius according to the position covariance matrix based on a confidence ellipse theory.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the method for estimating confidence in vehicle-end monocular vision mapping measurement provided in the foregoing embodiments, for example, the method includes: step 1, initializing each error covariance matrix of a vehicle-end monocular vision system, wherein the covariance matrix comprises vehicle-end position and attitude error covariance matrixArray omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP(ii) a Step 2, calculating a position covariance matrix of the target point after monocular vision mapping; and 3, calculating the corresponding confidence coefficient under the specified error radius according to the position covariance matrix based on a confidence ellipse theory.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
Claims (6)
1. A method for evaluating confidence of monocular vision mapping measurement at a vehicle end is characterized by comprising the following steps:
step 1, initializing each module covariance matrix of a vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd the image characteristic point matching pixel error covariance matrix omegaP;
Step 2, calculating a position covariance matrix of the target point after passing through the monocular vision system;
step 3, based on a confidence ellipse theory, calculating a corresponding confidence coefficient under the appointed error radius according to the position covariance matrix;
the step 2 comprises the following steps:
step 201, combining with the monocular vision mapping process, based on the ceres optimization library, calculating a position covariance matrix set Ω of the feature point set on the target point surfaceiI is 1, …, n, wherein n is the number of the characteristic points;
The position covariance matrix represents errors of the target in the transverse direction and the longitudinal direction of the monocular camera coordinate system, and the size of the position covariance matrix is 2 x 2 square matrix:
in the step 3, the error radius is set to R according to the requirement of measurement accuracy, and the corresponding confidence CIf is calculated according to the relationship between the confidence and the confidence interval as follows: CIf-1-exp (-R)2/(2λ));
2. The method of claim 1, wherein the covariance matrix of each module of the vehicle-end monocular vision system is calculated in step 1 using monte carlo statistics.
3. The method of claim 1, wherein step 2 further comprises: perfecting the boundary value of the position covariance matrix of the target point according to the sample data;
the process of calculating the boundary values of the position covariance matrix of the target point includes:
step 203, initializing a set Ω ═ { Φ } of the covariance matrix of the current target point, and adding the covariance matrix of the first target point position, where Ω ═ Ω { (Ω) } at this time1};
Step 204, comparing the difference values of diagonal element values of the position covariance matrices of the new target point and the current target point in sequence, and adding the position covariance matrix of the new target point into the set omega of the position covariance matrices when judging that the difference value exceeds a set threshold;
4. A vehicle-end monocular vision mapping measurement confidence evaluation system is characterized by comprising: the device comprises an initialization module, a position covariance matrix estimation module and a confidence coefficient calculation module;
an initialization module for initializing each module error covariance matrix of the vehicle-end monocular vision system, wherein the covariance matrix comprises a vehicle-end position and attitude error covariance matrix omegaGAnd image feature point matching pixel error covariance matrix omegaP;
The position covariance matrix estimation module is used for calculating a position covariance matrix of the target point after monocular vision mapping;
the confidence coefficient calculation module is used for calculating the corresponding confidence coefficient under the designated error radius;
the process of the location covariance matrix estimation module calculating the location covariance matrix comprises:
step 201, combining with the monocular vision mapping process, based on the ceres optimization library, calculating a position covariance matrix set Ω of the feature point set on the target point surfaceiI is 1, …, n, wherein n is the number of the characteristic points;
The position covariance matrix represents errors of the target in the transverse direction and the longitudinal direction of the monocular camera coordinate system, and the size of the position covariance matrix is 2 x 2 square matrix:
the confidence coefficient calculation module sets the error radius as R according to the measurement precision requirement, and calculates the corresponding confidence coefficient CIf according to the relation between the confidence coefficient and the confidence interval as follows: CIf-1-exp (-R)2/(2λ));
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for vehicle-end monocular visual mapping measurement confidence assessment according to any one of claims 1 to 3.
6. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, implements the steps of the method for vehicle end monocular vision mapping measurement confidence assessment according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011158441.6A CN112258577B (en) | 2020-10-26 | 2020-10-26 | Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011158441.6A CN112258577B (en) | 2020-10-26 | 2020-10-26 | Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112258577A CN112258577A (en) | 2021-01-22 |
CN112258577B true CN112258577B (en) | 2022-06-17 |
Family
ID=74262454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011158441.6A Active CN112258577B (en) | 2020-10-26 | 2020-10-26 | Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112258577B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113514052A (en) * | 2021-06-10 | 2021-10-19 | 西安因诺航空科技有限公司 | Multi-machine cooperation high-precision active target positioning method and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8179251B2 (en) * | 2009-09-30 | 2012-05-15 | Mitsubishi Electric Research Laboratories, Inc. | Method and network for determining positions of wireless nodes while minimizing propagation of positioning errors |
CN110617815B (en) * | 2018-06-19 | 2023-10-10 | 上海汽车集团股份有限公司 | Automatic driving monitoring and alarming method and device |
CN109931940B (en) * | 2019-01-22 | 2022-04-19 | 九天创新(广东)智能科技有限公司 | Robot positioning position reliability assessment method based on monocular vision |
US10782137B2 (en) * | 2019-01-28 | 2020-09-22 | Qfeeltech (Beijing) Co., Ltd. | Methods, apparatus, and systems for localization and mapping |
CN111310772B (en) * | 2020-03-16 | 2023-04-21 | 上海交通大学 | Point line characteristic selection method and system for binocular vision SLAM |
-
2020
- 2020-10-26 CN CN202011158441.6A patent/CN112258577B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112258577A (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108885791B (en) | Ground detection method, related device and computer readable storage medium | |
US10247556B2 (en) | Method for processing feature measurements in vision-aided inertial navigation | |
CN112990124B (en) | Vehicle tracking method and device, electronic equipment and storage medium | |
CN114332225B (en) | Lane line matching positioning method, electronic device and storage medium | |
CN111753605B (en) | Lane line positioning method, lane line positioning device, electronic equipment and readable medium | |
CN113740871A (en) | Laser SLAM method, system equipment and storage medium in high dynamic environment | |
US10754922B2 (en) | Method and apparatus for sensor fusion | |
CN111508025B (en) | Three-dimensional position estimation device and program | |
CN112330735B (en) | Method and system for evaluating confidence of measurement accuracy of relative position of vehicle body | |
US20160379365A1 (en) | Camera calibration device, camera calibration method, and camera calibration program | |
CN114387341B (en) | Method for calculating the six-degree-of-freedom position and attitude of an aircraft using a single aerial observation image | |
CN117433511B (en) | Multi-sensor fusion positioning method | |
CN112258577B (en) | Method and system for evaluating confidence of monocular vision mapping measurement at vehicle end | |
CN119104073A (en) | Method, device, equipment and readable storage medium based on environmental characteristics positioning | |
CN110006462B (en) | On-orbit calibration method of star sensor based on singular value decomposition | |
JP2022130588A (en) | ALIGNMENT METHOD, APPARATUS, ELECTRONIC DEVICE AND VEHICLE FOR AUTOMATED DRIVING VEHICLE | |
CN112325770B (en) | Method and system for evaluating confidence of relative precision of monocular vision measurement at vehicle end | |
CN114255274A (en) | Vehicle positioning method, system, equipment and storage medium based on two-dimension code recognition | |
CN115060268A (en) | A computer room fusion positioning method, system, equipment and storage medium | |
CN116883460A (en) | Visual perception positioning method and device, electronic equipment and storage medium | |
CN115311635B (en) | Lane line processing method, device, equipment and storage medium | |
CN114187352B (en) | Error interval determination method, device and equipment | |
Maset et al. | Errors-in-variables anisotropic extended orthogonal procrustes analysis | |
CN113495255B (en) | A method and device for determining the attitude of a laser radar carried on a vehicle | |
CN117218205B (en) | Camera external parameter correction method and 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 | ||
GR01 | Patent grant |