CN111707456A - Optical machine definition testing method and testing device - Google Patents

Optical machine definition testing method and testing device Download PDF

Info

Publication number
CN111707456A
CN111707456A CN202010841376.0A CN202010841376A CN111707456A CN 111707456 A CN111707456 A CN 111707456A CN 202010841376 A CN202010841376 A CN 202010841376A CN 111707456 A CN111707456 A CN 111707456A
Authority
CN
China
Prior art keywords
black
white
value
pixel
picture
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.)
Pending
Application number
CN202010841376.0A
Other languages
Chinese (zh)
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.)
Goertek Optical Technology Co Ltd
Original Assignee
Goertek Optical 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 Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202010841376.0A priority Critical patent/CN111707456A/en
Publication of CN111707456A publication Critical patent/CN111707456A/en
Pending legal-status Critical Current

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/0292Testing optical properties of objectives by measuring the optical modulation transfer function
    • 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)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)

Abstract

The invention discloses an optical machine definition testing method and an optical machine definition testing device, wherein the optical machine definition testing method comprises the following steps: n black and white pictures projected by the optical machine are obtained, and a white pixel average value and a black pixel average value corresponding to each black and white picture are obtained, wherein N is more than or equal to 1. And acquiring a first white pixel reference value of a first black-and-white reference picture projected by the optical machine. And acquiring a first black pixel reference value of a second black and white reference picture projected by the optical machine. And determining a definition test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture. And when the definition test value meets the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine. The scheme is used for solving the technical problem that the definition testing method is easily influenced by the environment.

Description

Optical machine definition testing method and testing device
Technical Field
The invention relates to the technical field of optical machine testing, in particular to an optical machine definition testing method and an optical machine definition testing device.
Background
After the current DLP (Digital Light Processing) optical machine is assembled, the definition needs to be tested. Generally in a manner that is viewed by the human eye. However, due to the difference of the sensitivity of human eyes and the fatigue error easily caused by long-time viewing, it is difficult to simultaneously view the definition of a plurality of fields or regions, so the image is taken by using the camera device for analysis and test. The pattern shot by the MTF (Modulation Transfer Function) test scheme is basically similar to the pattern detected by naked eyes, but the general MTF scheme is easily affected seriously by the environment, so the patent provides a scheme for dynamically obtaining the white and black reference values to accurately test the MTF, so that the scheme is not affected by the optical characteristics of a camera device and a projection optical machine, and accurate definition values are obtained to perform definition test.
Disclosure of Invention
The invention mainly aims to provide a definition testing method and aims to solve the technical problem that the definition testing method is easily influenced by the environment.
In order to achieve the above object, the present invention provides an optical engine definition testing method, including:
acquiring N black and white pictures projected by an optical machine, and acquiring a white pixel average value and a black pixel average value corresponding to each black and white picture, wherein N is more than or equal to 1;
acquiring a first white pixel reference value of a first black-and-white reference picture projected by an optical machine;
acquiring a first black pixel reference value of a second black and white reference picture projected by the optical machine;
determining a definition test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture;
and when the definition test value meets a preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
Optionally, the obtaining a first black pixel reference value of a second black and white reference picture projected by the optical machine further includes:
determining N definition test values corresponding to the N black-and-white pictures according to the white pixel average value and the black pixel average value corresponding to each black-and-white picture, the first white pixel reference value and the first black pixel reference value;
and when the N definition test values all meet the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
Optionally, when N is equal to 2 in the N black-and-white pictures, the N black-and-white pictures are respectively a first black-and-white picture and a second black-and-white picture, and the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value corresponding to each black-and-white picture specifically includes:
determining a first definition test value according to a first white pixel average value and a first black pixel average value of a first black-and-white picture, a first white pixel reference value and a first black pixel reference value;
determining a second definition test value according to a second white pixel average value and a second black pixel average value of a second black-and-white picture, a first white pixel reference value and a first black pixel reference value;
and when the first definition test value and the second definition test value both meet a preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
Optionally, the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value corresponding to each black-and-white picture specifically includes:
sharpness test value MTF = (white pixel average AVG-W1-black pixel average AVG-B1)/(first white pixel reference value REF-W1-first black pixel reference value REF-B1).
Optionally, the obtaining N black-and-white pictures projected by the optical machine, and obtaining a white pixel average value and a black pixel average value corresponding to each black-and-white picture, where N is greater than or equal to 1 specifically includes:
projecting a first group of preset black and white pictures through an optical machine;
acquiring an Nth black-and-white picture projected by the optical machine through a camera device;
acquiring the gray value of each pixel in the Nth black-and-white picture;
taking an average value of a plurality of pixel values lower than or equal to a first preset gray value as a black pixel average value of the Nth black-and-white picture;
and taking the average value of a plurality of pixel values higher than the first preset gray value as the white pixel average value of the Nth black-and-white picture.
Optionally, the projection screen of the optical machine is divided into M projection areas by a preset method, and each of the N black-and-white pictures has a sub black-and-white picture corresponding to each projection area; the step of obtaining N black-and-white pictures projected by the optical machine and obtaining the white pixel average value and the black pixel average value corresponding to each black-and-white picture specifically comprises;
projecting a first group of preset black and white pictures to M projection areas of the projection screen through an optical machine;
acquiring M sub black and white pictures of the N projection areas through a camera device;
acquiring the gray value of each pixel in each sub black-and-white picture;
averaging a plurality of pixel values which are lower than or equal to a first preset gray value in each sub black-and-white picture, and taking the average value as the average value of each black pixel;
and averaging a plurality of pixel values higher than the first preset gray value in each sub black-and-white picture, and taking the average value as the average value of each white pixel.
Optionally, the projection screen of the optical machine has M projection regions divided by a preset method, and the first black-and-white reference picture and the second black-and-white reference picture have sub-reference black-and-white pictures corresponding to each projection region; the method comprises the steps of obtaining a first white pixel reference value of a first black-and-white reference picture projected by an optical machine; the step of obtaining the first black pixel reference value of the second black and white reference picture projected by the optical machine specifically comprises the following steps;
projecting a preset second group of black and white testing pictures through an optical machine;
acquiring M sub-reference black-and-white pictures of a first black-and-white reference picture and M sub-reference black-and-white pictures of a second black-and-white reference picture projected by the optical machine through a camera device;
acquiring the gray value of each pixel of each sub-reference black-and-white picture in the first black-and-white reference picture and the second black-and-white reference picture;
taking an average value of a plurality of pixel values higher than a first preset gray value in the sub-reference black-and-white picture of the first black-and-white reference picture as a first white pixel average value in the sub-reference black-and-white picture of the first black-and-white reference picture;
and taking an average value of a plurality of pixel values which are lower than or equal to a first preset gray value in the sub-reference black-and-white picture of the second black-and-white reference picture as a first black pixel average value in the sub-reference black-and-white picture of the second black-and-white reference picture.
Optionally, the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value corresponding to each black-and-white picture specifically includes:
and determining a definition test value according to the average value of the white pixels of the sub black-and-white picture and the average value of the black pixels of the sub black-and-white picture of any projection area, the first white pixel reference value of the sub reference black-and-white picture and the first black pixel reference value of the sub reference black-and-white picture based on the same projection area.
Optionally, the determining, based on the same projection area, a sharpness test value according to the sub black-and-white picture white pixel average value and the sub black-and-white picture black pixel average value of any projection area, the sub reference black-and-white picture first white pixel reference value, and the sub reference black-and-white picture first black pixel reference value specifically includes:
a sharpness test value MTF ' = (sub black-and-white picture white pixel average AVG-W1 ' -sub black-and-white picture black pixel average AVG-B1 ')/(sub reference black-and-white picture first white pixel reference value REF-W1 ' -sub reference black-and-white picture first black pixel reference value REF-B1 ').
In order to achieve the above object, the present invention provides a testing apparatus for testing an optical machine, including a camera and a memory; the camera device obtains N black-and-white pictures projected by the light machine, a first black-and-white reference picture and a second black-and-white reference picture, and the processor processes the collected N black-and-white pictures, the first black-and-white reference picture and the second black-and-white reference picture according to the definition testing program.
The method for testing the definition of the technical scheme comprises the steps of obtaining N black and white pictures projected by an optical machine, and obtaining a white pixel average value and a black pixel average value corresponding to each black and white picture, wherein N is more than or equal to 1. And then, acquiring a first white pixel reference value of a first black-and-white reference picture projected by the optical machine, and acquiring a first black pixel reference value of a second black-and-white reference picture projected by the optical machine. And finally, determining a definition test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture, and determining that the definition of the optical machine meets the factory requirement of the optical machine when the definition test value meets a preset definition value. In the definition testing method, the definition testing value is confirmed by adopting the white pixel average value and the black pixel average value of the black and white picture, the first white pixel reference value of the first black and white reference picture and the first black pixel reference value of the second black and white reference picture, and at the moment, whether the lens is clear or not is not greatly different from the measured image brightness value under the pure black and white pictures. Therefore, the influence of the ambient brightness on the measured definition test value can be directly eliminated, and the definition test value of each black-and-white picture at the moment can be accurately judged by arranging each black-and-white picture, the first black-and-white reference picture and the second black-and-white reference picture, so that the accuracy of the measured definition test value of each black-and-white picture can be improved when the problem that the ambient brightness influences the test result is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a sharpness testing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a sharpness testing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart diagram illustrating a sharpness testing method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a sharpness testing method according to an embodiment of the present invention;
FIG. 5 is a diagram of a first black-and-white frame in the sharpness testing method of the present invention;
FIG. 6 is a diagram of a second black-and-white frame in the sharpness testing method of the present invention;
FIG. 7 is a flowchart illustrating a sharpness testing method according to an embodiment of the present invention;
FIG. 8 is a diagram of a first black-and-white reference frame in the sharpness testing method of the present invention;
FIG. 9 is a diagram of a second black-and-white reference frame in the sharpness testing method of the present invention;
FIG. 10 is a schematic diagram of a black and white frame divided into M sub-black and white frames according to the sharpness testing method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention, and if there is a description related to "first", "second", and the like in the embodiments of the present invention, the description of "first", "second", and the like is only used for descriptive purposes and is not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
The invention provides a definition testing method, and aims to solve the technical problem that the definition testing method is easily influenced by the environment.
In an embodiment, as shown in fig. 1, the optical machine sharpness testing method includes:
s1, acquiring N black and white pictures projected by the light machine, and acquiring a white pixel average value and a black pixel average value corresponding to each black and white picture, wherein N is more than or equal to 1;
in the application, the test picture is replaced by the black and white picture, so that the influence of the ambient brightness can be avoided, the black and white pixels can be distinguished very easily in the follow-up process, and even if the acquired black and white picture is influenced by the ambient brightness, a relatively obvious threshold value can exist between the black and white pixels, so that the black and white pixels can be distinguished very easily. So that the user can very easily acquire the white pixel average value and the black pixel average value of each black-and-white picture.
S2, acquiring a first white pixel reference value of a first black-and-white reference picture projected by the light machine;
at this time, the first white pixel reference value of the first black-and-white reference picture can be referred as a white pixel, and even under the influence of the ambient brightness, the variation trend of each black-and-white picture is similar to that of the first black-and-white reference picture, so that the influence of the ambient brightness can be further eliminated.
S3, acquiring a first black pixel reference value of a second black and white reference picture projected by the light machine;
at this time, the first black pixel reference value of the second black-and-white reference picture can be referred as a black pixel, and even under the influence of the ambient brightness, the variation trend of each black-and-white picture is similar to that of the second black-and-white reference picture, so that the influence of the ambient brightness can be further eliminated.
S4, determining a definition test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture;
because the white pixel average value and the black pixel average value corresponding to each black-and-white picture are obtained, at the moment, a definition test value is obtained by various methods; if the obtained white pixel average value and black pixel average value corresponding to each black-and-white picture are compared with the black-and-white picture before projection by the optical machine, the definition measurement value can also be obtained.
And S5, when the definition test value meets the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
In this case, the predetermined resolution, obtained through a plurality of tests, may also be an empirical value, greater than 0% or less than or equal to 100%, optionally, generally between 70% and 80%.
In the above method for testing the definition of the optical machine, the difference between the definition of the lens and the measured brightness value of the image is not large under pure black and pure white pictures. Therefore, the influence of the ambient brightness on the measured definition test value can be directly ignored, and the definition test value of each black-and-white picture at the moment can be accurately judged by arranging each black-and-white picture, the first black-and-white reference picture and the second black-and-white reference picture, so that the accuracy of the measured definition test value of each black-and-white picture can be improved when the problem that the ambient brightness influences the test result is solved.
In an embodiment, as shown in fig. 2, after the obtaining the first black pixel reference value of the second black and white reference frame projected by the optical machine, the method further includes:
s6, determining N definition test values corresponding to the N black-and-white pictures according to the white pixel average value and the black pixel average value corresponding to each black-and-white picture, the first white pixel reference value and the first black pixel reference value;
when N is larger than 1, N white pixel average values and N black pixel average values are obtained, and N definition test values corresponding to the N black-and-white pictures, such as a first definition test value, a second definition test value and the like, are determined according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture in sequence.
S7, when the N definition test values all meet the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine. Therefore, the definition of the optical machine can be determined to meet the factory requirement of the optical machine, the display effect is stable, and the definition can be maintained at a higher level.
In an embodiment, when N is equal to 2 in the N black-and-white pictures, the N black-and-white pictures are respectively a first black-and-white picture and a second black-and-white picture, and the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value corresponding to each black-and-white picture specifically includes:
determining a first definition test value according to a first white pixel average value and a first black pixel average value of a first black-and-white picture, a first white pixel reference value and a first black pixel reference value;
determining a second definition test value according to a second white pixel average value and a second black pixel average value of a second black-and-white picture, a first white pixel reference value and a first black pixel reference value;
and when the first definition test value and the second definition test value both meet a preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
Through above-mentioned scheme, can confirm that the definition of ray apparatus not only satisfies the requirement of leaving the factory of ray apparatus, and its display effect is stable, and its definition can maintain on a higher level.
In an embodiment, the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value of any black-and-white picture specifically includes:
sharpness test value MTF = (white pixel average AVG-W1-black pixel average AVG-B1)/(first white pixel reference value REF-W1-first black pixel reference value REF-B1).
In an embodiment, as shown in fig. 3, the step of obtaining a white pixel average value and a black pixel average value of N black and white pictures projected by the optical machine, where N is greater than or equal to 1 specifically includes:
s8, projecting a preset first group of black and white pictures through a light machine;
s9, acquiring an Nth black-and-white picture projected by the optical machine through a camera device;
s10, acquiring the gray value of each pixel in the Nth black-and-white picture;
s11, taking the average value of the gray values of a plurality of pixels which are lower than or equal to a first preset gray value as the average value of the black pixels of the Nth black-and-white picture;
the first preset grayscale value can be obtained by adding grayscale values of each pixel to obtain an average value, specifically, as follows, if the nth black-and-white picture has grayscale values of 20, 30, 80, and 220, then the first preset grayscale value Avg = (20+30+80 + 220)/4 =87.5, and then the black pixel average value Avg _ B = (20+30+80)/3 = 43.33. Repeating the above process can obtain the average value of black pixels of N black-and-white pictures.
And S12, taking the average value of the gray values of the plurality of pixels higher than the first preset gray value as the white pixel average value of the Nth black-and-white picture.
The first preset gray scale value may be obtained by adding and averaging the gray scale values of each pixel, specifically, as follows, if the nth black-and-white picture has gray scale values of 20, 30, 80, and 220, then the first preset gray scale value Avg = (20+30+80 + 220)/4 =87.5, and then the white pixel average value Avg _ W = 220. Repeating the above process can obtain the average value of black pixels of N black-and-white pictures.
By the scheme, the average value of the black pixels and the average value of the white pixels of each picture can be conveniently and quickly acquired.
In an embodiment, as shown in fig. 10, the projection curtain of the optical machine is divided into M projection areas by a preset method, and each of the N black-and-white pictures has a sub black-and-white picture corresponding to each projection area; the step of obtaining the average value of white pixels and the average value of black pixels of the N black and white pictures projected by the light machine specifically comprises;
s13, projecting a preset first group of black and white pictures to M projection areas of the projection screen through a light machine;
wherein, the projection of the black-and-white picture onto the M projection areas of the projection screen can form M sub black-and-white pictures corresponding to the projection areas.
S14, acquiring M sub black and white pictures of the M projection areas through a camera device;
s15, acquiring the gray value of each pixel in each sub black-and-white picture;
s16, averaging the gray values of a plurality of pixels which are lower than or equal to a first preset gray value in each sub black-and-white picture, and taking the average value as the average value of each black pixel;
the first preset gray scale value may be obtained by adding and averaging the gray scale values of each pixel, specifically, as follows, if there are gray scale values of 20, 30, 80, 220 in a sub black and white picture, the first preset gray scale value Avg = (20+30+80 + 220)/4 =87.5, and the black pixel average value Avg _ B = (20+30+80)/3 = 43.33. Repeating the above process can obtain the average value of black pixels of a plurality of sub black and white pictures.
And S17, averaging the gray values of the pixels in each sub black-and-white picture, wherein the gray values are higher than the first preset gray value, and taking the average value as the average value of each white pixel.
The first preset gray value may be obtained by adding the gray values of each pixel to obtain an average value, specifically, if there are gray values of 20, 30, 80, and 220 in a sub black-and-white picture, the first preset gray value Avg = (20+30+80 + 220)/4 =87.5, and the average value Avg _ W = 220 of the white pixels. Repeating the above process can obtain the average value of white pixels of a plurality of sub black-and-white pictures.
Optionally, taking an example when N is equal to 2 in the N black-and-white pictures, a method for dividing the projection screen of the optical machine into M projection areas by a preset method is that the N black-and-white pictures are respectively a first black-and-white picture and a second black-and-white picture, as shown in fig. 5, the first black-and-white picture is a horizontal stripe test picture equally divided into M =15 projection areas, and the specific dividing method is that black lines in fig. 5 are etched away, and only middle black dots are left. The coordinate positions Pt1 of the centers of the respective black dots thereof are acquired. The image is divided into 15 areas according to the positions (the pattern adopted in the patent is divided into 15 projection areas, and more areas can be divided according to the requirements of the user), and the coordinates Pt2 of the center points of the areas are found. And taking the central point position of each found region as the center to acquire the projection region according to the fixed size. Similarly, the second black-and-white picture shown in fig. 6 is divided into projection areas according to the above-mentioned scheme.
In an embodiment, as shown in fig. 7, the projection screen of the optical machine has M projection regions divided by a preset method, and the first black-and-white reference picture and the second black-and-white reference picture have sub-reference black-and-white pictures corresponding to each projection region; acquiring a first white pixel reference value of a first black and white picture projected by the optical machine; the step of obtaining the first black pixel reference value of the second black and white picture projected by the optical machine specifically comprises the following steps;
s18, projecting a preset second group of black and white test pictures through an optical machine;
s19, acquiring M sub-reference black-and-white pictures of a first black-and-white reference picture and M sub-reference black-and-white pictures of a second black-and-white reference picture projected by the optical machine through a camera device;
s20, acquiring the gray value of each pixel of each sub-reference black-and-white picture in the first black-and-white reference picture and the second black-and-white reference picture;
s21, taking an average of the gray-scale values of a plurality of pixels higher than a first preset gray-scale value in the sub-reference black-and-white picture of the first black-and-white reference picture as a first white pixel average value in the sub-reference black-and-white picture of the first black-and-white reference picture;
the first preset gray scale value may be obtained by adding and averaging the gray scale values of each pixel, specifically, as follows, if there are gray scale values of 20, 30, 80, 220 in the sub-reference black-and-white picture, the first preset gray scale value Avg = (20+30+80 + 220)/4 =87.5, and the white pixel average value Avg _ W = 220. Repeating the above process can obtain the average value of white pixels of a plurality of sub black-and-white pictures.
S22, taking an average of the gray-scale values of the pixels in the sub-reference black-and-white picture of the second black-and-white reference picture that are lower than or equal to the first preset gray-scale value as a first black pixel average value in the sub-reference black-and-white picture of the second black-and-white reference picture.
The first preset gray scale value may be obtained by adding and averaging the gray scale values of each pixel, specifically, as follows, if there are gray scale values of 20, 30, 80, 220 in the sub-reference black-and-white picture, the first preset gray scale value Avg = (20+30+80 + 220)/4 =87.5, and the white pixel average value Avg _ W = 220. Repeating the above process can obtain the average value of white pixels of a plurality of sub black-and-white pictures.
As shown in fig. 8, the first black-and-white reference picture is a sub-reference black-and-white picture divided into 15 equal parts, and the pixels of the first black-and-white reference picture are white, and as shown in fig. 9, the second black-and-white reference picture is a sub-reference black-and-white picture divided into 15 equal parts, and the pixels of the second black-and-white reference picture are black.
In an embodiment, the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value of any black-and-white picture specifically includes:
and determining a definition test value according to the average value of the white pixels of the sub black-and-white picture and the average value of the black pixels of the sub black-and-white picture of any projection area, the first white pixel reference value of the sub reference black-and-white picture and the first black pixel reference value of the sub reference black-and-white picture based on the same projection area.
Based on the embodiment, a plurality of definition test values corresponding to a plurality of projection areas of any black and white picture are obtained; and when the definition test values of the plurality of projection areas of any black-and-white picture all meet the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
Through the scheme, the definition of the optical machine can be determined to meet the factory requirement of the optical machine, the display effect is stable, and the definition of each projection area can be maintained on a higher level.
In an embodiment, the determining a sharpness test value according to the average value of the white pixels of the sub-black-and-white picture and the average value of the black pixels of the sub-black-and-white picture of any projection area, the first white pixel reference value of the sub-reference black-and-white picture, and the first black pixel reference value of the sub-reference black-and-white picture specifically includes:
a sharpness test value MTF ' = (sub black-and-white picture white pixel average AVG-W1 ' -sub black-and-white picture black pixel average AVG-B1 ')/(sub reference black-and-white picture first white pixel reference value REF-W1 ' -sub reference black-and-white picture first black pixel reference value REF-B1 ').
The invention also provides a testing device for testing the optical machine, which comprises a camera device and a memory; a processor, and a sharpness testing program stored on the memory and executable on the processor, the sharpness testing program when executed by the processor implementing the steps of the sharpness testing program as described above.
The camera device obtains N black-and-white pictures projected by the optical machine, a first black-and-white reference picture and a second black-and-white reference picture, and the processor processes the collected N black-and-white pictures, the first black-and-white reference picture and the second black-and-white reference picture according to the definition test program.
It should be noted that, since the testing apparatus of the present invention includes all embodiments of the above definition testing method, the testing apparatus of the present invention has all the advantages of the above definition testing method, and further description thereof is omitted here.
Optionally, the image pickup device is an industrial camera, and a pattern shot by the industrial camera is basically similar to a pattern detected by naked eyes, and can be conveniently interacted with the processor, so that data analysis is facilitated.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An optical machine definition testing method is characterized by comprising the following steps:
acquiring N black and white pictures projected by an optical machine, and acquiring a white pixel average value and a black pixel average value corresponding to each black and white picture, wherein N is more than or equal to 1;
acquiring a first white pixel reference value of a first black-and-white reference picture projected by an optical machine;
acquiring a first black pixel reference value of a second black and white reference picture projected by the optical machine;
determining a definition test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture;
and when the definition test value meets a preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
2. The method as claimed in claim 1, wherein said obtaining the first black pixel reference value of the second black and white reference frame projected by the optical engine further comprises:
determining N definition test values corresponding to the N black-and-white pictures according to the white pixel average value and the black pixel average value corresponding to each black-and-white picture, the first white pixel reference value and the first black pixel reference value;
and when the N definition test values all meet the preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
3. The method according to claim 1, wherein when N is equal to 2 among the N black-and-white frames, the N black-and-white frames are respectively a first black-and-white frame and a second black-and-white frame, and the determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value, and the first black pixel reference value corresponding to each black-and-white frame specifically comprises:
determining a first definition test value according to a first white pixel average value and a first black pixel average value of a first black-and-white picture, a first white pixel reference value and a first black pixel reference value;
determining a second definition test value according to a second white pixel average value and a second black pixel average value of a second black-and-white picture, a first white pixel reference value and a first black pixel reference value;
and when the first definition test value and the second definition test value both meet a preset definition value, determining that the definition of the optical machine meets the factory requirement of the optical machine.
4. The method as claimed in claim 1, wherein said determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture specifically comprises:
sharpness test value MTF = (white pixel average AVG-W1-black pixel average AVG-B1)/(first white pixel reference value REF-W1-first black pixel reference value REF-B1).
5. The method according to claim 1, wherein the step of obtaining N black-and-white frames projected by the optical engine and obtaining a white pixel average value and a black pixel average value corresponding to each black-and-white frame includes the steps of:
projecting a first group of preset black and white pictures through an optical machine;
acquiring an Nth black-and-white picture projected by the optical machine through a camera device;
acquiring the gray value of each pixel in the Nth black-and-white picture;
taking an average value of a plurality of pixel values lower than or equal to a first preset gray value as a black pixel average value of the Nth black-and-white picture;
and taking the average value of a plurality of pixel values higher than the first preset gray value as the white pixel average value of the Nth black-and-white picture.
6. The method according to claim 1, wherein the projection screen of the optical engine is divided into M projection areas by a predetermined method, and each of the N black-and-white frames has a corresponding sub black-and-white frame corresponding to each projection area; the step of obtaining N black-and-white pictures projected by the optical machine and obtaining the white pixel average value and the black pixel average value corresponding to each black-and-white picture specifically comprises;
projecting a first group of preset black and white pictures to M projection areas of the projection screen through an optical machine;
acquiring M sub black and white pictures of the N projection areas through a camera device;
acquiring the gray value of each pixel in each sub black-and-white picture;
averaging a plurality of pixel values which are lower than or equal to a first preset gray value in each sub black-and-white picture, and taking the average value as the average value of each black pixel;
and averaging a plurality of pixel values higher than the first preset gray value in each sub black-and-white picture, and taking the average value as the average value of each white pixel.
7. The method according to claim 6, wherein the projection screen of the optical engine has M projection regions divided by a predetermined method, and each of the first black-and-white reference frame and the second black-and-white reference frame has a sub-reference black-and-white frame corresponding to each projection region; the method comprises the steps of obtaining a first white pixel reference value of a first black-and-white reference picture projected by an optical machine; the step of obtaining the first black pixel reference value of the second black and white reference picture projected by the optical machine specifically comprises the following steps;
projecting a preset second group of black and white testing pictures through an optical machine;
acquiring M sub-reference black-and-white pictures of a first black-and-white reference picture and M sub-reference black-and-white pictures of a second black-and-white reference picture projected by the optical machine through a camera device;
acquiring the gray value of each pixel of each sub-reference black-and-white picture in the first black-and-white reference picture and the second black-and-white reference picture;
taking an average value of a plurality of pixel values higher than a first preset gray value in the sub-reference black-and-white picture of the first black-and-white reference picture as a first white pixel average value in the sub-reference black-and-white picture of the first black-and-white reference picture;
and taking an average value of a plurality of pixel values which are lower than or equal to a first preset gray value in the sub-reference black-and-white picture of the second black-and-white reference picture as a first black pixel average value in the sub-reference black-and-white picture of the second black-and-white reference picture.
8. The method as claimed in claim 1, wherein said determining a sharpness test value according to the white pixel average value and the black pixel average value, the first white pixel reference value and the first black pixel reference value corresponding to each black-and-white picture specifically comprises:
and determining a definition test value according to the average value of the white pixels of the sub black-and-white picture and the average value of the black pixels of the sub black-and-white picture of any projection area, the first white pixel reference value of the sub reference black-and-white picture and the first black pixel reference value of the sub reference black-and-white picture based on the same projection area.
9. The method according to claim 8, wherein the determining a sharpness test value according to the average white pixel value and the average black pixel value of the black-and-white sub-picture, the first white pixel reference value of the black-and-white sub-picture and the first black pixel reference value of the black-and-white sub-picture based on the same projection area specifically comprises:
a sharpness test value MTF ' = (sub black-and-white picture white pixel average AVG-W1 ' -sub black-and-white picture black pixel average AVG-B1 ')/(sub reference black-and-white picture first white pixel reference value REF-W1 ' -sub reference black-and-white picture first black pixel reference value REF-B1 ').
10. A testing device is used for testing an optical machine and is characterized by comprising a camera device and a memory; the image capturing device acquires N black-and-white pictures projected by the optical machine, a first black-and-white reference picture and a second black-and-white reference picture, and the processor processes the acquired N black-and-white pictures, the first black-and-white reference picture and the second black-and-white reference picture according to the definition testing method.
CN202010841376.0A 2020-08-20 2020-08-20 Optical machine definition testing method and testing device Pending CN111707456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010841376.0A CN111707456A (en) 2020-08-20 2020-08-20 Optical machine definition testing method and testing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010841376.0A CN111707456A (en) 2020-08-20 2020-08-20 Optical machine definition testing method and testing device

Publications (1)

Publication Number Publication Date
CN111707456A true CN111707456A (en) 2020-09-25

Family

ID=72547264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010841376.0A Pending CN111707456A (en) 2020-08-20 2020-08-20 Optical machine definition testing method and testing device

Country Status (1)

Country Link
CN (1) CN111707456A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112946896A (en) * 2021-02-03 2021-06-11 上海闻泰信息技术有限公司 Wearable device, transmittance adjustment system, method, and readable storage medium
CN113034585A (en) * 2021-04-25 2021-06-25 歌尔股份有限公司 Offset state test method, test device and storage medium
CN113038105A (en) * 2021-03-26 2021-06-25 歌尔股份有限公司 Projector adjusting method and adjusting apparatus
CN113542733A (en) * 2021-06-25 2021-10-22 苏州智瞳道和显示技术有限公司 Method and system for adjusting and measuring definition of optical machine
CN113873231A (en) * 2021-09-26 2021-12-31 江西盛泰精密光学有限公司 System and method for monitoring baking of camera module

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690770A (en) * 2004-04-30 2005-11-02 上海科技馆 Method for correcting geometric distortion of projected image on curved curtain
US20080088887A1 (en) * 2006-10-11 2008-04-17 Canon Kabushiki Kaisha Image reading apparatus and method for adjusting same
CN102607810A (en) * 2012-03-23 2012-07-25 中国科学院长春光学精密机械与物理研究所 Method for detecting CCD (Charge Coupled Device) camera transfer function by using novel target
CN106201371A (en) * 2015-05-29 2016-12-07 佳能株式会社 Image processing apparatus and method
CN108174190A (en) * 2017-12-28 2018-06-15 歌尔科技有限公司 The test method and device of a kind of modulation transfer function test pattern, MTF
CN110087046A (en) * 2019-03-11 2019-08-02 歌尔股份有限公司 A kind of projector clarity detection method, device, system and equipment
CN110864880A (en) * 2019-10-22 2020-03-06 歌尔股份有限公司 DLP projector definition evaluation method and detection system thereof
CN111131810A (en) * 2019-12-19 2020-05-08 北京中科慧眼科技有限公司 Lens definition measuring method, device and system and measuring chart
CN111292379A (en) * 2018-12-07 2020-06-16 财团法人工业技术研究院 Depth camera correction device and method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690770A (en) * 2004-04-30 2005-11-02 上海科技馆 Method for correcting geometric distortion of projected image on curved curtain
US20080088887A1 (en) * 2006-10-11 2008-04-17 Canon Kabushiki Kaisha Image reading apparatus and method for adjusting same
CN102607810A (en) * 2012-03-23 2012-07-25 中国科学院长春光学精密机械与物理研究所 Method for detecting CCD (Charge Coupled Device) camera transfer function by using novel target
CN106201371A (en) * 2015-05-29 2016-12-07 佳能株式会社 Image processing apparatus and method
CN108174190A (en) * 2017-12-28 2018-06-15 歌尔科技有限公司 The test method and device of a kind of modulation transfer function test pattern, MTF
CN111292379A (en) * 2018-12-07 2020-06-16 财团法人工业技术研究院 Depth camera correction device and method thereof
CN110087046A (en) * 2019-03-11 2019-08-02 歌尔股份有限公司 A kind of projector clarity detection method, device, system and equipment
CN110864880A (en) * 2019-10-22 2020-03-06 歌尔股份有限公司 DLP projector definition evaluation method and detection system thereof
CN111131810A (en) * 2019-12-19 2020-05-08 北京中科慧眼科技有限公司 Lens definition measuring method, device and system and measuring chart

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112946896A (en) * 2021-02-03 2021-06-11 上海闻泰信息技术有限公司 Wearable device, transmittance adjustment system, method, and readable storage medium
CN112946896B (en) * 2021-02-03 2023-06-27 上海闻泰信息技术有限公司 Wearable device, transmittance adjustment system, method, and readable storage medium
CN113038105A (en) * 2021-03-26 2021-06-25 歌尔股份有限公司 Projector adjusting method and adjusting apparatus
CN113038105B (en) * 2021-03-26 2022-10-18 歌尔股份有限公司 Projector adjusting method and adjusting apparatus
CN113034585A (en) * 2021-04-25 2021-06-25 歌尔股份有限公司 Offset state test method, test device and storage medium
CN113034585B (en) * 2021-04-25 2023-02-28 歌尔光学科技有限公司 Offset state test method, test device and storage medium
CN113542733A (en) * 2021-06-25 2021-10-22 苏州智瞳道和显示技术有限公司 Method and system for adjusting and measuring definition of optical machine
CN113873231A (en) * 2021-09-26 2021-12-31 江西盛泰精密光学有限公司 System and method for monitoring baking of camera module
CN113873231B (en) * 2021-09-26 2024-05-03 江西盛泰精密光学有限公司 Monitoring system and method for baking camera module

Similar Documents

Publication Publication Date Title
CN111707456A (en) Optical machine definition testing method and testing device
US10832625B2 (en) Gray scale adjustment method and device for display panel
CN106154721B (en) Distance measuring method, automatic focusing method and device
CN107507558B (en) Correction method of LED display screen
EP3989542A1 (en) Method and apparatus for evaluating image acquisition accuracy, and electronic device and storage medium
US10839729B2 (en) Apparatus for testing display panel and driving method thereof
CN110519585B (en) Imaging calibration method and device applied to image acquisition equipment
CN109495729B (en) Projection picture correction method and system
CN108234824A (en) Shadow correction detection parameters determine, correct detection method and device, storage medium, fisheye camera
CN105812790B (en) Method for evaluating verticality between photosensitive surface and optical axis of image sensor and optical test card
CN110418124B (en) Projection image detection method, projection image detection device, projection image detection equipment and computer-readable storage medium
CN113038105B (en) Projector adjusting method and adjusting apparatus
WO2015158024A1 (en) Image processing method and apparatus, and automatic optical detector
CN111031311A (en) Imaging quality detection method and device, electronic equipment and readable storage medium
CN116912233B (en) Defect detection method, device, equipment and storage medium based on liquid crystal display screen
CN114359055B (en) Image splicing method and related device for multi-camera shooting screen body
CN113936579A (en) Method and related device for measuring flicker value of LCD display screen
CN114584700A (en) Focusing marking method, marking device and electronic equipment
CN113570578B (en) Method and device for detecting lens ghost phenomenon
CN111044262A (en) Near-to-eye display optical-mechanical module detection device
CN112261394B (en) Method, device and system for measuring deflection rate of galvanometer and computer storage medium
US20130250127A1 (en) Method for Checking Camera
CN105427315B (en) Digital instrument image position testing method and device
RU2346331C1 (en) Method of automatic estimate of lcd data display correctness
JP2002320237A (en) Method for detecting chromatic aberration in magnification

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200925

RJ01 Rejection of invention patent application after publication