Head-up display method and device, medium and vehicle

By detecting and filtering feature points of vehicle images, combined with pose information fusion, the problem of unstable 3D rendering objects in the heads-up display system in the existing technology is solved, the pose estimation accuracy and robustness are improved, and the user experience is improved. .

CN118823741APending Publication Date: 2024-10-22GREAT WALL MOTOR CO LTD

Patent Information

Application Number
CN202411168235.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The 3D rendering objects in the existing car head-up display system are unstable due to positioning errors and pose errors, and there are problems such as jitter, drift, and lag, which affect the user experience.

Method used

By detecting and filtering feature points on vehicle images, we can extract more accurate and stable target feature points and fuse them with the initial pose information to perform pose prediction and imaging rendering to generate a head-up display screen.

Benefits of technology

It improves the accuracy and robustness of vehicle pose estimation, improves the head-up display effect, reduces jitter and drift, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823741A_ABST
    Figure CN118823741A_ABST
Patent Text Reader

Abstract

The invention provides a head-up display method and device, a medium and a vehicle, and relates to the technical field of image processing. Firstly, feature point detection is performed on a vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points; and then screening the original feature points to obtain target feature points, and fusing feature information corresponding to the target feature points with the initial pose information to obtain a pose prediction result. And finally, performing imaging rendering based on a pose prediction result to generate a head-up display picture. Therefore, by performing initial detection and screening on the feature points, more accurate and stable target feature points are extracted, and pose information fusion and prediction are performed based on the target feature points, so that the precision and robustness of vehicle pose estimation are improved, and the head-up display effect of the vehicle is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a head-up display method, device, medium and vehicle. Background Art

[0002] The head-up display (HUD) is an essential feature in modern car driving information systems. Relying on advanced optical technology and projection equipment, HUD can project the HUD image containing driving information within the driver's field of vision, display it on the transparent area of ​​the front windshield, and integrate it with the road scene. The car HUD not only reduces the time the driver's eyes are away from the road, but also avoids the distraction caused by looking down at the dashboard, providing great convenience for the driver and greatly improving the driving experience and safety.

[0003] Currently, most HUDs display information in two dimensions and cannot display road information clearly and vividly. Although AR-HUD (head-up display based on augmented reality) can overlay guidance information on the road ahead in the form of 3D rendering, allowing car owners to follow the guidance more intuitively, due to positioning errors, posture errors and other reasons, the 3D rendering objects are not stable enough when displayed, and there are problems such as jitter, drift, and freeze, which affects the user experience. Summary of the invention

[0004] The present application provides a head-up display method, device, medium and vehicle, which can improve the accuracy and robustness of vehicle posture estimation to improve the head-up display effect.

[0005] A first aspect of an embodiment of the present application provides a head-up display method, the method comprising:

[0006] Performing feature point detection on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points;

[0007] Screening the original feature points to obtain target feature points;

[0008] The feature information corresponding to the target feature point is integrated with the initial pose information to obtain a pose prediction result;

[0009] Imaging rendering is performed based on the posture prediction result to generate a head-up display screen.

[0010] Optionally, feature point detection is performed on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points, including:

[0011] Using a preset convolutional neural network model to perform feature point detection on the vehicle-mounted image to obtain a corner point probability map;

[0012] Determine the corner points in the corner point probability map whose probability values ​​are greater than a probability threshold as the original feature points;

[0013] Based on the position information and a descriptor of each of the original feature points, feature information corresponding to the original feature point is obtained, and the descriptor is used to describe local image texture information around the original feature point.

[0014] Optionally, the original feature points are screened to obtain target feature points, including:

[0015] Determine the variance expansion coefficient corresponding to the original feature point, and perform stability screening on the original feature point based on the variance expansion coefficient to obtain a first feature point; and / or,

[0016] Determine a feature value corresponding to the original feature point, and perform distinguishability screening on the original feature point based on the feature value to obtain a second feature point;

[0017] The target feature point is determined based on the first feature point and / or the second feature point.

[0018] Optionally, determining the variance expansion coefficient corresponding to the original feature point includes:

[0019] For any of the original feature points, linearly regress the original feature point with the remaining original feature points to obtain a determination coefficient corresponding to the original feature point;

[0020] Based on the determination coefficient, a variance expansion coefficient corresponding to the original feature point is determined.

[0021] Optionally, performing stability screening on the original feature points based on the variance expansion coefficient to obtain the first feature points includes:

[0022] Determine the variance expansion threshold corresponding to the current scenario;

[0023] The original feature point whose variance expansion coefficient is less than a preset variance expansion threshold is determined as the first feature point.

[0024] Optionally, determining a feature value corresponding to the original feature point includes:

[0025] Based on a feature matrix formed by original feature points of a plurality of continuous vehicle-mounted images, constructing a covariance matrix corresponding to the feature matrix;

[0026] Perform eigendecomposition on the covariance matrix to obtain eigenvalues ​​corresponding to the original feature points.

[0027] Optionally, performing distinguishability screening on the original feature points based on the feature values ​​to obtain second feature points includes:

[0028] Arrange the eigenvalues ​​in descending order;

[0029] The original feature points corresponding to the front preset number of feature values ​​are determined as the second feature points.

[0030] Optionally, the feature information corresponding to the target feature point is fused with the initial pose information to obtain a pose prediction result, including:

[0031] Constructing a state vector corresponding to the initial posture information; the initial posture information at least includes camera posture data and inertial measurement unit data;

[0032] Constructing a first observation equation based on feature information corresponding to the target feature point, and constraining the camera's posture state by minimizing the reprojection error of the target feature point;

[0033] Constructing a second observation equation based on the inertial measurement unit data to constrain the position and posture change of the camera;

[0034] The optimal solution of the state vector is solved based on the first observation equation and the second observation equation to obtain the posture prediction result.

[0035] Based on the same inventive concept, a second aspect of an embodiment of the present application provides a head-up display device, the device comprising:

[0036] A feature point detection module is used to perform feature point detection on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points;

[0037] A feature point screening module is used to screen the original feature points to obtain target feature points;

[0038] A posture estimation module is used to fuse the feature information corresponding to the target feature point with the initial posture information to obtain a posture prediction result;

[0039] The rendering and display module is used to perform imaging rendering based on the posture prediction result to generate a head-up display screen.

[0040] Based on the same inventive concept, the third aspect of an embodiment of the present application provides a storage medium, in which machine executable instructions are stored. When the machine executable instructions are executed by a processor, the head-up display method proposed in the first aspect of the present application is implemented.

[0041] Based on the same inventive concept, the fourth aspect of an embodiment of the present application provides a vehicle, comprising a processor and a memory; the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the head-up display method proposed in the first aspect of the present application.

[0042] Compared with the prior art, this application has the following advantages:

[0043] A head-up display method provided in an embodiment of the present application first performs feature point detection on a vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points. The original feature points are then screened to obtain target feature points, and the feature information corresponding to the target feature points is fused with the initial posture information to obtain a posture prediction result. Finally, imaging rendering is performed based on the posture prediction result to generate a head-up display screen. Thus, by performing initial detection and screening on the feature points, more accurate and stable target feature points are extracted, and posture information fusion and prediction are performed based on the target feature points to improve the accuracy and robustness of vehicle posture estimation, thereby improving the vehicle head-up display effect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 It is a flowchart of the MSCKF algorithm in one embodiment of the present application;

[0046] Figure 2 is a flow chart of a head-up display method in one embodiment of the present application;

[0047] Figure 3 is a schematic diagram of functional modules of a head-up display device in one embodiment of the present application;

[0048] Figure 4 It is a structural schematic diagram of a vehicle in one embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] The MSCKF algorithm (Multi-State Constraint Kalman Filter) is a filter-based visual inertial odometry (VIO) algorithm. It combines IMU (Inertial Measurement Unit) data and visual information, and uses the Kalman filter to perform state estimation to achieve robot positioning and navigation. It is widely used in scenarios that require high-precision positioning, such as drones, AR / VR devices, and self-driving cars.

[0051] In the prior art, the MSCKF algorithm is usually used to estimate the vehicle's position and posture and perform head-up display after 3D rendering. Figure 1 As shown in the figure, the MSCKF algorithm obtains more accurate vehicle posture information by integrating positioning information of the global positioning system (GPS or GNSS) or visual information of the vehicle-mounted camera and posture information of the inertial measurement unit, and then renders it through rendering tools such as Unity or Kanzi and projects it onto the head-up display for display, so as to realize the AR-HUD head-up display function.

[0052] However, the traditional MSCKF algorithm still has limitations in feature point detection and fusion, which affects the accuracy and robustness of pose estimation, resulting in unstable 3D rendered objects during display, jitter, drift, and other problems, which in turn leads to poor overall performance of AR-HUD head-up display and affects user experience.

[0053] In view of this, this application proposes a head-up display method, which extracts more accurate and stable target feature points by initial detection and screening of feature points, and performs pose information fusion and prediction based on the target feature points to improve the accuracy and robustness of vehicle pose estimation. Thus, by introducing a new feature point extraction and information fusion method, the traditional MSCKF algorithm is improved, thereby improving the vehicle head-up display effect.

[0054] Please refer to Figure 1 , Figure 1 1 is a flow chart of a head-up display method proposed in one embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0055] S101: Perform feature point detection on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points.

[0056] In this embodiment, the vehicle-mounted image refers to image information related to the vehicle's driving environment captured by an image acquisition device (such as a camera, infrared sensor, etc.) installed on the vehicle. The vehicle-mounted image includes one or more of the following images: 1. Driving environment images, such as environmental information such as roads, pedestrians, other vehicles, traffic signs, and traffic lights captured by cameras installed on the front, rear, and sides of the vehicle. 2. Night vision and infrared images. At night or in severe weather conditions, image information captured by special equipment such as infrared cameras helps to enhance the vehicle's perception capabilities and effectively improve the accuracy of head-up display information, thereby improving driving safety at night or in low visibility conditions. 3. Panoramic images. A 360-degree panoramic view of the vehicle's surroundings spliced ​​together by multiple cameras provides the driver with environmental perception without blind spots in the head-up display, thereby improving the driving experience.

[0057] The original feature point refers to a point with specific features in the vehicle image, such as a point representing the outline of the front vehicle, or a point representing obstacles such as pedestrians. The feature information of the original feature point includes the position and texture information of the original feature point.

[0058] In specific implementation, feature point detection can be performed on the vehicle image through feature extraction methods such as Harris corner detection, ORB (Oriented FAST and Rotated BRIEF), SIFT (Scale-Invariant Feature Transform) and SURF (Speeded-Up Robust Features) to extract the original feature points for subsequent pose estimation and head-up display. In the actual application of the head-up display system, the appropriate feature extraction algorithm and parameter setting can be selected according to factors such as specific hardware resources, computing power and real-time requirements, and this application does not impose specific restrictions on this.

[0059] S102: Screening the original feature points to obtain target feature points.

[0060] In this embodiment, the target feature point refers to an original feature point with good stability and distinguishability among the original feature points. Stability means that the target feature point needs to remain stable in continuous vehicle-mounted image frames, that is, the target feature point can still be accurately identified and tracked under different viewing angles and lighting conditions. Distinguishability means that the target feature point should have a unique appearance or structure so that it can be distinguished and identified in the vehicle-mounted image, which helps to reduce the possibility of mismatching and mistracking.

[0061] In this embodiment, the target feature points are selected mainly to screen the original feature points from the two aspects of stability and distinguishability to improve the accuracy of feature point extraction, facilitate a better understanding of the current driving conditions, and promote the estimation of the vehicle posture.

[0062] Furthermore, when screening the original feature points based on stability and distinguishability, filter, wrapper or embedded feature selection methods can be used. Among them, filter feature selection methods include: methods based on statistical tests, such as t-test, F-test, etc., used to test the correlation or significance between feature variables, or methods based on information theory, such as mutual information and maximum information coefficient (MIC), used to measure the degree of information sharing between feature variables, so as to eliminate the original feature points with too strong correlation or information sharing, and obtain more accurate and useful target feature points. Wrapper feature selection methods include: recursive feature elimination (RFE) method, which is used to gradually reduce the number of features by repeatedly building models and eliminating the least important features. Sequential selection methods, including Sequential Forward Selection (SFS) and Sequential Backward Selection (SBS), are used to find the optimal feature subset by gradually adding or deleting features. Embedded feature selection methods include: model-based feature selection methods, such as decision trees, random forests, etc., which can automatically evaluate the importance of features during training and select features based on importance. Regularization methods, such as Ridge Regression and Lasso Regression, limit the complexity of the model by adding regularization terms to the loss function and indirectly achieve feature selection.

[0063] S103: Fusing the feature information corresponding to the target feature point with the initial pose information to obtain a pose prediction result.

[0064] In this embodiment, the initial posture information includes camera posture data and inertial measurement unit data. Among them, the camera posture data includes the camera posture and position data corresponding to the continuous N frames of vehicle-mounted images in the sliding window, and the inertial measurement unit data includes data such as vehicle posture, speed, acceleration, and the position of the vehicle in the global coordinate system. After the feature information corresponding to the target feature point is fused with the initial posture information, the posture prediction result obtained is the 6dof posture information of the vehicle, that is, the position and posture of the vehicle in three-dimensional space, specifically including the three-dimensional degrees of freedom of movement (Translation) and the three-dimensional degrees of freedom of rotation (Rotation). Based on the posture prediction results, not only the coordinate position (x, y, z) of the vehicle can be determined, but also the rotation of the vehicle (pitch angle, yaw angle, roll angle) can be determined to provide accurate vehicle posture information for the subsequent head-up display and improve the head-up display effect.

[0065] Furthermore, when the feature information corresponding to the target feature point is fused with the initial pose information, the MSCKF algorithm can be used. The MSCKF algorithm forms a state vector based on the camera pose state and the inertial measurement unit state. At the same time, since the target feature point is observed by the camera multiple times, geometric constraints are formed between multiple camera states. These geometric constraints are used to construct the observation model, and then the state vector is updated to finally obtain the vehicle pose prediction result.

[0066] S104: Perform imaging rendering based on the posture prediction result to generate a head-up display screen.

[0067] In this embodiment, after obtaining the vehicle's posture prediction results through the above steps, imaging rendering is performed based on the posture prediction results to generate a head-up display screen, which is then displayed on the windshield in front of the driver through the HUD system. In this way, the driver can clearly see the vehicle's current position (longitude and latitude coordinate information), driving direction, and road conditions ahead without shifting his sight, thereby shortening the driver's visual blind spot time ahead and avoiding traffic accidents caused by lowering his head and being distracted. In addition, in addition to the vehicle's position, direction, and speed information, the head-up display screen may also include information such as fuel level, engine speed, navigation information, speed limit, lane departure warning, and obstacle prompts ahead detected by various sensors to help the driver better understand the current driving environment and improve driving safety and comfort.

[0068] This embodiment first performs an initial detection of feature points, and then screens the detected feature points based on stability and distinguishability requirements to extract more accurate and stable target feature points. Then, pose information fusion and prediction are performed based on the target feature points, which can better improve the stability of feature point tracking. Therefore, by introducing a new feature point extraction and information fusion method, the traditional MSCKF algorithm is improved, which can improve the accuracy and robustness of vehicle pose estimation, thereby improving the vehicle head-up display effect.

[0069] Optionally, feature point detection is performed on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points, including:

[0070] S201: Use a preset convolutional neural network model to perform feature point detection on the vehicle image to obtain a corner point probability map.

[0071] In this embodiment, a preset convolutional neural network model is used to detect key points in the vehicle-mounted image and generate corresponding descriptors to obtain the position information of the original feature points and the corresponding descriptors, wherein the descriptors are used to describe the local image texture information around the original feature points.

[0072] Specifically, the convolutional neural network model can be a deep learning model constructed based on the LF-Net (Learned Feature Networks) algorithm, the D2-Net (Dense Descriptor Extraction at Scale) algorithm, the SuperPoint algorithm, etc. In this embodiment, the SuperPoint algorithm is used to detect feature points of vehicle-mounted images. The SuperPoint algorithm can show a good re-detection rate in both synthetic data sets and real scenes through self-supervised learning. The algorithm uses the correspondence between images to learn to extract stable and repeatable feature points from the input image. It can accurately extract feature points in the image under various lighting, texture and rotation conditions, and generate stable feature descriptors.

[0073] The feature points output by the SuperPoint algorithm mainly include two parts: one is the feature point position, and the other is the descriptor corresponding to the feature point. Among them, in the feature point detection stage, the SuperPoint algorithm uses a fully convolutional network structure to directly extract feature points on the vehicle image, and the output corner point position is pixel-level accurate. Specifically, the SuperPoint algorithm encodes the vehicle image into a low-resolution feature map through the Encoder-Decoder structure, and then decodes the feature map back to a high-resolution corner point probability map through the decoder. The probability value of each pixel on the corner point probability map represents the probability that the center point of the corresponding 8x8 pixel block in the original vehicle image is a potential feature point.

[0074] S202: Determine the corner points in the corner point probability map whose probability values ​​are greater than the probability threshold as original feature points.

[0075] In this implementation, the probability value is first normalized by the softmax function to map the probability value to the range of [0, 1] for easy comparison and filtering. At the same time, in order to obtain more accurate feature points, the corner points with probability values ​​greater than the probability threshold in the corner point probability map are determined as original feature points. The probability threshold can be set according to actual detection requirements, for example, it can be set to 0.8, so that only corner points with probability values ​​greater than 0.8 are considered to be original feature points.

[0076] S203: Based on the position information and the descriptor of each original feature point, obtain feature information corresponding to the original feature point.

[0077] In this implementation, the feature information corresponding to the original feature point includes the position information of the original feature point and the corresponding descriptor, wherein the descriptor is used to describe the local image texture information around the original feature point.

[0078] For each original feature point detected, the SuperPoint algorithm generates a corresponding descriptor to describe the local image texture information around the feature point. The Decoder structure is also used when generating the descriptor to decode the feature map into a descriptor map. Each pixel on the descriptor map corresponds to a descriptor vector. The descriptor vector has a high dimension and can capture rich information around the original feature point to facilitate subsequent feature matching. The SuperPoint algorithm generates a high-dimensional descriptor vector and optimizes the discrimination of the descriptor during the training process, thereby ensuring the stability of the original feature points in different vehicle image frames.

[0079] This embodiment improves the ability to detect similar or identical feature points in multiple frames of vehicle-mounted images by introducing a new feature point detection algorithm, and can cope with image changes such as lighting changes and image rotation, thereby ensuring the accuracy and stability of feature point extraction and providing a basis for subsequent feature matching and pose estimation.

[0080] Optionally, the original feature points are screened to obtain target feature points, including:

[0081] S301: Determine the variance expansion coefficient corresponding to the original feature point, and perform stability screening on the original feature point based on the variance expansion coefficient to obtain a first feature point.

[0082] In this embodiment, each original feature point has its corresponding variance inflation factor, and the variance inflation factor (VIF) is a statistic used to measure the severity of multicollinearity between multiple original feature points. Multicollinearity refers to the existence of a linear correlation between the original feature points, that is, the feature of an original feature point can be a linear combination of the features of one or more other original feature points. The larger the variance inflation factor, the more serious the multicollinearity between the multiple original feature points, that is, the more serious the mutual influence between these original feature points, so the original feature points are more unstable, which is not conducive to subsequent feature matching and pose estimation. Therefore, this embodiment performs stability screening on the original feature points based on the variance inflation coefficient to obtain a more accurate and stable first feature point.

[0083] Specifically, the process mainly includes:

[0084] S301 - 1 : For any original feature point, perform linear regression on the original feature point and the other original feature points to obtain a determination coefficient corresponding to the original feature point.

[0085] In this embodiment, it is assumed that there are k original feature points, x i represents the i-th original feature point (1≤i≤k). For the original feature point x i For example, we use it as the dependent variable and use the other original feature points, that is, x1 to x i-1 and x i+1 to x k As the independent variable, we fit a linear regression model. The regression model can be expressed as:

[0086] x i =β0+β1x1+β2x2+...+β i-1 x i-1 +β i+1 x i+1 ...+β k x k +ε,

[0087] Among them, β0 to β k is the regression coefficient and ε is the error term.

[0088] By analyzing the regression model, the original feature point x can be obtained. i The corresponding coefficient of determination The coefficient of determination Represents the original feature point x i The square of the negative correlation coefficient for the remaining k-1 original feature points.

[0089] S301 - 2: Based on the determination coefficient, determine the variance expansion coefficient corresponding to the original feature point.

[0090] In this embodiment, the original feature point x i The corresponding variance inflation factor That is, the variance inflation coefficient is a function of the coefficient of determination of the original feature points. The variance inflation coefficient calculates the proportion of the variance of each original feature point that increases due to the existence of other original feature points. Specifically, the variance inflation coefficient reflects the ratio of the variance of each original feature point explained by other original feature points to the variance of the original feature point itself.

[0091] Coefficient of determination The closer it is to 1, the greater the variance inflation factor VIF is. i The larger it is, the more serious the multicollinearity between the original feature points is.

[0092] S301 - 3: Determine the variance expansion threshold corresponding to the current scene.

[0093] In this implementation, the variance expansion threshold is used to perform stability screening on the original feature points, and the variance expansion threshold is the same for all the original feature points.

[0094] Furthermore, the variance expansion threshold is related to the specific application scenario. For example, in a scene with strong illumination, the variance expansion threshold can be set smaller, such as 5. This is because in a scene with strong illumination, the quality of the collected vehicle images is better and clearer, and more original feature points are extracted from them, so the requirements for the variance expansion coefficient are strengthened to reduce the number of feature points and leave more stable feature points. In a scene with weak illumination, since the quality of the collected vehicle images is relatively poor, in order to ensure that enough feature points can be extracted for subsequent pose estimation, the variance expansion threshold can be set larger, such as 10, to relax the requirements for the variance expansion coefficient.

[0095] S301 - 4 : Determine an original feature point whose variance inflation coefficient is less than a preset variance inflation threshold as a first feature point.

[0096] In this implementation, since the larger the variance expansion coefficient, the more serious the multicollinearity between multiple original feature points, the more unstable the original feature points are. Therefore, this embodiment sets the corresponding variance expansion threshold according to the current actual application scenario, and selects the original feature points with a variance expansion coefficient less than the preset variance expansion threshold as the first feature point, and deletes the remaining original feature points with a variance expansion coefficient equal to or greater than the preset variance expansion threshold, to achieve further stability screening of the original feature points, thereby retaining feature points with better stability for subsequent pose estimation, so as to improve the accuracy of pose estimation.

[0097] S302: Determine the eigenvalues ​​corresponding to the original feature points, and perform distinguishability screening on the original feature points based on the eigenvalues ​​to obtain second feature points.

[0098] In this embodiment, the eigenvalue is used to characterize the importance of the original feature point. The larger the eigenvalue of an original feature point, the greater the importance of the original feature point, which means that the original feature point has stronger distinguishability, and it is easier to distinguish the original feature point from other original feature points. Therefore, this embodiment performs distinguishability screening on the original feature points based on the eigenvalue to obtain a more accurate and representative second feature point.

[0099] Specifically, the process mainly includes:

[0100] S302-1: constructing a covariance matrix corresponding to the feature matrix based on the original feature points of the plurality of continuous vehicle-mounted images.

[0101] In this embodiment, assuming that there are N consecutive vehicle images, each of which has D original feature points, an N×D feature data matrix X can be formed by columns, and then the covariance matrix C corresponding to the feature data matrix X is constructed. The covariance matrix C is a D×D matrix, and its elements C ij Represents the covariance between the ith original feature point and the jth original feature point. The calculation formula is C = (1 / (N-1))*X'X, where X' is the transpose of X, and N-1 represents the number of samples minus 1. This is to obtain an unbiased estimate of the sample covariance, and then obtain the covariance matrix C.

[0102] Furthermore, before forming the feature data matrix X, for the original feature points of any vehicle-mounted image, the original feature point data can first be standardized based on the feature information corresponding to the original feature points, that is, the mean value on each feature dimension is subtracted and divided by the standard deviation. This ensures that the mean value of the feature data of these original feature points is zero and the standard deviation is 1, thereby eliminating the dimensional differences between different original feature points. Then, the feature data of the standardized original feature points are organized into an N×D feature data matrix X by column to reduce the calculation intensity of the subsequent covariance matrix C.

[0103] S302-2: Perform eigendecomposition on the covariance matrix to obtain eigenvalues ​​corresponding to the original feature points.

[0104] In this embodiment, by performing eigenvalue decomposition on the covariance matrix C, D eigenvalues ​​λ1, λ2, ..., λ D and the eigenvalues ​​corresponding to the eigenvectors V1, V2, ..., V D. Among them, the eigenvalue λ is the variance of the original feature point. Variance is an indicator to measure the degree of dispersion of data distribution, which reflects the average square distance between each data point and the mean. Therefore, the larger the variance, the more dispersed the value distribution of the original feature point is, that is, the greater the difference between different observations of the original feature point, or the greater the variability or volatility of the original feature point, so the original feature point is more distinguishable, that is, the more important the original feature point is.

[0105] S302-3: Arrange the eigenvalues ​​in descending order, and determine the original feature points corresponding to the front preset number of eigenvalues ​​as the second feature points.

[0106] In this implementation, after obtaining the eigenvalues ​​corresponding to the original feature points, the eigenvalues ​​are arranged in descending order, and then the original feature points corresponding to the top k eigenvalues ​​are selected as the second feature points. The selected second feature points are more important and have better distinguishability.

[0107] The preset number k can be set according to the number of original feature points actually detected. The more original feature points there are, the larger the preset number k is. For example, it can be set according to a fixed ratio of 50% to select the original feature points with the top 50% importance.

[0108] S303: Determine a target feature point based on the first feature point and / or the second feature point.

[0109] In this embodiment, the target feature point may be composed of the first feature point selected in step S301, or the second feature point selected in step S302, or the same feature point between the first feature point and the second feature point.

[0110] This embodiment screens the original feature points from the aspects of stability and distinguishability, obtains the first feature point and the second feature point respectively, and determines the same feature point in the first feature point and the second feature point as the final target feature point, so as to improve the accuracy of feature point extraction, help reduce the error of subsequent pose estimation, and improve the accuracy and robustness of pose estimation as a whole.

[0111] Optionally, the feature information corresponding to the target feature point is fused with the initial pose information to obtain a pose prediction result, including:

[0112] S401: Construct a state vector corresponding to the initial posture information.

[0113] In this embodiment, the initial pose information includes at least camera pose data and inertial measurement unit data. The constructed state vector includes the IMU state (inertial measurement unit) at the current moment and N historical Camera pose states (camera pose states). Among them, the IMU state includes the bias of the gyroscope and accelerometer, the position and velocity of the IMU in the world coordinate system, and the rotation quaternion from the IMU to the world coordinate system, and the Camera pose state includes the position and attitude of the camera in the world coordinate system at N consecutive moments.

[0114] S402: Construct a first observation equation based on feature information corresponding to the target feature point, and constrain the camera's posture state by minimizing the reprojection error of the target feature point.

[0115] In this embodiment, since the target feature points will be observed by the camera multiple times, the camera posture states at different times are added to the state vector, and geometric constraints are formed between multiple camera states (Multi-State) through the target feature points, so as to construct the first observation equation using the feature information corresponding to the target feature points, and constrain the camera posture by minimizing the reprojection error of the target feature points, so as to realize the continuous updating of the state vector. Among them, the reprojection error (i.e., residual) of the target feature point refers to the difference between the actual observed value of the target feature point on the camera image plane and the predicted value estimated according to the current state vector. By linearizing the residual, the linearized relationship between the residual and the state vector is obtained, and then the state vector is updated in combination with the observed residual.

[0116] During the constraint update process, the historical Camera pose states will be continuously removed, and only a fixed number of camera poses (Sliding Window) will be maintained, thereby limiting the amount of computation on the algorithm backend and ensuring that the algorithm can run stably in real-time applications.

[0117] S403: Construct a second observation equation based on the inertial measurement unit data to constrain the position and posture change of the camera.

[0118] In this embodiment, the IMU data is first pre-integrated to convert the original high-frequency data of the IMU (such as angular velocity and acceleration) into low-frequency position and posture changes, so as to facilitate fusion with the low-frequency data of the camera (such as image frames). Then, the second observation equation is constructed based on the integration result of the IMU data to constrain the speed and posture changes of the camera to update the state vector. Among them, the second observation equation usually includes parameters such as the rotation matrix of the camera, the translation vector, and the bias of the IMU.

[0119] S404: Solve the optimal solution of the state vector based on the first observation equation and the second observation equation to obtain a posture prediction result.

[0120] In this embodiment, after constructing the observation equations of both aspects, the nonlinear optimization algorithm Ceres can be used to jointly optimize the camera's posture. During the optimization process, the camera's posture estimation and the IMU's bias estimation are continuously adjusted to continuously update the estimated value of the state vector, and finally the optimal solution of the state vector is solved to obtain the posture prediction result. Based on the posture prediction results, not only the coordinate position of the vehicle can be determined, but also the vehicle's direction, speed and other information can be determined to provide accurate vehicle posture information for the subsequent head-up display and improve the head-up display effect.

[0121] In summary, this application can improve the estimation accuracy of vehicle posture and position by introducing new feature point detection algorithms and fusion strategies, especially in complex environments. Secondly, the feature point detection algorithm based on deep learning has higher robustness and can adapt to various lighting and visual conditions, ensuring that the algorithm can work stably in complex environments. In addition, while ensuring high accuracy, this application also focuses on real-time performance. By optimizing the algorithm structure and reducing the computational complexity, it is ensured that the algorithm can run stably in real-time applications.

[0122] Please refer to Figure 3 Based on the same inventive concept, a second aspect of an embodiment of the present application provides a head-up display device, the head-up display device 300 includes:

[0123] The feature point detection module 301 is used to perform feature point detection on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points;

[0124] The feature point screening module 302 is used to screen the original feature points to obtain target feature points;

[0125] The pose estimation module 303 is used to fuse the feature information corresponding to the target feature point with the initial pose information to obtain a pose prediction result;

[0126] The rendering and display module 304 is used to perform imaging rendering based on the posture prediction result to generate a head-up display screen.

[0127] Optionally, the feature point detection module 301 includes:

[0128] The detection submodule is used to detect feature points of the vehicle image using a preset convolutional neural network model to obtain a corner point probability map;

[0129] A selection submodule is used to determine the corner points in the corner point probability map whose probability values ​​are greater than the probability threshold as original feature points;

[0130] The descriptor module is used to obtain feature information corresponding to the original feature point based on the position information and the descriptor of each original feature point. The descriptor is used to describe the local image texture information around the original feature point.

[0131] Optionally, the feature point screening module 302 includes:

[0132] A first screening submodule is used to determine the variance expansion coefficient corresponding to the original feature point, and perform stability screening on the original feature point based on the variance expansion coefficient to obtain a first feature point; and / or,

[0133] A second screening submodule is used to determine the eigenvalues ​​corresponding to the original feature points, and to screen the original feature points for distinguishability based on the eigenvalues ​​to obtain second feature points;

[0134] The confirmation submodule is used to determine the target feature point based on the first feature point and / or the second feature point.

[0135] Optionally, the first screening submodule includes:

[0136] The variance expansion coefficient calculation unit is used to perform linear regression on any original feature point and the remaining original feature points to obtain the determination coefficient corresponding to the original feature point; based on the determination coefficient, determine the variance expansion coefficient corresponding to the original feature point.

[0137] Optionally, the first screening submodule further includes:

[0138] The threshold screening unit is used to determine the variance expansion threshold corresponding to the current scene; and determine the original feature point whose variance expansion coefficient is less than the preset variance expansion threshold as the first feature point.

[0139] Optionally, the second screening submodule includes:

[0140] The eigenvalue calculation unit is used to construct a covariance matrix corresponding to the feature matrix based on the feature matrix formed by the original feature points of multiple continuous vehicle-mounted images; and perform eigendecomposition on the covariance matrix to obtain the eigenvalues ​​corresponding to the original feature points.

[0141] Optionally, the second screening submodule further includes:

[0142] The feature value selection unit is used to arrange the feature values ​​in descending order; and determine the original feature points corresponding to the front preset number of feature values ​​as the second feature points.

[0143] Optionally, the pose estimation module 303 includes:

[0144] The initial construction submodule is used to construct a state vector corresponding to the initial posture information; the initial posture information at least includes camera posture data and inertial measurement unit data;

[0145] A first constraint submodule, used to construct a first observation equation based on feature information corresponding to the target feature point, and constrain the camera's posture state by minimizing the reprojection error of the target feature point;

[0146] A second constraint submodule is used to construct a second observation equation based on the inertial measurement unit data to constrain the position and posture change of the camera;

[0147] The optimization solution submodule is used to solve the optimal solution of the state vector based on the first observation equation and the second observation equation to obtain the posture prediction result.

[0148] As 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.

[0149] In a third aspect, based on the same inventive concept, an embodiment of the present application provides a storage medium, in which machine executable instructions are stored. When the machine executable instructions are executed by a processor, the head-up display method proposed in the first aspect of the present application is implemented.

[0150] It should be noted that the specific implementation of the storage medium in the embodiment of the present application refers to the specific implementation of the head-up display method proposed in the first aspect of the embodiment of the present application, and will not be repeated here.

[0151] In the fourth aspect, based on the same inventive concept, refer to Figure 4 An embodiment of the present application provides a vehicle 400, including a processor 401 and a memory 402; the memory 402 stores machine executable instructions that can be executed by the processor 401, and the processor 401 is used to execute the machine executable instructions to implement the head-up display method proposed in the first aspect of the present application.

[0152] It should be noted that the specific implementation of the vehicle 400 in the embodiment of the present application refers to the specific implementation of the head-up display method proposed in the first aspect of the embodiment of the present application, and will not be repeated here.

[0153] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0154] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0155] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0156] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0157] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0158] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0159] Finally, 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 terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0160] The above is a detailed introduction to a head-up display method, device, medium and vehicle provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A head-up display method, characterized in that: The method comprises: Performing feature point detection on the vehicle-mounted image to obtain a plurality of original feature points and feature information corresponding to the original feature points; Screening the original feature points to obtain target feature points; The feature information corresponding to the target feature point is integrated with the initial pose information to obtain a pose prediction result; Imaging rendering is performed based on the posture prediction result to generate a head-up display screen.

2. The method according to claim 1, characterized in that Perform feature point detection on the vehicle-mounted image to obtain multiple original feature points and feature information corresponding to the original feature points, including: Using a preset convolutional neural network model to perform feature point detection on the vehicle-mounted image to obtain a corner point probability map; Determine the corner points in the corner point probability map whose probability values ​​are greater than a probability threshold as the original feature points; Based on the position information and a descriptor of each of the original feature points, feature information corresponding to the original feature point is obtained, and the descriptor is used to describe local image texture information around the original feature point.

3. The method according to claim 1, characterized in that The original feature points are screened to obtain target feature points, including: Determine the variance expansion coefficient corresponding to the original feature point, and perform stability screening on the original feature point based on the variance expansion coefficient to obtain a first feature point; and / or, Determine a feature value corresponding to the original feature point, and perform distinguishability screening on the original feature point based on the feature value to obtain a second feature point; The target feature point is determined based on the first feature point and / or the second feature point.

4. The method according to claim 3, characterized in that Determining the variance expansion coefficient corresponding to the original feature point includes: For any of the original feature points, linearly regress the original feature point with the remaining original feature points to obtain a determination coefficient corresponding to the original feature point; Based on the determination coefficient, a variance expansion coefficient corresponding to the original feature point is determined.

5. The method according to claim 3, characterized in that: The original feature points are screened for stability based on the variance expansion coefficient to obtain a first feature point, including: Determine the variance expansion threshold corresponding to the current scenario; The original feature point whose variance expansion coefficient is less than a preset variance expansion threshold is determined as the first feature point.

6. The method according to claim 3, characterized in that Determining the feature value corresponding to the original feature point includes: Based on a feature matrix formed by original feature points of a plurality of continuous vehicle-mounted images, constructing a covariance matrix corresponding to the feature matrix; Perform eigendecomposition on the covariance matrix to obtain eigenvalues ​​corresponding to the original feature points.

7. The method according to claim 6, characterized in that The original feature points are screened for distinguishability based on the feature values ​​to obtain second feature points, including: Arrange the eigenvalues ​​in descending order; The original feature points corresponding to the front preset number of feature values ​​are determined as the second feature points.

8. The method according to claim 1, characterized in that The feature information corresponding to the target feature point is integrated with the initial pose information to obtain a pose prediction result, including: Constructing a state vector corresponding to the initial posture information; the initial posture information at least includes camera posture data and inertial measurement unit data; Constructing a first observation equation based on feature information corresponding to the target feature point, and constraining the camera's posture state by minimizing the reprojection error of the target feature point; Constructing a second observation equation based on the inertial measurement unit data to constrain the position and posture change of the camera; The optimal solution of the state vector is solved based on the first observation equation and the second observation equation to obtain the posture prediction result.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the head-up display method according to any one of claims 1 to 8 is implemented.

10. A vehicle, characterized in that: It comprises a processor and a memory; the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the head-up display method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Feature point detection method and device, computer equipment and storage medium

    CN109712128A

  • Robot positioning method with fusion of visual features and IMU information

    CN110345944A

  • High-precision map generation method and device, equipment and storage medium

    CN113326769A

  • Map construction method and device based on lane line semantics

    CN116659482A

  • Dynamic real-time visual odometer implementation method and device and storage medium

    CN117990089A

Cited By

  • Vehicle-mounted AR-HUD real-time alignment system and method based on multi-modal fusion

    CN121632183A