Method, apparatus, and computer-readable storage medium for determining display correction parameters

By obtaining test images of virtual reality products, using target position information and grayscale values to calculate the distortion and brightness correction parameters of the display screen, the inefficiency problem caused by multiple test processes is solved, and efficient display correction is achieved.

CN115798389BActive Publication Date: 2025-08-05GEER TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211691393.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2025-08-05
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

In the prior art, the display correction process of virtual reality products requires multiple testing processes and algorithms, resulting in inefficiency.

Method used

By obtaining the test image when the display screen to be corrected, using the position information of multiple targets and the grayscale value of the background area, the distortion curve and initial brightness correction parameters are determined, and the display correction parameters of each display area of the display screen are calculated.

Benefits of technology

No multiple test processes are required, which improves the efficiency of display correction and improves the display effect of the display screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115798389B_ABST
    Figure CN115798389B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and computer-readable storage medium for determining display correction parameters, wherein the method includes obtaining a test image corresponding to a test chart displayed by a display screen to be corrected; determining a distortion curve of the display screen to be corrected when displaying the image based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart; determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected based on the grayscale value corresponding to the background area in the test image; and determining display correction parameters corresponding to each display area of the display screen to be corrected based on the initial brightness correction parameters and the distortion curve. The present invention aims to improve the efficiency of display correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display correction, and in particular to a method and device for determining display correction parameters and a computer-readable storage medium. Background Art

[0002] In recent years, virtual reality technology has developed rapidly and gradually matured into industrialization. Lightweight and thin bodies and high-quality imaging are crucial for enhancing the immersive experience of VR products. However, limitations on lens materials and the number of lenses used can affect display quality and reduce immersion. Therefore, software-level calibration of VR products is particularly important.

[0003] Conventional technology requires multiple test stations to perform chart tests on devices, using multiple test processes to obtain different test images and determine brightness uniformity and distortion parameters for VR product displays. Correction algorithms are then developed for each test station to achieve display correction for VR products. However, the cumbersome process of using multiple test processes and algorithms results in low display correction efficiency.

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide a method, device and computer-readable storage medium for determining display correction parameters, aiming to achieve the effect of improving display correction efficiency.

[0006] To achieve the above object, the present invention provides a method for determining display correction parameters, the method comprising:

[0007] Obtaining a test image corresponding to the test chart displayed on the display screen to be calibrated;

[0008] Determining a distortion curve of the display screen to be corrected when displaying an image based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart;

[0009] Determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image;

[0010] Display correction parameters corresponding to each display area of the display screen to be corrected are determined according to the initial brightness correction parameters and the distortion curve.

[0011] Optionally, the display correction parameters include brightness correction parameters and position correction parameters, and the step of determining the display correction parameters corresponding to each display area of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve includes:

[0012] determining position correction parameters corresponding to each of the display areas according to the distortion curve;

[0013] Determining a target display area corresponding to the initial brightness correction parameter during correction according to the position correction parameter and the display area corresponding to the initial brightness correction parameter;

[0014] Brightness correction parameters corresponding to each of the display areas are determined according to the initial brightness correction and the target display area.

[0015] Optionally, the step of determining, based on the distortion curve and the display area corresponding to the initial brightness correction parameter, a target display area corresponding to the initial brightness correction parameter during correction includes:

[0016] determining, according to the distortion curve, position display deviations corresponding to the respective display areas when displaying an image;

[0017] determining, according to the position display deviation, a display area corresponding to the display content of the display area after distortion correction;

[0018] The display area corresponding to the display content after distortion correction is performed is used as the target display area.

[0019] Optionally, after the step of determining the display correction parameters corresponding to each display area of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve, the step further includes:

[0020] When receiving the image to be displayed of the display screen to be calibrated, reducing the image to be displayed in proportion;

[0021] determining display content corresponding to each of the display areas according to the image to be displayed and the position correction parameter;

[0022] Brightness correction is performed on the display content according to a brightness correction parameter corresponding to the display area where the display content is located.

[0023] Optionally, the step of determining a distortion curve of the display screen to be corrected when displaying an image based on the first position information of the multiple targets in the test image and the second position information of the multiple targets in the test chart includes:

[0024] Determining first position information of each of the targets in each color channel of the test image;

[0025] Determining a position display deviation of each target according to the first position information and the second position information of each target in each color channel;

[0026] The corresponding distortion curves in each color channel of the display screen to be corrected when displaying the image to be displayed are determined according to the position display deviation.

[0027] Optionally, the display correction parameters include brightness correction parameters and position correction parameters, and the step of determining the display correction parameters corresponding to each display area of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve includes:

[0028] Determining position correction parameters corresponding to each display area of the display screen to be corrected according to the distortion curve corresponding to each color channel;

[0029] Determining brightness correction parameter components corresponding to each of the display areas under each of the color channels according to the distortion curves corresponding to each of the color channels and the initial brightness correction parameters;

[0030] The brightness correction parameters corresponding to the respective display areas are determined according to the brightness correction parameter components.

[0031] Optionally, the step of determining the initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image includes:

[0032] Determining the grayscale value of the background area on the test image;

[0033] determining brightness unevenness information between the respective display areas according to the grayscale values;

[0034] The initial brightness correction parameter of each of the display areas is determined according to the brightness non-uniformity information.

[0035] Optionally, the step of determining brightness unevenness information between the display areas according to the grayscale values includes:

[0036] determining a brightness value of each of the display areas according to the grayscale value;

[0037] The brightness non-uniformity information is determined according to a comparison result between the brightness value of each of the display areas and the minimum brightness value.

[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a device for determining display correction parameters, which includes a memory, a processor, and a display correction parameter determination program stored on the memory and runnable on the processor. When the display correction parameter determination program is executed by the processor, the steps of the display correction parameter determination method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a program for determining display correction parameters is stored. When the program for determining display correction parameters is executed by a processor, the steps of the method for determining display correction parameters as described above are implemented.

[0040] Embodiments of the present invention propose a method, device, and computer-readable storage medium for determining display correction parameters. The method first obtains a test image corresponding to a test chart displayed by a display screen to be corrected. Based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart, the method determines the distortion curve of the display screen to be corrected when displaying the image. Based on the grayscale values corresponding to the background area in the test image, the method determines initial brightness correction parameters corresponding to each display area of the display screen to be corrected. Based on the initial brightness correction parameters and the distortion curve, the method determines display correction parameters corresponding to each display area of the display screen to be corrected. In this manner, based on the position information of multiple targets in a test image obtained from the same test chart and the grayscale values of the background area, the method determines the distortion curve based on the position information, determines the initial brightness correction parameters for different display areas based on the grayscale values, and finally determines the display correction parameters corresponding to each display area of the display screen based on the distortion curve adjustment and the initial brightness correction parameters. This eliminates the need for multiple testing processes, thereby improving the efficiency of display correction. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;

[0042] Figure 2 FIG. 1 is a flow chart of an embodiment of a method for determining display correction parameters according to the present invention;

[0043] Figure 3 FIG2 is a flow chart of another embodiment of a method for determining a display correction parameter according to the present invention;

[0044] Figure 4 Schematic diagram of a test chart according to an embodiment of the present invention;

[0045] Figure 5 Schematic diagram of imaging distortion involved in an embodiment of the present invention;

[0046] Figure 6 Schematic diagram of vertical axis dispersion of imaging according to an embodiment of the present invention.

[0047] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0049] In related technologies, multiple test stations are required to perform chart tests on the equipment separately, carry out multiple test processes, obtain different test images, and determine the brightness uniformity parameters and distortion parameters of the virtual reality product display. However, the process of using multiple test processes and multiple algorithms is cumbersome, resulting in too low display correction efficiency.

[0050] In order to improve the display correction efficiency, the embodiments of the present invention provide a method, apparatus, and computer-readable storage medium for determining display correction parameters. The main steps of the method include:

[0051] Obtaining a test image corresponding to the test chart displayed on the display screen to be calibrated;

[0052] Determining a distortion curve of the display screen to be corrected when displaying an image based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart;

[0053] Determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image;

[0054] Display correction parameters corresponding to each display area of the display screen to be corrected are determined according to the initial brightness correction parameters and the distortion curve.

[0055] This approach uses the positional information of multiple targets in a test image captured from the same test chart, along with the grayscale values of the background area, to determine the distortion curve based on the positional information. Initial brightness correction parameters for different display areas are then determined based on the grayscale values. Finally, the display correction parameters for each display area are determined based on the distortion curve adjustments and initial brightness correction parameters. This eliminates the need for multiple testing processes, improving display calibration efficiency.

[0056] The content to be protected by the claims of the present invention will be described in detail below with reference to the accompanying drawings.

[0057] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0058] The terminal in the embodiment of the present invention may be a device for determining display correction parameters.

[0059] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. Communication bus 1002 is used to enable communication between these components. Memory 1003 may be high-speed RAM or non-volatile memory, such as disk storage. Memory 1003 may also optionally be a storage device independent of processor 1001.

[0060] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation to the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0061] like Figure 1 As shown, the memory 1003 as a computer storage medium may include an operating system and a program for determining display correction parameters.

[0062] exist Figure 1 In the terminal shown, the processor 1001 may be configured to call a display correction parameter determination program stored in the memory 1003 and perform the following operations:

[0063] Obtaining a test image corresponding to the test chart displayed on the display screen to be calibrated;

[0064] Determining a distortion curve of the display screen to be corrected when displaying an image based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart;

[0065] Determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image;

[0066] Display correction parameters corresponding to each display area of the display screen to be corrected are determined according to the initial brightness correction parameters and the distortion curve.

[0067] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0068] determining position correction parameters corresponding to each of the display areas according to the distortion curve;

[0069] Determining a target display area corresponding to the initial brightness correction parameter during correction according to the position correction parameter and the display area corresponding to the initial brightness correction parameter;

[0070] Brightness correction parameters corresponding to each of the display areas are determined according to the initial brightness correction and the target display area.

[0071] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0072] determining, according to the distortion curve, position display deviations corresponding to the respective display areas when displaying an image;

[0073] determining, according to the position display deviation, a display area corresponding to the display content of the display area after distortion correction;

[0074] The display area corresponding to the display content after distortion correction is performed is used as the target display area.

[0075] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0076] When receiving the image to be displayed of the display screen to be calibrated, reducing the image to be displayed in proportion;

[0077] determining display content corresponding to each of the display areas according to the image to be displayed and the position correction parameter;

[0078] Brightness correction is performed on the display content according to a brightness correction parameter corresponding to the display area where the display content is located.

[0079] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0080] Determining first position information of each of the targets in each color channel of the test image;

[0081] Determining a position display deviation of each target according to the first position information and the second position information of each target in each color channel;

[0082] The corresponding distortion curves in each color channel of the display screen to be corrected when displaying the image to be displayed are determined according to the position display deviation.

[0083] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0084] Determining position correction parameters corresponding to each display area of the display screen to be corrected according to the distortion curve corresponding to each color channel;

[0085] Determining brightness correction parameter components corresponding to each of the display areas under each of the color channels according to the distortion curves corresponding to each of the color channels and the initial brightness correction parameters;

[0086] The brightness correction parameters corresponding to the respective display areas are determined according to the brightness correction parameter components.

[0087] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0088] Determining the grayscale value of the background area on the test image;

[0089] determining brightness unevenness information between the respective display areas according to the grayscale values;

[0090] The initial brightness correction parameter of each of the display areas is determined according to the brightness non-uniformity information.

[0091] Furthermore, the processor 1001 may call a display correction parameter determination program stored in the memory 1003 and further perform the following operations:

[0092] determining a brightness value of each of the display areas according to the grayscale value;

[0093] The brightness non-uniformity information is determined according to a comparison result between the brightness value of each of the display areas and the minimum brightness value.

[0094] For example, referring to Figure 2 In one embodiment of the method for determining display correction parameters of the present invention, the method for determining display correction parameters includes the following steps:

[0095] Step S10: obtaining a test image corresponding to the test chart displayed on the display screen to be calibrated;

[0096] In this embodiment, the display screen to be corrected is a screen that may have display defects, including uneven brightness, optical system distortion, and vertical axis dispersion. Especially for products such as virtual reality devices and augmented reality devices that have extremely high requirements for lightness and thinness, the light and thin structure limits the display quality of the display screen at the structural level. To this end, the display parameters of the display screen can be corrected at the software level. Based on the initial display parameters of the display screen to be corrected, the initial display parameters need to be corrected based on the display correction parameters. The obtained display correction parameters can correct the display defects of the display screen on a certain basis and provide users with a better experience.

[0097] The display screen is composed of multiple display units arranged in an array. Due to the fact that the structure of each light-emitting unit is not exactly the same and the thickness of the lens is uneven, the display screen will have uneven brightness, optical system distortion and vertical axis dispersion. Among them, uneven brightness means that after the display screen is formed, the brightness of the image on the phase plane has changed compared with the image displayed on the display screen, and different attenuation occurs in different display areas, resulting in different brightness values of each display area of the display screen when displaying a pure color picture card. The distortion of the optical system refers to the display of an image (such as Figure 4 ) When the vertical axis magnification of the actual optical system changes with the increase of the field of view, the observed image will be distorted when the vertical axis magnification changes greatly. The display content that should appear in this display area will shift to another display area and the size will also change (such as Figure 5 ). Vertical axis dispersion refers to the fact that after light of different wavelengths passes through an optical system, the imaging point positions are different, resulting in color separation (such as Figure 6 ).

[0098] It should be noted that a display area is a division of a display screen into different display locations. A display area includes several display units, such as several pixels, on the display screen. Different display areas have different locations on the display screen. For ease of calculation, the display areas are generally of the same size, and a single display unit can be considered a display area. Display areas can be divided into arrays, so that various display parameters or display correction parameters can be stored and transmitted in matrix form. When needed, they can be directly mapped to the display area of the display screen, thereby accelerating display speed or correcting data.

[0099] In this embodiment, before performing display defect correction on the display screen, it is necessary to obtain the defect parameters of the display screen to be corrected. The display screen to be corrected is controlled to display a test chart, and a test image of the display screen to be corrected when displaying the test chart is captured by a test camera. The test image includes the imaging of the display screen, which can be identified and captured by the test camera during shooting. Since the test chart includes a background area and multiple targets on the background area, the test image will also include a background area and multiple targets on the background area. However, the test image is affected by the optical system of the display screen, and there will be differences in brightness, color, position, etc. This difference can be professionally used for testing equipment to collect, thereby determining the defect parameters of the display screen to be corrected.

[0100] The brightness value of the background area on the test image is used to determine the relevant brightness information of the display screen during display, and the positions of multiple targets are used to determine the relevant distortion information of the display screen during display. Therefore, the background area on the test chart can be pure white, and the targets on the test chart are prominent dark spots, that is, the test chart is an image with a white background and multiple dark spots. For example Figure 4The grayscale value of the white background of the test chart is 255, and the grayscale value of the dark spot is 50. The use of non-zero grayscale to represent the dark spot is convenient for brightness calibration and picking up the position information of the dark spot after distortion. The grayscale value of the surrounding black line is 0, which is used to make it easier for the test camera to find the chart boundary. Each dark spot interval is set according to the screen parameters of the display to be calibrated, including size, etc. For example, the horizontal interval is one-tenth of the total number of pixels in the horizontal direction of the display, and the vertical interval is one-tenth of the total number of pixels in the horizontal and vertical directions of the display. The horizontal length of each dark spot is one percent of the total number of horizontal pixels of the display, and the vertical pixel count is one percent of the total number of vertical pixels. The test image corresponding to the test chart with a white background image with multiple dark spots can be used to test the brightness unevenness and distortion of the display, and can also simultaneously generate display correction parameters that can correct brightness unevenness, distortion and vertical axis dispersion.

[0101] Step S20: determining a distortion curve of the display screen to be corrected when displaying an image based on the first position information of the multiple targets in the test image and the second position information of the multiple targets in the test chart;

[0102] In this embodiment, the test image includes an image of a display screen. Based on the test image, first position information of multiple targets in the test image can be determined. The first position information may refer to the relative position information between the targets in the test image and the display image in the test image. To facilitate testing, the center of the test chart can be displayed exactly at the center of the display screen, and the boundaries of the test chart need to coincide with the boundaries of the display screen. Therefore, the first position information may also refer to the relative position information between the targets in the test image and the display screen in the test image.

[0103] The test chart is a preset image. It can be pre-designed and measured to obtain relevant information about the chart. This includes the second position information of each target on the test chart. This second position information refers to the relative position between the target and the test chart. By comparing this first position information, the positional deviation caused by the display screen for each target, also known as the position display deviation, is determined. A distortion curve is then fitted in the coordinate system. The distortion curve corresponds to an independent variable and a variable. The independent variable is the second position information of any point on the image, and the variable is the first position information of any point on the displayed image when the display screen displays the image.

[0104] Optionally, the position information may include distance information and orientation information relative to the center of the test chart or the display imaging center. In order to simplify the calculation, the display imaging and the test chart are divided into four parts at the center position by horizontal and vertical lines, and each part is an orientation. The position information is the distance between the target and the center of the test chart or the display imaging center and the orientation thereof. For targets in the same orientation, the position display deviation corresponding to each target can be determined based on the relative distance between multiple targets at that orientation in the test image and the display imaging center, and the relative distance between multiple targets corresponding to that orientation in the test chart and the center of the test chart. Therefore, based on the relative distance between each target in the test chart and the center of the test chart and the corresponding position display deviation, a distortion curve is fitted with the independent variable being the relative distance from the image center and the variable being the position display deviation, and the distortion area is saved corresponding to the orientation.

[0105] For better understanding, an example is provided below:

[0106] Test images such as Figure 5 As shown, it can be observed that the distortion defects of the display screen have caused the test chart to be distorted, resulting in a display image within the white image as shown in the figure. Based on the recognition of the test chart through the optical system corresponding to the display screen, the different positions corresponding to different dark spots on the display image can be identified by a variety of methods. It is known that the grayscale value of the white background of the test chart is 255, the grayscale value of the dark spot is 50, and the grayscale value of the surrounding black line is 0. If a fixed grayscale is selected as the boundary value (for example, 130% of the minimum grayscale), the center of the smallest circle that can contain all grayscales within the boundary value is used as the target position after distortion. If the display image is divided into four parts at the center position by horizontal and vertical lines, and the horizontal and vertical lengths of the image are different, excluding the target at the center of the display image, each area can obtain a maximum of 24 deviations corresponding to different distances. With the distance of these 24 points from the display imaging center as the x-axis and the corresponding deviation as the y-axis, a Gaussian curve is fitted, and its coordinate expression is:

[0107]

[0108] Among them, a, b, and c are determined according to the coordinates corresponding to the 24 known points.

[0109] Before inputting the image to be displayed to the display screen, the position of each pixel on the image relative to the center of the image to be displayed is known. Based on the distortion curve, the position display deviation of each pixel on the display imaging when displaying the image to be displayed can be obtained.

[0110] Step S30: determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image;

[0111] In this embodiment, the brightness value refers to the brightness value of the background area displayed on each display area, and the number of values is the same as the number of display areas displaying the background area. The ratio of the area occupied by the background area to the target area in the test image is greater than a preset value. The area of the background area needs to be much larger than the area occupied by the target. In this way, the brightness value of the target can be ignored, and the brightness value of the background area can be determined by treating the background area as a solid color chart. Based on the difference in brightness values between the display areas of the background areas of each display test chart, the initial brightness correction parameters for each display area can be obtained. If the display areas are arranged in an array on the display screen, for example, the display area is a pixel, the initial brightness correction parameters can be saved as an initial brightness correction matrix. Under ideal conditions where no distortion occurs, the brightness of the displayed content on the display area can be adjusted based on the initial brightness correction matrix.

[0112] Optionally, the grayscale value of the background area on the test image is determined; brightness unevenness information between the respective display areas is determined based on the grayscale value; and the initial brightness correction parameter of each display area is determined based on the brightness unevenness information.

[0113] Determine the grayscale value of each pixel displayed on the test image, determine the brightness value of each display area in the background area of the test image based on the grayscale value, and determine the brightness unevenness information between each display area based on the brightness value. Brightness unevenness information refers to the difference in brightness values between each display area. Based on the brightness unevenness information, compensate for areas with excessively high or low brightness values to obtain initial brightness correction parameters corresponding to each display area. The initial brightness correction parameters can be positive, negative, or zero, so that the original brightness value of each display area is the same as the actual brightness value after calculating the initial brightness correction parameters.

[0114] It should be noted that since the background area displays the same color content, distortion effects can be ignored when determining the grayscale values of each pixel in the test image. If distortion effects are considered, the brightness values corresponding to each display area on the display to be calibrated need to be adjusted according to the distortion curve. This way, the initial brightness correction parameters obtained without distortion correction will be more accurately aligned with the display area.

[0115] Furthermore, the brightness value of each of the display areas is determined according to the grayscale value; and the brightness non-uniformity information is determined according to a comparison result between the brightness value of each of the display areas and a minimum brightness value.

[0116] In this embodiment, in addition to determining the brightness value of the display area corresponding to the background area in the display screen, it is also necessary to determine the brightness value of the display area where the target is located on the display screen. The brightness value of the display area corresponding to the target can be determined based on the brightness of the display area within a certain range nearby. For example, for a pixel that displays a target portion, the mean or median corresponding to the brightness value of the pixels within a 3x3 range can be used to fill the gap, thereby determining the brightness value of the entire display screen. Since display areas with low brightness values in the display screen are difficult to correct to increase the brightness, the minimum brightness value is used as a reference value to lower the brightness values of other display areas. Brightness unevenness information is determined based on the comparison result of the brightness value of each display area with the minimum brightness value. The brightness value of each display area can be subtracted from the minimum brightness value to obtain brightness unevenness information between each display area and the minimum brightness value. The initial brightness correction parameter is the inverse of the brightness non-uniformity information: actual brightness = original brightness - brightness non-uniformity information. Alternatively, the brightness value of each display area is divided by the minimum brightness value (minimum brightness / brightness value of each display area) to obtain the brightness non-uniformity information. This brightness non-uniformity information can be directly used as the initial brightness correction parameter for the corresponding display area: actual brightness = original brightness * brightness non-uniformity information.

[0117] Furthermore, when the image to be displayed of the display screen to be corrected is received, the image to be displayed is scaled down; the display content corresponding to each of the display areas is determined based on the image to be displayed and the position correction parameters; and the display content is brightness corrected based on the brightness correction parameters corresponding to the display area where the display content is located.

[0118] After the display correction parameters are determined, the display correction parameters are associated with the display screen to be corrected and its corresponding display area and saved. When the image to be displayed of the display screen to be corrected is received, the image to be displayed is first subjected to distortion correction. Before performing distortion correction, since the display area of the screen itself cannot be stretched, the image to be displayed is first scaled down proportionally according to a preset ratio, and then stretched according to the position correction parameters. The initial display content of each display area is moved according to the position correction parameters, and the display content corresponding to each display area is determined to complete the distortion correction. Then, brightness correction is performed on the display content according to the brightness correction parameters corresponding to the display area where the brightness display content is located to complete the brightness uniformity correction.

[0119] Step S30: Determine display correction parameters corresponding to each display area of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve.

[0120] In this embodiment, the display correction parameters may include position correction parameters and brightness display parameters. The distortion curve determines the position display deviation corresponding to each of the display areas when displaying an image, thereby determining the position correction parameters, compensating for the deviation, and replacing the displayed content. During final imaging, the distortion of the display screen to be corrected can be used to restore it to the correct display position, thereby correcting the distortion of the display screen. Due to the distortion correction process, the display content moves, causing the display content of the display area to change, and the initial brightness correction parameters are no longer applicable to brightness correction of the new display content. It is necessary to determine the brightness correction parameters of the display area after distortion correction based on the distortion coefficient, the initial brightness correction parameters, and the corresponding display area. In order to simplify the design of the correction algorithm, the display correction parameters can be parameters that adjust the display content corresponding to the input image to be displayed in each display area.

[0121] Optionally, the position correction parameters corresponding to each of the display areas are determined based on the distortion curve; the target display area corresponding to the initial brightness correction parameters during correction is determined based on the display areas corresponding to the position correction parameters and the initial brightness correction parameters; and the brightness correction parameters corresponding to each of the display areas are determined based on the initial brightness correction and the target display area.

[0122] When the display screen displays the image to be displayed, the display content corresponding to each display area is determined based on the image to be displayed, and then the display content is processed. In addition to the brightness correction based on the initial brightness correction parameters, the processing of the display content also requires the movement of the display content based on the distortion curve. It is necessary to determine the position correction parameters corresponding to each display area based on the distortion curve. The position correction parameters are parameters for adjusting the display area that actually needs to be input for the display content of the input display area, which is equivalent to stretching the image to be displayed. After the display content is moved based on the distortion curve, the initial brightness correction parameters corresponding to the display area are no longer applicable to correcting the new display content, but the display area where the display content is located after the movement. Therefore, it is necessary to determine the target display area to which the initial correction parameters can actually be adjusted based on the position correction parameters, that is, the display area corresponding to the display content of the input display area after the distortion correction. Based on this, the brightness correction parameters corresponding to each display area can be determined accordingly.

[0123] Furthermore, the position display deviation corresponding to each of the display areas when displaying an image is determined based on the distortion curve; the display area corresponding to the display content of the display area after distortion correction is determined based on the position display deviation; and the display area corresponding to the display content after distortion correction is used as the target display area.

[0124] Based on the distortion curve, it is possible to determine the positional display deviation between the display content of each display area input and the actual imaging of each display area when the image to be displayed is displayed on the display screen to be corrected. Based on the positional display deviation and the distortion curve, the display area corresponding to the display content is replaced in the opposite direction. It should be noted that due to different positions and different distortion effects, the numerical values of the positional display deviation and the distortion curve may be different. It is necessary to determine the positional display deviation of other display areas in the opposite direction based on the distortion curve, and use the display position deviation of the display content to other display areas of the current display area as the display area corresponding to the distortion correction of the display content. The display area corresponding to the display content after the distortion correction is used as the target display area corresponding to the initial brightness correction parameter.

[0125] In the technical solution disclosed in this embodiment, a test image corresponding to a test chart displayed by a display screen to be calibrated is first obtained. Based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart, a distortion curve of the display screen to be calibrated when displaying the image is determined. Based on the grayscale values corresponding to the background area in the test image, initial brightness correction parameters corresponding to each display area of the display screen to be calibrated are determined. Based on the initial brightness correction parameters and the distortion curve, display correction parameters corresponding to each display area of the display screen to be calibrated are determined. In this way, based on the position information of multiple targets in the test image and the brightness values of the background area obtained from the same test chart, the distortion curve is determined based on the position information, and initial brightness correction parameters for different display areas are determined based on the brightness values, thereby determining the display correction parameters corresponding to each display area of the display screen. This eliminates the need for multiple testing procedures and allows the testing and correction of brightness non-uniformity and distortion of the display screen to be calibrated to be completed using a single test chart and a single testing process, thereby improving display calibration efficiency and enhancing the display quality.

[0126] Optionally, refer to Figure 3 Based on any of the above embodiments, in another embodiment of the method for determining display correction parameters of the present invention, the method for determining display correction parameters further includes:

[0127] Step S21, determining first position information of each target in each color channel of the test image;

[0128] Step S22: determining a position display deviation of each target according to the first position information of each target and the second position information of each target on the test chart;

[0129] Step S23: determining, according to the position display deviation, corresponding distortion curves in each color channel of the display screen to be calibrated when displaying the image to be displayed.

[0130] In this embodiment, display correction parameters can be determined for different color channels. Because images in computers and cameras are stored as a red, green, and blue matrix, there are components for the three color channels. The distortion information for these components includes information about vertical axis dispersion. Vertical axis dispersion is caused by the different positions of the imaging points after light of different wavelengths passes through the optical system. This means that the distortion effects on different color channels correspond to the same distortion curve. Therefore, the test image is separated into its individual color channels to obtain image layers for each color channel.

[0131] The first position information corresponding to multiple targets on the test chart in the image layer on each color channel is identified. Then, based on the first and second position information for each color channel, calculations are performed to determine the position display deviation of each target in each color channel. Using the aforementioned distortion curve determination process, the distortion curve corresponding to each color channel can be determined based on the position display deviation for each color channel. Position correction parameters for different display areas corresponding to each color channel can be determined based on the distortion curves. Distortion correction is then performed on the image layer to be displayed in each color channel based on the position correction parameters, thereby simultaneously correcting the distortion and vertical axis dispersion of the display screen.

[0132] Optionally, the initial brightness correction parameter components corresponding to each display area under each color channel are determined, and the brightness correction parameter components corresponding to each display area under each color channel are determined based on the distortion curve corresponding to each color channel and the initial brightness correction parameter components; and the brightness correction parameters corresponding to each display area are determined based on the brightness correction parameter components.

[0133] Determine the initial brightness correction parameter components corresponding to each display area under each color channel. The initial brightness correction parameter components can be determined based on the brightness unevenness information of each display area on the image layer under each color channel of the test image. Determine the position correction parameters corresponding to each display area of the display screen to be corrected under each color channel based on the distortion curve corresponding to each color channel. Determine the target display area corresponding to the initial brightness correction parameter components after distortion correction for each color channel based on the position correction parameters under each color channel, and then determine the brightness correction parameter components corresponding to each display area under each color channel. Determine the brightness correction parameters corresponding to each display area based on the brightness correction parameter components. The brightness correction parameters can be determined by the sum of the brightness correction parameter components, or brightness correction can be performed on the display content after distortion correction for each color channel based on the brightness correction parameter components under each color channel. Determine the brightness correction parameters for each color channel, thereby improving the accuracy of the display correction parameters.

[0134] In the technical solution disclosed in this embodiment, the first position information of each target in each color channel of the test image is determined; the position display deviation of each target is determined based on the first position information and the second position information of each target in each color channel; and the corresponding distortion curve in each color channel of the display screen to be corrected when displaying the image to be displayed is determined based on the position display deviation. The distortion effect on each color channel is corrected in layers to improve vertical axis dispersion, and then brightness correction is performed. Based on a test chart and a test process, corrections for brightness uniformity, distortion, and vertical axis dispersion are completed, improving display correction efficiency and enhancing the display effect of the display screen.

[0135] In addition, an embodiment of the present invention also proposes a device for determining display correction parameters, which includes a memory, a processor, and a display correction parameter determination program stored in the memory and runnable on the processor. When the display correction parameter determination program is executed by the processor, the steps of the display correction parameter determination method described in the above embodiments are implemented.

[0136] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a program for determining display correction parameters is stored. When the program for determining display correction parameters is executed by a processor, the steps of the method for determining display correction parameters described in the above embodiments are implemented.

[0137] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0138] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0139] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions for causing the display correction parameter determination device to execute the method described in each embodiment of the present invention.

[0140] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for determining display correction parameters, characterized in that: The method comprises: Acquire a test image corresponding to a test chart displayed on the display screen to be calibrated, wherein the test chart is a white background image including a plurality of targets, and the targets on the test chart are highlighted as dark spots; Determining a distortion curve of the display screen to be corrected when displaying an image based on first position information of multiple targets in the test image and second position information of multiple targets in the test chart; Determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image; Display correction parameters corresponding to each display area of the display screen to be corrected are determined according to the initial brightness correction parameters and the distortion curve.

2. The method for determining display correction parameters according to claim 1, wherein: The display correction parameters include brightness correction parameters and position correction parameters. The step of determining the display correction parameters corresponding to each display area of the display screen to be corrected based on the initial brightness correction parameters and the distortion curve includes: determining position correction parameters corresponding to each of the display areas according to the distortion curve; Determining a target display area corresponding to the initial brightness correction parameter during correction according to the position correction parameter and the display area corresponding to the initial brightness correction parameter; Brightness correction parameters corresponding to each of the display areas are determined according to the initial brightness correction and the target display area.

3. The method for determining display correction parameters according to claim 2, wherein: The step of determining a target display area corresponding to the initial brightness correction parameter during correction according to the distortion curve and the display area corresponding to the initial brightness correction parameter comprises: determining, according to the distortion curve, position display deviations corresponding to the respective display areas when displaying an image; determining, according to the position display deviation, a display area corresponding to the display content of the display area after distortion correction; The display area corresponding to the display content after distortion correction is performed is used as the target display area.

4. The method for determining display correction parameters according to claim 2, wherein: After the step of determining the display correction parameters corresponding to each display area of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve, the method further includes: When receiving the image to be displayed of the display screen to be calibrated, reducing the image to be displayed in proportion; determining display content corresponding to each of the display areas according to the image to be displayed and the position correction parameter; Brightness correction is performed on the display content according to a brightness correction parameter corresponding to the display area where the display content is located.

5. The method for determining display correction parameters according to claim 1, wherein: The step of determining the distortion curve of the display screen to be corrected when displaying an image based on the first position information of the multiple targets in the test image and the second position information of the multiple targets in the test chart includes: Determining first position information of each of the targets in each color channel of the test image; Determining a position display deviation of each target according to the first position information and the second position information of each target in each color channel; The corresponding distortion curves in each color channel of the display screen to be corrected when displaying the image to be displayed are determined according to the position display deviation.

6. The method for determining display correction parameters according to claim 5, wherein: The display correction parameters include brightness correction parameters and position correction parameters. The step of determining the display correction parameters corresponding to each display area of the display screen to be corrected based on the initial brightness correction parameters and the distortion curve includes: Determining position correction parameters corresponding to each display area of the display screen to be corrected according to the distortion curve corresponding to each color channel; Determining brightness correction parameter components corresponding to each of the display areas under each of the color channels according to the distortion curves corresponding to each of the color channels and the initial brightness correction parameters; The brightness correction parameters corresponding to the respective display areas are determined according to the brightness correction parameter components.

7. The method for determining display correction parameters according to claim 1, wherein: The step of determining the initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the grayscale value corresponding to the background area in the test image includes: Determining the grayscale value of the background area on the test image; determining brightness unevenness information between the respective display areas according to the grayscale values; The initial brightness correction parameter of each of the display areas is determined according to the brightness non-uniformity information.

8. The method for determining display correction parameters according to claim 7, wherein: The step of determining the brightness unevenness information between the display areas according to the grayscale value includes: determining a brightness value of each of the display areas according to the grayscale value; The brightness non-uniformity information is determined according to a comparison result between the brightness value of each of the display areas and the minimum brightness value.

9. A device for determining display correction parameters, characterized in that: The device for determining the display correction parameters includes: a memory, a processor, and a display correction parameter determination program stored in the memory and executable on the processor. When the display correction parameter determination program is executed by the processor, the steps of the display correction parameter determination method as described in any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a display correction parameter determination program, which, when executed by a processor, implements the steps of the display correction parameter determination method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Distorted image calibration method

    CN108921797A