Active thermal difference elimination control method for 4K vehicle-mounted lens

By establishing a model of the influence of temperature on chromatic aberration and expansion, infrared image compensation in the lens area is performed, the imaging quality problem caused by the change of temperature is solved, effective compensation for temperature changes is achieved, and the impact of the lens on the imaging effect is reduced.

CN118741325BActive Publication Date: 2024-11-19SHENZHEN YONGTAI PHOTOELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411230963.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-19
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

Changes in imaging quality caused by the lens due to thermal expansion and contraction of the material under different temperature environments, including changes in focal length, increased distortion and reduced image clarity, affecting the imaging effect.

Method used

By dividing the lens into multiple regions, a model of the influence of temperature on chromatic aberration and expansion is established, and a infrared image is used to compensate for chromatic aberration and pixel point position movement compensation to generate a total image of thermal difference elimination.

Benefits of technology

Effectively reduce the impact of temperature on color, reduce the deformation of the imaging screen caused by the temperature changes of the lens, and ensure the imaging effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741325B_ABST
    Figure CN118741325B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for actively eliminating thermal difference control of a 4K vehicle-mounted lens, which relates to the technical field of imaging lenses, including: pre-acquiring a tangent plane of the surface center of a lens area; obtaining an infrared image of the lens area; establishing a temperature influence model on chromatic aberration; obtaining a first imaging area compensation picture; establishing a temperature and lens expansion influence model; obtaining the expansion ratio of the lens area; obtaining a lens area surface curvature change parameter; obtaining an imaging light refraction change value; based on the imaging light refraction change value, performing a movement compensation of the pixel position in the first imaging area compensation picture to obtain a second imaging area compensation picture; and obtaining a total image with thermal difference elimination. By establishing a temperature influence model on chromatic aberration, establishing a temperature and lens expansion influence model, and performing movement compensation on the pixel position, the influence of temperature on color is reduced, the influence of temperature on the lens is reduced to a minimum, and the image imaging effect is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of imaging lenses, and in particular to a method for actively eliminating thermal differences in a 4K vehicle-mounted lens. Background Art

[0002] Lens thermal difference usually refers to the change in imaging quality caused by the physical properties of the material such as thermal expansion and contraction under different temperature environments. It is also called thermal aberration or simply thermal difference. This change may include changes in focal length, increased distortion, reduced image clarity, etc. It usually manifests itself as the lens expanding due to heat, causing the lens surface to expand. At the same time, large temperature changes will also affect color imaging, which in turn causes slight changes in the image, thereby affecting the imaging effect. Summary of the invention

[0003] In order to solve the above technical problems, a method for actively eliminating thermal difference control of a 4K vehicle-mounted lens is provided. This technical solution solves the problem that the lens surface expands proposed in the above background technology, and large temperature changes will also affect color imaging, thereby causing slight changes in the imaging picture, thereby affecting the imaging effect.

[0004] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0005] A method for actively eliminating thermal difference control of a 4K vehicle-mounted lens, comprising:

[0006] Divide the lens into at least one lens area, divide the lens imaging screen into at least one imaging area, and establish a corresponding relationship between the lens area and the imaging area;

[0007] The plane where the lens imaging screen is located is used as the reference plane to coordinate model the lens, where the reference plane is the plane where the x-axis and y-axis of the coordinate system are located, and the tangent plane at the surface center of the lens area is obtained in advance under a preset temperature condition, where the preset temperature is the normal working temperature of the lens;

[0008] Perform infrared recognition on the lens area to obtain an infrared image of the lens area;

[0009] Establish a model for the effect of temperature on color difference;

[0010] Based on the temperature influence model on chromatic aberration and the infrared image of the lens area, chromatic aberration compensation is performed on the imaging area to obtain a first imaging area compensation picture;

[0011] Model the effects of temperature and lens expansion;

[0012] Based on the influence model of temperature and lens expansion and the infrared image of the lens area, the expansion ratio of the lens area is obtained;

[0013] Based on the expansion ratio of the lens area, a surface curvature change parameter of the lens area is obtained;

[0014] Based on the curvature change parameter of the lens area surface, the refraction change value of the imaging light is obtained;

[0015] Based on the imaging light refraction change value, performing pixel point position movement compensation in the first imaging area compensation picture to obtain a second imaging area compensation picture;

[0016] The second imaging area compensation images are spliced ​​according to the positions of the imaging areas to obtain a total image with thermal difference eliminated.

[0017] Preferably, dividing the lens imaging screen into at least one imaging area and establishing a correspondence between the lens area and the imaging area comprises the following steps:

[0018] Use black lines to cover the boundary of the lens area, and obtain the lens imaging picture under the condition of the black lines covering;

[0019] The area formed by the outline of the black line projection in the lens imaging picture is used as the imaging area;

[0020] The lens area is matched with the imaging area, and the relative position of the corresponding lens area in the lens is consistent with the relative position of the imaging area in the lens imaging picture.

[0021] Preferably, the step of obtaining the tangent plane of the surface center of the lens area in advance under the preset temperature condition comprises the following steps:

[0022] At least one sampling point is uniformly taken on the surface of the lens area, the coordinates of the sampling point are obtained, and the sampling point is fitted to obtain a surface fitting function of the lens area;

[0023] Based on the surface fitting function, the equation of the tangent plane is obtained at the surface center of the lens area;

[0024] The equation of the tangent plane is given by: ;

[0025] in, are the coordinates of the surface center of the lens area, is the surface fitting function, is a point on the tangent plane, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position.

[0026] Preferably, the establishment of the temperature effect model on color difference comprises the following steps:

[0027] Acquire a reference object, which is a pure color object, and acquire pixel values ​​of pixels in an image of the reference object formed under a preset temperature condition as reference pixel values;

[0028] Based on historical data, a temperature value range of the lens use environment is obtained, and the temperature value range is divided into equal intervals to obtain at least one temperature point;

[0029] Under the condition that the temperature of the lens use environment is the value at the temperature point, the lens is used to acquire an image of the reference object to obtain a chromatic aberration image;

[0030] Obtaining the difference between the pixel value of the pixel point in the color difference image and the reference pixel value as the color difference pixel value;

[0031] Pair the value of the temperature point with the color difference pixel value to obtain a temperature color difference group;

[0032] At least one temperature color difference group is fitted to obtain a color difference fitting function, wherein the value of the temperature point is an independent variable and the color difference pixel value is a dependent variable.

[0033] Preferably, the step of performing chromatic aberration compensation on the imaging area to obtain a first imaging area compensation picture comprises the following steps:

[0034] Based on the infrared image of the lens area, the average pixel value of the pixel points in the infrared image of the lens area is calculated, and the temperature corresponding to the average pixel value is obtained as the actual temperature;

[0035] Substitute the actual temperature into the color difference fitting function to obtain the color difference compensation value;

[0036] The chromatic aberration compensation value is subtracted from the pixel values ​​of the pixel points in the imaging area corresponding to the lens area and the pixel values ​​of the original pixel points are overwritten to obtain a first imaging area compensation picture.

[0037] Preferably, the establishment of the influence model of temperature and lens expansion comprises the following steps:

[0038] Under a preset temperature condition, the volume of the lens is obtained in advance as a preset volume;

[0039] Under the condition that the temperature of the environment in which the lens is used is the value at the temperature point, the volume of the lens is obtained as the expansion volume;

[0040] The expansion volume is divided by the preset volume to obtain the expansion coefficient;

[0041] Pair the values ​​of the temperature points with the expansion coefficients to obtain an expansion coefficient group;

[0042] At least one expansion coefficient group is fitted to obtain an expansion fitting function, wherein the value of the temperature point is an independent variable and the expansion coefficient is a dependent variable.

[0043] Preferably, obtaining the expansion ratio of the lens area based on the influence model of temperature and lens expansion and the infrared image of the lens area comprises the following steps:

[0044] Substitute the actual temperature into the expansion fitting function to obtain the expansion ratio of the lens area.

[0045] Preferably, obtaining the lens area surface curvature change parameter based on the expansion ratio of the lens area comprises the following steps:

[0046] Taking an average of the expansion ratios of at least one lens region to obtain an average expansion ratio;

[0047] The preset volume is multiplied by the average value of the expansion ratio to obtain the expanded volume;

[0048] Accumulating the expansion ratio of at least one lens area to obtain a total expansion ratio;

[0049] The expansion ratio of the lens area is divided by the sum of the expansion ratios to obtain the expansion distribution ratio, and the expansion distribution ratio is paired with the lens area corresponding to the expansion ratio;

[0050] The expanded volume is multiplied by the expansion distribution ratio corresponding to the lens area to obtain the actual volume of the lens area;

[0051] Obtain the area of ​​the imaging area corresponding to the lens area as the projection area;

[0052] The actual volume of the lens area is divided by the projected area to obtain the actual projected length;

[0053] The actual projection length is divided by the expansion ratio of the lens area to obtain the unexpanded projection length;

[0054] The actual projection length is subtracted from the unexpanded projection length to obtain the projection change length;

[0055] Based on historical data, obtain the refraction angle of light in the lens material;

[0056] Based on the tangent plane equation, get the normal of the tangent plane ;

[0057] Calculate the angle between the normal line of the tangent plane and the reference plane as the first characteristic angle;

[0058] The refraction angle is subtracted from the first characteristic angle to obtain a second characteristic angle, and the second characteristic angle is used as a parameter of the change in the surface curvature of the lens area. The second characteristic angle is the angle between the light and the reference plane when projected;

[0059] The first characteristic angle is: ,

[0060] Among them, a is , b is , c is , is the first characteristic angle, is the inverse trigonometric function of cosine.

[0061] Preferably, obtaining the imaging light refraction change value based on the lens area surface curvature change parameter comprises the following steps:

[0062] The projection variation length is divided by the tangent value of the second characteristic angle to obtain the refraction variation value of the imaging light.

[0063] Preferably, performing movement compensation of pixel positions in the first imaging area compensation picture to obtain the second imaging area compensation picture comprises the following steps:

[0064] The position of the pixel point is moved in the first imaging area compensation picture, the moving distance is equal to the refraction change value of the imaging light, and the moving direction is along the straight line intersecting the plane where the light is located and the reference plane.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] By establishing a model for the impact of temperature on chromatic aberration, establishing a model for the impact of temperature and lens expansion, and performing movement compensation for pixel position, chromatic aberration at different temperatures can be compensated, thereby reducing the impact of temperature on color. At the same time, the changes in the lens surface caused by temperature can be compensated, thereby reducing the degree of deformation of the imaging picture caused by temperature changes, thereby minimizing the impact of temperature on the lens and ensuring the imaging effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a flow chart of the active thermal difference elimination control method of the 4K vehicle-mounted lens of the present invention;

[0068] Figure 2 A schematic diagram of a process of dividing a lens imaging screen into at least one imaging area and establishing a corresponding relationship between the lens area and the imaging area according to the present invention;

[0069] Figure 3 It is a schematic diagram of a process of pre-obtaining a tangent plane of the surface center of a lens area under a preset temperature condition of the present invention;

[0070] Figure 4 A schematic diagram of a process for establishing a temperature-chromatic-difference influence model of the present invention;

[0071] Figure 5A schematic diagram of a process of performing chromatic aberration compensation on an imaging area to obtain a first imaging area compensation picture according to the present invention;

[0072] Figure 6 A schematic diagram of a flow chart of establishing a temperature and lens expansion influence model of the present invention;

[0073] Figure 7 The figure is a flow chart of obtaining the curvature change parameter of the lens area surface based on the expansion ratio of the lens area according to the present invention. DETAILED DESCRIPTION

[0074] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0075] Reference Figure 1 As shown, a method for actively eliminating thermal difference control of a 4K vehicle-mounted lens includes:

[0076] Divide the lens into at least one lens area, divide the lens imaging screen into at least one imaging area, and establish a corresponding relationship between the lens area and the imaging area;

[0077] The plane where the lens imaging screen is located is used as the reference plane to coordinate model the lens, where the reference plane is the plane where the x-axis and y-axis of the coordinate system are located, and the tangent plane at the surface center of the lens area is obtained in advance under a preset temperature condition, where the preset temperature is the normal working temperature of the lens;

[0078] Perform infrared recognition on the lens area to obtain an infrared image of the lens area;

[0079] Establish a model for the effect of temperature on color difference;

[0080] Based on the temperature influence model on chromatic aberration and the infrared image of the lens area, chromatic aberration compensation is performed on the imaging area to obtain a first imaging area compensation picture;

[0081] Model the effects of temperature and lens expansion;

[0082] Based on the influence model of temperature and lens expansion and the infrared image of the lens area, the expansion ratio of the lens area is obtained;

[0083] Based on the expansion ratio of the lens area, a surface curvature change parameter of the lens area is obtained;

[0084] Based on the curvature change parameter of the lens area surface, the refraction change value of the imaging light is obtained;

[0085] Based on the imaging light refraction change value, performing pixel point position movement compensation in the first imaging area compensation picture to obtain a second imaging area compensation picture;

[0086] The second imaging area compensation images are spliced ​​according to the positions of the imaging areas to obtain a total image with thermal difference eliminated.

[0087] In this scheme, not only the effect of temperature on chromatic aberration is considered, but also the lens expansion caused by temperature is compensated. When it expands, it is mainly reflected in that the lens surface protrudes outward a small distance compared to when it is not expanded. Therefore, when it enters the lens and is refracted, it will cause a deviation in the final projection position. In this scheme, this situation is taken into consideration. It considers the size difference of the lens relative to the previous one when it expands. From this, the cheaper distance of the refracted imaging point can be obtained, and then reverse compensation can be made to reduce the influence of temperature. Here, the lens area is sufficiently small, so the lens area can be replaced by a point on its surface, and the angle of refraction of the light at this point is processed with the normal of the tangent plane at this point as the reference.

[0088] Reference Figure 2 As shown, dividing the lens imaging screen into at least one imaging area, and establishing a correspondence between the lens area and the imaging area includes the following steps:

[0089] Use black lines to cover the boundary of the lens area, and obtain the lens imaging picture under the condition of the black lines covering;

[0090] The area formed by the outline of the black line projection in the lens imaging picture is used as the imaging area;

[0091] The lens area is matched with the imaging area, and the relative position of the corresponding lens area in the lens is consistent with the relative position of the imaging area in the lens imaging picture.

[0092] There is a corresponding relationship between the lens area and the imaging area. The light from the lens area is projected onto the imaging area. Therefore, when the lens area changes, the image of the imaging area corresponding to the lens area needs to be compensated. Therefore, it is necessary to establish a corresponding relationship between the lens area and the imaging area.

[0093] Reference Figure 3 As shown, under the preset temperature condition, pre-acquiring the tangent plane of the surface center of the lens area includes the following steps:

[0094] At least one sampling point is uniformly taken on the surface of the lens area, the coordinates of the sampling point are obtained, and the sampling point is fitted to obtain a surface fitting function of the lens area;

[0095] Based on the surface fitting function, the equation of the tangent plane is obtained at the surface center of the lens area;

[0096] The equation of the tangent plane is given by: ,

[0097] in, are the coordinates of the surface center of the lens area, is the surface fitting function, is a point on the tangent plane, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position.

[0098] The acquisition of the tangent plane is used to generate the normal of the tangent plane. During the lens change process, since the change is small and the lens area can be almost considered to be uniformly expanded, the tangent plane of the lens area is almost parallel before and after the change. Therefore, the normal of the tangent plane is used as a reference for determining the refraction angle before and after the change.

[0099] Reference Figure 4 As shown, establishing a temperature-induced color difference model includes the following steps:

[0100] Acquire a reference object, which is a pure color object, and acquire pixel values ​​of pixels in an image of the reference object formed under a preset temperature condition as reference pixel values;

[0101] Based on historical data, a temperature value range of the lens use environment is obtained, and the temperature value range is divided into equal intervals to obtain at least one temperature point;

[0102] Under the condition that the temperature of the lens use environment is the value at the temperature point, the lens is used to acquire an image of the reference object to obtain a chromatic aberration image;

[0103] Obtaining the difference between the pixel value of the pixel point in the color difference image and the reference pixel value as the color difference pixel value;

[0104] Pair the value of the temperature point with the color difference pixel value to obtain a temperature color difference group;

[0105] At least one temperature color difference group is fitted to obtain a color difference fitting function, wherein the value of the temperature point is an independent variable and the color difference pixel value is a dependent variable.

[0106] The lens will produce different changes under different temperatures. Therefore, in order to predict the chromatic aberration of the lens, it is necessary to establish a corresponding functional relationship. When the temperature is known, the corresponding chromatic aberration can be obtained, and then the chromatic aberration can be compensated in reverse to eliminate the chromatic aberration caused by temperature.

[0107] Reference Figure 5As shown, performing chromatic aberration compensation on the imaging area to obtain a first imaging area compensation picture includes the following steps:

[0108] Based on the infrared image of the lens area, the average pixel value of the pixel points in the infrared image of the lens area is calculated, and the temperature corresponding to the average pixel value is obtained as the actual temperature;

[0109] Substitute the actual temperature into the color difference fitting function to obtain the color difference compensation value;

[0110] The chromatic aberration compensation value is subtracted from the pixel values ​​of the pixel points in the imaging area corresponding to the lens area and the pixel values ​​of the original pixel points are overwritten to obtain a first imaging area compensation picture.

[0111] Reference Figure 6 As shown, establishing the influence model of temperature and lens expansion includes the following steps:

[0112] Under a preset temperature condition, the volume of the lens is obtained in advance as a preset volume;

[0113] Under the condition that the temperature of the environment in which the lens is used is the value at the temperature point, the volume of the lens is obtained as the expansion volume;

[0114] The expansion volume is divided by the preset volume to obtain the expansion coefficient;

[0115] Pair the values ​​of the temperature points with the expansion coefficients to obtain an expansion coefficient group;

[0116] At least one expansion coefficient group is fitted to obtain an expansion fitting function, wherein the value of the temperature point is an independent variable and the expansion coefficient is a dependent variable.

[0117] Different temperatures have different effects on lens expansion. By establishing a model of the impact of temperature and lens expansion, the degree of lens expansion can be predicted under different temperature conditions with an accuracy that meets the adjustment requirements. The distance the lens area surface moves can then be predicted, and the offset distance of the refraction projection can be obtained, so that targeted compensation can be performed.

[0118] Based on the influence model of temperature and lens expansion and the infrared image of the lens area, obtaining the expansion ratio of the lens area includes the following steps:

[0119] Substitute the actual temperature into the expansion fitting function to obtain the expansion ratio of the lens area.

[0120] Reference Figure 7 As shown, obtaining the lens area surface curvature change parameter based on the expansion ratio of the lens area includes the following steps:

[0121] Taking an average of the expansion ratios of at least one lens region to obtain an average expansion ratio;

[0122] The preset volume is multiplied by the average value of the expansion ratio to obtain the expanded volume;

[0123] Accumulating the expansion ratio of at least one lens area to obtain a total expansion ratio;

[0124] The expansion ratio of the lens area is divided by the sum of the expansion ratios to obtain the expansion distribution ratio, and the expansion distribution ratio is paired with the lens area corresponding to the expansion ratio;

[0125] The expanded volume is multiplied by the expansion distribution ratio corresponding to the lens area to obtain the actual volume of the lens area;

[0126] Obtain the area of ​​the imaging area corresponding to the lens area as the projection area;

[0127] The actual volume of the lens area is divided by the projected area to obtain the actual projected length;

[0128] The actual projection length is divided by the expansion ratio of the lens area to obtain the unexpanded projection length;

[0129] The actual projection length is subtracted from the unexpanded projection length to obtain the projection change length;

[0130] Based on historical data, obtain the refraction angle of light in the lens material;

[0131] Here, since the light comes from any direction, its comprehensive effect can be regarded as parallel light incident on the lens. Therefore, when the material is determined, when the incident angle is certain, the refraction angle is also certain;

[0132] Based on the tangent plane equation, get the normal of the tangent plane ;

[0133] Calculate the angle between the normal line of the tangent plane and the reference plane as the first characteristic angle;

[0134] The refraction angle is subtracted from the first characteristic angle to obtain a second characteristic angle, and the second characteristic angle is used as a parameter of the change in the surface curvature of the lens area. The second characteristic angle is the angle between the light and the reference plane when projected;

[0135] The first characteristic angle is: ;

[0136] Among them, a is , b is , c is , is the first characteristic angle, is the inverse trigonometric function of cosine.

[0137] The curvature change parameter of the lens area surface is actually the second characteristic angle, which is the angle between the light and the reference plane during projection. According to the geometric relationship, there is a proportional relationship between the projection change length and the imaging light refraction change value. Therefore, when the position of the lens area surface changes, the imaging light refraction change value also changes accordingly.

[0138] In addition, the expansion of the lens is mainly reflected in the longitudinal direction because of the limitation of the frame on the side. Therefore, the actual volume of the lens area is divided by the projection area to obtain the actual projection length. Due to the expansion ratio, the unexpanded length can be calculated through the actual projection length. Therefore, the position change of the surface of the lens area can be obtained.

[0139] Based on the lens area surface curvature change parameter, obtaining the imaging light refraction change value includes the following steps:

[0140] The projection variation length is divided by the tangent value of the second characteristic angle to obtain the refraction variation value of the imaging light.

[0141] Performing pixel point position movement compensation in the first imaging area compensation picture to obtain the second imaging area compensation picture includes the following steps:

[0142] The position of the pixel point is moved in the first imaging area compensation picture, the moving distance is equal to the refraction change value of the imaging light, and the moving direction is along the straight line intersecting the plane where the light is located and the reference plane.

[0143] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned active thermal difference elimination control method of the 4K vehicle-mounted lens is executed.

[0144] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0145] In summary, the advantages of the present invention are: by establishing a model of the influence of temperature on chromatic aberration, establishing a model of the influence of temperature and lens expansion, and performing movement compensation on the pixel position, the chromatic aberration at different temperatures can be compensated, thereby reducing the influence of temperature on color. At the same time, the change of the lens surface caused by temperature can be compensated, thereby reducing the degree of deformation of the imaging picture caused by the temperature change of the lens, thereby reducing the influence of temperature on the lens to a minimum and ensuring the imaging effect of the picture.

[0146] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for actively eliminating thermal difference control of a 4K vehicle-mounted lens, characterized in that: include: Divide the lens into at least one lens area, divide the lens imaging screen into at least one imaging area, and establish a corresponding relationship between the lens area and the imaging area; The plane where the lens imaging screen is located is used as the reference plane to coordinate model the lens. The reference plane is the plane where the x-axis and y-axis of the coordinate system are located. Under the preset temperature condition, the tangent plane of the surface center of the lens area is obtained in advance, wherein the preset temperature is the normal working temperature of the lens. Perform infrared recognition on the lens area to obtain an infrared image of the lens area; Establish a model for the effect of temperature on color difference; Based on the temperature influence model on chromatic aberration and the infrared image of the lens area, chromatic aberration compensation is performed on the imaging area to obtain a first imaging area compensation picture; Model the effects of temperature and lens expansion; Based on the influence model of temperature and lens expansion and the infrared image of the lens area, the expansion ratio of the lens area is obtained; Based on the expansion ratio of the lens area, a surface curvature change parameter of the lens area is obtained; Based on the curvature change parameter of the lens area surface, the refraction change value of the imaging light is obtained; Based on the imaging light refraction change value, performing pixel point position movement compensation in the first imaging area compensation picture to obtain a second imaging area compensation picture; The second imaging area compensation images are spliced ​​according to the positions of the imaging areas to obtain a total image with thermal difference eliminated; The step of obtaining the tangent plane of the surface center of the lens area in advance under the preset temperature condition comprises the following steps: Uniformly select at least one sampling point on the surface of the lens area, obtain the coordinates of the sampling point, and fit the sampling point to obtain a surface fitting function of the lens area; Based on the surface fitting function, the equation of the tangent plane is obtained at the surface center of the lens area; The equation of the tangent plane is given by: , in, are the coordinates of the surface center of the lens area, is the surface fitting function, is a point on the tangent plane, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position, For middle Find the partial derivative of the position; The step of obtaining the lens area surface curvature change parameter based on the expansion ratio of the lens area comprises the following steps: Taking an average of the expansion ratios of at least one lens region to obtain an average expansion ratio; The preset volume is multiplied by the average value of the expansion ratio to obtain the expanded volume; Accumulating the expansion ratio of at least one lens area to obtain a total expansion ratio; The expansion ratio of the lens area is divided by the sum of the expansion ratios to obtain the expansion distribution ratio, and the expansion distribution ratio is paired with the lens area corresponding to the expansion ratio; The expanded volume is multiplied by the expansion distribution ratio corresponding to the lens area to obtain the actual volume of the lens area; Obtain the area of ​​the imaging area corresponding to the lens area as the projection area; The actual volume of the lens area is divided by the projected area to obtain the actual projected length; The actual projection length is divided by the expansion ratio of the lens area to obtain the unexpanded projection length; The actual projection length is subtracted from the unexpanded projection length to obtain the projection change length; Based on historical data, obtain the refraction angle of light in the lens material; Based on the tangent plane equation, get the normal of the tangent plane ; Calculate the angle between the normal line of the tangent plane and the reference plane as the first characteristic angle; The refraction angle is subtracted from the first characteristic angle to obtain a second characteristic angle, and the second characteristic angle is used as a parameter of the change in the surface curvature of the lens area. The second characteristic angle is the angle between the light and the reference plane when projected; The first characteristic angle is: , Among them, a is , b is , c is , is the first characteristic angle, is the inverse trigonometric function of cosine.

2. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 1, characterized in that: The step of dividing the lens imaging screen into at least one imaging area and establishing a correspondence between the lens area and the imaging area comprises the following steps: Use black lines to cover the boundary of the lens area, and obtain the lens imaging picture under the condition of the black lines covering; The area formed by the outline of the black line projection in the lens imaging picture is used as the imaging area; The lens area is matched with the imaging area, and the relative position of the corresponding lens area in the lens is consistent with the relative position of the imaging area in the lens imaging picture.

3. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 2, characterized in that: The establishment of the temperature influence model on the color difference comprises the following steps: Acquire a reference object, which is a pure color object, and acquire pixel values ​​of pixels in an image of the reference object formed under a preset temperature condition as reference pixel values; Based on historical data, a temperature value range of the lens use environment is obtained, and the temperature value range is divided into equal intervals to obtain at least one temperature point; Under the condition that the temperature of the lens use environment is the value at the temperature point, the lens is used to acquire an image of the reference object to obtain a chromatic aberration image; Obtaining the difference between the pixel value of the pixel point in the color difference image and the reference pixel value as the color difference pixel value; Pair the value of the temperature point with the color difference pixel value to obtain a temperature color difference group; At least one temperature color difference group is fitted to obtain a color difference fitting function, wherein the value of the temperature point is an independent variable and the color difference pixel value is a dependent variable.

4. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 3, characterized in that: The method of performing chromatic aberration compensation on the imaging area to obtain a first imaging area compensation picture comprises the following steps: Based on the infrared image of the lens area, the average pixel value of the pixel points in the infrared image of the lens area is calculated, and the temperature corresponding to the average pixel value is obtained as the actual temperature; Substitute the actual temperature into the color difference fitting function to obtain the color difference compensation value; The chromatic aberration compensation value is subtracted from the pixel values ​​of the pixel points in the imaging area corresponding to the lens area and the pixel values ​​of the original pixel points are overwritten to obtain a first imaging area compensation picture.

5. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 4, characterized in that: The establishment of the influence model of temperature and lens expansion comprises the following steps: Under a preset temperature condition, the volume of the lens is obtained in advance as a preset volume; Under the condition that the temperature of the environment in which the lens is used is the value at the temperature point, the volume of the lens is obtained as the expansion volume; The expansion volume is divided by the preset volume to obtain the expansion coefficient; Pair the values ​​of the temperature points with the expansion coefficients to obtain an expansion coefficient group; At least one expansion coefficient group is fitted to obtain an expansion fitting function, wherein the value of the temperature point is an independent variable and the expansion coefficient is a dependent variable.

6. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 5, characterized in that: The method of obtaining the expansion ratio of the lens area based on the influence model of temperature and lens expansion and the infrared image of the lens area comprises the following steps: Substitute the actual temperature into the expansion fitting function to obtain the expansion ratio of the lens area.

7. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 6, characterized in that: The method of obtaining the imaging light refraction change value based on the lens area surface curvature change parameter comprises the following steps: The projection variation length is divided by the tangent value of the second characteristic angle to obtain the refraction variation value of the imaging light.

8. The active thermal difference elimination control method for a 4K vehicle-mounted lens according to claim 7, characterized in that: The method of performing movement compensation of pixel positions in the first imaging area compensation picture to obtain the second imaging area compensation picture comprises the following steps: The position of the pixel point is moved in the first imaging area compensation picture, the moving distance is equal to the refraction change value of the imaging light, and the moving direction is along the straight line intersecting the plane where the light is located and the reference plane.