A measuring device and method for display device
By designing a measuring device for head-mounted display devices, and using software control modules and cameras for calibration and parameter measurement, the problem of lack of effective testing tools in the prior art is solved, and an effective method for verification of equipment reliability is provided.
Patent Information
- Application Number
- CN201811592217.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-25
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2038-12-25
AI Technical Summary
The prior art lacks effective testing tools and methods to ensure that the head-mounted display device meets specification requirements, making it difficult for users to verify the reliability of the device.
A measurement device including a software control module, a camera and a display device adjustment module is designed. The display device is calibrated and imaging parameters are obtained through the camera, and the parameters of the device are calculated and displayed, such as field angle, imaging distortion and sharpness are provided. Verification basis.
The device can effectively measure various parameters of the display device, provide reliable verification and testing standards, and fill the shortcomings of the prior art in measuring devices and methods.
Smart Images

Figure CN111369921B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a measuring system, in particular to a measuring device and method for measuring a display device. Background Art
[0002] With the development of artificial intelligence, wearable devices are becoming more and more well-known and accepted, especially head-mounted display devices, which are gradually being used in fields such as medical treatment, education, national defense, and entertainment. Head-mounted display devices from different manufacturers have different specifications and effects. However, as a product of cutting-edge technology, there are currently no perfect testing tools and testing methods for head-mounted display devices. How to ensure that the user's head-mounted display device meets the specification requirements has become a major problem in the industry. Summary of the invention
[0003] In view of this, the main purpose of the present invention is to provide a device and method for measuring a display device, which can effectively and clearly measure the parameters of the display device and provide a basis for the reliability of the display device.
[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0005] A measuring device for a display device, comprising a software control module, a camera, and a display device adjustment module;
[0006] Cameras, fixed on the base at a predetermined height and interval (when measuring binocular display devices);
[0007] A display device adjustment module, used to place the display device to be tested at a predetermined height and angle;
[0008] The software control module is connected to the camera, calibrates the camera, obtains calibration parameters, and performs calibration verification; reads the imaging picture in the camera, obtains the imaging parameters of the imaging picture, obtains the display device parameters to be measured according to the imaging parameters and the calibration parameters, and displays them to the user.
[0009] Furthermore, the display device testing device further includes a camera spacing adjustment module and an axial adjustment module; the camera is fixed to the camera spacing adjustment module; the camera spacing adjustment module is fixed to the axial adjustment module through a mounting platform; the axial adjustment module is fixed to the base of the measuring device; a software control module adjusts the camera spacing adjustment module, the axial adjustment module and the display device adjustment module to make the calibration plate clearly imaged in the camera, calibrates the camera to obtain calibration parameters, and performs calibration verification; makes the eyepiece module of the display device parallel to the camera to clearly image in the camera; is connected to the camera, reads the imaging picture in the camera, obtains the imaging parameters of the imaging picture, and obtains the display device parameters according to the imaging parameters and the calibration parameters; the display device adjustment module is used to place the display device.
[0010] Furthermore, the camera interval adjustment module and the axial adjustment module are manually adjusted through their own knobs, or automatically adjusted through an electric device or a software control module.
[0011] Furthermore, the display device adjustment module is fixed to the base of the measuring device, on which a placement platform is placed. The display device to be tested is placed through the bracket on the placement platform. Its height is fixed, or the height is manually adjusted through its own knob, or automatically adjusted through the software control module.
[0012] Furthermore, the software control module includes: an interactive interface, a motion control unit, an information acquisition unit, a computing unit and a storage unit; the interactive interface is used to send the user's adjustment instructions to the motion control unit; the calibration information is sent to the information acquisition unit according to the user's instructions, and the calibration board parameters input by the user are sent to the computing unit and the storage unit; the motion control unit adjusts the camera position according to the user's adjustment instructions until the calibration board is clearly imaged in the camera; the information acquisition unit is connected to the camera and sends the camera's picture to the interactive interface; the calibration message is received and the imaging picture of the calibration board is sent to the computing unit; the computing unit obtains the camera's internal parameters according to the calibration board imaging picture and saves them to the storage unit; the storage unit is used to store the calibration board parameters and the camera's internal parameters.
[0013] Furthermore, the software control module further includes a comparison unit; a calculation unit, which obtains the corner point coordinates P of the calibration plate imaging calculated and generated according to the following formula: ij算 , read the calibration plate imaging screen corner point p in the storage unit ij , take the difference between the two according to the error formula as the calibration error and send it to the comparison unit;
[0014]
[0015] The comparison unit compares the calibration error with the preset value. If it is less than the preset value, the verification is passed; if it is greater than or equal to the preset value, the verification fails and the verification result is sent to the interactive interface. The interactive interface is used to display the calculation result of the calculation unit and the comparison result of the comparison unit to the user.
[0016] Furthermore, the display device displays the test picture 1; the information acquisition unit is used to send the imaging picture of the test picture 1 to the calculation unit; the calculation unit is used to read the calibration plate parameters and the camera internal parameters maintained in the storage unit, obtain the corner points of the imaging picture of the test picture 1 through image processing technology, and then obtain the coordinates of the corresponding points in the calibration plane according to the feature point correspondence formula, obtain the field of view angle according to the diagonal calculation formula and the field of view angle calculation formula, and send it to the interactive interface; the interactive interface displays the field of view angle to the user.
[0017] Further, the display device displays the test picture 2; the camera images the test picture 2 of the display device; accordingly, the information acquisition unit reads the imaging screen of the test picture 2 and the image source picture pre-stored in the storage unit, and sends them to the calculation unit; the calculation unit is used to read the imaging screen of the test picture 2, and obtain the corner point p of the imaging screen of the test picture 2 by using the image processing technology i_f_DIST , according to the feature point correspondence formula, obtain the coordinates P of the corresponding point of the imaging screen corner of the test image on the calibration plane i_f标_DIST ; Read the image source of the pre-stored test image, and obtain the corner point p of the image source image according to the image processing technology i_源_DIST ; Further calculate the scale factor M of the test image imaging screen and the image source according to the scale factor formula, and calculate the optical distortion according to the calculated scale factor M and the optical distortion formula, and calculate the TV distortion DIST according to the TV distortion formula T , sending the calculated optical distortion and TV distortion to the interactive interface and the storage unit; the interactive interface displays the imaging distortion result to the user; the storage unit is used to store the image source of the preset test picture 2 and the imaging distortion measurement result sent by the calculation unit.
[0018] Further, the display device displays the test picture 2; the camera is used to image the test picture 2 displayed by the binocular display device to be tested; accordingly, the information acquisition unit is used to obtain the imaging screen of the test picture 2 in the left and right cameras and send it to the calculation unit; the calculation unit reads the imaging screen of the test picture 2, and obtains the corner point p of the imaging screen of the test picture 2 according to the image processing technology i_f_PE , according to the feature point correspondence formula, obtain the corresponding point coordinates P of the corner point of the imaging screen of test picture 2 on the calibration plane i_f标_PE Then, according to the coordinate formula of the center point of the test image, the distance l between the calibration plate and the camera 标 , binocular image vertical deviation formula, the distance D between the left and right cameras obtained during calibration C_LR , binocular conjunction horizontal deviation formula, binocular conjunction tilt amount formula and binocular conjunction tilt deviation formula, obtain binocular conjunction horizontal deviation, vertical deviation and tilt deviation, and send them to the interactive interface and storage unit; the interactive interface is used to display the measurement results of binocular conjunction vertical deviation, binocular conjunction horizontal deviation and binocular conjunction tilt deviation to the user; the storage unit is used to store the binocular conjunction vertical deviation, binocular conjunction horizontal deviation and binocular conjunction tilt deviation, and the weights of preset corner points.
[0019] Further, the display device displays the test image 3; the camera is used to image the test image 3 displayed by the display device; the information acquisition unit is used to read the imaging screen of the test image 3 in the camera and send it to the calculation unit; the calculation unit is used to analyze the pixel brightness alternation rate V of the imaging screen of the test image in the X-axis direction and the Y-axis direction according to the pixel and evaluation statistical algorithm X 、V Y , according to the imaging sharpness formula, the imaging sharpness of the display device is calculated and sent to the interactive interface and the storage unit; accordingly, the interactive interface is used to display the acquired imaging sharpness to the user; the storage unit is used to store the calculation results of the calculation unit.
[0020] The present invention also provides a display device measurement method, which includes: calibrating a camera to obtain internal parameters of the camera; performing calibration verification to determine whether the verification is passed; and measuring the display device parameters. Furthermore, the method further includes: performing pre-calibration preparation before calibration, specifically: placing a calibration plate in front of a measuring device, adjusting the camera position so that the calibration plate can be clearly and completely imaged in the camera, and obtaining the calibration plate parameters.
[0021] Furthermore, the camera is calibrated to obtain the internal parameters of the camera, including: reading the calibration plate imaging picture in the camera, obtaining the calibration plate imaging picture corner point p according to the image processing technology ij , according to p ij ~f(P ij实 )=P ij Formula to calculate the calibration plate imaging corner point P without distortion ij; , where f is the corner point p of the calibration plate imaging screen ij And actually calibrate the plate corner point P ij实 The mapping relationship obtained by pinhole imaging and relative tilt correction is used to obtain the coordinates P of the center point of the calibration plate imaging screen according to the following formula. 00 And the distortion coefficient K.
[0022]
[0023] Furthermore, the calibration verification includes: determining the verification by: obtaining the corner point p of the calibration plate imaging screen ij And the calculated corner coordinates P of the calibration plate imaging ij算 , take the difference between the two as the calibration error, compare the calibration error with the preset value, if it is smaller than the preset value, the verification is passed.
[0024] Further, the measuring of the parameters of the display device includes: preparing for the test; triggering the field of view angle measurement; obtaining the field of view angle; the obtaining the field of view angle includes: reading the imaging screen of the test picture 1, obtaining the corner point coordinates of the imaging screen of the test picture 1 by image processing technology, and then calculating the corresponding point coordinates P of the corner point coordinates of the imaging screen of the test picture 1 in the calibration plane by using the feature point corresponding formula i_f标_FOV , calculate the diagonal length L of the test image imaging screen according to the coordinates of the corresponding points of the corner points in the calibration plane and the diagonal formula FOV , and then further calculate the field of view FOV according to the field of view formula.
[0025] Furthermore, the measurement of the parameters of the display device includes: preparation before the test; triggering the imaging distortion measurement; obtaining the imaging distortion; wherein the obtaining of the imaging distortion includes: reading the imaging screen of the test picture 2, obtaining the imaging screen corner point p of the test picture according to the image processing technology i_f_DIST , according to the feature point correspondence formula, obtain the coordinates P of the corresponding point of the imaging screen corner of the test image on the calibration plane i_f标_DIST ; Read the image source of the pre-stored test image, and then obtain the corner point p of the image source image according to the image processing technology i_源_DIST Next, the scale factor M of the test image imaging screen and the image source is calculated according to the scale factor formula, and the optical distortion is further calculated according to the calculated scale factor M and the optical distortion formula, and the TV distortion DIST is calculated according to the TV distortion formula. TV .
[0026] Furthermore, the measurement of the parameters of the display device includes: preparation before the test; triggering the measurement of binocular image parameters; obtaining the binocular image parameters; the binocular image parameters include: according to the imaging screen of the test picture 2 of the left and right cameras, the calibration board parameters and the camera external parameters, as well as the feature point correspondence formula, the test image center point coordinate formula, the binocular image horizontal deviation formula, the binocular image vertical deviation formula, the binocular image tilt amount formula and the binocular image tilt deviation formula, the horizontal deviation, vertical deviation and tilt deviation of the binocular image are obtained.
[0027] Furthermore, the measurement of the parameters of the display device includes: preparation before the test; triggering the imaging sharpness measurement; obtaining the imaging sharpness; the obtaining of the imaging sharpness includes: reading the imaging picture of the test picture 3, and analyzing and calculating the pixel brightness alternation rate V of the imaging picture in the X-axis direction according to the pixel and evaluation statistical algorithm. X , and the pixel brightness alternation rate V in the Y-axis direction Y , and then calculate the imaging sharpness of the display device according to the imaging sharpness formula.
[0028] By using the measuring device and method described in the present invention, various parameters of the display device can be effectively measured, providing effective judgment basis and standards for reliability verification, acceptance, testing and maintenance of the display device, and effectively filling the deficiency of the prior art in the lack of measuring devices and methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the structure of the measuring device of the present invention;
[0030] Figure 2 This is a schematic diagram of the structural connection of the measuring device of the present invention;
[0031] Figure 3 It is a schematic diagram of the structure of the software control module of the present invention;
[0032] Figure 4 It is a schematic diagram of the structure of the height adjustment module in the present invention;
[0033] Figure 5 A user display interface for calibration and verification results of the present invention;
[0034] Figure 6 This is an example diagram of a test image 1 for measuring the field of view angle of the present invention;
[0035] Figure 7 This is an example diagram of the test image 2 for the imaging distortion and binocular combined imaging measurement of the present invention;
[0036] Figure 8 This is an example diagram of test picture 3 during sharpness imaging measurement of the present invention;
[0037] Fig. 9 It is a schematic diagram of the measurement method flow of the present invention;
[0038] Fig.10 It is a schematic diagram of the calibration process in the measurement method of the present invention;
[0039] Fig.11 It is a schematic diagram of the viewing angle measurement process in the measurement method of the present invention;
[0040] Fig.12 Schematic diagram of the imaging distortion measurement process in the measurement method of the present invention;
[0041] Fig.13 Schematic diagram of binocular combined image parameter measurement process in the measurement method of the present invention;
[0042] Fig.14 Schematic diagram of the imaging sharpness measurement process in the measurement method of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] Since there is no measuring device for head-mounted display devices at present, in order to make up for the shortcomings of the prior art in measuring head-mounted display devices, the present invention provides a measuring device for display devices.
[0045] The measuring device of the display device provided by the present invention has a structure as follows Figure 1 , Figure 2 and Figure 3 As shown,
[0046] Specifically include: software control module 201, camera 202, display device adjustment module 203, camera interval adjustment module 204 and axial adjustment module 205; wherein, software control module 201 is run by a computer, and the measuring device of the present invention can measure monocular display devices and binocular display devices. When measuring binocular display devices, the left and right cameras are placed in parallel and equidistantly in front of the left and right sides of the binocular display devices; camera 202 is fixed to camera interval adjustment module 204 through a connecting bracket. The camera interval adjustment module 204 is fixed to the axial adjustment module 205 through a mounting platform, and the angle between the camera interval adjustment module 204 and the axial adjustment module 205 is a right angle, and the axial adjustment module 205 is fixed to the base of the measuring device, and the base is supported by a support frame, and the height of the support frame can be adjusted. The camera interval adjustment module 204 and the axial adjustment module 205 can be manually adjusted through their own knobs, and can also be automatically adjusted through the software control module 201.
[0047] The display device adjustment module 203 is fixed to the base of the measuring device, on which a placement platform is placed, and the display device to be tested is placed by a bracket on the placement platform. During measurement, the display device is placed on the bracket. The height of the display device adjustment module 203 can be fixed, and the height of the display device can also be adjusted by adjusting the lifting of the display device, so that the eyepiece module of the display device is parallel to the camera, and a clear image is formed in the camera; wherein the adjustment of the height adjustment module in the display device adjustment module 203 can be adjusted manually, or automatically adjusted by the software control module 201.
[0048] Accordingly, the display device adjustment module 203 includes a height adjustment module 2031 and an angle adjustment module 2032;
[0049] The height adjustment module 2031 is as follows Figure 4 As shown, it can be adjusted manually or automatically by an electric lifting platform or software control module 201;
[0050] The angle adjustment module 2032 is used to adjust the angle of the display device. The adjustment can be done manually or automatically through the software control module 201 or an electric device.
[0051] The software control module 201 controls the movement of the camera interval adjustment module 204, the axial adjustment module 205 and the display device adjustment module 203 by sending adjustment commands to the camera interval adjustment module 204, the axial adjustment module 205 and the display device adjustment module 203, adjusts the position of the camera 202 on the camera interval adjustment module 204, makes the calibration plate clearly imaged in the camera 202, calibrates the camera 202, obtains the calibration parameters, and performs calibration verification; connects to the camera 202, reads the imaging picture in the camera 202, obtains the imaging parameters of the imaging picture, obtains the display device parameters to be measured according to the imaging parameters and the calibration parameters, and displays them to the user. The calibration parameters include the calibration plate parameters and the parameters obtained in the calibration, wherein the calibration plate parameters include: the distance l between the calibration plate and the camera; 标 , calibration plate corner point coordinates P ij实 , the distance between cameras D C_LR And the size y of the calibration unit of the calibration plate 标 The parameters obtained in the calibration can also be called the internal parameters of the camera, including the lens distortion coefficient K, the coordinates of the center point of the calibration plate imaging screen, that is, the lens distortion zero point coordinates P 00 (x0,y0).
[0052] The imaging parameters include: the corner point p of the calibration plate imaging screen ij , the corner point P generated by the calibration plate calculation ij , test pictures.
[0053] As an alternative implementation, the display device measuring apparatus of the present invention includes a software control module 201, a camera 202, and a display device adjustment module 203;
[0054] Among them, the camera 202 is fixed on the base at a predetermined height and interval (when measuring a binocular display device); the predetermined height and interval are related to the display device to be measured, and the camera is located in front of the device to be measured. When measuring a binocular display device, the left and right cameras 202 are placed in front of the left and right binoculars of the binocular display device in parallel and equidistantly.
[0055] The display device adjustment module 204 is used to place the display device to be tested at a predetermined height and angle;
[0056] The software control module 201 is connected to the camera 202, calibrates the camera 202, obtains calibration parameters, and performs calibration verification; reads the imaging picture in the camera 202, obtains the imaging parameters of the imaging picture, obtains the display device parameters to be measured according to the imaging parameters and the calibration parameters, and displays them to the user.
[0057] (I) Calibration
[0058] Before measuring, the camera must be calibrated and a calibration plate must be placed parallel to the camera.
[0059] The software control module 201 adjusts the position of the camera 201 and the calibration plate on the measuring device according to the user's instructions, so that the calibration plate is clearly imaged in the camera. The clear imaging refers to the calibration plate in the camera's imaging picture, the length and width of the calibration plate account for about 2 / 3 of the length and width of the picture, and the calibration plate in the picture is as horizontal and square as possible; the calibration plate is a regular picture that alternates periodically, and can be a chess and card grid, a grid pattern, a dot pattern, etc. In this embodiment, it is a chessboard pattern. The distance l between the calibration plate and the camera is measured. 标 , the size of the calibration unit of the calibration plate y 标 , list the coordinates of the corner points of the calibration plate P ij实 and the distance D between the left and right cameras C_LR As calibration board parameters, the calibration unit in this embodiment is a black or white chessboard grid in the chessboard image. The corner point is the turning point where different colors alternate in the image, and the intersection point of the black and white chessboard grid in the chessboard image.
[0060] The software control module 201 obtains the camera internal parameters according to the imaging picture of the calibration plate. The camera internal parameters include the distortion coefficient K, the coordinates P of the center point of the calibration plate imaging picture 00 (x0, y0); Specifically, the software control module 201 reads the calibration plate imaging picture in the camera, and obtains the calibration plate imaging picture corner point p according to the image processing technology. ij According to formula (1), calculate the corner point P of the calibration plate imaging screen without distortion ij ,
[0061] p ij ~f(P ij实 )=P ij (1)
[0062] Where f is the corner point p of the calibration plate imaging screen ij And actually calibrate the plate corner point P ij实 The mapping relationship is obtained by pinhole imaging and relative tilt correction. The image processing technology can adopt the existing technology, for example, to obtain the corner point coordinates according to corner point detection. There are many ways to detect corner points, and the OPENCV algorithm can be used to obtain the corner point coordinates. Combined with the calibration plate imaging screen corner point pij , the corner point P of the calibration plate imaging screen without distortion ij And formula (2) to obtain the coordinates of the center point of the calibration plate imaging screen P 00 (x0,y0) and the distortion coefficient K,
[0063]
[0064] Among them, R ij 、r ji is an intermediate variable.
[0065] It can be understood that in the following display device parameter measurement, different parameters correspond to different test pictures when measured. The camera captures the imaging screen of the test picture, and then finds the characteristic points p of the imaging screen through image processing technology. i_f , the feature point p i_f Mapped to the corresponding point P in the calibration plane through formula (3) and formula (4) i_f标, , then according to P i_f标 , l 标 ,y 标 The optical parameters to be measured are calculated. The characteristic points of the imaging screen of the test image can be corner points or other points required for obtaining parameters. Wherein, formula (3) is a deformation of formula (2), p i_f Equivalent to p ij,, P i_f算 Equivalent to P ij , Formula (3) and Formula (4) can be called feature point correspondence formulas. F is the inverse mapping of mapping f.
[0066]
[0067] P i_f标 ~F(P i_f算 )-----------------Formula (4)
[0068] Furthermore,
[0069] The software control module 201 is used to perform calibration verification. The verification is based on the obtained calibration plate imaging screen corner point p ij And the calculated corner coordinates P of the calibration plate imaging ij算 , take the difference between the two as the calibration error, compare the calibration error with the preset value to determine whether the calibration is passed. Specifically:
[0070] According to formula (5), the corner coordinates P of the calibration plate imaging are obtained by calculation. ij算
[0071]
[0072] Among them, P ij实 is the coordinate of the corner point of the calibration plate, P 00 is the coordinate of the center point of the imaging screen, K is the distortion coefficient; R ij , R ij算 is an intermediate variable. Further, the calibration error is obtained according to any formula in the error formula (6),
[0073]
[0074] The calibration error is compared with the preset value. If it is less than the preset value, the distortion is within the preset range, and the parameter measurement of the display device is performed. If the calibration error is greater than the preset value, the distortion is too large, and the position of the camera needs to be readjusted, and the calibration verification is performed again until the calibration verification passes. The preset value is related to the method of obtaining the calibration error. Different acquisition methods have different preset values. For example, the calibration error of each corner point can be averaged, or the maximum difference can be used as the calibration error, etc., which are not listed here one by one. In this embodiment, the difference of each corner point is added to obtain the total difference, and the total difference is used as the distortion difference. The preset value is 5.
[0075] Specifically, the specific structure of the software control module 201 is as follows: Figure 3 As shown: including an interactive interface 301, a motion control unit 302, an information acquisition unit 303, a calculation unit 304 and a storage unit 306;
[0076] The interactive interface 301 is used to send the user's adjustment instructions to the motion control unit 302; according to the user's instructions, the calibration message is sent to the information acquisition unit 303, and the calibration board parameters input by the user are sent to the calculation unit 304 and the storage unit 306;
[0077] The motion control unit 302 adjusts the position of the camera 202 according to the user's adjustment instruction until the calibration plate is clearly imaged in the camera; the adjustment is: controlling the camera interval adjustment module 204, the axial adjustment module 205, and the display device adjustment module 203 to move according to the user's adjustment instruction; the user's adjustment instruction may be an instruction to move or stop moving or a specific value of the movement;
[0078] The information acquisition unit 303 is connected to the camera 202, and displays the adjusted calibration plate of the camera 202 to the user through the interactive interface; receives the calibration message, and sends the imaging picture of the calibration plate to the calculation unit 304;
[0079] The calculation unit 304 obtains the internal parameters of the camera according to the image of the calibration plate and saves them to the storage unit 306. The internal parameters of the camera include the distortion coefficient K, the coordinates P of the center point of the image 00Specifically, read the calibration plate imaging image, and obtain the calibration plate imaging image corner point p according to the image processing technology. ij , sent to the storage unit 306, and the corner point P of the calibration plate imaging image without distortion is obtained according to formula (1) ij , sent to the storage unit 306; according to formula (2), the coordinates P of the center point of the calibration plate imaging screen are obtained 00 (x0, y0) and the distortion coefficient K are sent to the storage unit 306;
[0080] The storage unit 306 is used to store calibration board parameters and camera internal parameters.
[0081] Further, the software control module 201 includes a comparison unit 305;
[0082] The interactive interface 301 is used to calculate the calibration plate sent by the calculation unit 304 to generate the calibration plate imaging screen corner coordinates P ij算 and the calibration plate imaging corner point p ij Displayed in different colors on the interface, such as Figure 5 As shown, the comparison result of the comparison unit 305 is displayed to the user;
[0083] The calculation unit 304 reads the calibration plate corner point P in the storage unit 306. ij实 , combined with formula (5) to obtain the corner coordinates P of the calibration plate imaging generated by calculation ij算 , read the calibration plate imaging screen corner point p in the storage unit 306 ij According to the error formula in formula (6), P ij算 and p ij The difference between the two is the calibration error, which is sent to the comparison unit 305;
[0084] The comparison unit 305 compares the calibration error with the preset value. If it is less than the preset value, the distortion is within the preset range, the verification is passed, and the notification interface is displayed to the user, and parameter verification can be performed; if it is greater than or equal to the preset value, the notification interface is severely distorted, the verification fails, and recalibration is required;
[0085] Correspondingly, the storage unit 306 is used to store the preset value.
[0086] For the convenience of description, P in the following formula A -P B Indicates P A Point and P B The distance between points; (P A -P B ) X ,(P A -P B ) YRespectively represent P A Point and P B The distance between the points in the X and Y directions; P C -P A ^P B Indicates point P C Been to P A , P B The straight line distance between two points.
[0087] (II) Field of view angle measurement:
[0088] The display device is placed on the bracket of the display device adjustment module 203, and the display device displays a test picture 1 and forms an image through a camera. The test picture 1 can be a pure color picture having at least four detectable feature points, which can be image corner points, line intersection points, etc. The imaging screen of the test picture 1 is as shown in FIG. Figure 6 As shown;
[0089] Camera 202, used to image the test picture 1;
[0090] The software control module 201 reads the imaging picture of the test picture 1 in the camera 202 and displays it to the user, and obtains the four corner points p of the imaging picture of the test picture 1 through image processing technology. i_f_FOV (i=1,2,3,4), or take the intersection of the line connecting the center points of the relative edge and the relative edge as the feature point, and then use the feature point correspondence formula to calculate the coordinates P of the corresponding points of the four corner points of the imaging screen in the calibration plane i_f标_FOV (i=1,2,3,4), where p i_f_FOV Equivalent to p i_f . According to the coordinates of the corresponding points of the corner points in the calibration plane and the diagonal formula (7), the diagonal length L of the imaging screen of the test image is calculated. FOV , and then further calculate the field of view angle according to the field of view angle formula (8). The image processing technology has been described above and will not be repeated here.
[0091]
[0092] Correspondingly, such as Figure 3 As shown,
[0093] The information acquisition unit 303 is used to send the imaging picture of the test picture 1 to the calculation unit 304;
[0094] The calculation unit 304 is used to read the distortion coefficient K and the coordinates P of the center point of the calibration plate imaging screen stored in the storage unit 306. 00 And the distance l between the calibration plate and the camera 标, obtain the image corners of the test image 1 through image processing technology, then obtain the coordinates of the corresponding points in the calibration plane according to the feature point correspondence formula, obtain the field of view angle according to the diagonal calculation formula and the field of view angle calculation formula, and send it to the interactive interface. Specifically, read the distortion coefficient K in the storage unit 306, the coordinates P of the center point of the calibration plate imaging screen 00 , according to the feature point correspondence formula, obtain the coordinates of the corresponding points of the corner points of the imaging screen of the test picture 1 in the calibration plane; according to the coordinates of the corresponding points of the corner points of the imaging screen of the test picture 1 in the calibration plane and the diagonal formula, calculate the diagonal length L of the imaging screen of the test picture 1 FOV , read the distance l between the calibration plate and the camera in the storage unit 306 标 , and then further calculate the field of view angle according to the field of view angle calculation formula (8);
[0095] The interactive interface 301 displays the calculation result of the calculation unit 304 to the user.
[0096] 3. Imaging distortion measurement
[0097] For binocular display devices, the imaging distortion of the left and right eyes can be measured separately. The display device displays a test image 2, which is a regular image with at least two layers alternating from the center to the outside, such as a circular image, a donut image, a chessboard image, a grid image, etc. This embodiment uses a circular image, such as Figure 7 shown.
[0098] The camera 202 images the test picture 2 displayed by the display device;
[0099] The software control module 201 reads the imaging screen of the test picture 2 in the camera 202, and obtains the imaging screen corner point p of the test picture 2 according to the image processing technology. i_f_DIST (i=1,2,3…23,24), the corresponding numbers in the figure are 01~24, and the coordinates P of the corresponding points of the imaging screen corners of the test picture on the calibration plane are obtained according to the feature point corresponding formula i_f标_DIST (i=1,2,3…23,24); read the image source of the pre-stored test image, and obtain the corner point p of the image source image according to the image processing technology i_源_DIST (i=1,2,3…19,20); further calculate the scale factor M of the test image imaging screen and the image source according to the scale factor formula,
[0100]
[0101] And further calculate the optical distortion according to the calculated scale factor M and the optical distortion formula
[0102]
[0103] Calculate TV distortion DIST according to the TV distortion formula TV :
[0104]
[0105] Specifically, the information acquisition unit 303 reads the imaging picture of the test picture 2 and the image source picture pre-stored in the storage unit 306, and sends them to the calculation unit 304;
[0106] The calculation unit 304 is used to read the imaging screen of the test picture 2, and obtain the corner point p of the imaging screen of the test picture 2 by using the image processing technology. i_f_DIST , according to the feature point correspondence formula, obtain the coordinates P of the corresponding point of the imaging screen corner point of the test picture 2 on the calibration plane i_f标_DIST ; Read the image source of the pre-stored test image 2, and obtain the corner point p of the image source image according to the image processing technology i_源_DIST ; Further calculate the scale factor M of the imaging screen and the image source of the test picture 2 according to the scale factor formula, and then calculate the optical distortion according to the calculated scale factor M and the optical distortion formula, and calculate the TV distortion DIST according to the TV distortion formula T , sending the calculated optical distortion and TV distortion to the interactive interface 301 and the storage unit 306;
[0107] Interactive interface 301, displays imaging distortion to the user;
[0108] The storage unit 306 is used to store the preset image source of the test picture 2 and the calculated optical distortion and TV distortion.
[0109] (IV) Binocular image parameters
[0110] This parameter is measured for binocular display devices.
[0111] The left and right eyes of the binocular display device to be tested simultaneously display a test picture 2, wherein the test picture 2 is a regular image with detectable mutually perpendicular features, such as a circular image, a cross image, a chess and card grid image, a grid image, etc. This embodiment uses a circular image, such as Figure 7 shown.
[0112] A camera 202 is used to image a test picture 2 displayed by the binocular display device to be tested;
[0113] The software control module 201 is used to obtain the imaging screen of the test picture 2 in the left and right cameras, and obtain the imaging screen corner point p of the test picture 2 according to the image processing technology. i_f_PE In this embodiment, the corner points are the vertices of each square of the circular graph, corresponding to Figure 7 The numbers in are 1 to 16, and its corner point is p i_f_PE(i=1,2,3…15,16), calculate the corresponding point coordinates P of the corner points of the imaging screen of the test picture 2 on the calibration plane according to the feature point correspondence formula i_f标_PE Among them, p i_f_PE Equivalent to p i_f , P i_f算_PE Equivalent to P i_f算 , P i_f标_PE Equivalent to P i_f .
[0114] According to the test image center point coordinate formula (12) and the calculated test image 2 imaging screen corner point coordinates P on the calibration plane i_f标_PE Get the coordinates P of the center point of the left and right eye test picture 2 imaging screen CE_L and P CE_R , where W i is the weight of the preset corner point, and the distance between the center coordinates of the left and right eye test picture 2 in the Y direction is further obtained. According to the distance between the center coordinates of the left and right eye test picture 2 in the Y direction, the distance l between the calibration plate and the camera 标 The binocular image vertical deviation VD is obtained by using the binocular image vertical deviation formula (13) PE , according to the distance D between the left and right cameras obtained during calibration C_LR The distance between the center coordinates of the left and right eye test pictures 2 in the X direction and the distance between the calibration plate and the camera l 标 And the binocular combined image horizontal deviation formula (14) obtains the binocular combined image horizontal deviation HD PE ; According to the coordinates of the corresponding points of the corner points on the calibration plane obtained by the above-mentioned feature point correspondence formula, the four corner points of the outermost image of the round-shaped image are obtained, such as Figure 7 As shown, the first corner point, the second corner point, the third corner point and the fourth corner point are numbered 1 to 4, and the coordinates of the corresponding points on the calibration plane are P 1_f标_PE , P 2_f标_PE , P 3_f标_PE , P 4_f标_PE , calculate the distance between the coordinates of the corresponding points of corner point 1 and corner point 2 in the calibration plane in the X-axis direction, the distance between the coordinates of the corresponding points of corner point 2 and corner point 3 in the calibration plane in the Y-axis direction, the distance between the coordinates of the corresponding points of corner point 3 and corner point 4 in the calibration plane in the X-axis direction, and the distance between the coordinates of the corresponding points of corner point 1 and corner point 4 in the calibration plane in the Y-axis direction, and obtain the image tilt TILT of the left and right test picture 2 according to the binocular combined image tilt formula (15): L and TILT R , and further obtain the binocular image tilt deviation TILT according to the binocular image tilt deviation formula (16) PE , the obtained binocular combined image vertical deviation VD PE , binocular image horizontal deviation HDPE The binocular combined image tilt deviation is displayed to the user and saved.
[0115]
[0116]
[0117] TILT PE =tan -1 (TILT L -TILT R )----------------------------------------Formula (16)
[0118] Specifically,
[0119] The information acquisition unit 303 is used to acquire the imaging images of the test picture 2 in the left and right cameras and send them to the calculation unit 306;
[0120] The calculation unit 304 reads the imaging screen of the test picture 2 of the left and right cameras, and obtains the imaging screen corner point p of the test picture 2 according to the image processing technology. i_f_PE , according to the feature point correspondence formula, obtain the corresponding point coordinates P of the corner point of the imaging screen of test picture 2 on the calibration plane i_f标_PE Then, according to the coordinate formula of the center point of the test image, the distance l between the calibration plate and the camera 标 , binocular image vertical deviation formula, the distance D between the left and right cameras obtained during calibration C_LR , binocular combined image horizontal deviation formula, binocular combined image tilt amount formula and binocular combined image tilt deviation formula, obtain binocular combined image horizontal deviation, vertical deviation, tilt deviation, and send them to the interactive interface and storage unit. Specifically: according to the obtained test picture 2 imaging screen corner point p i_f_PE And the feature point correspondence formula calculates the corresponding point coordinates P of the corner points of the imaging screen of test picture 2 on the calibration plane i_f标_PE , and further obtain the center point coordinates P of the left and right eye test images 2 according to the test image center point coordinate formula CE_L and P CE_R , based on which the distance between the center coordinates of the left and right eye test picture 2 in the Y direction is obtained; the distance l between the calibration plate and the camera in the storage unit is read 标 According to the distance in the Y direction between the center coordinates of the left and right eye test images 2 and the binocular image vertical deviation formula (10), the binocular image vertical deviation VD is obtained. PE ; Read the interval D between the left and right cameras obtained during calibration in the storage unit C_LR , according to the distance in the X direction between the center coordinates of the left and right eye test pictures 2 and the distance l between the calibration plate and the camera 标And the binocular combined image horizontal deviation formula obtains the binocular combined image horizontal deviation HD PE ; According to the above feature point correspondence formula, the coordinates of the corresponding points of the corner points on the calibration plane are obtained. The coordinates of the corresponding points of the four corner points of the outermost image of the test image 2 on the calibration plane are taken as P 1_f标_PE , P 2_f标_PE , P 3_f标_PE , P 4_f标_PE , calculate the distance between the coordinates of the corresponding points of corner point 1 and corner point 2 in the calibration plane in the X-axis direction, the distance between the coordinates of the corresponding points of corner point 2 and corner point 3 in the calibration plane in the Y-axis direction, the distance between the coordinates of the corresponding points of corner point 3 and corner point 4 in the calibration plane in the X-axis direction, and the distance between the coordinates of the corresponding points of corner point 1 and corner point 4 in the calibration plane in the Y-axis direction, and obtain the tilt TILT of the imaging screen of the left and right eye test picture 2 according to the binocular combined image tilt formula (15): L and TILT R , and further obtain the binocular image tilt deviation TILT according to the binocular image tilt deviation formula (16) PE , the obtained binocular combined image vertical deviation VD PE , binocular image horizontal deviation HD PE The binocular combined image tilt deviation is sent to the interactive interface 301 and the storage unit 306 .
[0121] Interactive interface 301 is used to set the binocular combined image vertical deviation VD PE , binocular image horizontal deviation HD PE and displaying the measurement results of binocular combined image tilt deviation to the user;
[0122] Storage unit 306, used to store binocular combined image vertical deviation VD PE , binocular image horizontal deviation HD PE As well as the binocular image tilt deviation and the preset corner point weight W i .
[0123] (V) Image sharpness measurement
[0124] The display device displays a test picture 3 with alternating light and dark, such as a resolution board. In this embodiment, Figure 8 The ISO12233 standard resolution diagram is shown.
[0125] A camera 202, used for imaging the test picture 3 displayed by the display device;
[0126] The software control module 201 is used to read the imaging picture of the test picture 3, and analyze and count the pixel brightness alternation rate V of the imaging picture in the X-axis direction according to the pixel and evaluation statistical algorithm. X , and the pixel brightness alternation rate V in the Y-axis direction YThe evaluation statistical algorithm includes but is not limited to a gradient function, a variance function, and an image transformation domain, etc. Then, the imaging sharpness of the display device is calculated according to the imaging sharpness formula (17).
[0127]
[0128] Specifically, the information acquisition unit 303 is used to read the imaging picture of the test picture 3 displayed by the display device in the camera 202 and send it to the calculation unit 304;
[0129] The calculation unit 304 is used to analyze the pixel brightness alternation rate V of the imaging screen of the test image 3 in the X-axis direction and the Y-axis direction according to the pixel and evaluation statistical algorithm. X 、V Y , according to the imaging sharpness formula, the imaging sharpness of the display device is calculated and sent to the interactive interface 302 and the storage unit 306;
[0130] Accordingly, the interactive interface 301 is used to display the acquired imaging sharpness to the user;
[0131] The storage unit 306 is used to store the calculation results of the calculation unit.
[0132] The present invention also provides a method for measuring a display device, the specific process is as follows: Fig. 9 As shown, including:
[0133] Step 901, calibrate the camera;
[0134] like Fig.10 As shown, 9011: first, prepare for calibration and obtain calibration plate parameters, wherein the calibration plate parameters include the distance l between the calibration plate and the camera. 标 and the size y of the calibration unit of the calibration plate 标 If the binocular display device is tested, the calibration plate parameters further include the distance D between the left and right cameras. C_LR .
[0135] Specifically: When testing a binocular display device, connect the left and right cameras of the measuring device at the same time.
[0136] The user selects calibration preparation, places the calibration plate in front of the measuring device, and adjusts the position of the camera so that the calibration plate can be clearly and completely imaged in the camera. The distance between the calibration plate and the camera varies depending on the camera used. If the position of the camera, i.e., the display device, in the measuring device is not fixed, it is necessary to adjust the interval between the cameras and the axial position of the camera. If a monocular display device is tested, it is only necessary to adjust the position of the camera along the axial direction so that the calibration plate is clearly and completely imaged in the camera. The clear imaging refers to the calibration plate in the imaging picture of the camera, and the length and width of the calibration plate account for about 2 / 3 of the length and width of the picture. At the same time, the calibration plate in the picture is as horizontal and square as possible. The adjustment can be manual or automatic according to instructions.
[0137] The calibration plate is a regular picture that alternates periodically, and can be a chess grid, a grid picture, a dot matrix picture, etc. In the present embodiment, it is a chessboard picture.
[0138] Measure the distance l between the calibration plate and the camera 标 , the size of the calibration unit of the calibration plate y 标 , calibration plate corner coordinates P ij实 , the distance D between the left and right cameras C_LR .
[0139] 9012: Calibrate the camera to obtain the camera internal parameters; wherein the camera internal parameters include the distortion coefficient K and the coordinates P of the center point of the imaging screen 00 (x0,y0);
[0140] Specifically, the calibration plate imaging image in the camera is read, and the calibration plate imaging image corner point p is obtained according to the image processing technology. ij , according to formula (1), calculate the calibration plate imaging corner point P under the condition of no distortion ij According to formula (2), the coordinates P of the center point of the calibration plate imaging screen are obtained: 00 (x0,y0) and distortion coefficient K.
[0141] The calibration is triggered by a user through an interactive interface of the measuring device.
[0142] Step 902: perform calibration verification;
[0143] According to the obtained calibration plate imaging screen corner point p ij And the calculated corner coordinates P of the calibration plate imaging ij算 , take the difference between the two as the calibration error, and compare it with the preset value; execute step 803;
[0144] Specifically, the corner coordinates P of the calibration plate imaging calculated and generated are obtained according to formula (5): ij算 , and further obtain the corner point p of the calibration plate imaging screen according to the error formula ijAnd the calculated corner coordinates P of the calibration plate imaging ij算 The error between the two values is the calibration error, which is compared with the preset value. The calibration error is displayed to the user through the interactive interface.
[0145] Step 903, determine whether the verification is passed, if the calibration error is greater than or equal to the preset value, execute step 901, if the calibration error is less than the preset value, execute step 904;
[0146] If one side of the binocular display device passes the calibration, step 901 may be performed to recalibrate the side that fails the verification.
[0147] Step 904: Measure parameters of the display device.
[0148] There is no order in which to measure display device parameters. You can select measurements based on your needs. When measuring different parameters, the display device will display different test images.
[0149] (1) Field of view angle measurement: Fig.11 As shown,
[0150] 9041: Preparation before the test: The display device displays a pure color test picture 1. The interactive interface of the measuring device can be displayed on the computer. Select the computer personalization->desktop background->picture position as center.
[0151] 9042: Triggering field of view angle measurement: The field of view angle measurement is triggered by the user through the interactive interface. The measurement results and measurement pictures are also displayed to the user through the interactive interface. When the device under test is a binocular display device, the left and right eyes are measured simultaneously.
[0152] 9043: Get the field of view angle: Read the image of test picture 1 in the camera and display it to the user. When testing the binocular display device, for the binocular module, the images and measurement results of the left and right binocular modules will be displayed.
[0153] The image processing technology is used to obtain the corner points of the imaging screen of the test image 1, and then the feature point correspondence formula is used to calculate the corresponding point coordinates P of the corner points of the imaging screen of the test image 1 in the calibration plane. i_f标_FOV , calculate the diagonal length L of the test image imaging screen according to the coordinates of the corresponding points of the corner points in the calibration plane and the diagonal formula FOV , and then further calculate the field of view FOV according to the field of view formula (8).
[0154] (2) Imaging distortion measurement, such as Fig.12 As shown,
[0155] 9044: Preparation before testing: For binocular display devices, the imaging distortion of the left and right eyes can be tested separately. The display device displays the test picture 2, which is a regular image with at least two layers alternating from the center to the outside, such as a circular image, a donut image, a chessboard image, a grid image, etc. This embodiment uses a circular image, such as Figure 7 The interactive interface of the measuring device can be displayed on a computer, and the computer is personalized->desktop background->picture position is selected as center.
[0156] The measurement results and measurement pictures are displayed to the user through an interactive interface. When the device under test is a binocular display device, the left and right eyes of the display device are measured simultaneously.
[0157] 9045: Triggering imaging distortion measurement: The user triggers imaging distortion measurement through the interactive interface;
[0158] 9046: Obtain imaging distortion and display it to the user: Read the imaging screen of test image 2, and obtain the imaging screen corner point p of the test image according to the image processing technology. i_f_DIST , where i is the number of the corner point in the imaging picture, and the coordinates of the corresponding points of the corner points of the imaging picture of the test picture on the calibration plane are obtained according to the feature point correspondence formula i_f标_DIST ; Read the image source of the pre-stored test image, and then obtain the corner point p of the image source image according to the image processing technology i_源_DIST Next, the scale factor M of the test image imaging screen and the image source is calculated according to the scale factor formula, and the optical distortion is further calculated according to the calculated scale factor M and the optical distortion formula, and the TV distortion DIST is calculated according to the TV distortion formula. TV .
[0159] (3) Measurement of binocular image parameters, such as Fig.13 Shown
[0160] 9047: Preparation before the test, the display device displays the test picture 2, the test picture is a regular image with detectable mutually perpendicular features, such as a circular image, a cross image, a chess and card grid image, a grid image, etc. This embodiment uses a circular image.
[0161] 9048: Trigger binocular image parameter measurement: The user triggers binocular image measurement through the interactive interface.
[0162] 9049: Obtain binocular combination parameters: According to the imaging images of the test picture 2 of the left and right cameras, the calibration board parameters and the interval between the left and right cameras, as well as the feature point correspondence formula, the test image center point coordinate formula, the binocular combination horizontal deviation formula, the binocular combination vertical deviation formula, the binocular combination tilt amount formula and the binocular combination tilt deviation formula, the horizontal deviation, vertical deviation and tilt deviation of the binocular combination are obtained.
[0163] Specifically, the imaging screen of the test image 2 in the left and right cameras is obtained, and the imaging screen corner point p of the test image 2 is obtained according to the image processing technology. i_f_PE In this embodiment, the corner points are the vertices of each square of the circular figure. The corresponding point coordinates P of the corner points of the test image 2 on the calibration plane are calculated according to the feature point corresponding formula. i_f标_PE Then, according to the coordinate formula of the center point of the test image and the calculated corresponding point coordinates P of the corner point of the imaging screen of the test image 2 on the calibration plane i_f标_PE Get the coordinates P of the center point of the left and right eye test picture 2 imaging screen CE_L and P CE_R , further obtain the distance between the center coordinates of the left and right eye test pictures 2 in the Y direction, according to the distance between the center coordinates of the left and right eye test pictures 2 in the Y direction, the distance between the calibration plate and the camera l 标 The binocular image vertical deviation VD is obtained by using the binocular image vertical deviation formula PE , according to the distance D between the left and right cameras obtained during calibration C_LR The distance between the center coordinates of the left and right eye test pictures 2 in the X direction and the distance between the calibration plate and the camera l 标 And the binocular combined image horizontal deviation formula obtains the binocular combined image horizontal deviation HD PE ; According to the above-mentioned feature point correspondence formula, the coordinates of the corresponding points of the corner points on the calibration plane are obtained. The four corner points of the outermost image of the imaging screen of the test picture 2 are taken, namely the first corner point, the second corner point, the third corner point and the fourth corner point, which are numbered 1 to 4 respectively. The coordinates of the corresponding points on the calibration plane are P 1_f标_PE , P 2_f标_PE , P 3_f标_PE , P 4_f标_PE ; Calculate the distance between the coordinates of the corresponding points of corner point 1 and corner point 2 on the calibration plane in the X-axis direction, set it as corner point distance 1, the distance between the coordinates of the corresponding points of corner point 2 and corner point 3 on the calibration plane in the Y-axis direction, set it as corner point distance 2, the distance between the coordinates of the corresponding points of corner point 3 and corner point 4 on the calibration plane in the X-axis direction, set it as corner point distance 3, and the distance between the coordinates of the corresponding points of corner point 1 and corner point 4 on the calibration plane in the Y-axis direction, set it as corner point distance 4, and obtain the tilt TILT of the imaging screen of the left and right eye test picture 2 according to the binocular combined image tilt formula L and TILT R , and further obtain the binocular image tilt deviation TILT according to the binocular image tilt deviation formula PE , the obtained binocular combined image vertical deviation VD PE , binocular image horizontal deviation HD PE And the binocular combined image tilt deviation is displayed to the user.
[0164] (4) Image sharpness measurement
[0165] 9050: Preparation before the test: the display device displays a test picture 3, wherein the test picture 3 is a test picture with alternating light and dark, such as a resolution board. This embodiment adopts an ISO12233 standard resolution picture.
[0166] 9051: Triggering image sharpness measurement: The user triggers image sharpness measurement through the interactive interface.
[0167] 9052: Obtain imaging sharpness: Read the imaging image of test image 3, and analyze and calculate the pixel brightness and darkness alternation rate V of the imaging image in the X-axis direction according to the pixel and evaluation statistical algorithm. X , and the pixel brightness alternation rate V in the Y-axis direction Y , and then calculate the imaging sharpness of the display device according to the imaging sharpness formula and display it to the user. The evaluation statistical algorithm includes but is not limited to gradient function, variance function and image transformation domain.
[0168] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A measuring device for a display device, characterized in that: Including software control module, camera and display device adjustment module; The left and right eye cameras are fixed on the base at a predetermined height and interval; A display device adjustment module, used to place the display device to be tested at a predetermined height and angle; The software control module is connected to the camera, calibrates the camera, obtains calibration parameters, and performs calibration verification; the calibration parameters include calibration board parameters and camera internal parameters, the calibration board parameters include camera spacing, the calibration verification process includes completing the calibration of the relative positions of the left and right eye cameras, and the camera internal parameters include the lens distortion coefficient K and the lens distortion zero point coordinate P 00 (x0, y0); read the imaging picture in the camera, obtain the imaging parameters of the imaging picture of the display device to be tested, obtain the display device parameters to be measured according to the imaging parameters and calibration parameters, and display them to the user; The software control module includes: Interactive interface, motion control unit, information acquisition unit, calculation unit, comparison unit and storage unit; An interactive interface, used to send the user's adjustment instructions to the motion control unit; send the calibration information to the information acquisition unit according to the user's instructions, send the calibration board parameters input by the user to the calculation unit and the storage unit; and display the calculation results of the calculation unit and the comparison results of the comparison unit to the user; The motion control unit adjusts the camera position according to the user's adjustment instructions until the calibration plate is clearly imaged in the camera; The information acquisition unit is connected to the camera and sends the camera image to the interactive interface; receives the calibration message and sends the imaging image of the calibration plate to the calculation unit; The calculation unit obtains the internal parameters of the camera according to the imaging picture of the calibration plate and saves them to the storage unit; and The corner coordinates P of the calibration plate image are obtained by calculation according to the following formula: ij算 , read the calibration plate imaging screen corner point p in the storage unit ij , take the difference between the two according to the error formula as the calibration error and send it to the comparison unit; Among them, P ij实 is the coordinates of the corner points of the calibration plate, K m is the distortion coefficient; R ij , R ij算 is an intermediate variable used for distortion correction; The comparison unit compares the calibration error with the preset value. If it is less than the preset value, the verification is passed; if it is greater than or equal to the preset value, the verification fails, and the verification result is sent to the interactive interface; The storage unit is used to store calibration board parameters and camera internal parameters.
2. The measuring device according to claim 1, characterized in that Further including, a camera interval adjustment module, an axial adjustment module; The camera is fixed to the camera interval adjustment module; The camera interval adjustment module is fixed to the axial adjustment module through a mounting platform; The axial adjustment module is fixed to the base of the measuring device; The software control module adjusts the camera interval adjustment module, the axial adjustment module and the display device adjustment module to make the calibration plate have a clear image in the camera, calibrates the camera to obtain calibration parameters, and performs calibration verification; makes the eyepiece module of the display device parallel to the camera to have a clear image in the camera; The software control module is connected to the camera, reads the imaging picture in the camera, obtains the imaging parameters of the imaging picture, and obtains the display device parameters according to the imaging parameters and the calibration parameters; The display device adjustment module is used to place the display device.
3. The measuring device according to claim 2, characterized in that The camera interval adjustment module and the axial adjustment module are manually adjusted through their own knobs, or automatically adjusted through an electric device or a software control module.
4. The measuring device according to claim 3, characterized in that The display device adjustment module is fixed to the base of the measuring device, on which a placement platform is placed. The display device to be tested is placed through the bracket on the placement platform. Its height is fixed, or the height can be adjusted manually through its own knob, or automatically through the software control module.
5. The measuring device according to claim 4, characterized in that The display device displays test picture 1; An information acquisition unit, used to send the imaging picture of the test picture 1 to the calculation unit; The calculation unit is used to read the calibration plate parameters and the internal parameters of the camera stored in the storage unit, obtain the corner points of the imaging screen of the test picture 1 through the image processing technology, and then obtain the coordinates of the corresponding points in the calibration plane according to the feature point corresponding formula, obtain the field of view angle according to the diagonal calculation formula and the field of view angle calculation formula, and send it to the interactive interface; An interactive interface displays the field of view to the user.
6. The measuring device according to claim 4, characterized in that The display device displays the test picture 2; the camera images the test picture 2 of the display device; accordingly, The information acquisition unit reads the imaging picture of the test picture 2 and the image source picture pre-stored in the storage unit, and sends them to the calculation unit; The calculation unit is used to read the imaging screen of the test picture 2, and obtain the imaging screen corner point p of the test picture 2 by using the image processing technology. i_f_DIST , according to the feature point correspondence formula, obtain the coordinates P of the corresponding point of the imaging screen corner point of the test picture 2 on the calibration plane i_f标_DIST ; Read the image source of the pre-stored test image 2, and obtain the corner point p of the image source image according to the image processing technology i_源_DIST ; Further calculate the scale factor M of the imaging screen and the image source of the test picture 2 according to the scale factor formula, and calculate the optical distortion according to the calculated scale factor M and the optical distortion formula, and calculate the TV distortion DIST according to the TV distortion formula T , sending the calculated optical distortion and TV distortion to the interactive interface and storage unit; An interactive interface that displays the results of imaging distortion to the user; The storage unit is used to store the image source of the preset test picture 2 and the imaging distortion measurement result sent by the calculation unit.
7. The measuring device according to claim 4, characterized in that The display device displays test picture 2; A camera, used for imaging a test picture 2 displayed by the binocular display device to be tested; Correspondingly, the information acquisition unit is used to acquire the imaging images of the test image 2 in the left and right cameras and send them to the calculation unit; The computing unit reads the imaging screen of the test image 2 and obtains the imaging screen corner point p of the test image 2 according to the image processing technology. i_f_PE , according to the feature point correspondence formula, obtain the corresponding point coordinates P of the corner point of the imaging screen of test picture 2 on the calibration plane i_f标_PE Then, according to the coordinate formula of the center point of the test image, the distance l between the calibration plate and the camera 标 , binocular image vertical deviation formula, the distance D between the left and right cameras obtained during calibration C_LR , binocular combined image horizontal deviation formula, binocular combined image tilt amount formula and binocular combined image tilt deviation formula, obtain binocular combined image horizontal deviation, vertical deviation, tilt deviation, and send them to the interactive interface and storage unit; An interactive interface, used to display the measurement results of binocular combined image vertical deviation, binocular combined image horizontal deviation and binocular combined image tilt deviation to the user; The storage unit is used to store the binocular image vertical deviation, the binocular image horizontal deviation, the binocular image tilt deviation, and the weight of the preset corner point.
8. The measuring device according to claim 4, characterized in that The display device displays the test picture 3; A camera, used for imaging the test image 3 displayed by the display device; An information acquisition unit, used for reading the imaging picture of the test picture 3 in the camera and sending it to the calculation unit; The calculation unit is used to analyze the pixel brightness alternation rate V in the X-axis direction and the Y-axis direction of the imaging screen of the test image 3 according to the pixel and evaluation statistical algorithm. X 、V Y , according to the imaging sharpness formula, the imaging sharpness of the display device is calculated and sent to the interactive interface and the storage unit; Accordingly, an interactive interface is used to display the acquired imaging sharpness to a user; The storage unit is used to store the calculation results of the calculation unit.
9. A display device measurement method, characterized in that: The method includes: Calibrate the left and right cameras to obtain the internal parameters of the cameras, which include the lens distortion coefficient K and the lens distortion zero point coordinate P. 00 (x0,y0); Perform dual-target calibration verification to determine if the verification is successful; the calibration verification to determine if the verification is successful includes: obtaining the calibration plate imaging screen corner point p ij And the calculated corner coordinates P of the calibration plate imaging ij算 , take the difference between the two as the calibration error, compare the calibration error with the preset value, and if it is less than the preset value, the verification is passed; wherein, the corner point coordinates P of the calibration plate imaging calculated and generated are obtained according to the following formula ij算 , P ij实 is the coordinates of the corner points of the calibration plate, K m is the distortion coefficient; R ij , R ij算 is an intermediate variable used for distortion correction; The parameters of the display device are measured; the imaging picture in the camera is read to obtain the imaging parameters of the imaging picture of the display device to be measured, and the parameters of the display device to be measured are obtained according to the imaging parameters and the calibration parameters.
10. The measuring method according to claim 9, characterized in that: The method further comprises: Before calibration, pre-calibration preparation is performed, specifically: placing the calibration plate in front of the measuring device, adjusting the camera position so that the calibration plate can be clearly and completely imaged in the camera, and obtaining the calibration plate parameters, which include the camera interval.
11. The measuring method according to claim 10, characterized in that: The camera is calibrated to obtain the internal parameters of the camera, including: reading the calibration plate imaging picture in the camera, obtaining the calibration plate imaging picture corner point p according to the image processing technology ij , according to p ij ~f(P ij实 )=P ij Formula to calculate the calibration plate imaging corner point P without distortion ij , where f is the corner point p of the calibration plate imaging screen ij And actually calibrate the plate corner point P ij实 The mapping relationship obtained by pinhole imaging and relative tilt correction is used to obtain the coordinates P of the center point of the calibration plate imaging screen according to the following formula. 00 and distortion coefficient K R ij 、r ij are two intermediate variables, K m is the distortion coefficient.
12. The measuring method according to claim 11, characterized in that: The measuring of the parameters of the display device comprises: Conduct pre-test preparation; Trigger field of view angle measurement; Get the field of view angle; The method of obtaining the field of view angle includes: reading the imaging screen of the test picture 1, obtaining the coordinates of the corner points of the imaging screen of the test picture 1 by image processing technology, and then calculating the coordinates of the corresponding points P of the corner points of the imaging screen of the test picture 1 in the calibration plane by using the feature point corresponding formula. i_f标_FOV , calculate the diagonal length L of the image of test image 1 according to the coordinates of the corresponding points of the corner points in the calibration plane and the diagonal formula FOV , and then further calculate the field of view FOV according to the field of view formula.
13. The measuring method according to claim 11, characterized in that: The measuring of the parameters of the display device comprises: Pre-test preparation; Trigger imaging distortion measurement; Obtain imaging distortion; The obtaining of imaging distortion includes: reading the imaging screen of the test image 2, obtaining the imaging screen corner point p of the test image 2 according to the image processing technology; i_f_DIST , according to the feature point correspondence formula, obtain the coordinates P of the corresponding point of the imaging screen corner point of the test picture 2 on the calibration plane i_f标_DIST ; Read the image source of the pre-stored test image 2, and then obtain the corner point p of the image source image according to the image processing technology i_源_DIST Next, the scale factor M of the imaging screen and the image source of the test image 2 is calculated according to the scale factor formula, and the optical distortion is further calculated according to the calculated scale factor M and the optical distortion formula, and the TV distortion DIST is calculated according to the TV distortion formula. TV .
14. The measuring method according to claim 11, characterized in that: The measuring of the parameters of the display device comprises: Pre-test preparation; Trigger binocular image parameter measurement; Get binocular image parameters; The obtaining of binocular combination image parameters comprises: obtaining the horizontal deviation, vertical deviation and tilt deviation of the binocular combination image according to the imaging screen of the test picture 2 of the left and right cameras, the calibration plate parameters and the camera external parameters, as well as the feature point correspondence formula, the test image center point coordinate formula, the binocular combination image horizontal deviation formula, the binocular combination image vertical deviation formula, the binocular combination image tilt amount formula and the binocular combination image tilt deviation formula.
15. The measuring method according to claim 11, characterized in that: The measuring of the parameters of the display device comprises: Pre-test preparation; Trigger image sharpness measurement; Obtain imaging sharpness; The method of obtaining the imaging sharpness includes: reading the imaging picture of the test picture 3, analyzing and calculating the pixel brightness alternation rate V of the imaging picture in the X-axis direction according to the pixel and evaluation statistical algorithm. X , and the pixel brightness alternation rate V in the Y-axis direction Y , and then calculate the imaging sharpness of the display device according to the imaging sharpness formula.
