CN111141495B - Wide-angle lens TV distortion testing method and device - Google Patents

Wide-angle lens TV distortion testing method and device Download PDF

Info

Publication number
CN111141495B
CN111141495B CN202010011066.6A CN202010011066A CN111141495B CN 111141495 B CN111141495 B CN 111141495B CN 202010011066 A CN202010011066 A CN 202010011066A CN 111141495 B CN111141495 B CN 111141495B
Authority
CN
China
Prior art keywords
distortion
target
image
distortion target
values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010011066.6A
Other languages
Chinese (zh)
Other versions
CN111141495A (en
Inventor
李枭宁
貟丽芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202010011066.6A priority Critical patent/CN111141495B/en
Publication of CN111141495A publication Critical patent/CN111141495A/en
Application granted granted Critical
Publication of CN111141495B publication Critical patent/CN111141495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • G01M11/0242Testing optical properties by measuring geometrical properties or aberrations
    • G01M11/0257Testing optical properties by measuring geometrical properties or aberrations by analyzing the image formed by the object to be tested

Landscapes

  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application discloses a wide-angle lens TV distortion test method, which comprises the following steps: shooting a distortion target through a lens to be detected to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image; displaying the distorted reticle image through a display; pasting the distortion target to a display, and scaling the distortion target image in an equal ratio to enable the distortion target image to be located in the distortion target; distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target are obtained; and averaging the TV distortion values of a plurality of angles, namely obtaining the TV distortion of the image. Compared with the prior art, the method and the device can solve the problem of testing efficiency, shoot good distorted images, and directly read out TV distortion values without software calculation. Distortion values for any field of view can be tested. The specific distortion values of the four corners of the image can be tested, so that whether the distortion of the four corners is uniform or not can be obtained.

Description

Wide-angle lens TV distortion testing method and device
Technical Field
The application relates to the field of optical testing, in particular to a method for testing TV distortion of a wide-angle lens.
Background
The existing method for testing TV distortion by a wide-angle lens is to shoot a TV distortion target (grid target) to obtain an image, and introduce the image into imatest software to calculate TV distortion.
However, this method requires calculation by software and cannot directly derive TV distortion values; and the distortion value of the wide-angle lens cannot be calculated to the most marginal field of the image through imatest, and only the TV distortion value in the field of 0.7 can be calculated.
Disclosure of Invention
The present application mainly aims to provide a method for testing wide-angle lens TV distortion, which includes:
shooting a distortion target through a lens to be detected to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image;
displaying the distorted reticle image through a display;
attaching the distortion target to a display, and scaling the distortion target image in an equal ratio so that the distortion target image is located within the distortion target;
distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target are obtained;
and averaging the TV distortion values of a plurality of angles, namely obtaining the TV distortion of the image.
Optionally, the distortion target is a mesh distortion target.
Alternatively, the TV distortion value of the four corners is averaged to obtain the TV distortion of the image.
Optionally, the length-width ratio of the grid type distortion target is fixed.
Optionally, the length-width ratio of the mesh distortion target is 16.
Optionally, the method further comprises: calculating a scale position corresponding to a certain distortion value through the following formula;
TV distortion = [ (A1 + A2)/2-B ]/B, where A1 is a linear distance between two end points of a first side located at one end of the distorted reticle image, A2 is a linear distance between two end points of a second side opposite to the first side of the distorted reticle image, and B is a linear distance between two intersection points where a perpendicular bisector of the first side and the second side intersects with a third side and a fourth side of the distorted reticle image.
According to an aspect of the present application, there is provided a wide-angle lens TV distortion test apparatus including:
a distortion scale frame with a fixed length-width ratio; and
a display;
shooting a distortion target through a lens to be detected to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image; displaying the distorted reticle image through a display; pasting the distortion target to a display, and scaling the distortion target image in an equal ratio to enable the distortion target image to be located in the distortion target; acquiring distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target; and averaging the TV distortion values of a plurality of angles to obtain the TV distortion of the image.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor executes the computer program to realize the method of any one of the above items.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The present application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any one of the above.
Compared with the prior art, the method has the following beneficial effects:
the problem of testing efficiency can be solved, a good distorted image (grid distortion target) is shot, a TV distortion value can be directly read, and software calculation is not needed.
Distortion values for any field of view can be tested.
The specific distortion values of the four corners of the image can be tested, so that whether the distortion of the four corners is uniform or not can be obtained.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a diagram illustrating a scale position corresponding to a distortion value according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a scale box with distortion values according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram according to one embodiment of the present application;
FIG. 4 is a schematic diagram of a computer device according to one embodiment of the present application; and
FIG. 5 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Referring to fig. 1, an embodiment of the present application provides a method for testing a TV distortion of a wide-angle lens, including:
shooting a distortion target through a lens to be detected to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image;
displaying the distorted reticle image through a display;
pasting the distortion target to a display, and scaling the distortion target image in an equal ratio to enable the distortion target image to be located in the distortion target;
distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target are obtained;
and averaging the TV distortion values of a plurality of angles to obtain the TV distortion of the image.
In an embodiment of the present application, the distortion target is a grid distortion target.
In an embodiment of the present application, averaging the TV distortion values at the four corners is the TV distortion of the image.
In an embodiment of the present application, the length-width ratio of the mesh distortion target is fixed.
In an embodiment of the present application, the length-to-width ratio of the mesh distortion target is 16.
In an embodiment of the present application, the method further includes: calculating a scale position corresponding to a certain distortion value through the following formula;
TV distortion = [ (A1 + A2)/2-B ]/B, where A1 is a linear distance between two end points of a first side located at one end of the distorted reticle image, A2 is a linear distance between two end points of a second side opposite to the first side of the distorted reticle image, and B is a linear distance between two intersection points where a perpendicular bisector of the first side and the second side intersects with a third side and a fourth side of the distorted reticle image.
According to an aspect of the present application, there is provided a wide-angle lens TV distortion testing apparatus including:
a distortion scale plate scale frame with a fixed length-width ratio; and
a display;
shooting a distortion target through a lens to be measured to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image; displaying the distorted reticle image through a display; attaching the distortion target to a display, and scaling the distortion target image in an equal ratio so that the distortion target image is located within the distortion target; distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target are obtained; and averaging the TV distortion values of a plurality of angles to obtain the TV distortion of the image.
The difference between the TV distortion testing device and the existing device is as follows:
the existing testing device obtains a distortion image by modifying a distortion target, for example, designing an identification point on the target, or using a circular target, and then calculates a distortion value according to the distortion image. The device of the application is characterized in that a 16.
The wide-angle lens TV distortion testing device is realized by the following steps: (taking an image of 16
The device is a 16.
According to the TV distortion formula, TV distortion = [ (A1 + A2)/2-B ]/B, (A1, A2, B are shown in fig. 1) calculates the scale position corresponding to a certain distortion value.
The corresponding distortion values are marked on the corresponding scale, for example, (0, -5%, -10% \8230; -50%) accuracy can be set as desired, resulting in a scale box with distortion values, as shown in fig. 2.
The method for testing TV distortion by using the device comprises the following steps: (the flow chart is as shown in figure 3)
And (3) shooting the grid type distortion target by using the tested lens, and fixing the shooting distance to ensure that the upper and lower horizontal lines of the grid line are tangent with the upper and lower sides of the image.
The shot image is displayed on a display, the testing device is attached to the display, and the image is scaled in equal proportion, so that the image is just positioned in a device frame.
Distortion values corresponding to grid lines tangent to the upper and lower frames of the device were read directly, as shown in FIG. 1, with TV distortion values shown as (upper left-30%, upper right-28%, lower left-30%, lower right-25%)
And averaging the TV distortion values of the four corners to obtain the TV distortion of the image.
Scaling the image equally such that the upper and lower grid lines of the desired field of view are tangent to the device frame allows the TV distortion value of the desired field of view to be tested.
Compared with the prior art, the method has the following beneficial effects:
the problem of testing efficiency can be solved, a good distorted image (grid distortion target) is shot, a TV distortion value can be directly read, and software calculation is not needed.
Distortion values for any field of view can be tested.
The specific distortion values of the four corners of the image can be tested, so that whether the distortion of the four corners is uniform or not can be obtained.
Referring to fig. 4, the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the processor implements the method described in any one of the above.
Referring to fig. 5, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (7)

1. A wide-angle lens TV distortion test method is characterized by comprising the following steps:
shooting a distortion target through a lens to be measured to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper side and the lower side of the distortion target image, and the distortion target is a grid type distortion target;
displaying the distorted reticle image through a display;
pasting the distortion target to a display, and scaling the distortion target image in an equal ratio to enable the distortion target image to be located in the distortion target;
acquiring distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target;
averaging the TV distortion values of a plurality of angles to obtain the TV distortion of the image;
wherein, the scale position corresponding to a certain distortion value is calculated by the following formula:
TV distortion = [ (A1 + A2)/2-B ]/B, where A1 is a linear distance between two end points of a first side located at one end of the distorted reticle image, A2 is a linear distance between two end points of a second side opposite to the first side of the distorted reticle image, and B is a linear distance between two intersection points where a perpendicular bisector of the first side and the second side intersects with a third side and a fourth side of the distorted reticle image.
2. A wide-angle lens TV distortion test method as claimed in claim 1, characterized in that the TV distortion of the image is obtained by averaging the TV distortion values of the four corners.
3. A wide-angle lens TV distortion test method as claimed in claim 2, wherein the length-to-width ratio of the mesh distortion target is fixed.
4. A wide-angle lens TV distortion test method as claimed in claim 3, wherein the length to width ratio of the mesh distortion standard is 16.
5. A wide-angle lens TV distortion test apparatus, comprising:
a distortion scale frame with a fixed length-width ratio; and
a display;
shooting a distortion target through a lens to be measured to obtain a distortion target image, wherein the upper horizontal line and the lower horizontal line of the scale mark of the distortion target are tangent to the upper edge and the lower edge of the distortion target image; displaying the distorted reticle image through a display; pasting the distortion target to a display, and scaling the distortion target image in an equal ratio to enable the distortion target image to be located in the distortion target; acquiring distortion values on the distortion target corresponding to grid lines tangent to the upper frame and the lower frame of the distortion target; averaging the TV distortion values of a plurality of angles to obtain the TV distortion of the image; the distortion target is a grid distortion target, and the scale position corresponding to a certain distortion value in the scale frame of the distortion target is calculated by the following formula:
TV distortion = [ (A1 + A2)/2-B ]/B, where A1 is a linear distance between two end points of a first side located at one end of the distorted reticle image, A2 is a linear distance between two end points of a second side located opposite to the first side of the distorted reticle image, and B is a linear distance between two intersection points where a perpendicular bisector of the first side and the second side intersects with a third side and a fourth side of the distorted reticle image.
6. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable by the processor, characterized in that the processor implements the method according to any of claims 1-4 when executing the computer program.
7. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1-4.
CN202010011066.6A 2020-01-06 2020-01-06 Wide-angle lens TV distortion testing method and device Active CN111141495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010011066.6A CN111141495B (en) 2020-01-06 2020-01-06 Wide-angle lens TV distortion testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010011066.6A CN111141495B (en) 2020-01-06 2020-01-06 Wide-angle lens TV distortion testing method and device

Publications (2)

Publication Number Publication Date
CN111141495A CN111141495A (en) 2020-05-12
CN111141495B true CN111141495B (en) 2022-10-28

Family

ID=70523713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010011066.6A Active CN111141495B (en) 2020-01-06 2020-01-06 Wide-angle lens TV distortion testing method and device

Country Status (1)

Country Link
CN (1) CN111141495B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3845386B2 (en) * 2003-04-18 2006-11-15 Necビューテクノロジー株式会社 Correction method for off-screen area in geometric correction interface using auxiliary lines
US8194136B1 (en) * 2009-01-26 2012-06-05 Amazon Technologies, Inc. Systems and methods for lens characterization
JP2011033570A (en) * 2009-08-05 2011-02-17 Micronics Japan Co Ltd Evaluation method of distortion aberration of optical lens
CN105120258A (en) * 2015-07-20 2015-12-02 深圳市航盛电子股份有限公司 Method and system for testing distortion rate of camera
CN105371783B (en) * 2015-12-24 2017-09-15 吉林大学 Automobile shape measurement system scale-type distortion factor measuring instrument
CN110363736A (en) * 2018-03-26 2019-10-22 京东方科技集团股份有限公司 Virtual reality shows equipment figure distortion measurement method and calibration method
CN109146978B (en) * 2018-07-25 2021-12-07 南京富锐光电科技有限公司 High-speed camera imaging distortion calibration device and method
CN110049314B (en) * 2019-04-19 2020-06-05 信利光电股份有限公司 Method and device for detecting distortion of module TV by using checkerboard test table

Also Published As

Publication number Publication date
CN111141495A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN108537834B (en) Volume measurement method and system based on depth image and depth camera
CN104392435B (en) Fisheye camera scaling method and caliberating device
CN109544484B (en) A kind of method for correcting image and device
CN109903241A (en) A kind of the depth image calibration method and system of TOF camera system
US7499600B2 (en) Method for characterizing a digital imaging system
CN103076589B (en) A kind of digital multimeter automatic calibrator and calibration method thereof
CN110148388A (en) Determine method and apparatus, the electronic equipment, storage medium of pixel compensation value
CN108844462A (en) A kind of size detecting method, device, equipment and system
CN109544643A (en) A kind of camera review bearing calibration and device
CN110345875A (en) Calibration and distance measuring method, device, electronic equipment and computer readable storage medium
CN107014313A (en) The method and system of weighted least-squares phase unwrapping based on S-transformation ridge value
CN108055532A (en) Automate the method and apparatus of matching test card
CN107948639B (en) Calibration method and calibration system for back-to-back camera module
CN113465573A (en) Monocular distance measuring method and device and intelligent device
CN111141495B (en) Wide-angle lens TV distortion testing method and device
CN116563292B (en) Measurement method, detection device, detection system, and storage medium
CN109063717A (en) A kind of acquisition instrument center point method
CN109313811B (en) Automatic correction method, device and system based on vibration displacement of vision system
CN105427282A (en) Method and device for testing 3D positioning accuracy
US10728476B2 (en) Image processing device, image processing method, and image processing program for determining a defective pixel
CN108921902B (en) Method and device for correcting structured light camera deviation
CN107734324B (en) Method and system for measuring illumination uniformity of flash lamp and terminal equipment
CN109300091A (en) Radiance bearing calibration and device
CN105078404A (en) Fully automatic eye movement tracking distance measuring calibration instrument based on laser algorithm and use method of calibration instrument
CN108965867A (en) A kind of camera image calculation method of parameters and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant