Lens imaging distortion uniformity detection method, system and device and computer equipment

By measuring the projection length at multiple angles on the lens and calculating the imaging distortion uniformity parameters, the problem of inaccurate lens imaging distortion correction in the prior art is solved, and the accuracy of lens imaging distortion uniformity detection and image correction is achieved.

CN119164610APending Publication Date: 2024-12-20HEFEI MEIYA OPTOELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311867024.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The prior art is unable to effectively detect the uniformity of the imaging distortion of the lens in all directions when correcting the image imaging distortion of the lens, resulting in inaccurate image correction.

Method used

By determining at least two object detection angles and at least one object detection length, rotating the lens and measuring the projection length at each angle, calculating imaging distortion uniformity parameters, such as standard deviation and extreme difference, and determining whether the lens imaging distortion uniformity is qualified or unqualified, the lens imaging distortion uniformity is qualified or unqualified .

Benefits of technology

Quantitative detection of the uniformity of the imaging distortion of the lens in different directions is achieved, ensuring the accuracy and quality of image correction, and adapting to camera sensors of different sizes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119164610A_ABST
    Figure CN119164610A_ABST
Patent Text Reader

Abstract

The invention relates to a lens imaging distortion uniformity detection method, system and device and computer equipment. The method comprises the following steps: determining at least two target detection angles and at least one target detection length; aiming at any target detection angle, rotating the to-be-detected lens to the target detection angle, and respectively determining the projection length of each reference object corresponding to each target detection length on the lens imaging plane; and determining an imaging distortion uniformity detection result of the to-be-detected lens according to the projection lengths of the to-be-detected lens corresponding to the target detection angles. By adopting the method, the imaging distortion uniformity of the to-be-detected lens at different target detection angles can be determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lenses, and in particular to a method, system, device and computer equipment for detecting uniformity of lens imaging distortion. Background Art

[0002] Due to the processing and assembly of the lens, each lens itself will have certain imaging distortions, such as the tangential distortion caused by the certain tilt angle between the lens and the plane of the photosensitive component CMOS (Complementary Metal Oxide Semiconductor), and the radial distortion that causes the fisheye effect on the image because the lens itself is a convex lens. These two distortions are also called barrel distortion and pincushion distortion. In a more precise camera system, the distortion of the lens has a greater impact on the imaging and positioning of the camera itself.

[0003] In the prior art, when correcting the imaging distortion of an image captured by a lens, the same parameters are usually used to correct the image in each direction. However, the imaging distortion of the lens itself in each direction is not necessarily uniform, so the corrected image may not return to the position where the image should have been. Therefore, it is necessary to provide a method to detect the uniformity of the imaging distortion of the lens in each direction, so as to use different methods to correct the image for different lenses. Summary of the invention

[0004] Based on this, it is necessary to provide a lens imaging distortion uniformity detection method, system, device and computer equipment to address the above technical problems.

[0005] In a first aspect, the present application provides a method for detecting uniformity of lens imaging distortion. The method comprises:

[0006] determining at least two target detection angles and at least one target detection length;

[0007] For any of the target detection angles, the lens to be detected is rotated to the target detection angle, and the projection lengths of the reference objects corresponding to the target detection lengths on the lens imaging plane are determined respectively;

[0008] The imaging distortion uniformity detection result of the lens to be detected is determined according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles.

[0009] In one embodiment, the reference object includes a first endpoint and a second endpoint, the first projection point corresponding to the first endpoint on the lens imaging plane is the center point of the lens imaging plane, and the projected length of each reference object corresponding to each target detection length on the lens imaging plane is determined respectively, including:

[0010] For any reference object corresponding to the target detection length, determining a second projection point corresponding to the second endpoint from a projection of the reference object on the lens imaging plane;

[0011] The distance between the second projection point and the first projection point is used as the projection length of the reference object on the lens imaging plane.

[0012] In one embodiment, determining the imaging distortion uniformity detection result of the lens to be detected according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles includes:

[0013] For any of the target detection lengths, determining the imaging distortion uniformity parameter of the lens to be detected for the target detection length according to the projection length of the lens to be detected corresponding to the target detection length at each of the target detection angles;

[0014] The imaging distortion uniformity detection result of the lens to be detected is determined according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length.

[0015] In one embodiment, determining the imaging distortion uniformity parameter of the lens to be inspected for the target detection length according to the projection length of the lens to be inspected corresponding to the target detection length at each target detection angle includes:

[0016] According to the projection length of the to-be-detected lens corresponding to the target detection length at each target detection angle, determine the standard deviation corresponding to each projection length, and determine the range corresponding to each projection length;

[0017] The range and the standard deviation are used as imaging distortion uniformity parameters of the lens to be tested for the target detection length.

[0018] In one embodiment, determining the imaging distortion uniformity detection result of the lens to be detected according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length includes:

[0019] For any of the target detection lengths, if the imaging distortion uniformity parameter corresponding to the target detection length does not meet a preset condition, determining the imaging distortion uniformity detection result of the lens to be detected for the target detection length as unqualified;

[0020] Alternatively, when the imaging distortion uniformity parameter corresponding to the target detection length meets a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be qualified.

[0021] In one of the embodiments, the target detection length is determined according to the size of the camera sensor to be detected.

[0022] In one embodiment, the method further comprises:

[0023] For any of the target detection lengths, when the imaging distortion uniformity detection result of the lens to be detected for the target detection length is qualified, the camera sensor to be detected corresponding to the target detection length is used as the adapter sensor of the lens to be detected.

[0024] In a second aspect, the present application also provides a lens imaging distortion uniformity detection system. The system includes a lens rotation module, a reference object module and a detection result determination module, wherein:

[0025] The lens rotation module is used to fix the lens to be detected after the lens to be detected is rotated to a target detection angle, wherein the target detection angle includes at least two;

[0026] The reference object module is used to set a feature point distance between two feature points, wherein the feature point distance is determined according to a target detection length;

[0027] The detection result determination module is used to detect the projection distance between the projection points of the two feature points on the lens imaging plane for any of the target detection angles and any of the target detection lengths, and determine the imaging distortion uniformity detection result of the lens to be detected according to each of the projection distances corresponding to each of the target detection angles of the lens to be detected.

[0028] In one embodiment, the lens rotation module includes a sensor fixing module and a lens fixing module, and the sensor fixing module and the lens fixing module are arranged in parallel.

[0029] In one embodiment, the sensor fixing module includes a sensor fixer, a sensor fixing module fixer and a lens rotation module connector.

[0030] In one embodiment, the lens fixing module includes a sensor fixing module connector, a lens fixing module rotator and a lens fixer.

[0031] In one embodiment, the reference object module includes a first sphere, a second sphere and a connecting rod, the first sphere is fixedly connected to the connecting rod, the second sphere is slidably connected to the connecting rod, and the reference object module is also used to slide the second sphere to set the distance between the second sphere and the first sphere as the feature point distance corresponding to the target detection length.

[0032] In one of the embodiments, the reference object module is further used to adjust the position of the connecting rod according to the position of the lens to be detected, so that the projection point of the first sphere on the lens imaging plane of the lens to be detected is located at the center of the lens imaging plane.

[0033] In one embodiment, the lens rotation module and the reference object module are arranged vertically and parallelly.

[0034] In a third aspect, the present application also provides a lens imaging distortion uniformity detection device. The device comprises:

[0035] A first determination module, used to determine at least two target detection angles and at least one target detection length;

[0036] A rotation module, for rotating the lens to be detected to the target detection angle for any target detection angle, and respectively determining the projection length of each reference object corresponding to each target detection length on the lens imaging plane;

[0037] The second determination module is used to determine the imaging distortion uniformity detection result of the lens to be detected according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles.

[0038] In one embodiment, the reference object includes a first endpoint and a second endpoint, a first projection point corresponding to the first endpoint on the lens imaging plane is a center point of the lens imaging plane, and the rotation module is further used to:

[0039] For any reference object corresponding to the target detection length, determining a second projection point corresponding to the second endpoint from a projection of the reference object on the lens imaging plane;

[0040] The distance between the second projection point and the first projection point is used as the projection length of the reference object on the lens imaging plane.

[0041] In one embodiment, the second determining module is further used to:

[0042] For any of the target detection lengths, determining the imaging distortion uniformity parameter of the lens to be detected for the target detection length according to the projection length of the lens to be detected corresponding to the target detection length at each of the target detection angles;

[0043] The imaging distortion uniformity detection result of the lens to be detected is determined according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length.

[0044] In one embodiment, the second determining module is further used to:

[0045] According to the projection length of the to-be-detected lens corresponding to the target detection length at each target detection angle, determine the standard deviation corresponding to each projection length, and determine the range corresponding to each projection length;

[0046] The range and the standard deviation are used as imaging distortion uniformity parameters of the lens to be tested for the target detection length.

[0047] In one embodiment, the second determining module is further used to:

[0048] For any of the target detection lengths, if the imaging distortion uniformity parameter corresponding to the target detection length does not meet a preset condition, determining the imaging distortion uniformity detection result of the lens to be detected for the target detection length as unqualified;

[0049] Alternatively, when the imaging distortion uniformity parameter corresponding to the target detection length meets a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be qualified.

[0050] In one of the embodiments, the target detection length is determined according to the size of the camera sensor to be detected.

[0051] In one embodiment, the device further comprises:

[0052] The third determination module is used to, for any of the target detection lengths, use the camera sensor to be detected corresponding to the target detection length as an adaptation sensor for the lens to be detected if the imaging distortion uniformity detection result of the lens to be detected for the target detection length is qualified.

[0053] In a fourth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, any one of the above methods is implemented.

[0054] In a fifth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any of the above methods is implemented.

[0055] In a sixth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, any of the above methods is implemented.

[0056] The above-mentioned lens imaging distortion uniformity detection method, system, device and computer equipment determine the target detection angle and target detection length to be detected for the lens to be detected, and then determine the reference object with the target detection length, and for each target detection angle, respectively collect the projection length corresponding to the reference object corresponding to each target detection length, and then determine the imaging distortion uniformity detection result of the lens to be detected according to each projection length. The embodiment of the present application can quantify the imaging distortion uniformity of the lens to be detected at different target detection angles by collecting the imaging conditions of the lens to be detected for different target detection lengths at multiple target detection angles. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 1 is a schematic diagram of a flow chart of a method for detecting uniformity of lens imaging distortion in one embodiment;

[0058] Figure 2 is a schematic diagram of rotating a lens to be inspected in one embodiment;

[0059] Figure 3 is a flow chart of step 104 in one embodiment;

[0060] Figure 4 is a flow chart of step 106 in one embodiment;

[0061] Figure 5 is a flow chart of step 402 in one embodiment;

[0062] Figure 6 is a schematic diagram of a lens imaging distortion uniformity detection system in one embodiment;

[0063] Figure 7 is a schematic diagram of a lens rotation module 610 in one embodiment;

[0064] Figure 8 is a schematic diagram of a lens rotation module 610 in one embodiment;

[0065] Fig. 9 is a schematic diagram of a rotating lens fixing module 612 in one embodiment;

[0066] Fig.10 is a schematic diagram of a sensor fixing module 611 in one embodiment;

[0067] Fig.11 is a schematic diagram of a lens fixing module 612 in one embodiment;

[0068] Fig.12 is a schematic diagram of a reference object module 620 in one embodiment;

[0069] Fig.13 is a schematic diagram of sliding the second ball 622 in one embodiment;

[0070] Fig.14 is a structural block diagram of a lens imaging distortion uniformity detection device in one embodiment;

[0071] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0073] In one embodiment, Figure 1 As shown, a method for detecting uniformity of lens imaging distortion is provided. This embodiment takes the method applied to a server as an example. It is understandable that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0074] Step 102, determining at least two target detection angles and at least one target detection length.

[0075] In the embodiment of the present application, the target detection angle refers to the angle at which the lens rotates around the central axis of the lens starting from a certain initial position. Figure 2As shown. The target detection angle can be the angle at which the lens rotates clockwise around the central axis of the lens, or it can be the angle at which the lens rotates counterclockwise around the central axis of the lens, and the embodiments of the present application do not specifically limit this. The specific selection of which position is used as the initial position, and which angles are selected as the target detection angles can be determined by the actual needs of those skilled in the art. For example, if it is necessary to detect the severity of the tangential distortion of the lens, 0° and 180° or any two angles with a difference of 180° can be selected as the target detection angles to judge the severity of the tangential distortion by detecting the imaging difference of the lens to be detected at these two target detection angles. If it is necessary to detect the distortion difference of the lens in various directions, more target detection angles (such as at least one every 90°) can be selected, and then the distortion difference of the lens in various directions can be determined according to the imaging difference of the lens to be detected at each target detection angle.

[0076] The target detection length refers to the length on the imaging plane of the lens. The position of the imaging plane of the lens allows the image sensor to form a clearer image at this position. The imaging plane of the lens can be the focal plane of the lens or a plane that is a certain distance away from the focal plane and parallel to the focal plane. Since the focal length of the lens has been preset, according to the imaging principle of the lens (the reciprocal of the focal length is the sum of the reciprocal of the object distance and the reciprocal of the image distance, and the ratio of the object height to the image height is equal to the ratio of the object distance to the image distance), it can be deduced that if the projected length of an object with a fixed height on the imaging plane of the lens is the target detection length, then how far away from the lens should the object be placed (see formula (1) and formula (2)):

[0077] Formula (I)

[0078] Among them, v is the image distance (the length of the object's projection from the center of the lens's convex lens), u is the object distance (the length of the object from the center of the lens's convex lens), h is the image height (the length of the object's projection), and H is the object height (the length of the object).

[0079] Substituting formula (1) into the relationship between focal length, object distance and image distance, we can obtain formula (2):

[0080] Formula (II)

[0081] Where f is the focal length. If the ratio of object height to image height is large enough, the above formula can be further simplified to .

[0082] After setting the distance between the object and the lens to be detected by the above formula, it is possible to detect whether the actual projection length of the object on the lens imaging plane is equal to the target detection length, and then determine whether there is imaging distortion in the lens to be detected. Those skilled in the art can select one or more target detection lengths according to actual needs. For example, when it is necessary to detect the difference between the imaging distortion near the edge of the lens to be detected and the imaging distortion near the center of the lens, a shorter target detection length and a longer target detection length can be selected; when it is only necessary to detect the uniformity of the imaging distortion of the lens to be detected in different directions, only one length can be selected as the target detection length, and the embodiments of the present application do not make specific limitations on this.

[0083] Step 104 , for any target detection angle, the lens to be detected is rotated to the target detection angle, and the projection length of each reference object corresponding to each target detection length on the lens imaging plane is determined respectively.

[0084] In the embodiment of the present application, the reference object corresponding to a certain target detection length refers to an object placed at a specific distance from the lens to be detected, having a specific length, and the theoretical length of the projection on the lens imaging plane is equal to the target detection length. That is, the same object placed at different positions relative to the lens to be detected, or adjusted to different heights, is a different reference object because of the different projection lengths on the lens imaging plane. When different marks that can identify different lengths exist on an object at the same time, each pair of marks that can identify a certain length is also a different reference object: for example, when there are marks A, B, and C on an object at the same time, the length between marks A and B is a reference object, the length between marks B and C is also a reference object, and the length between marks A and C is also a reference object.

[0085] After the lens to be tested is rotated to the target detection angle, the projection length of each reference object on the lens imaging plane can be detected respectively. An image sensor can be set behind the lens, and the focal length of the lens can be adjusted in advance so that the lens imaging plane and the image sensor coincide. In this way, the projection of the reference object can be collected by the image sensor, and the projection length on the lens imaging plane can be determined.

[0086] Exemplarily, if different reference objects are represented by different objects, after the projection length of the reference object represented by one object is collected, the object can be replaced, and the projection length of the reference object represented by the next object can be collected, until the projection lengths of all reference objects are collected. If different reference objects are obtained by placing an object at different positions relative to the lens to be detected, after the object (or the lens to be detected) is moved to a position, the projection length of the reference object represented by the object at this time on the lens imaging plane can be detected, and then the object (or the lens to be detected) can be moved to the next position, and the projection length of the reference object represented by the object at this time on the lens imaging plane can be detected, until the projection length of the object at all positions is collected. If different reference objects are obtained by using pairs of marks representing different lengths on the object, the projections of all reference objects on the lens imaging plane can be collected at one time, and then the projection length corresponding to each reference object can be calculated according to the projection points corresponding to each mark on the projection.

[0087] Step 106 , determining the imaging distortion uniformity detection result of the lens to be detected according to each projection length of the lens to be detected corresponding to each target detection angle.

[0088] In the embodiment of the present application, after the detection of each projection length of the lens to be detected at each target detection angle and corresponding to each target detection length, the imaging distortion uniformity detection result can be calculated according to the difference between each projection length. The imaging distortion uniformity detection result may include whether the imaging distortion uniformity of the lens to be detected in each direction meets the preset conditions, the imaging distortion value of the lens to be detected in each direction (which can be represented by the difference between the target detection length and its corresponding projection length), the imaging distortion difference in each direction (which can be represented by the difference between each projection length, the variance of each projection length, etc.), etc.

[0089] Exemplarily, the preset condition can be set as that at each target detection angle, the difference between the projection lengths corresponding to the same target detection length is less than a preset threshold value (that is, the difference in the degree of imaging distortion of the lens at each angle is maintained within a certain range). For each target detection length, the difference between the projection lengths corresponding to the target detection length at each target detection angle can be calculated. If the difference is greater than the preset threshold value, the imaging distortion uniformity detection result of the lens to be detected is determined to be unqualified, and if the difference is less than or equal to the preset threshold value, the imaging distortion uniformity detection result of the lens to be detected is determined to be qualified. The preset condition can also be set as that at each target detection angle, the difference between each projection length and the target detection length corresponding thereto is less than a preset threshold value (that is, the degree of imaging distortion of the lens is maintained within a certain range when approaching the edge of the lens), and the imaging distortion uniformity detection result of the lens to be detected is determined to be unqualified when there is a difference greater than the preset threshold value, and the imaging distortion uniformity detection result of the lens to be detected is determined to be qualified when there is no difference greater than the preset threshold value. Other preset conditions can also be determined and set according to actual needs, and the embodiments of the present application do not specifically limit this.

[0090] The lens imaging distortion uniformity detection method provided in the embodiment of the present application determines the target detection angle and target detection length to be detected for the lens to be detected, and then determines the reference object with the target detection length, and for each target detection angle, respectively collects the projection length corresponding to the reference object corresponding to each target detection length, and then determines the imaging distortion uniformity detection result of the lens to be detected according to each projection length. The embodiment of the present application can quantify the imaging distortion uniformity of the lens to be detected at different target detection angles by collecting the imaging conditions of the lens to be detected for different target detection lengths at multiple target detection angles.

[0091] In one embodiment, Figure 3 As shown, the reference object includes a first endpoint and a second endpoint, and a first projection point corresponding to the first endpoint on the lens imaging plane is the center point of the lens imaging plane. In step 104, the projection length of each reference object corresponding to each target detection length on the lens imaging plane is determined respectively, including:

[0092] Step 302: for any reference object, determine a second projection point corresponding to a second endpoint from the projection of the reference object on the lens imaging plane.

[0093] Step 304: Use the distance between the second projection point and the first projection point as the projection length of the reference object on the lens imaging plane.

[0094] In the embodiment of the present application, the reference object has a first endpoint and a second endpoint for identifying the reference object, and the distance between the first endpoint and the second endpoint is the length of the reference object. For example, still taking the example of a mark A, a mark B and a mark C on an object at the same time, the first endpoint of the reference object represented by the mark A and the mark C can be the mark A, and the second endpoint can be the mark C. Similarly, the first endpoint of the reference object represented by the mark A and the mark B can be the mark A, and the second endpoint can be the mark B. The embodiment of the present application does not specifically limit which endpoint is used as the first endpoint.

[0095] Since the imaging distortion of the lens is generally more serious when it is close to the edge of the lens, the first projection point corresponding to the first endpoint on the lens imaging plane can be adjusted to the center of the lens imaging plane, so that the projection length can reflect the distortion severity of the lens to be tested from the center to the outside. The position where the first endpoint should be located relative to the lens to be tested can be calculated based on the lens imaging principle when the first projection point is located at the center of the lens imaging plane, and then the reference object or the lens to be tested can be moved so that the first endpoint is located at this position.

[0096] After obtaining the projection of the reference object on the lens imaging plane, the second projection point corresponding to the second endpoint on the projection can be detected by an image detection algorithm. For example, when the second endpoint is a corner point or a sphere in a sharp angle shape, the grayscale centroid method or the circle fitting method can be used to detect the second projection point from the projection, and determine the exact position of the second projection point on the lens imaging plane. Since the position of the first projection point on the lens imaging plane and the center of the lens imaging plane may have a certain deviation during the previous adjustment process, in order to ensure the accuracy of the projection length calculation, the actual position of the first projection point on the lens imaging plane can be detected again, or the center of the lens imaging plane can be directly used as the position of the first projection point. By calculating the Euclidean distance between the second projection point and the first projection point, the projection length of the reference object on the lens imaging plane can be obtained (see formula (III)):

[0097] Formula (III)

[0098] in, is the projection length, represents the first endpoint, represents the second endpoint, and are respectively the abscissa and ordinate of the first endpoint in the plane rectangular coordinate system corresponding to the lens imaging plane (the plane rectangular coordinate system for the lens imaging plane can be constructed in any way, for example, taking the center of the lens imaging plane as the origin, taking any straight line in the lens imaging plane as the x-axis, and taking a straight line perpendicular to the straight line as the y-axis), and are respectively the abscissa and ordinate of the second endpoint on the plane rectangular coordinate system corresponding to the lens imaging plane.

[0099] The lens imaging distortion uniformity detection method provided in the embodiment of the present application makes the first projection point corresponding to the first endpoint of the reference object on the lens imaging plane be located at the center of the lens imaging plane, and obtains the projection length by calculating the distance between the second projection point corresponding to the second endpoint of the reference object on the lens imaging plane and the first projection point, so as to detect the distortion severity of the lens to be detected from the center outward.

[0100] In one embodiment, Figure 4 As shown, in step 106, the imaging distortion uniformity test result of the lens to be tested is determined according to the projection length of the lens to be tested corresponding to each target detection angle, including:

[0101] Step 402 : for any target detection length, according to the projection length of the lens to be detected at each target detection angle corresponding to the target detection length, determine the imaging distortion uniformity parameter of the lens to be detected for the target detection length.

[0102] Step 404 : determining an imaging distortion uniformity detection result of the lens to be detected according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length.

[0103] In the embodiment of the present application, the imaging distortion uniformity parameter is used to characterize the imaging distortion uniformity of the lens to be tested at each target detection angle. One or more parameters that can characterize the difference in projection length at each target detection angle can be used as the imaging distortion uniformity parameter, such as one or more of the difference, variance, standard deviation, skewness, and kurtosis between projection lengths for the same target detection length at different target detection angles.

[0104] For any target detection length, the projection length corresponding to the target detection length at each target detection angle can be obtained, and then the imaging distortion uniformity parameter corresponding to each projection length can be determined. The imaging distortion uniformity parameter corresponding to each target detection length can be reflected on the lens imaging plane, and the distortion uniformity at the position of the target detection length extending outward from the center of the lens imaging plane. After determining the imaging distortion uniformity parameter corresponding to each target detection length, the imaging distortion uniformity detection result of the lens to be detected can be judged according to the preset conditions. The preset conditions can be set according to the needs of technical personnel in this field. For example, the preset conditions can be set to that each imaging distortion uniformity parameter should be less than a certain threshold value (that is, at each target detection length position, the imaging distortion difference of the lens to be detected in each direction should be kept within a certain range), or the difference between each imaging distortion uniformity parameter is less than a certain threshold value (that is, as the target detection length extends, the change in the imaging distortion uniformity of the lens to be detected can be kept within a certain range), and the embodiment of the present application does not specifically limit this. When the imaging distortion uniformity parameter satisfies the preset condition, it can be judged that the imaging distortion uniformity test result of the lens to be tested is qualified; when the imaging distortion uniformity parameter does not satisfy the preset condition, it can be judged that the imaging distortion uniformity test result of the lens to be tested is unqualified. The embodiment of the present application does not specifically limit the preset condition.

[0105] The lens imaging distortion uniformity detection method provided in the embodiment of the present application determines the imaging distortion uniformity parameters of each target detection length, and then determines the imaging distortion uniformity detection result according to the imaging distortion uniformity parameters of each target detection length. The distortion uniformity of the lens to be detected at the target detection length position extending outward from the center of the lens imaging plane can be detected.

[0106] In one embodiment, Figure 5 As shown, in step 402, the imaging distortion uniformity parameter of the lens to be tested for the target detection length is determined according to the projection length of the lens to be tested corresponding to the target detection length at each target detection angle, including:

[0107] Step 502, according to the projection length of the target detection length corresponding to the lens to be detected at each target detection angle, determine the standard deviation corresponding to each projection length and determine the range corresponding to each projection length.

[0108] Step 504: Use the range and standard deviation as imaging distortion uniformity parameters of the lens to be tested for the target detection length.

[0109] In the embodiment of the present application, the standard deviation and range of each projection length can be calculated as imaging distortion uniformity parameters. The standard deviation can reflect the distribution dispersion between each projection length, that is, the overall uniformity of the imaging distortion of the lens to be tested in each direction. The range can reflect the difference between the largest projection length and the smallest projection length among the projection lengths, that is, whether the imaging distortion of the lens to be tested is more serious in a certain direction.

[0110] The standard deviation can be obtained by finding the difference between each projection length and the average of the projection lengths, averaging the squares of the differences, and then finding the square root of the average (see formula (IV)):

[0111] Formula (IV)

[0112] in, is the standard deviation of the nth target detection length, M is the total number of target detection angles, is the projection length collected at the mth target detection angle for the nth target detection length, is the average value of the projection lengths collected for the nth target detection length at each target detection angle.

[0113] The range can be obtained by finding the difference between each two projection lengths and selecting the largest difference from all the differences (see formula (V)):

[0114] Formula (V)

[0115] in, is the range of the projected length collected for the nth target detection length, It is the difference between the projection lengths collected for the nth target detection length at the 0th target detection angle and the 1st target detection angle, and so on.

[0116] The lens imaging distortion uniformity detection method provided in the embodiment of the present application uses the standard deviation and the range as imaging distortion uniformity parameters. Since the standard deviation and the range can better reflect the uniformity of the distribution of each projection length, the standard deviation and the range are selected as imaging distortion uniformity parameters, which can improve the accuracy of the imaging distortion uniformity detection result.

[0117] In one embodiment, in step 404, determining the imaging distortion uniformity detection result of the lens to be detected according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length includes:

[0118] For any target detection length, if the imaging distortion uniformity parameter corresponding to the target detection length does not meet the preset conditions, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined as unqualified;

[0119] Alternatively, when the imaging distortion uniformity parameter corresponding to the target detection length meets a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be qualified.

[0120] In the embodiment of the present application, an imaging distortion uniformity test result can be determined for each target detection length. The preset conditions can be set according to the needs of technical personnel in this field. For example, the preset conditions can be set to that each imaging distortion uniformity parameter should be less than a certain threshold value (the imaging distortion difference of the lens to be detected in each direction should be kept within a certain range), or at least one imaging distortion uniformity parameter is less than its corresponding threshold value, etc., and the embodiment of the present application does not make specific limitations on this. When the imaging distortion uniformity parameter meets the preset conditions, the imaging distortion uniformity test result of the lens to be detected for the target detection length can be judged to be qualified; when the imaging distortion uniformity parameter does not meet the preset conditions, the imaging distortion uniformity test result of the lens to be detected for the target detection length can be judged to be unqualified, and the embodiment of the present application does not make specific limitations on the preset conditions.

[0121] The lens imaging distortion uniformity detection method provided in the embodiment of the present application sets preset conditions, and determines the imaging distortion uniformity detection results according to whether the imaging distortion uniformity parameters of each target detection length meet the preset conditions. The distortion uniformity of the lens to be detected at the target detection length position extending outward from the center of the lens imaging plane can be detected.

[0122] In one embodiment, the target detection length is determined according to the size of the camera sensor to be detected.

[0123] In the embodiment of the present application, since the model and size of the camera sensor used to capture the image have several fixed specifications, one or more camera sensors to be tested can be determined in advance for the lens to be tested, and the target detection length can be set according to the size of the camera sensor to be tested. In this way, through the imaging distortion uniformity detection result, it can be determined whether the imaging distortion of the lens to be tested when paired with these specific sizes of camera sensors to be tested is within an acceptable range.

[0124] Exemplarily, since the camera sensor to be tested is generally rectangular, half of the diagonal length of the camera sensor to be tested can be used as the maximum target detection length. In this way, the projection length of the lens to be tested for the target detection length can reflect the imaging distortion of the lens to be tested within the maximum range of the image captured by the camera sensor to be tested. For the camera sensor to be tested, different other target detection lengths that are smaller than the maximum target detection length can also be set. According to the order of the target detection lengths from large to small, when the imaging distortion uniformity test result of the lens to be tested corresponding to the larger target detection length is unqualified, the imaging distortion uniformity test is performed for the smaller target detection length.

[0125] The lens imaging distortion uniformity detection method provided in the embodiment of the present application sets the target detection length according to the size of the camera sensor to be detected, so as to determine whether the imaging distortion of the lens to be detected is within an acceptable range when it is matched with the camera sensor to be detected.

[0126] In one embodiment, the method further includes:

[0127] For any target detection length, if the imaging distortion uniformity test result of the lens to be detected for the target detection length is qualified, the camera sensor to be detected corresponding to the target detection length is used as the adaptation sensor of the lens to be detected. The camera sensor to be detected corresponding to the target detection length refers to the square area sensor on the camera sensor to be detected with a diagonal length of twice the target detection length when the relative position between the camera sensor to be detected and the lens to be detected is determined.

[0128] In the embodiment of the present application, when the imaging distortion uniformity test result for the target detection length is qualified, it indicates that the imaging distortion of the lens to be detected is within the framing range of the camera sensor to be detected corresponding to the target detection length, and is within an acceptable range, so the camera sensor to be detected corresponding to the target detection length can be used as an adapted sensor for the lens to be detected. When the imaging distortion uniformity test result for the target detection length is unqualified, it indicates that the imaging distortion of the lens to be detected is more seriously uneven within the framing range of the camera sensor to be detected corresponding to the target detection length, so the camera sensor to be detected corresponding to the target detection length can be used as an adapted sensor for the lens to be detected.

[0129] After obtaining the compatible sensors of the lens to be tested, it can be determined that the camera to be tested can be installed on which sensor sizes are adopted.

[0130] The lens imaging distortion uniformity detection method provided in the embodiment of the present application determines the matching sensor according to the imaging distortion uniformity detection result for the target detection length, and can determine which sensors are suitable for the imaging distortion of the lens to be detected.

[0131] In one embodiment, Figure 6 As shown, a lens imaging distortion uniformity detection system is provided, including a lens rotation module 610, a reference object module 620 and a detection result determination module 630, wherein:

[0132] A lens rotation module 610 is used to fix the lens to be detected after the lens to be detected is rotated to a target detection angle, wherein the target detection angle includes at least two;

[0133] A reference object module 620, for setting a feature point distance between two feature points, wherein the feature point distance is determined according to a target detection length;

[0134] The detection result determination module 630 is used to detect the projection distance between the projection points of two feature points on the lens imaging plane for any target detection angle and any target detection length, and determine the imaging distortion uniformity detection result of the lens to be detected according to the projection distances corresponding to each target detection angle of the lens to be detected.

[0135] In the embodiment of the present application, the detection angle is a predetermined angle at which the lens rotates around the central axis of the lens starting from a certain initial position. The lens rotation module 610 selects an angle from each detection angle as the target detection angle, and then fixes the lens to be detected after the lens to be detected rotates to the angle. The reference object module 620 is composed of two feature points that can identify a length. The feature point can be any point that is easy to detect from the image, such as a sphere (such as Figure 6 as shown), corner points, scales, patterns with certain special colors, etc.

[0136] After the lens rotation module 610 fixes the lens to be detected, the feature point distance between the two feature points can be set by the reference object module 620. The feature point distance can be determined according to the target detection length, and can be calculated according to the distance between the reference object module 620 and the lens rotation module 610. Under the lens imaging principle of the above formulas (I) and (II), if the distance between the projection points of the two feature points on the lens imaging plane needs to be the target detection length, the feature point distance between the two feature points should be (see formula (VI)):

[0137] Formula (VI)

[0138] Among them, v is the image distance (the length of the projection point of the two feature points from the center of the convex lens of the lens), u is the object distance (the length of the two feature points from the center of the convex lens of the lens), h is the image height (the projection distance between the projection points of the two feature points), H is the object height (the feature point distance between the two feature points), and f is the focal length.

[0139] The reference object module 620 may be equipped with a system for controlling the distance between two feature points. Figure 6 In the structure shown, a motor capable of moving two small balls may be installed in the reference object module 620, and the reference object module 620 may move the two small balls according to the feature point distance. Alternatively, the distance between the two feature points may be manually adjusted to the feature point distance by a technician. After the distance between the two feature points is adjusted to the first feature point distance by the reference object module 620, the projection of the reference object module 620 on the lens imaging plane may be collected by the detection result determination module 630. The detection result determination module 630 detects the projection points corresponding to the two feature points from the projection (the grayscale centroid method, circle fitting method, etc. may be used for detection), and then the distance between the two projection points is used as the projection distance. After the detection result determination module 630 obtains the projection distance, the distance between the two feature points may be adjusted to the next feature point distance by the reference object module 620 again and the projection distance may be detected... and so on, until the detection result determination module 630 obtains the projection distance corresponding to all target detection lengths. The detection result determination module 630 further obtains the imaging distortion uniformity detection result of the lens to be detected according to each projection distance. For example, it can determine whether the imaging distortion uniformity detection result is a qualified result or an unqualified result based on whether the difference of each projection distance, the standard deviation of each projection distance, etc. is less than a preset threshold. For details, please refer to the description of the aforementioned embodiment, and the embodiments of the present application will not be repeated here.

[0140] The lens imaging distortion uniformity detection system provided in the embodiment of the present application determines the target detection angle and target detection length to be detected for the lens to be detected, and then determines the reference object with the target detection length, and for each target detection angle, respectively collects the projection distance corresponding to the reference object corresponding to each target detection length, and then determines the imaging distortion uniformity detection result of the lens to be detected according to each projection distance. The embodiment of the present application can quantify the imaging distortion uniformity of the lens to be detected at different target detection angles by collecting the imaging conditions of the lens to be detected for different target detection lengths at multiple target detection angles.

[0141] In one embodiment, Figure 7 As shown, the lens rotating module 610 includes a sensor fixing module 611 and a lens fixing module 612 , and the sensor fixing module and the lens fixing module 612 are arranged in parallel.

[0142] In the embodiment of the present application, the sensor fixing module 611 is used to fix the camera sensor to be detected ( Figure 7The lens fixing module 612 is used to fix the lens to be detected. In order to ensure that no new tangential distortion is introduced due to the different setting angles between the sensor fixing module 611 and the lens fixing module 612, the sensor fixing module 611 and the lens fixing module 612 can be set in parallel. The sensor fixing module 611 and the lens fixing module 612 can be as follows Figure 8 As shown in FIG. 1 , the lens fixing module 612 can be rotated as shown in FIG. Fig. 9 As shown, the sensor fixing module 611 can be rotated by any angle θ without connection, and it is only necessary to ensure that the center of the lens imaging plane of the lens fixing module 612 coincides with the center of the camera sensor to be detected.

[0143] The lens imaging distortion uniformity detection system provided in the embodiment of the present application is provided with a sensor fixing module and a lens fixing module, and the sensor fixing module and the lens fixing module are arranged in parallel, so as to avoid the introduction of new tangential distortion due to the different setting angles between the sensor fixing module and the lens fixing module, thereby improving the accuracy of the imaging distortion uniformity detection result.

[0144] In one embodiment, Fig.10 As shown, the sensor fixing module 611 includes a sensor fixing device 6110, a sensor fixing module fixing device 6111 and a lens rotating module connector 6112. The sensor fixing device 6110 is used to fix the camera sensor to be detected, such as Fig.10 As shown, it can be a structure with four threaded holes for installing screws to fix the camera sensor to be detected on the sensor fixing module 611 by screws, or it can also be other structures for fixing the camera sensor to be detected by buckles, limiters, etc., which are not specifically limited in the present embodiment of the application. The sensor fixing module fixture 6111 is used to fix the sensor fixing module 611 on a fixed plane, which can be achieved by Fig.10 The lens rotation module connector 6112 is used to connect the sensor fixing module 611 with the lens rotation module 612. It can be any structure that allows the lens rotation module 612 to rotate relative to the sensor fixing module 611 but cannot move relative to the sensor fixing module 611.

[0145] The lens imaging distortion uniformity detection system provided in the embodiment of the present application is provided with a sensor holder, a sensor fixing module holder and a lens rotation module connector in the sensor fixing module, which can reduce the error caused by the movement of the camera sensor, the sensor fixing module or the lens rotation module during the lens imaging distortion detection process, and improve the detection accuracy of the lens imaging distortion uniformity.

[0146] In one embodiment, Fig.11As shown, the lens fixing module 612 includes a sensor fixing module connector 6121, a lens fixing module rotator 6122 and a lens fixer 6123. The sensor fixing module connector 6121 is docked with the sensor fixing module 611 (or when the sensor fixing module 611 includes a lens rotation module connector 6112, it is docked with the lens rotation module connector 6112). It can be any structure that can allow the lens rotation module 612 to rotate relative to the sensor fixing module 611 but cannot move relative to the sensor fixing module 611. The lens fixing module rotator 6122 is used to assist the lens fixing module 612 to drive the lens to be detected to rotate. It can be Fig.11 The columnar structure shown in the figure allows the technician to drive the lens fixing module 612 to rotate by pushing the columnar structure, so that the lens to be tested fixed to the lens fixing module 612 by the lens fixer 6123 is also rotated. The lens fixer 6123 is used to fix the lens to be tested on the lens fixing module 612, which can be a buckle structure consistent with the structure used to fix the camera lens in the camera, or any other structure that can prevent the lens to be tested from moving relative to the lens fixing structure 612, which is not specifically limited in the embodiment of the present application.

[0147] The lens imaging distortion uniformity detection system provided in the embodiment of the present application is provided with a sensor fixing module connector, a lens fixing module rotator and a lens fixer in the lens fixing module, which can reduce the error caused by the movement of the lens fixing module or the lens during the lens imaging distortion detection process and improve the detection accuracy of the lens imaging distortion uniformity.

[0148] In one embodiment, Fig.12 As shown, the reference object module 620 includes a first sphere 621, a second sphere 622 and a connecting rod 623. The first sphere 621 is fixedly connected to the connecting rod 623, and the second sphere 622 is slidably connected to the connecting rod 623. The reference object module 620 is also used to slide the second sphere 622 to set the distance between the second sphere 622 and the first sphere 621 as the feature point distance corresponding to the target detection length.

[0149] In the embodiment of the present application, the reference object module 620 may be implemented by a structure consisting of two spheres and a connecting rod. The first sphere 621 may be fixed to the end of the connecting rod 623, and the second sphere 622 may slide on the connecting rod 623. Fig.13As shown, the reference object module 620 can adjust the distance between the second sphere 622 and the first sphere 621 to the feature point distance by sliding the second sphere 622. When it is necessary to adjust the distance between the second sphere 622 and the first sphere 621 to the next feature point distance, the difference Δx between the next feature point distance and the previous feature point distance can be calculated, and then the second sphere 622 is moved upward by a distance Δx to obtain the next feature point distance. The lens rotation module 610 can then obtain the projection distance between the two projection points by detecting the projection point of the second sphere 622 on the lens imaging plane and the projection point of the first sphere 621 on the lens imaging plane.

[0150] The lens imaging distortion uniformity detection system provided in the embodiment of the present application is provided with a connecting rod, a first sphere, and a second sphere, and then the feature point distance between the first sphere and the second sphere is adjusted by sliding the second sphere, so as to support the simulation of different feature point distances corresponding to multiple target detection lengths with one object.

[0151] In one embodiment, the reference object module 620 is further used to adjust the position of the connecting rod 623 according to the position of the lens to be detected, so that the projection point of the first sphere 621 on the lens imaging plane of the lens to be detected is located at the center of the lens imaging plane.

[0152] In the embodiment of the present application, in order to make the projection distance reflect the severity of the distortion of the lens to be tested from the center to the outside, the position of the connecting rod 623 can be adjusted so that the projection point of the first sphere 623 on the lens imaging plane of the lens to be tested is located at the center of the lens imaging plane. The position where the first sphere 621 should be located relative to the lens to be tested can be calculated based on the lens imaging principle when the projection point is located at the center of the lens imaging plane, and then the connecting rod 623 can be moved to make the first sphere 621 located at this position.

[0153] The lens imaging distortion uniformity detection system provided in the embodiment of the present application enables the corresponding projection point of the first sphere on the lens imaging plane to be located at the center of the lens imaging plane, and can detect the distortion severity of the lens to be detected from the center outward.

[0154] In one embodiment, the lens rotation module 610 and the reference object module 620 are disposed vertically and parallelly.

[0155] In the embodiment of the present application, in order to avoid the lens rotation module 610 from tilting due to gravity and introducing unnecessary tangential distortion, the lens rotation module 610 and the reference object module 620 can be arranged in parallel up and down. For example, the lens rotation module 610 is arranged at the bottom and the reference object module 620 is arranged at the top and parallel to the lens rotation module 620; or the lens rotation module 610 is arranged at the top and the reference object module 620 is arranged at the bottom and parallel to the lens rotation module 620. The embodiment of the present application does not make any specific limitation on this.

[0156] The lens imaging distortion uniformity detection system provided in the embodiment of the present application enables the reference object module and the lens rotation module to be arranged in parallel up and down, thereby avoiding the introduction of unnecessary tangential distortion and improving the accuracy of the imaging distortion uniformity detection result.

[0157] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0158] Based on the same inventive concept, the embodiment of the present application also provides a lens imaging distortion uniformity detection device for implementing the lens imaging distortion uniformity detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more lens imaging distortion uniformity detection device embodiments provided below can refer to the limitations of the lens imaging distortion uniformity detection method above, and will not be repeated here.

[0159] In one embodiment, Fig.14 As shown, a lens imaging distortion uniformity detection device 1400 is provided, comprising: a first determination module 1402, a rotation module 1404, and a second determination module 1406, wherein:

[0160] A first determination module 1402, configured to determine at least two target detection angles and at least one target detection length;

[0161] The rotation module 1404 is used for rotating the lens to be detected to the target detection angle for any target detection angle, and determining the projection length of each reference object corresponding to each target detection length on the lens imaging plane respectively;

[0162] The second determination module 1406 is configured to determine the imaging distortion uniformity detection result of the lens to be detected according to the projection lengths of the lens to be detected corresponding to the target detection angles.

[0163] The lens imaging distortion uniformity detection device provided in the embodiment of the present application determines the target detection angle and target detection length to be detected for the lens to be detected, and then determines the reference object with the target detection length, and for each target detection angle, respectively collects the projection length corresponding to the reference object corresponding to each target detection length, and then determines the imaging distortion uniformity detection result of the lens to be detected according to each projection length. The embodiment of the present application can quantify the imaging distortion uniformity of the lens to be detected at different target detection angles by collecting the imaging conditions of the lens to be detected for different target detection lengths at multiple target detection angles.

[0164] In one embodiment, the reference object includes a first endpoint and a second endpoint, and a first projection point corresponding to the first endpoint on the lens imaging plane is a center point of the lens imaging plane. The 1404 is further used for:

[0165] For any reference object corresponding to the target detection length, determining a second projection point corresponding to the second endpoint from a projection of the reference object on the lens imaging plane;

[0166] The distance between the second projection point and the first projection point is used as the projection length of the reference object on the lens imaging plane.

[0167] In one embodiment, the second determining module 1406 is further configured to:

[0168] For any of the target detection lengths, determining the imaging distortion uniformity parameter of the lens to be detected for the target detection length according to the projection length of the lens to be detected corresponding to the target detection length at each of the target detection angles;

[0169] The imaging distortion uniformity detection result of the lens to be detected is determined according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length.

[0170] In one embodiment, the second determining module 1406 is further configured to:

[0171] According to the projection length of the to-be-detected lens corresponding to the target detection length at each target detection angle, determine the standard deviation corresponding to each projection length, and determine the range corresponding to each projection length;

[0172] The range and the standard deviation are used as imaging distortion uniformity parameters of the lens to be tested for the target detection length.

[0173] In one embodiment, the second determining module 1406 is further configured to:

[0174] For any of the target detection lengths, if the imaging distortion uniformity parameter corresponding to the target detection length does not meet a preset condition, determining the imaging distortion uniformity detection result of the lens to be detected for the target detection length as unqualified;

[0175] Alternatively, when the imaging distortion uniformity parameter corresponding to the target detection length meets a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be qualified.

[0176] In one of the embodiments, the target detection length is determined according to the size of the camera sensor to be detected.

[0177] In one embodiment, the device further comprises:

[0178] The third determination module is used to, for any of the target detection lengths, use the camera sensor to be detected corresponding to the target detection length as an adaptation sensor for the lens to be detected if the imaging distortion uniformity detection result of the lens to be detected for the target detection length is qualified.

[0179] Each module in the above device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0180] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.15As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a lens imaging distortion uniformity detection method is implemented.

[0181] Those skilled in the art will understand that Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0182] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0183] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0184] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0185] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0186] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0187] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0188] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting uniformity of lens imaging distortion, characterized in that: The method comprises: determining at least two target detection angles and at least one target detection length; For any of the target detection angles, the lens to be detected is rotated to the target detection angle, and the projection lengths of the reference objects corresponding to the target detection lengths on the lens imaging plane are determined respectively; The imaging distortion uniformity detection result of the lens to be detected is determined according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles.

2. The method according to claim 1, characterized in that The reference object includes a first endpoint and a second endpoint, the first projection point corresponding to the first endpoint on the lens imaging plane is the center point of the lens imaging plane, and the projected lengths of the reference objects corresponding to the target detection lengths on the lens imaging plane are determined respectively, including: For any reference object corresponding to the target detection length, determining a second projection point corresponding to the second endpoint from a projection of the reference object on the lens imaging plane; The distance between the second projection point and the first projection point is used as the projection length of the reference object on the lens imaging plane.

3. The method according to claim 1, characterized in that The step of determining the imaging distortion uniformity detection result of the lens to be detected according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles includes: For any of the target detection lengths, determining the imaging distortion uniformity parameter of the lens to be detected for the target detection length according to the projection length of the lens to be detected corresponding to the target detection length at each of the target detection angles; The imaging distortion uniformity detection result of the lens to be detected is determined according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length.

4. The method according to claim 3, characterized in that The step of determining the imaging distortion uniformity parameter of the lens to be detected for the target detection length according to the projection length of the lens to be detected corresponding to the target detection length at each target detection angle includes: According to the projection length of the to-be-detected lens corresponding to the target detection length at each target detection angle, determine the standard deviation corresponding to each projection length, and determine the range corresponding to each projection length; The range and the standard deviation are used as imaging distortion uniformity parameters of the lens to be tested for the target detection length.

5. The method according to claim 3, characterized in that: The step of determining the imaging distortion uniformity detection result of the lens to be detected according to the imaging distortion uniformity parameter of the lens to be detected for each target detection length comprises: For any of the target detection lengths, if the imaging distortion uniformity parameter corresponding to the target detection length does not meet a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be unqualified; or, When the imaging distortion uniformity parameter corresponding to the target detection length meets a preset condition, the imaging distortion uniformity detection result of the lens to be detected for the target detection length is determined to be qualified.

6. The method according to claim 5, characterized in that The target detection length is determined according to the size of the camera sensor to be detected.

7. The method according to claim 6, characterized in that The method further comprises: For any of the target detection lengths, when the imaging distortion uniformity detection result of the lens to be detected for the target detection length is qualified, the camera sensor to be detected corresponding to the target detection length is used as the adapter sensor of the lens to be detected.

8. A lens distortion detection system, characterized in that: The system comprises a lens rotation module, a reference object module and a detection result determination module, wherein: The lens rotation module is used to fix the lens to be detected after the lens to be detected is rotated to a target detection angle, wherein the target detection angle includes at least two; The reference object module is used to set a feature point distance between two feature points, wherein the feature point distance is determined according to a target detection length; The detection result determination module is used to detect the projection distance between the projection points of the two feature points on the lens imaging plane for any of the target detection angles and any of the target detection lengths, and determine the imaging distortion uniformity detection result of the lens to be detected according to each of the projection distances corresponding to each of the target detection angles of the lens to be detected.

9. The system according to claim 8, characterized in that The lens rotating module comprises a sensor fixing module and a lens fixing module, and the sensor fixing module and the lens fixing module are arranged in parallel.

10. The system according to claim 9, characterized in that The sensor fixing module includes a sensor fixer, a sensor fixing module fixer and a lens rotating module connector.

11. The system according to claim 9, characterized in that The lens fixing module includes a sensor fixing module connector, a lens fixing module rotator and a lens fixer.

12. The system according to claim 8, characterized in that The reference object module includes a first sphere, a second sphere and a connecting rod, the first sphere is fixedly connected to the connecting rod, the second sphere is slidably connected to the connecting rod, and the reference object module is also used to slide the second sphere to set the distance between the second sphere and the first sphere as the feature point distance corresponding to the target detection length.

13. The system according to claim 12, characterized in that The reference object module is further used to adjust the position of the connecting rod according to the position of the lens to be detected, so that the projection point of the first sphere on the lens imaging plane of the lens to be detected is located at the center position of the lens imaging plane.

14. The system according to any one of claims 8 to 13, characterized in that: The lens rotation module and the reference object module are arranged vertically and parallelly.

15. A lens imaging distortion uniformity detection device, characterized in that: The device comprises: A first determination module, used to determine at least two target detection angles and at least one target detection length; A rotation module, for rotating the lens to be detected to the target detection angle for any target detection angle, and respectively determining the projection length of each reference object corresponding to each target detection length on the lens imaging plane; The second determination module is used to determine the imaging distortion uniformity detection result of the lens to be detected according to each of the projection lengths of the lens to be detected corresponding to each of the target detection angles.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.