Distortion parameter correction method and device, vehicle, electronic equipment and storage medium

By comparing and updating the serial number of the head-up display when the vehicle is powered on and transmitting distortion parameters, the problem of poor image distortion correction effect caused by the inability to collect distortion parameters when replacing the HUD after sales is solved, and the stability of the image distortion correction effect after replacement is achieved.

CN119624838APending Publication Date: 2025-03-14BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311181300.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

When replacing the head-up display (HUD) after sales, the image distortion parameters caused by HUD and windshield cannot be collected again, resulting in poor image distortion correction effect.

Method used

When the vehicle is powered on, compare whether the serial number of the target header display is consistent with the serial number of the currently installed header display. If it is inconsistent, update the target serial number, and transmit the distortion parameters caused by the target windshield glass and the distortion parameters caused by the curved mirror of the header display to the currently installed header display to perform distortion correction of image data.

Benefits of technology

Ensure that the image distortion correction effect remains unchanged after replacing the head-up display, and solves the problem of poor correction effect caused by the after-sales replacement of HUD without recapturing distortion parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119624838A_ABST
    Figure CN119624838A_ABST
Patent Text Reader

Abstract

The invention discloses a distortion parameter correction method and device, a vehicle, electronic equipment and a storage medium, and relates to the technical field of vehicles, and the main technical scheme comprises the steps: responding to the vehicle power-on, and determining whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display; if it is determined that the first serial number is inconsistent with the second serial number, updating the first serial number to the second serial number; and transmitting the first distortion parameter to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter. Compared with the prior art, in the replacement period of the target head-up display, the first distortion parameter is transmitted to the current head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter. And the image distortion correction effect is unchanged after the target head-up display is replaced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a method and device for correcting distortion parameters, a vehicle, an electronic device, and a storage medium. Background Art

[0002] A Head Up Display (HUD) can project images on the windshield of a vehicle in real time, avoiding the driver from looking down at the dashboard, thereby improving driving safety. Before the HUD is put into use, the distortion parameters of the HUD need to be calibrated.

[0003] In the related art, when a vehicle leaves the factory, professional camera equipment is used to collect distortion parameters of the image distortion caused by the HUD and the windshield, so that the HUD can perform distortion correction on the projected image according to the distortion parameters of the image distortion caused by the HUD and the windshield.

[0004] Since the distortion parameters need to be collected by professional camera equipment, when the HUD is replaced after sales, the distortion parameters of the image distortion caused by the HUD and the windshield cannot be collected again. Relying only on the distortion parameters of the replaced HUD will cause the image distortion correction effect to deteriorate. Summary of the invention

[0005] The present disclosure provides a method and device for correcting distortion parameters, a vehicle, an electronic device and a storage medium. The main purpose is to solve the problem that the distortion parameters need to be collected by professional camera equipment, and when the HUD is replaced after sales, the distortion parameters of the HUD and the windshield glass that cause image distortion cannot be collected again, and the image distortion correction effect will be poor if only the distortion parameters of the replaced HUD are used.

[0006] According to a first aspect of the present disclosure, a method for correcting distortion parameters is provided, comprising:

[0007] In response to the vehicle being powered on, determining whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display, wherein the first serial number is a serial number stored in the vehicle;

[0008] If it is determined that the first sequence number is inconsistent with the second sequence number, updating the first sequence number to the second sequence number;

[0009] The first distortion parameter is transmitted to the currently installed head-up display so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by the target windshield, and the second distortion parameter is a parameter of image distortion caused by the curved mirror of the currently installed head-up display.

[0010] Optionally, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the method includes:

[0011] receiving a third distortion parameter and the first serial number sent by the target head-up display, wherein the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display;

[0012] Obtaining a vehicle identification code and the first distortion parameter of the vehicle;

[0013] Binding the first serial number with the third distortion parameter to obtain first binding data of the target head-up display;

[0014] Binding the vehicle identification code with the first distortion parameter to obtain second binding data of the vehicle;

[0015] The first binding data and the second binding data are stored, and the first binding data and the second binding data are transmitted to a server.

[0016] Optionally, updating the first sequence number to the second sequence number includes:

[0017] Obtaining a second distortion parameter;

[0018] The first serial number is updated to the second serial number, and the third distortion parameter is updated to the second distortion parameter, respectively, wherein the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

[0019] Optionally, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the method includes:

[0020] Determining whether the first distortion parameter and the third distortion parameter are missing;

[0021] If it is determined that the first distortion parameter is missing, sending a request message for acquiring the second binding data to the server based on the vehicle identification code to acquire the first distortion parameter in the second binding data;

[0022] If it is determined that the third distortion parameter is missing, a request message for obtaining the second distortion parameter is sent to the currently installed head-up display based on the second serial number to obtain the second distortion parameter.

[0023] Optionally, after sending the request information of the second binding data to the server based on the vehicle identification code, the method includes:

[0024] If it is determined that the second binding data does not exist in the server, updating the first distortion parameter to an uncalibrated parameter, and outputting prompt information that the first distortion parameter is unavailable, wherein the uncalibrated parameter does not include the distortion parameter;

[0025] If it is determined that the first serial number is updated to the second serial number, the updated first serial number and the updated third distortion parameter are transmitted to the server.

[0026] According to a second aspect of the present disclosure, a method for correcting distortion parameters is provided, comprising:

[0027] receiving a first distortion parameter sent by the vehicle computer, where the first distortion parameter is a parameter of image distortion caused by a target windshield;

[0028] Acquire a third distortion parameter, where the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display;

[0029] A preset algorithm is called to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

[0030] Optionally, calling a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter includes:

[0031] The image data is subjected to distortion correction according to the sum of the first distortion parameter and the third distortion parameter.

[0032] According to a third aspect of the present disclosure, a distortion parameter correction device is provided, comprising:

[0033] a first determining unit, configured to determine, in response to the vehicle being powered on, whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display, wherein the first serial number is a serial number stored in the vehicle;

[0034] A first updating unit, configured to update the first sequence number to the second sequence number when it is determined that the first sequence number is inconsistent with the second sequence number;

[0035] A first transmission unit is used to transmit a first distortion parameter to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by a target windshield, and the second distortion parameter is a parameter of image distortion caused by a curved mirror of the currently installed head-up display.

[0036] Optionally, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the apparatus includes:

[0037] a receiving unit, configured to receive the third distortion parameter and the first serial number sent by the target head-up display, wherein the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display;

[0038] An acquisition unit, configured to acquire a vehicle identification code of the vehicle and the first distortion parameter;

[0039] A first binding unit, configured to bind the first serial number to the third distortion parameter to obtain first binding data of the target head-up display;

[0040] a second binding unit, configured to bind the vehicle identification code to the first distortion parameter to obtain second binding data of the vehicle;

[0041] The second transmission unit is used to store the first binding data and the second binding data, and transmit the first binding data and the second binding data to a server.

[0042] Optionally, the updating unit includes:

[0043] An acquisition module, used for acquiring a second distortion parameter;

[0044] An updating module is used to update the first serial number to the second serial number and the third distortion parameter to the second distortion parameter, respectively, wherein the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

[0045] Optionally, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the apparatus includes:

[0046] A second determining unit, configured to determine whether the first distortion parameter and the third distortion parameter are missing;

[0047] A first sending unit, configured to send, when it is determined that the first distortion parameter is missing, request information for obtaining the second binding data to the server based on the vehicle identification code, so as to obtain the first distortion parameter in the second binding data;

[0048] The second sending unit is used to send a request message for obtaining the second distortion parameter to the currently installed head-up display based on the second serial number when it is determined that the third distortion parameter is missing, so as to obtain the second distortion parameter.

[0049] Optionally, after sending the request information of the second binding data to the server based on the vehicle identification code, the device includes:

[0050] a second updating unit, configured to update the first distortion parameter to an uncalibrated parameter when it is determined that the second binding data does not exist in the server, and output prompt information that the first distortion parameter is unavailable, wherein the uncalibrated parameter does not include the distortion parameter;

[0051] The second transmission unit is further configured to transmit the updated first sequence number and the updated third distortion parameter to the server when it is determined that the first sequence number is updated to the second sequence number.

[0052] According to a fourth aspect of the present disclosure, a distortion parameter correction device is provided, comprising:

[0053] A receiving unit, configured to receive a first distortion parameter sent by the vehicle computer; the first distortion parameter is a parameter of image distortion caused by the target windshield;

[0054] an acquisition unit, configured to acquire a third distortion parameter, wherein the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display;

[0055] The correction unit is used to call a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

[0056] Optionally, the correction unit includes:

[0057] The correction module is used to perform distortion correction on the image data according to the sum of the first distortion parameter and the third distortion parameter.

[0058] According to a fifth aspect of the present disclosure, a vehicle is provided, comprising a correction device for distortion parameters as described in the third aspect or the fourth aspect.

[0059] According to a sixth aspect of the present disclosure, there is provided an electronic device, including:

[0060] at least one processor; and

[0061] a memory communicatively connected to the at least one processor; wherein,

[0062] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0063] According to a seventh aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0064] According to an eighth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0065] The present disclosure provides a method and device for correcting distortion parameters, a vehicle, an electronic device, and a storage medium. In response to the vehicle being powered on, it is determined whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, wherein the first serial number is the serial number stored in the vehicle; if it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number; the first distortion parameter is transmitted to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is the parameter of the image distortion caused by the target windshield, and the second distortion parameter is the parameter of the image distortion caused by the curved mirror of the currently installed head-up display. Compared with the related art, the embodiment of the present application transmits the first distortion parameter to the current head-up display during the replacement of the target head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the replacement of the target head-up display.

[0066] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0068] Figure 1 A schematic diagram of a flow chart of a method for correcting distortion parameters provided by an embodiment of the present disclosure;

[0069] Figure 2 A schematic diagram of a distortion parameter transmission process provided by an embodiment of the present disclosure;

[0070] Figure 3 A flowchart of a method for updating a sequence number and distortion parameters provided by an embodiment of the present disclosure;

[0071] Figure 4A schematic flow chart of another method for correcting distortion parameters provided by an embodiment of the present disclosure;

[0072] Figure 5 A schematic diagram of a projection image reflection provided by an embodiment of the present disclosure;

[0073] Figure 6 A schematic diagram of the structure of a distortion parameter correction device provided by an embodiment of the present disclosure;

[0074] Figure 7 A schematic diagram of the structure of another distortion parameter correction device provided by an embodiment of the present disclosure;

[0075] Figure 8 A schematic diagram of the structure of another distortion parameter correction device provided by an embodiment of the present disclosure;

[0076] Fig. 9 A schematic diagram of the structure of another distortion parameter correction device provided by an embodiment of the present disclosure;

[0077] Fig.10 A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0078] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0079] The following describes a method and apparatus for correcting distortion parameters, a vehicle, an electronic device, and a storage medium according to an embodiment of the present disclosure with reference to the accompanying drawings.

[0080] Figure 1 A flowchart of a method for correcting distortion parameters provided in an embodiment of the present disclosure is provided.

[0081] like Figure 1 As shown, the method is applied to a vehicle computer, and the method comprises the following steps:

[0082] Step 101, in response to a vehicle being powered on, determining whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display, wherein the first serial number is a serial number stored in the vehicle.

[0083] In order to better understand the correction of distortion parameters, such as Figure 2 As shown, Figure 2A flow chart of distortion parameter transmission provided for an embodiment of the present application; in order to ensure the accuracy of the distortion parameters of the HUD, it is necessary to determine whether the HUD has been replaced. The serial number of each HUD is different, so by comparing whether the serial numbers are consistent, it can be determined whether the HUD has been replaced; in the vehicle, the vehicle computer and the HUD are connected, and each time the vehicle is powered on, the vehicle computer obtains the second serial number of the currently installed HUD, and compares the second serial number with the first serial number of the target HUD stored in the vehicle computer, and determines whether the first serial number is consistent with the second serial number, so as to prepare for the subsequent correction of the distortion parameters, wherein the target HUD is the HUD installed for image distortion correction at the vehicle manufacturer.

[0084] Step 102: If it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number.

[0085] Before transmitting the first distortion parameter to the currently installed HUD, it is necessary to determine that the first serial number is inconsistent with the second serial number. The vehicle computer converts the first serial number and the second serial number into corresponding hash values ​​respectively by calling a hash function. If the hash value corresponding to the first serial number is not equal to the hash value corresponding to the second serial number, it is determined that the first serial number is inconsistent with the second serial number, and the first serial number stored in the vehicle computer is deleted, and the second serial number is stored in the vehicle computer, that is, the first serial number is updated to the second serial number. However, it should be clear that this statement is not intended to limit the method of determining the inconsistency between the first serial number and the second serial number.

[0086] Step 103: Transmit the first distortion parameter to the currently installed head-up display so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by the target windshield, and the second distortion parameter is a parameter of image distortion caused by the curved mirror of the currently installed head-up display.

[0087] The target HUD is replaced with the currently installed HUD, and the currently installed HUD only has the parameters of image distortion caused by the curved mirror of the currently installed HUD, but does not have the first distortion parameters, resulting in poor image distortion correction effect. The first distortion parameters stored in the vehicle computer need to be transmitted to the Electrically Erasable Programmable Read Only Memory (EEPROM) in the currently installed HUD, so that the currently installed HUD can perform distortion correction on the image data according to the first distortion parameters and the second distortion parameters. However, it should be clear that this statement is not intended to limit the first distortion parameters to be stored only in the EEPROM.

[0088] The present disclosure provides a method for correcting distortion parameters. In response to the vehicle being powered on, it is determined whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, wherein the first serial number is the serial number stored in the vehicle; if it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number; the first distortion parameter is transmitted to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is the parameter of the image distortion caused by the target windshield, and the second distortion parameter is the parameter of the image distortion caused by the curved mirror of the currently installed head-up display. Compared with the related art, the embodiment of the present application transmits the first distortion parameter to the current head-up display during the replacement of the target head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the replacement of the target head-up display.

[0089] In actual applications, the first distortion parameter and the third distortion parameter may be lost, so it is necessary to transmit the first distortion parameter and the third distortion parameter to the server for backup. Please continue to refer to Figure 2, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the vehicle computer receives the third distortion parameter and the first serial number sent by the target HUD; after the target windshield is installed in the vehicle factory, the debugging personnel use professional camera equipment to collect the first distortion parameter, and transmit the first distortion parameter to the vehicle computer, and the vehicle computer obtains the vehicle identification code and the first distortion parameter of the vehicle; the vehicle computer binds the first serial number with the third distortion parameter to obtain the first binding data of the target head-up display; the vehicle computer binds the vehicle identification code with the first distortion parameter to obtain the second binding data of the vehicle; the vehicle computer stores the first binding data and the second binding data in the memory of the vehicle computer, and transmits the first binding data and the second binding data to the server. When the vehicle computer is replaced or the first binding data and the second binding data in the vehicle computer are lost, the vehicle computer sends a request message for obtaining the first binding data and the second binding data to the server, and the server transmits the first binding data and the second binding data to the vehicle computer according to the request message.

[0090] As a refinement of step 102, when updating the first serial number to the second serial number, it can be implemented in the following manners but not limited to: Figure 3 As shown, Figure 3 A flowchart of a method for updating a sequence number and distortion parameters provided in an embodiment of the present application includes:

[0091] Step 201: Obtain a second distortion parameter.

[0092] In order to ensure that the second distortion data is not lost, the second distortion data needs to be backed up, the vehicle computer is connected to the currently installed HUD, and the vehicle computer obtains the second distortion parameter stored in the currently installed HUD.

[0093] Step 202: Update the first serial number to the second serial number, and update the third distortion parameter to the second distortion parameter, respectively, wherein the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

[0094] In order to avoid too many serial numbers and distortion parameters in the vehicle computer, resulting in insufficient memory of the vehicle computer, it is necessary to back up the serial numbers and distortion parameters by updating and replacing them, delete the first serial number and the third distortion parameter stored in the vehicle computer, and store the second serial number and the second distortion parameter in the vehicle computer. However, it should be clear that this statement is not intended to limit the update method of the serial number and distortion parameters.

[0095] In actual applications, the first distortion parameter and the third distortion parameter in the vehicle computer may be missing. For example, replacement of the vehicle computer may cause the first distortion parameter and the third distortion parameter to be missing, and the first distortion parameter and the third distortion parameter need to be re-acquired. Before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the vehicle computer determines whether the first distortion parameter and the third distortion parameter are missing; if the infotainment control determines that the first distortion parameter is missing, a request message for obtaining the second binding data is sent to the server based on the vehicle identification code to obtain the first distortion parameter in the second binding data; if the vehicle computer determines that the third distortion parameter is missing, a request message for obtaining the second distortion parameter is sent to the currently installed head-up display based on the second serial number to obtain the second distortion parameter.

[0096] In actual applications, the windshield of the vehicle may be damaged and need to be replaced. Since the distortion parameters of each windshield causing image distortion are different, it is necessary to manually delete the first distortion parameter in the target head-up display, the first distortion parameter in the vehicle computer, and the first distortion parameter in the server. After sending a request message for the second binding data to the server based on the vehicle identification code, if it is determined that the second binding data does not exist in the server, the first distortion parameter is updated to an uncalibrated parameter, and a prompt message that the first distortion parameter is unavailable is output, wherein the uncalibrated parameter does not include the distortion parameter; if it is determined that the first serial number is updated to the second serial number, the first serial number in the vehicle computer is updated to the second serial number, and the third distortion parameter is updated to the second distortion parameter, but the server does not have the updated first serial number and the updated third distortion parameter, it is necessary to transmit the updated first serial number and the updated third distortion parameter to the server for backup

[0097] Figure 4 A flowchart of a method for correcting distortion parameters provided in an embodiment of the present disclosure is provided.

[0098] like Figure 4 As shown, the method is applied to the HUD of a vehicle, and the method comprises the following steps:

[0099] Step 301: receiving a first distortion parameter sent by a vehicle computer, where the first distortion parameter is a parameter of image distortion caused by a target windshield.

[0100] In order to better understand the target HUD's distortion correction of the projected image, Figure 5 As shown, Figure 5A schematic diagram of a projected image reflection provided in an embodiment of the present application; the target HUD sends a projected image through an image generation unit (Picture Generation Unit, PGU), and the image is projected onto the windshield after reflection by a plane mirror and a curved mirror. Since the target HUD does not perform distortion correction on the image distortion caused by the windshield, the target HUD needs to receive the first distortion parameter sent by the vehicle computer and store it in the EEPROM so that the target HUD can perform distortion correction on the image distortion caused by the windshield.

[0101] Step 302: Acquire a third distortion parameter, where the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

[0102] When the target HUD leaves the parts factory, a distortion correction will be performed. The distortion parameters of the image distortion caused by the curved mirror of the target HUD are collected using professional camera equipment, and the distortion parameters of the image distortion caused by the curved mirror of the target HUD are stored in the memory of the HUD.

[0103] Step 303: Call a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

[0104] The target HUD calls a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter. The preset algorithm is not a fixed algorithm and can be set according to actual conditions in actual applications. The embodiment of the present application does not limit this.

[0105] The present disclosure provides a method for correcting distortion parameters. In response to the vehicle being powered on, it is determined whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, wherein the first serial number is the serial number stored in the vehicle; if it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number; the first distortion parameter is transmitted to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is the parameter of the image distortion caused by the target windshield, and the second distortion parameter is the parameter of the image distortion caused by the curved mirror of the currently installed head-up display. Compared with the related art, the embodiment of the present application transmits the first distortion parameter to the current head-up display during the replacement of the target head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the replacement of the target head-up display.

[0106] As a refinement of step 303, when executing the calling preset algorithm and performing distortion correction on the image data according to the first distortion parameter and the third distortion parameter, it can be implemented in but not limited to the following manner: performing distortion correction on the image data according to the sum of the first distortion parameter and the third distortion parameter.

[0107] In summary, the embodiments of the present disclosure can achieve the following effects:

[0108] 1. In the embodiment of the present application, during the replacement of the target head-up display, the first distortion parameter is transmitted to the current head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the target head-up display is replaced.

[0109] 2. The embodiment of the present application solves the problem that the HUD distortion effect becomes worse due to the inability to reuse professional camera equipment to collect distortion parameters when the HUD is replaced after sales, by replacing the HUD after sales without affecting the distortion effect of the HUD.

[0110] 3. The embodiment of the present application transmits the distortion parameters to the server and performs big data analysis on the distortion data, which has guiding significance for the design of later curved mirrors.

[0111] Corresponding to the above-mentioned distortion parameter correction method, the present invention also provides a distortion parameter correction device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.

[0112] Figure 6 A structural diagram of a distortion parameter correction device provided by an embodiment of the present disclosure, such as Figure 6 As shown, including:

[0113] A first determining unit 401 is used to determine whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display in response to the vehicle being powered on, wherein the first serial number is a serial number stored in the vehicle;

[0114] A first updating unit 402, configured to update the first sequence number to the second sequence number when it is determined that the first sequence number is inconsistent with the second sequence number;

[0115] The first transmission unit 403 is used to transmit the first distortion parameter to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by the target windshield, and the second distortion parameter is a parameter of image distortion caused by the curved mirror of the currently installed head-up display.

[0116] The distortion parameter correction device provided by the present disclosure determines whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display in response to the vehicle being powered on, wherein the first serial number is the serial number stored in the vehicle; if it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number; the first distortion parameter is transmitted to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is the parameter of the image distortion caused by the target windshield, and the second distortion parameter is the parameter of the image distortion caused by the curved mirror of the currently installed head-up display. Compared with the related art, the embodiment of the present application transmits the first distortion parameter to the current head-up display during the replacement of the target head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the replacement of the target head-up display.

[0117] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the device includes:

[0118] A receiving unit 404 is configured to receive the third distortion parameter and the first serial number sent by the target mounted head-up display;

[0119] An acquisition unit 405 is used to acquire a vehicle identification code of the vehicle and the first distortion parameter;

[0120] A first binding unit 406, configured to bind the first serial number to the third distortion parameter to obtain first binding data of the target head-up display;

[0121] A second binding unit 407, configured to bind the vehicle identification code with the first distortion parameter to obtain second binding data of the vehicle;

[0122] The second transmission unit 408 is configured to store the first binding data and the second binding data, and transmit the first binding data and the second binding data to a server.

[0123] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, the first updating unit 402 includes:

[0124] An acquisition module 4021, used to acquire a second distortion parameter;

[0125] The updating module 4022 is used to update the first serial number to the second serial number and the third distortion parameter to the second distortion parameter, respectively, wherein the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

[0126] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the device includes:

[0127] A second determining unit 409, configured to determine whether the first distortion parameter and the third distortion parameter are missing;

[0128] A first sending unit 410 is configured to send a request message for obtaining the second binding data to the server based on the vehicle identification code when it is determined that the first distortion parameter is missing, so as to obtain the first distortion parameter in the second binding data;

[0129] The second sending unit 412 is used to send a request message for obtaining the second distortion parameter to the currently installed head-up display based on the second serial number when it is determined that the third distortion parameter is missing, so as to obtain the second distortion parameter.

[0130] Furthermore, in a possible implementation of this embodiment, as Figure 7 As shown, after sending the request information of the second binding data to the server based on the vehicle identification code, the device includes:

[0131] A second updating unit 413 is configured to update the first distortion parameter to an uncalibrated parameter when it is determined that the second binding data does not exist in the server, and output prompt information that the first distortion parameter is unavailable, wherein the uncalibrated parameter does not include the distortion parameter;

[0132] The second transmission unit 408 is further configured to transmit the updated first sequence number and the updated third distortion parameter to the server when it is determined that the first sequence number is updated to the second sequence number.

[0133] Figure 8 A structural diagram of a distortion parameter correction device provided by an embodiment of the present disclosure, such as Figure 8 As shown, including:

[0134] The receiving unit 501 is used to receive a first distortion parameter sent by the vehicle computer; the first distortion parameter is a parameter of image distortion caused by the target windshield;

[0135] An acquisition unit 502 is used to acquire a third distortion parameter, where the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display;

[0136] The correction unit 503 is used to call a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

[0137] The distortion parameter correction device provided by the present disclosure determines whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display in response to the vehicle being powered on, wherein the first serial number is the serial number stored in the vehicle; if it is determined that the first serial number is inconsistent with the second serial number, the first serial number is updated to the second serial number; the first distortion parameter is transmitted to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is the parameter of the image distortion caused by the target windshield, and the second distortion parameter is the parameter of the image distortion caused by the curved mirror of the currently installed head-up display. Compared with the related art, the embodiment of the present application transmits the first distortion parameter to the current head-up display during the replacement of the target head-up display, and the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, so that the image distortion correction effect remains unchanged after the replacement of the target head-up display.

[0138] Furthermore, in a possible implementation of this embodiment, as Fig. 9 As shown, the correction unit 503 includes:

[0139] The correction module 5031 is used to perform distortion correction on the image data according to the sum of the first distortion parameter and the third distortion parameter.

[0140] The present application also provides a vehicle, wherein the vehicle comprises: Figures 6 to 9 A correction device for the distortion parameters shown in any of the figures.

[0141] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0142] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0143] Fig.10 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0144] like Fig.10 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 602 or a computer program loaded from a storage unit 608 to a RAM (Random Access Memory) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An I / O (Input / Output) interface 605 is also connected to the bus 604.

[0145] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0146] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the correction method of the distortion parameters. For example, in some embodiments, the correction method of the distortion parameters may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the calculation unit 601 may be configured to execute the aforementioned correction method for the distortion parameters in any other appropriate manner (for example, by means of firmware).

[0147] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0148] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0149] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0150] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0151] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0152] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0153] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0154] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0155] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for correcting distortion parameters, characterized in that: include: In response to the vehicle being powered on, determining whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display, wherein the first serial number is a serial number stored in the vehicle; If it is determined that the first sequence number is inconsistent with the second sequence number, updating the first sequence number to the second sequence number; The first distortion parameter is transmitted to the currently installed head-up display so that the currently installed head-up display performs distortion correction on the image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by the target windshield, and the second distortion parameter is a parameter of image distortion caused by the curved mirror of the currently installed head-up display.

2. The method according to claim 1, characterized in that Before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the method includes: receiving a third distortion parameter and the first serial number sent by the target head-up display, wherein the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display; Obtaining a vehicle identification code and the first distortion parameter of the vehicle; Binding the first serial number with the third distortion parameter to obtain first binding data of the target head-up display; Binding the vehicle identification code with the first distortion parameter to obtain second binding data of the vehicle; The first binding data and the second binding data are stored, and the first binding data and the second binding data are transmitted to a server.

3. The method according to claim 1, characterized in that The updating the first sequence number to the second sequence number comprises: Obtaining a second distortion parameter; The first serial number is updated to the second serial number, and the third distortion parameter is updated to the second distortion parameter, respectively, wherein the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display.

4. The method according to claim 2, characterized in that: Before determining whether the first serial number of the target head-up display is consistent with the second serial number of the currently installed head-up display, the method includes: Determining whether the first distortion parameter and the third distortion parameter are missing; If it is determined that the first distortion parameter is missing, sending a request message for acquiring the second binding data to the server based on the vehicle identification code to acquire the first distortion parameter in the second binding data; If it is determined that the third distortion parameter is missing, a request message for obtaining the second distortion parameter is sent to the currently installed head-up display based on the second serial number to obtain the third distortion parameter.

5. The method according to claim 4, characterized in that After sending request information of the second binding data to the server based on the vehicle identification code, the method includes: If it is determined that the second binding data does not exist in the server, updating the first distortion parameter to an uncalibrated parameter, and outputting prompt information that the first distortion parameter is unavailable, wherein the uncalibrated parameter does not include the distortion parameter; If it is determined that the first serial number is updated to the second serial number, the updated first serial number and the updated third distortion parameter are transmitted to the server.

6. A method for correcting distortion parameters, characterized in that: include: receiving a first distortion parameter sent by the vehicle computer, where the first distortion parameter is a parameter of image distortion caused by a target windshield; Acquire a third distortion parameter, where the third distortion parameter is a parameter of image distortion caused by the curved mirror of the target head-up display; A preset algorithm is called to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

7. The method according to claim 6, characterized in that The calling of the preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter includes: The image data is subjected to distortion correction according to the sum of the first distortion parameter and the third distortion parameter.

8. A distortion parameter correction device, characterized in that: include: a first determining unit, configured to determine, in response to the vehicle being powered on, whether a first serial number of a target head-up display is consistent with a second serial number of a currently installed head-up display, wherein the first serial number is a serial number stored in the vehicle; A first updating unit, configured to update the first sequence number to the second sequence number when it is determined that the first sequence number is inconsistent with the second sequence number; A first transmission unit is used to transmit a first distortion parameter to the currently installed head-up display, so that the currently installed head-up display performs distortion correction on image data according to the first distortion parameter and the second distortion parameter, wherein the first distortion parameter is a parameter of image distortion caused by a target windshield, and the second distortion parameter is a parameter of image distortion caused by a curved mirror of the currently installed head-up display.

9. A distortion parameter correction device, characterized in that: include: A receiving unit, configured to receive a first distortion parameter sent by the vehicle computer; the first distortion parameter is a parameter of image distortion caused by the target windshield; an acquisition unit, configured to acquire a third distortion parameter, wherein the third distortion parameter is a parameter of image distortion caused by a curved mirror of the target head-up display; The correction unit is used to call a preset algorithm to perform distortion correction on the image data according to the first distortion parameter and the third distortion parameter.

10. A vehicle, characterized in that: The vehicle comprises a correction device for distortion parameters as claimed in claim 8 or claim 9.

11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5 or 6-7.

12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5 or 6-7.

13. A computer program product, characterized in that It comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1-5 or 6-7.