Image correction method, storage medium, correction system, head-up display device and vehicle
By combining test and actual images, using inner corner point circle fitting and piecewise affine matrix method, the distortion coefficient is solved for image correction, which solves the problems of low accuracy and slow speed of image projection distortion correction in the existing technology, and achieves More efficient image correction effects.
Patent Information
- Application Number
- CN202410220804.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-02-28
AI Technical Summary
When the existing technology uses the Brownian-Conrady model and the piecewise affine matrix to correct image projection distortion, the accuracy is low and the speed is slow, and it cannot effectively solve the problem of image distortion projected on a curved windshield.
By combining the test image to be projected and the actual image, the pre-distorted image is obtained, the inner corner point circle fitting is used to calculate the center coordinates, a new coordinate system is established, the distortion coefficient is solved, and the piecewise affine matrix method is used for image correction to improve the correction accuracy. and speed.
It significantly improves the accuracy and running speed of image correction, can effectively adjust image output, and improves the use effect and lifespan of the head-up display device.
Smart Images

Figure CN118608433A
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to an image correction method, a storage medium, a correction system, a head-up display device, and a vehicle using the head-up display device. Background Art
[0002] Head-up-Display (HUD) devices are divided into combiner head-up display devices (CHUD), windshield head-up display devices (WHUD) and augmented reality head-up display devices (AR-HUD). Among them, AR-HUD and W-HUD need to project the image onto the windshield. Since the windshield usually has a curvature, the image projected onto the curvature windshield will be distorted when reflected to the human eye, causing the projected image observed by the human eye to be distorted.
[0003] The prior art uses the Brown-Conrady model or the Piecewise Affine Matrix method to correct the projected image distortion. However, when the Brown-Conrady model is used for correction, the accuracy is low; when the Piecewise Affine Matrix is used for correction, the correction speed is slow. Summary of the invention
[0004] The first aspect of the present application provides an image correction method, comprising:
[0005] Obtaining a pre-distorted image according to a test image to be projected and an actual image obtained by projection, wherein the actual image is the test image that is distorted after projection, and the pre-distorted image is used to compensate for the distortion; the test image, the actual image, and the pre-distorted image each include a plurality of grids, and the plurality of grids are crossed to form a plurality of inner corner points;
[0006] Obtaining a plurality of first inner corner point coordinates corresponding to the plurality of inner corner points of the actual image and a plurality of second inner corner point coordinates corresponding to the plurality of inner corner points of the pre-distorted image;
[0007] Performing circle fitting on the coordinates of the second inner corner point to calculate the coordinates of the center of the pre-distorted image;
[0008] Using the coordinates of the circle center as the origin of the coordinate system to establish a third coordinate system, and converting the coordinates of each of the second inner corner points into the coordinates of the third inner corner points;
[0009] The distortion coefficient is solved according to the coordinates of the first inner corner point and the coordinates of the third inner corner point, and the image output is corrected according to the distortion coefficient.
[0010] The image correction method provided in the embodiment of the present application obtains a pre-distorted image by first combining a test image and an actual image, establishes a coordinate system according to the coordinates of the center of the circle to obtain the coordinates of the third inner corner point, and then solves the distortion coefficient according to the coordinates of the first inner corner point and the coordinates of the third inner corner point, so that the distorted image can be corrected more effectively; when the image correction method is used to correct a device to be corrected, the device to be corrected can adjust the image output according to the distortion coefficient, and the distortion correction can be performed more effectively on the device to be corrected, which is beneficial to improving the accuracy of distortion correction and accelerating the running speed.
[0011] In one embodiment, the formula for performing circle fitting on the coordinates of the second inner corner point to calculate the coordinates of the center of the pre-distorted image is:
[0012] (x-Cx) 2 +(y-Cy) 2 =R 2 #(1)
[0013] In the above formula (1), x is the horizontal coordinate of the coordinates of the second inner corner point, y is the vertical coordinate of the coordinates of the second inner corner point, Cx is the horizontal coordinate of the coordinates of the center of the circle, Cy is the vertical coordinate of the coordinates of the center of the circle, and R is the center radius of the circle after fitting. The center coordinates (Cx, Cy) can be obtained through the circle fitting.
[0014] In one embodiment, the step of solving the distortion coefficient according to the first interior corner point coordinates and the third interior corner point coordinates includes:
[0015] Establishing a mapping relationship between the coordinates of each of the first inner corner points and the coordinates of each of the third inner corner points;
[0016] The distortion coefficient is obtained according to the mapping relationship.
[0017] In one embodiment, the formula for establishing the mapping relationship between each of the first inner corner point coordinates and each of the third inner corner point coordinates is:
[0018] u d =k1ur 2 +k2ur 4 +2p1uv+p2(r 2 +2u 2 )+a1u+a2u 3 #(2)
[0019] v d =k1vr 2 +k2vr 4+p1(r 2 +2v 2 )+2p2uv+3a1v+a3v 3 #(3)
[0020] Wherein, in the above formulas (2) and (3), u is the horizontal coordinate of each of the first inner corner points, v is the vertical coordinate of each of the first inner corner points, and u d is the horizontal coordinate of each of the third inner corner points, v d is the ordinate of each third inner corner point coordinate, k1k2 is the radial distortion coefficient, p1p2 is the tangential distortion coefficient, a1a2a3 is the distortion influence coefficient, and r is the distance from each third inner corner point coordinate to the coordinate origin.
[0021] In one embodiment, the step of obtaining a pre-distorted image according to a test image to be projected and an actual image obtained by projection comprises:
[0022] The pre-distorted image is obtained by combining the test image and the actual image using a piecewise affine matrix method.
[0023] The second aspect of the present application provides a storage medium having a program stored thereon, and the program can be executed by a processor as in the image correction method described in any of the above embodiments. The storage medium provided in the embodiment of the present application can be used to execute the image correction method as described in any of the above embodiments, and therefore has the same beneficial effects, which will not be described in detail here.
[0024] A third aspect of the present application provides a correction system, comprising:
[0025] A receiver, the receiver being used to receive an actual image output from the device to be corrected;
[0026] A controller is used to control the device to be corrected to output a test image and receive the actual image output from the receiver, and the controller executes the image correction method described in any of the above embodiments according to the actual image and the test image to obtain the distortion coefficient.
[0027] The correction system provided in the embodiment of the present application obtains the distortion coefficient by executing the image correction method as described in any of the above embodiments. The distortion coefficient can be used to correct the distortion of the device to be corrected, and the image output can be adjusted more conveniently according to the distortion coefficient. The distortion of the device to be corrected can be corrected more effectively, which is beneficial to improving the accuracy of distortion correction, and is beneficial to speeding up the operation speed, thereby helping to improve the use effect of the device to be corrected.
[0028] In one embodiment, the controller transmits the distortion coefficient to the device to be corrected, and the device to be corrected outputs a corrected image according to the distortion coefficient.
[0029] A fourth aspect of the present application provides a head-up display device, comprising:
[0030] An image generating unit, configured to emit image light;
[0031] an optical display system, for receiving the image light and projecting the image light into human eyes;
[0032] The processing module obtains the distortion coefficient by executing the image correction method described in any of the above embodiments, and adjusts the image light emitted from the image generation unit according to the distortion coefficient.
[0033] The head-up display device provided in the embodiment of the present application can adjust the image output according to the distortion coefficient more conveniently by correcting the distortion according to the distortion coefficient, which is beneficial to speeding up the operation speed, improving the use effect of the head-up display device, and extending the life of the head-up display device.
[0034] A fifth aspect of the present application provides a vehicle, comprising:
[0035] The body; and
[0036] A head-up display device as described in any of the above embodiments.
[0037] The vehicle provided in the embodiment of the present application includes a head-up display device as described in any of the above embodiments, and therefore also has the same beneficial effects, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 FIG. 4 is a flow chart of an image correction method according to an embodiment of the present application.
[0039] Figure 2 A schematic diagram of a standard chessboard diagram and inner corner points according to an embodiment of the present application.
[0040] Figure 3 Schematic diagram of the coordinates of the second inner corner point according to an embodiment of the present application.
[0041] Figure 4 FIG. 4 is a schematic diagram of coordinates of a third inner corner point according to an embodiment of the present application.
[0042] Figure 5 FIG. 1 is a schematic diagram of a calibration system according to an embodiment of the present application.
[0043] Figure 6 Schematic diagram of a module of a head-up display device according to an embodiment of the present application.
[0044] Figure 7 A schematic diagram of a module of a vehicle according to an embodiment of the present application.
[0045] Description of main component symbols:
[0046] Steps S100, S200, S300, S400, S500, S501, S502,
[0048] Test image 200
[0049] Grid W
[0050] Interior corner point D
[0051] Calibration System 300
[0052] Receiver 301
[0053] Controller 303
[0054] Device to be calibrated 306
[0055] Human Eye
[0056] Actual image T
[0057] Head-up display device 500
[0058] Image generation unit 501
[0059] Optical display system 502
[0060] Processing module 503
[0061] Vehicles 700
[0062] Ontology 701
[0063] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0065] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0066] In order to further explain the technical means and effects adopted by the present application to achieve the intended purpose, the present application is described in detail below in conjunction with the accompanying drawings and preferred implementation methods.
[0067] See also Figure 1 The image correction method provided in the embodiment of the present application includes the following steps S100 to S500:
[0068] Step S100: obtaining a pre-distorted image according to a test image to be projected and an actual image obtained by projection.
[0069] Step S200: obtaining coordinates of a plurality of first inner corner points of the actual image and coordinates of a plurality of second inner corner points of the pre-distorted image;
[0070] Step S300: performing circle fitting on the coordinates of the second inner corner point to calculate the coordinates of the center of the pre-distorted image;
[0071] Step S400: establishing a third coordinate system by taking the coordinates of the circle center as the origin of the coordinate system, and converting the coordinates of each second inner corner point into the coordinates of the third inner corner point;
[0072] Step S500: solving the distortion coefficient according to the coordinates of the first inner corner point and the coordinates of the third inner corner point, and correcting the image output according to the distortion coefficient.
[0073] The image correction method provided in the embodiment of the present application can correct the distorted image more effectively by first combining the test image and the actual image to obtain a pre-distorted image, establishing a coordinate system according to the coordinates of the center of the circle to obtain the coordinates of the third inner corner point, and then solving the distortion coefficient according to the coordinates of the first inner corner point and the third inner corner point. When the image correction method is used to correct the device to be corrected, the device to be corrected can adjust the image output according to the distortion coefficient, and the distortion correction can be performed more effectively on the device to be corrected, which is beneficial to improving the accuracy of the distortion correction and accelerating the running speed.
[0074] See also Figure 2 In this embodiment, the test image 200 in step S100 is a standard chessboard, and the test image 200 includes a plurality of grids W, and the plurality of grids W intersect to form a plurality of inner corner points D. Therefore, since the actual image is a test image 200 that is distorted after projection. Therefore, both the actual image and the pre-distorted image include a plurality of grids, and the plurality of grids intersect to form a plurality of inner corner points. In other embodiments, the test image may also be an image including other reference information, which is not limited in this application.
[0075] The step of obtaining the pre-distorted image according to the test image to be projected and the actual image obtained by projection in step S100 is: using the piecewise affine matrix method to combine the actual image and the test image to obtain the pre-distorted image. Specifically, firstly record all the image data of the test image as matrix A, and record all the image data of the actual image as matrix B. Calculate and obtain the matrix C representing all the image data of the pre-distorted image according to the following formula (1):
[0076] A=B*k+b#(1)
[0077] In formula (1), k and b represent the coefficient matrix of the change relationship from matrix A to matrix B, reflecting the mapping relationship between the test image and the actual image. By obtaining the coefficient matrices k and b, the inverse change coefficient matrix is obtained, and the matrix C is obtained according to the inverse change coefficient matrix. The change relationship between the matrix C and the matrix A is opposite to the change relationship between the matrix B and the matrix A. All the data in the matrix C represents the pre-distorted image data. The deformation direction of the pre-distorted image is opposite to that of the actual image, and is used to preliminarily compensate for the distortion.
[0078] In step S200, the coordinates of the second inner corner points and the coordinates of the first inner corner points correspond to the inner corner points formed by the intersection of the pre-distorted image and the test image. Since the distortion directions of the pre-distorted image and the actual image are opposite, the pre-distorted image is used to compensate for the distortion. The pre-distorted image needs to be rotated to unify the deformation direction of the pre-distorted image with the deformation direction of the actual image, so as to facilitate subsequent calculations.
[0079] Specifically, since the actual image is distorted, the shape of the pre-distorted image can be approximated to a circular ring, so a circle fitting can be performed. In step S300, the formula for performing circle fitting on the coordinates of the second inner corner point to calculate the coordinates of the center of the pre-distorted image is:
[0080] (x-Cx) 2 +(y-Cy) 2 =R 2 #(2)
[0081] In the above formula (2), x is the horizontal coordinate of the coordinates of the second inner corner point, y is the vertical coordinate of the coordinates of the second inner corner point, Cx is the horizontal coordinate of the coordinates of the center of the circle, Cy is the vertical coordinate of the coordinates of the center of the circle, and R is the radius of the center of the circle after circle fitting. The coordinates of the center of the circle (Cx, Cy) can be obtained by circle fitting.
[0082] Please also read Figure 3 and Figure 4Specifically, the coordinates of the center of the circle after fitting in step S400 are (-131, -7171). In other embodiments, other values may be used, and this application does not limit this. The coordinates of the center of the circle are used as the origin of the coordinate system of the second inner corner point coordinates to establish a third coordinate system. Before the coordinate system conversion, the horizontal coordinate is X and the vertical coordinate is Y. The coordinates of the center of the circle are used as the origin of the coordinate system of the second inner corner point coordinates to establish a third coordinate system. The horizontal coordinate of the third coordinate system is X' and the vertical coordinate is Y'. Specifically, after the coordinates of the center of the circle are used as the origin of the third coordinate system, the distance between each third inner corner point coordinate and the coordinate origin is greater than the distance between each second inner corner point coordinate and the coordinate origin.
[0083] Specifically, the step of solving the distortion coefficient according to the coordinates of the first inner corner point and the coordinates of the third inner corner point in step S500 includes:
[0084] S501: Establishing a mapping relationship between the coordinates of each first inner corner point and the coordinates of each third inner corner point;
[0085] S502: Calculate the distortion coefficient according to the mapping relationship.
[0086] Specifically, in step S501, the Brown-Conrady distortion model is used to establish a mapping relationship between the coordinates of each first interior corner point and the coordinates of each third interior corner point. First, the coordinates of each first interior corner point are marked as (u, v), and the coordinates of each third interior corner point are marked as (u d ,v d ), the mapping relationship between the coordinates of each first interior corner point and the coordinates of each third interior corner point is established by the following formula (3):
[0087] u d =k1ur 2 +k2ur 4 +2p1uv+p2(r 2 +2u 2 )+a1u+a2u 3 #(3)
[0088] v d =k1vr 2 +k2vr 4 +p1(r 2 +2v 2 )+2p2uv+3a1v+a3v 3 #(4)
[0089] In the above formulas (3) and (4), u is the horizontal coordinate of each first interior corner point, v is the vertical coordinate of each first interior corner point, and u d is the abscissa of each third interior corner point, v dis the ordinate of each third inner corner point coordinate, the distortion coefficient includes radial distortion coefficient k1k2, tangential distortion coefficient p1p2 and distortion influence coefficient a1a2a3. r is the distance from each third inner corner point coordinate to the origin of the coordinate.
[0090] Where r is calculated by formula (5):
[0091] r 2 =u d 2 +v d 2 #(5)
[0092] The head-up display device outputs corrected image data according to the radial distortion coefficient and the tangential distortion coefficient. The operating speed range of the image correction method is 5-50ms. The corrected inner corner point coordinates of the head-up display device and the pre-distorted image are evaluated, and the root mean square error is solved by substituting the inner corner point coordinates of the corrected image and the third inner corner point coordinates of the pre-distorted image into equations (6) and (7). Please refer to equations (6) and (7)
[0093]
[0094]
[0095] Wherein (x, y) is the coordinate of the inner corner point of the corrected image generated after correction according to the image correction method, and (x', y') is the coordinate of the third inner corner point of the pre-distorted image. In this embodiment, the root mean square error between the corrected image and the pre-distorted image is solved to be RMSEx=5pixel; RMSEy=3pixel. In other embodiments, the root mean square error can also be other values, which are not limited in this application. According to the root mean square error value, it can be evaluated that the image correction method provided in the embodiment of the present application can achieve a relatively good correction effect. By first combining the test image and the actual image to obtain the pre-distorted image, establishing a coordinate system according to the center coordinates to obtain the coordinates of the third inner corner point, and then solving the distortion coefficient according to the first inner corner point coordinates and the third inner corner point coordinates, the distorted image can be corrected more effectively. When the image correction method is used to correct the device to be corrected, the device to be corrected can adjust the image output according to the distortion coefficient, and the distortion correction of the device to be corrected can be performed more effectively, which is beneficial to improve the accuracy of distortion correction and to speed up the operation speed.
[0096] The storage medium provided in the embodiment of the present application has a program stored on the storage medium, and the program can be executed by the processor as the image correction method in any of the above embodiments. The types of storage media include but are not limited to the following: phase change memory, static random access memory, dynamic random access memory, other types of random access memory, read-only memory, electrically erasable programmable read-only memory or other optical storage and magnetic storage. As long as the storage medium can be used by the processor to execute the training method described in any of the above embodiments, it is within the scope of protection of this application.
[0097] The storage medium provided in the embodiments of the present application can be used to execute an image correction method as in any of the above embodiments. When the correction method is used for a head-up display device, the head-up display device can adjust the output according to the distortion coefficient when generating an image, so that the head-up display device can be more conveniently corrected for distortion, which is beneficial to improving the accuracy of distortion correction and accelerating the operating speed.
[0098] See also Figure 5 The correction system 300 provided in the embodiment of the present application includes a receiver 301 and a controller 303. The receiver 301 is electrically connected to the processor. The receiver 301 is used to receive the actual image T output from the device to be corrected 306. In the present embodiment, the receiver 301 is a camera. The receiver 301 is arranged on the receiving side of the human eye E. In other embodiments, the receiver 301 can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The controller 303 is used to receive the actual image T output from the receiver 301. The receiver 301 converts the optical signal into an electrical signal, and the receiver 301 transmits the electrical signal to the processor, and the processor converts the electrical signal into a digital image signal for further processing, and performs the image correction method in any of the above embodiments according to the actual image T to obtain the distortion coefficient. The controller 303 is electrically connected to the device to be corrected 306. The controller 303 transmits the distortion coefficient to the device to be corrected 306, and the device to be corrected 306 outputs the corrected image according to the distortion coefficient. In this embodiment, the device to be calibrated 306 is a head-up display device. In other embodiments, the device to be calibrated 306 may also be a near-eye display device, a common liquid crystal display or a projector, which is not limited in this application.
[0099] The correction system 300 provided in the embodiment of the present application obtains the distortion coefficient by executing the image correction method as in any of the above embodiments. The distortion coefficient can be used to correct the distortion of the device to be corrected 306. The image output can be adjusted more conveniently according to the distortion coefficient. The distortion correction of the device to be corrected 306 can be performed more effectively, which is beneficial to improving the accuracy of the distortion correction, and is beneficial to speeding up the operation speed, thereby helping to improve the use effect of the device to be corrected 306.
[0100] See also Figure 6 The head-up display device 500 provided in the embodiment of the present application includes an image generation unit 501, an optical display system 502 and a processing module 503. The image generation unit 501 is used to emit image light. The optical display system 502 is used to receive the image light and project the image light into the human eye E. The processing module 503 obtains the distortion coefficient by executing the image correction method in any of the above embodiments, and adjusts the image light emitted from the image generation unit 501 according to the distortion coefficient. In this embodiment, the head-up display device 500 is an augmented reality head-up display device. In other embodiments, the head-up display device 500 may also be a windshield head-up display device and a combined head-up display device, which is not limited by the present application. The head-up display device 500 provided in the embodiment of the present application can adjust the image output according to the distortion coefficient more conveniently by correcting the distortion according to the distortion coefficient, which is conducive to speeding up the operation speed, improving the use effect of the head-up display device 500, and extending the life of the head-up display device 500.
[0101] See also Figure 7 The vehicle 700 provided in the embodiment of the present application includes a body 701 and a head-up display device 500 as described in any of the above embodiments. The vehicle provided in this embodiment can be any one of an electric vehicle, a gasoline vehicle, a diesel vehicle and a hybrid vehicle, and this application does not limit it. The body 701 may also include a positioning system (not shown) and a power system (not shown). The power system and the positioning system are electrically connected to the head-up display device 500, the power system provides the head-up display device 500 with vehicle 700 speed information, the positioning system is used to provide the head-up display device 500 with vehicle 700 position information, and the head-up display device 500 is used to project the speed information and position information provided by the positioning system into the human eye E.
[0102] The vehicle 700 provided in the embodiment of the present application can adjust the output of the head-up display device 500 according to the distortion coefficient by adopting the head-up display device 500 of any of the above-mentioned embodiments, and can conveniently perform distortion correction on the head-up display device 500, which is beneficial to improving driving safety and increasing the life of the vehicle 700.
[0103] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present application and are not intended to be limiting of the present application. As long as they are within the spirit and scope of the present application, appropriate changes and modifications to the above embodiments are within the scope of protection claimed in the present application.
Claims
1. An image correction method, characterized in that: include: Obtaining a pre-distorted image according to a test image to be projected and an actual image obtained by projection, wherein the actual image is the test image that is distorted after projection, and the pre-distorted image is used to compensate for the distortion; the test image, the actual image, and the pre-distorted image each include a plurality of grids, and the plurality of grids are crossed to form a plurality of inner corner points; Obtaining a plurality of first inner corner point coordinates corresponding to the plurality of inner corner points of the actual image and a plurality of second inner corner point coordinates corresponding to the plurality of inner corner points of the pre-distorted image; Performing circle fitting on the coordinates of the second inner corner point to calculate the coordinates of the center of the pre-distorted image; Using the coordinates of the circle center as the origin of the coordinate system to establish a third coordinate system, and converting the coordinates of each of the second inner corner points into the coordinates of the third inner corner points; The distortion coefficient is solved according to the coordinates of the first inner corner point and the coordinates of the third inner corner point, and the image output is corrected according to the distortion coefficient.
2. The image correction method according to claim 1, characterized in that: The formula for calculating the coordinates of the center of the pre-distorted image by performing circle fitting on the coordinates of the second inner corner point is: (x-Cx) 2 +(y-Cy) 2 =R 2 #(1) In the above formula (1), x is the horizontal coordinate of the coordinates of the second inner corner point, y is the vertical coordinate of the coordinates of the second inner corner point, Cx is the horizontal coordinate of the coordinates of the center of the circle, Cy is the vertical coordinate of the coordinates of the center of the circle, and R is the center radius of the circle after fitting. The center coordinates (Cx, Cy) can be obtained through the circle fitting.
3. The image correction method according to claim 1, characterized in that: The step of solving the distortion coefficient according to the first inner corner point coordinates and the third inner corner point coordinates comprises: Establishing a mapping relationship between the coordinates of each of the first inner corner points and the coordinates of each of the third inner corner points; The distortion coefficient is obtained according to the mapping relationship.
4. The image correction method according to claim 3, characterized in that: The formula for establishing the mapping relationship between the coordinates of each of the first inner corner points and the coordinates of each of the third inner corner points is: u d =k1ur 2 +k2ur 4 +2p1uv+p2(r 2 +2u 2 )+a1u+a2u 3 #(2) v d =k1vr 2 +k2vr 4 +p1(r 2 +2v 2 )+2p2uv+3a1v+a3v 3 #(3) In the above formulas (2) and (3), u is the horizontal coordinate of each of the first inner corner points, v is the vertical coordinate of each of the first inner corner points, and u d is the abscissa of each of the third inner corner points, v d is the ordinate of each third inner corner point coordinate, k1k2 is the radial distortion coefficient, p1p2 is the tangential distortion coefficient, a1a2a3 is the distortion influence coefficient, and r is the distance from each third inner corner point coordinate to the coordinate origin.
5. The image correction method according to claim 1, characterized in that: The steps of obtaining a pre-distorted image according to a test image to be projected and an actual image obtained by projection include: The pre-distorted image is obtained by combining the test image and the actual image using a piecewise affine matrix method.
6. A storage medium, characterized in that: The storage medium stores a program, and the program can be executed by a processor to implement the image correction method as described in any one of claims 1 to 5.
7. A calibration system, characterized in that: include: A receiver, the receiver being used to receive an actual image output from the device to be corrected; A controller, wherein the controller is used to control the device to be corrected to output a test image and receive the actual image output from the receiver, and the controller executes the image correction method as described in any one of claims 1 to 5 according to the actual image and the test image to obtain the distortion coefficient.
8. The correction system according to claim 7, characterized in that The controller transmits the distortion coefficient to the device to be corrected, and the device to be corrected outputs a corrected image according to the distortion coefficient.
9. A head-up display device, characterized in that: include: An image generating unit, configured to emit image light; an optical display system, for receiving the image light and projecting the image light into human eyes; A processing module, which obtains the distortion coefficient by executing the image correction method according to any one of claims 1 to 5, and adjusts the image light emitted from the image generation unit according to the distortion coefficient.
10. A vehicle, characterized in that: include: The entity; and The head-up display device as claimed in claim 9.
Citation Information
Patent Citations
Method for the generation of a correction model of a camera for the correction of an aberration
CA3040673A1
Image processing method and device, vehicle-mounted head-up display system and vehicle
CN108171673A
Projection image correction method, projection system and readable storage medium
CN113645456A
Distortion-removing circle center correction method and device of camera, terminal equipment and medium
CN113935912A
Iterative camera calibration method and device based on elliptic dual quadratic curve
CN114782553A
