CN115798389A - Method and device for determining display correction parameters and computer-readable storage medium - Google Patents

Method and device for determining display correction parameters and computer-readable storage medium Download PDF

Info

Publication number
CN115798389A
CN115798389A CN202211691393.6A CN202211691393A CN115798389A CN 115798389 A CN115798389 A CN 115798389A CN 202211691393 A CN202211691393 A CN 202211691393A CN 115798389 A CN115798389 A CN 115798389A
Authority
CN
China
Prior art keywords
display
determining
correction parameters
correction
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211691393.6A
Other languages
Chinese (zh)
Inventor
刘云扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211691393.6A priority Critical patent/CN115798389A/en
Publication of CN115798389A publication Critical patent/CN115798389A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a device for determining display correction parameters and a computer readable storage medium, wherein the method comprises the steps of obtaining a corresponding test image when a display screen to be corrected displays a test graphic card; determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of targets in the test graphic card; determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the gray 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 according to the initial brightness correction parameters and the distortion curve.

Description

Method and device for determining display correction parameters and computer readable storage medium
Technical Field
The present invention relates to the field of display correction, and in particular, to a method and an apparatus for determining display correction parameters, and a computer-readable storage medium.
Background
In recent years, the development of virtual reality technology is rapid and matured gradually to enter industrialization, and light and thin machine bodies and imaging quality are important conditions for improving the immersion feeling of virtual reality products. When the number of lens materials and lens sheets used is limited, the display quality of the product is affected, and the immersion feeling is reduced. Therefore, it is also important to perform software-level correction on the virtual reality product.
In the related art, a plurality of test stations are required to perform a graphic card test on the equipment respectively, perform a plurality of test procedures, acquire different test images, and determine a brightness uniformity parameter, a distortion parameter and the like of the virtual reality product during display respectively. And then, respectively constructing correction algorithms to realize display correction of the virtual reality product, but the display correction efficiency is too low due to the adoption of multiple test flows and multiple algorithms.
The above is only for the purpose of assisting understanding of the technical solution of the present invention, and does not represent an admission that the above is the prior art.
Disclosure of Invention
The present invention provides a method, an apparatus and a computer readable storage medium for determining display calibration parameters, which are used to achieve the effect of improving display calibration efficiency.
In order to achieve the above object, the present invention provides a method for determining display correction parameters, the method comprising:
acquiring a corresponding test image when a display screen to be corrected displays a test graphic card;
determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of 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 gray 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 according to the initial brightness correction parameters and the distortion curve.
Optionally, 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 parameter and the distortion curve includes:
determining position correction parameters corresponding to the display areas according to the distortion curves;
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;
and determining brightness correction parameters corresponding to the display areas according to the initial brightness correction and the target display areas.
Optionally, the step of determining, according to 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:
determining the corresponding position display deviation of each display area when displaying the image according to the distortion curve;
determining a display area corresponding to the display content of the display area after distortion correction according to the position display deviation;
and taking the display area corresponding to the display content after distortion correction as the target display area.
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 parameter and the distortion curve, the method further includes:
when an image to be displayed of the display screen to be corrected is received, the image to be displayed is reduced according to the proportion;
determining display contents corresponding to the display areas according to the image to be displayed and the position correction parameters;
and performing brightness correction on the display content according to the brightness correction parameter corresponding to the display area where the display content is located.
Optionally, the step of determining a distortion curve of the display screen to be corrected when the image is displayed according to the first position information of the plurality of targets in the test image and the second position information of the plurality of targets in the test chart comprises:
determining first position information of each target in each color channel of the test image;
determining the position display deviation of each target according to the first position information and the second position information of each target in each color channel;
and determining a corresponding distortion curve in each color channel when the display screen to be corrected displays the image to be displayed according to the position display deviation.
Optionally, 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 parameter 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 curves corresponding to each color channel;
determining brightness correction parameter components corresponding to the display areas under the color channels according to the distortion curves corresponding to the color channels and the initial brightness correction parameters;
and determining the brightness correction parameters corresponding to the display areas according to the brightness correction parameter components.
Optionally, the step of determining an initial brightness correction parameter corresponding to each display area of the display screen to be corrected according to a gray value corresponding to a background area in the test image includes:
determining a gray value of a background area on the test image;
determining brightness unevenness information among the display areas according to the gray values;
and determining the initial brightness correction parameters of the display areas according to the brightness unevenness information.
Optionally, the step of determining brightness unevenness information between the display regions according to the grayscale values includes:
determining the brightness value of each display area according to the gray value;
and determining the brightness unevenness information according to the comparison result of the brightness value of each display area and the minimum brightness value.
In addition, in order to achieve the above object, the present invention further provides a device for determining display correction parameters, which includes a memory, a processor, and a program for determining display correction parameters stored in the memory and executable on the processor, wherein the program for determining display correction parameters, when executed by the processor, implements the steps of the method for determining display correction parameters as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a determination program of display correction parameters, which when executed by a processor, realizes the steps of the determination method of display correction parameters as described above.
The embodiment of the invention provides a method, a device and a computer readable storage medium for determining display correction parameters, which are used for firstly acquiring a corresponding test image when a display screen to be corrected displays a test graphic card; determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of 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 gray 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 according to the initial brightness correction parameters and the distortion curve. Thus, based on the position information of a plurality of targets in the test image acquired by the same test chart and the gray value of the background area, the distortion curve of the test image is determined according to the position information, the initial brightness correction parameters of different display areas are determined according to the gray value, and the corresponding display correction parameters of each display area of the display screen are determined based on the distortion curve adjustment and the initial brightness correction parameters. And a plurality of test flows are not needed, so that the display correction efficiency is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for determining calibration parameters according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for determining calibration parameters according to another embodiment of the present invention;
FIG. 4 is a diagram of a test card according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of imaging distortion according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of imaging homeotropic dispersion according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the related technology, a plurality of test stations are needed to respectively perform a graphic card test on the equipment, perform a plurality of test processes, obtain different test images, and respectively determine brightness uniformity parameters, distortion parameters and the like when the virtual reality product is displayed, but the processes of adopting a plurality of test processes and a plurality of algorithms are complicated, so that the display correction efficiency is too low.
In order to improve the display correction effect, an embodiment of the present invention provides a method, an apparatus and a computer-readable storage medium for determining a display correction parameter, wherein the method includes the following main steps:
acquiring a corresponding test image when a display screen to be corrected displays a test graphic card;
determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of 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 gray 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 according to the initial brightness correction parameters and the distortion curve.
Thus, based on the position information of a plurality of targets in the test image acquired by the same test chart and the gray value of the background area, the distortion curve of the test image is determined according to the position information, the initial brightness correction parameters of different display areas are determined according to the gray value, and the corresponding display correction parameters of each display area of the display screen are determined based on the distortion curve adjustment and the initial brightness correction parameters. And a plurality of test flows are not needed, so that the display correction efficiency is improved.
The following detailed description of the claimed invention refers to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a determining device for displaying the correction parameters.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, memory 1003, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-vol at i e memory, such as a disk memory. The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system and a determination program of display correction parameters.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a determination program of display correction parameters stored in the memory 1003, and perform the following operations:
acquiring a corresponding test image when a display screen to be corrected displays a test graphic card;
determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of targets in the test graphic card;
determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the gray 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 according to the initial brightness correction parameters and the distortion curve.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining position correction parameters corresponding to the display areas according to the distortion curves;
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;
and determining brightness correction parameters corresponding to the display areas according to the initial brightness correction and the target display areas.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining the corresponding position display deviation of each display area when displaying the image according to the distortion curve;
determining a display area corresponding to the display content of the display area after distortion correction according to the position display deviation;
and taking the display area corresponding to the display content after distortion correction as the target display area.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
when an image to be displayed of the display screen to be corrected is received, the image to be displayed is reduced according to the proportion;
determining display contents corresponding to the display areas according to the image to be displayed and the position correction parameters;
and performing brightness correction on the display content according to the brightness correction parameter corresponding to the display area where the display content is located.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining first position information of each target in each color channel of the test image;
determining the position display deviation of each target according to the first position information and the second position information of each target in each color channel;
and determining a corresponding distortion curve in each color channel when the display screen to be corrected displays the image to be displayed according to the position display deviation.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining position correction parameters corresponding to each display area of the display screen to be corrected according to distortion curves corresponding to each color channel;
determining brightness correction parameter components corresponding to each display area under each color channel according to the distortion curve corresponding to each color channel and the initial brightness correction parameters;
and determining the brightness correction parameters corresponding to the display areas according to the brightness correction parameter components.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining a gray value of a background area on the test image;
determining brightness unevenness information among the display areas according to the gray values;
and determining the initial brightness correction parameters of the display areas according to the brightness unevenness information.
Further, the processor 1001 may call the determination program of the display correction parameter stored in the memory 1003, and also perform the following operations:
determining the brightness value of each display area according to the gray value;
and determining the brightness unevenness information according to the comparison result of the brightness value of each display area and the minimum brightness value.
Exemplarily, referring to fig. 2, in an embodiment of the method for determining display correction parameters of the present invention, the method for determining display correction parameters includes the steps of:
s10, acquiring a corresponding test image when the display screen to be corrected displays the test graphic card;
in the present embodiment, the display screen to be corrected is a screen in which there may be display defects including unevenness in brightness, distortion of an optical system, and vertical axis dispersion, and the like. Especially for products such as virtual reality equipment and augmented reality equipment which have high requirements on light and thin feeling, the light and thin structure limits the display quality of the display screen on the structural level. In this regard, the display parameters of the display screen may be corrected from a software level. The initial display parameters need to be corrected based on the display correction parameters on the basis of the initial display parameters of the display screen to be corrected, and the obtained display correction parameters can correct the display flaws of the display screen on a certain basis, so that higher experience is provided for a user.
The display screen is composed of a plurality of display monomers arranged in an array form, and due to the reasons that mechanisms of the light-emitting monomers are not completely the same, the thicknesses of lenses are not uniform and the like, the display screen has nonuniform brightness, and distortion and vertical axis dispersion of an optical system occur. The uneven brightness means that the brightness of the display screen on the phase plane changes compared with the image displayed on the display screen after the display screen is imaged, and different attenuation occurs in different display areas, so that the brightness value of each display area is different when each display area of the display screen displays a pure color image card. Distortion of the optical system means that the vertical axis magnification of the actual optical system changes with the increase of the field of view when one image is displayed (as in fig. 4), the observed image is distorted when the vertical axis magnification changes greatly, and the display content which should appear in the display area is shifted to another display area and the size is changed (as in fig. 5). The vertical axis dispersion means that the positions of imaging points are different after light with different wavelengths passes through an optical system, so that the colors are separated (as shown in FIG. 6).
It should be noted that the display area is obtained by dividing different display positions of the display screen, and the display area includes a plurality of display monomers, such as a plurality of pixel points, on the display screen. The different display areas differ in their position on the display screen. For convenience of calculation, the sizes of the display areas are generally the same, and one display unit may be used as one display area. The display areas can be divided in an array form, so that various display parameters or display correction parameters can be stored and transmitted in a matrix form, and can be directly mapped and corresponding to the display areas of the display screen when needed, so that the display speed or the correction data can be accelerated.
In this embodiment, before performing display defect correction on the display screen, a defect parameter of the display screen to be corrected needs to be acquired. And controlling the display screen to be corrected to display the test chart, and acquiring a test image of the display screen to be corrected when the test chart is displayed by the test camera. The test image includes an image of the display screen that can be recognized and captured by the test camera when it is taken. Since the test chart includes a background region and a plurality of targets on the background region, the test image will also include a background region and a plurality of targets on the background region. However, the test image is affected by the optical system of the display screen and has differences in brightness, color, position, and other directions. The difference can be acquired by a professional testing device so as to determine the defect parameters of the display screen to be corrected.
The brightness value of the background area on the test image is used for determining the related brightness information of the display screen when the display screen is displayed, and the positions of the targets are used for determining the related distortion information of the display screen when the display screen is displayed, so that the background area on the test chart can be pure white, and the targets on the test chart are prominent dark points, that is, the test chart is a white background image with a plurality of dark points. For example, in fig. 4, the gray value of the white background of the test chart is 255, the gray value of the dark point is 50, the non-0 gray is selected to represent the dark point, which is convenient for brightness calibration and picking up the position information of the distorted dark point, and the gray value of the black line of the surrounding boundary is 0, so as to facilitate the test camera to find the boundary of the test chart. Each dark spot interval is set according to the screen parameters of the display screen to be corrected, including the size and the like, for example, the horizontal interval is one tenth of the total number of pixels in the horizontal direction of the display screen, and the vertical interval is one tenth of the total number of pixels in the horizontal and vertical directions of the display screen. Each dark spot has a horizontal length of one percent of the total number of horizontal pixels and a vertical number of one percent of the total number of vertical pixels. The test image corresponding to the test chart of the white background image with a plurality of dark spots can test the brightness nonuniformity and the distortion of the display screen, and can simultaneously generate the display correction parameters corresponding to the brightness nonuniformity, the distortion and the vertical axis dispersion.
S20, determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of targets in the test graphic card;
in this embodiment, the test image includes an image of the display screen, and first position information of the plurality of targets in the test image may be determined from the test image, and the first position information may refer to relative position information between the targets in the test image and the displayed image in the test image. For the convenience of testing, the center of the test chart can be displayed just above the center of the display screen, and the boundary of the test chart needs to be coincident with the boundary of the display screen. The first positional information may also refer to relative positional information between the target in the test image and the display screen in the test image.
The test chart is a preset image, and can be designed and measured in advance to obtain the relevant information of the test chart. And second position information of each target in the test chart is included, and the second position information refers to the relative position information between the target and the test chart. And comparing the first position information to obtain the position deviation, namely the position display deviation, of each target caused by the display screen during display, and fitting in a coordinate system to obtain a distortion curve, wherein the distortion curve corresponds to an independent variable and a variable. The independent variable is second position information of an arbitrary point on the image, and the variable is first position information of the arbitrary point on the display image when the image is displayed on the display screen.
Alternatively, the location information may include distance information and orientation information with respect to the test card center or the display imaging center. To simplify the operation, the display imaging and test card is divided into four parts with horizontal and vertical lines in the center, each part having one orientation. The position information is the distance between the target and the center of the test chart or the center of the display imaging and the direction of the target. For targets in the same direction, according to the relative distances between the plurality of targets in the direction in the test image and the display imaging center and the relative distances between the plurality of targets in the direction in the test image and the center of the test image card, the position display deviation corresponding to each target can be determined. And fitting a distortion curve with independent variable as the relative distance from the image center and variable as the position display deviation according to the relative distance between each target in the test chart and the center of the test chart and the corresponding position display deviation, wherein the distortion area is stored corresponding to the direction.
For a better understanding, an example is provided below:
the test image is shown in fig. 5, and it can be observed that the distortion flaw of the display screen distorts the test chart, and a display image within the white image is obtained. After the optical system corresponding to the display screen is identified based on the test chart, different positions corresponding to different dark spots on the image are displayed, and various methods can be adopted for identification. Given that the gray value of the white background of the test chart is 255, the gray value of the dark point is 50, and the gray value of the black line of the surrounding boundary is 0, if a fixed gray is selected as the boundary value (for example, 130% of the minimum gray), the center of the smallest circle that can contain all the gray within the boundary value is used as the target position after distortion. If the display imaging is divided into four parts by horizontal and vertical lines at the central position, under the condition that the lengths of the horizontal and vertical directions of the image are different, the target of the display imaging center is removed, and 24 deviation amounts corresponding to different distances can be obtained at most in each area. The distance between the 24 points and the display imaging center is taken as an x axis, the corresponding deviation amount is taken as a y axis, and a Gaussian curve is fitted, wherein the coordinate expression of the Gaussian curve is as follows:
Figure BDA0004021236830000101
wherein a, b and c are determined according to the corresponding coordinates of the 24 known points.
Before the image to be displayed is input into the display screen, the position of each pixel point on the image relative to the center of the image to be displayed is known, and the position display deviation of each pixel point on the display imaging generated when the image to be displayed is displayed can be obtained based on the distortion curve.
S30, determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the gray value corresponding to the background area in the test image;
in this embodiment, the luminance value refers to a luminance value displayed in each display region in the background region, and the number of values is as many as the number of display regions displaying the background region. The ratio of the area occupied by the background area to the area occupied by the target in the test image is larger than a preset value, the area of the background area needs to be far larger than the area occupied by the target, so that the brightness value of the target can be ignored, the background area is used as a pure color chart to determine the brightness value, and the initial brightness correction parameters of each display area can be obtained according to the difference between the brightness values of the display areas of the background areas of each display test chart. If the display area is arranged in an array form on the display screen, for example, the display area is a pixel, each initial brightness correction parameter may be stored as an initial brightness correction matrix. In an ideal state where distortion does not occur, the display content on the display area can be subjected to luminance adjustment based on the initial luminance correction matrix.
Optionally, determining a gray value of a background region on the test image; determining brightness unevenness information among the display areas according to the gray values; and determining the initial brightness correction parameters of the display areas according to the brightness unevenness information.
Determining the gray value of each pixel point displayed and imaged on the test image, determining the brightness value of each display area displaying the background area on the test image according to the gray value, and determining the brightness unevenness information among the display areas according to the brightness value. The brightness unevenness information refers to difference information of brightness values among the display areas, and the areas where the excessively high or excessively low brightness values are located are compensated according to the brightness unevenness information to obtain initial brightness correction parameters corresponding to the display areas. The initial brightness correction parameter may be a positive number, a negative number or zero, so that the original brightness value of each display area is the same as the actual brightness value after the initial brightness correction parameter is operated.
It should be added that, since the background regions are all display contents of the same color, the distortion effect may not be considered when determining the gray value of each pixel point on the test image. If distortion influence is considered, the brightness values corresponding to the display areas on the display screen to be corrected need to be adjusted according to the distortion curve, so that the accuracy of the obtained initial brightness correction parameters corresponding to the display areas is higher under the condition of not performing distortion correction.
Further, determining the brightness value of each display area according to the gray value; and determining the brightness unevenness information according to the comparison result of the brightness value of each display area and the minimum brightness value.
In this embodiment, determining the brightness value of each display area includes determining the brightness value of the display area corresponding to the background area in the display screen, and determining 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 according to the brightness of the display area in a certain range nearby the target. For example, for a pixel displaying a partial target, the average or median corresponding to the luminance values of the pixels in the range of 3 × 3 may be used for padding, so as to determine the luminance value of the whole display screen. Since the display area with low brightness value in the display screen is difficult to be corrected to improve the brightness, the brightness value of other display areas is adjusted to be low by taking the minimum brightness value as a reference value. And determining brightness unevenness information according to the comparison result of the brightness value of each display area and the minimum brightness value. The brightness value of each display area may be subtracted from the minimum brightness value to obtain brightness non-uniformity information between each display area and the minimum brightness value. The initial brightness correction parameter is the inverse number of the brightness non-uniformity information, the actual brightness value = the original brightness value — the brightness non-uniformity information, or the brightness value of each display area may be subjected to a quotient operation (the minimum brightness value/the brightness value of each display area) with the minimum brightness value to obtain the brightness non-uniformity information, the brightness non-uniformity information may be directly used as the initial brightness correction parameter of the corresponding display area, and the actual brightness value = the original brightness value — the brightness non-uniformity information.
Further, when the image to be displayed of the display screen to be corrected is received, the image to be displayed is reduced according to the proportion; determining display contents corresponding to the display areas according to the image to be displayed and the position correction parameters; and performing brightness correction on the display content according to the brightness correction parameter corresponding to the display area where the display content is located.
And after the display correction parameters are determined, the display correction parameters are stored in a manner of being associated with the display screen to be corrected and the corresponding display area. When receiving the image to be displayed of the die correction display screen, distortion correction is firstly carried out on the image to be displayed. Before distortion correction is carried out, as the display area of the screen cannot be stretched, the image to be displayed is firstly reduced in equal proportion according to a preset proportion, and then stretched according to the position correction parameters. And moving the initial display content of each display area according to the position correction parameters, determining the display content corresponding to each display area, and finishing distortion correction. And then, brightness correction is carried out on the display content according to the brightness correction parameters corresponding to the display area where the brightness display content is located, and the correction of brightness uniformity is completed.
And S30, determining 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.
In this implementation, the display correction parameters may include position correction parameters, brightness display parameters, and the like, the distortion curve determines the corresponding position display deviation of each display area when displaying an image, so as to determine the position correction parameters, compensate the position correction parameters, and replace the display content of the position correction parameters. Due to the correction processing on the distortion, the display content is moved, so that the display content of the display area is changed, and the initial brightness correction parameter is no longer suitable for brightness correction of new display content, and the brightness correction parameter of the display area after distortion correction needs to be determined according to the distortion coefficient, the initial brightness correction parameter and the display area corresponding to the initial brightness correction parameter. For reasons such as simplifying the design of the correction algorithm, the display correction parameters may be parameters for adjusting display contents corresponding to each display region to be displayed image input.
Optionally, determining a position correction parameter corresponding to each display area 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; and determining brightness correction parameters corresponding to the display areas according to the initial brightness correction and the target display areas.
When the display screen displays the image to be displayed, the display content corresponding to each display area is determined according to the image to be displayed, and then the display content is processed. The processing of the display content requires, in addition to the luminance correction based on the initial luminance correction parameter, the movement of the display content based on the distortion curve. The position correction parameters corresponding to each display area need to be determined according to the distortion curve, and the position correction parameters are parameters for adjusting the display area which needs to be actually input and is input into the display content of the display area, which is equivalent to performing stretching processing on the image to be displayed. After the display content is moved based on the distortion curve, the initial brightness correction parameter corresponding to the display area is not suitable for correcting the new display content, but the display area where the display content is located after the movement, so that a target display area which can be actually adjusted by the initial correction parameter needs to be determined according to the position correction parameter, that is, the display area corresponding to the display content of the input display area after the distortion correction. Based on this, the luminance correction parameters corresponding to the respective display regions can be determined correspondingly.
Further, determining the corresponding position display deviation of each display area when displaying the image according to the distortion curve; determining a display area corresponding to the display content of the display area after distortion correction according to the position display deviation; and taking the display area corresponding to the display content after distortion correction as the target display area.
And when the image to be displayed is displayed by the display screen to be corrected, inputting display contents corresponding to each display area and position display deviation generated by actual imaging corresponding to each display area according to the distortion curve, and replacing the display area corresponding to the display contents in the opposite direction based on the position display deviation and the distortion curve. It should be noted that, because the positions are different, the distortion effects are different, and the values of the position display deviation and the distortion curve may be different, it is necessary to determine the position display deviation of the other display areas in the opposite direction according to the distortion curve, take the display position deviation of the display content to the other display areas of the current display area as the display area corresponding to the display content after the distortion correction, and take the display area corresponding to the display content after the distortion correction as the target display area corresponding to the initial brightness correction parameter.
In the technical scheme disclosed by the embodiment, a corresponding test image is obtained when the display screen to be corrected displays the test graphic card; determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of targets in the test graphic card; determining initial brightness correction parameters corresponding to each display area of the display screen to be corrected according to the gray 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 according to the initial brightness correction parameters and the distortion curve. Therefore, based on the position information of the targets and the brightness value of the background area in the test image acquired by the same test graphic card, the distortion curve of the test image is determined according to the position information, and the initial brightness correction parameters of different display areas are determined according to the brightness value, so that the display correction parameters corresponding to each display area of the display screen are determined. The method and the device have the advantages that a plurality of test flows are not needed, the test and the correction of the brightness nonuniformity and the distortion of the display screen to be corrected are completed based on one test chart and one test flow, the display correction efficiency is improved, and the display effect of the display screen is improved.
Optionally, referring to fig. 3, based on any one of the above embodiments, in another embodiment of the method for determining a display correction parameter according to the present invention, the method for determining a display correction parameter further includes:
s21, determining first position information of each target in each color channel of the test image;
s22, determining the 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;
and S23, determining a corresponding distortion curve in each color channel when the display screen to be corrected displays the image to be displayed according to the position display deviation.
In this embodiment, the display correction parameters may be determined for different color channels, and since the images are stored in a three-color matrix of red, green, and blue in the computer and the camera, there are components on the three color channels of red, green, and blue. The distortion information for the components on the three color channels contains information on the homeotropic dispersion. Because the vertical axis dispersion is caused by different imaging point positions of light with different wavelengths after passing through the optical system, namely the distortion effect on different color channels is the same corresponding to the distortion curve. Therefore, each color channel of the test image is separated, and the image layering of the test image on each color channel is obtained.
First position information of the image layers on the color channels corresponding to the targets of the test chart is identified, calculation is carried out on the basis of the first position information and the second position information of the same color channel, and position display deviation of each target under each color channel is determined. By adopting the distortion curve determination process, the distortion curve corresponding to each color channel can be determined based on the position display deviation under each color channel. The position correction parameters of different display areas corresponding to each color channel can be determined based on the distortion curve, and the distortion correction is respectively carried out on the image layering of the image to be displayed on each color channel based on the position correction parameters, so that the distortion and the vertical axis dispersion of the display screen are simultaneously corrected.
Optionally, determining an initial brightness correction parameter component corresponding to each display region under each color channel, and determining a brightness correction parameter component corresponding to each display region under each color channel according to a distortion curve corresponding to each color channel and the initial brightness correction parameter component; and determining the brightness correction parameters corresponding to the display areas according to the brightness correction parameter components.
And determining initial brightness correction parameter components corresponding to the display areas under the color channels, wherein the initial brightness correction parameter components can be determined according to brightness non-uniformity information of the display areas on the image hierarchy of the test image under the color channels. And determining position correction parameters corresponding to each display area of the display screen to be corrected under each color channel according to the distortion curve corresponding to each color channel. Determining a target display area corresponding to the initial brightness correction parameter component after the color separation channel is subjected to distortion correction according to the position correction parameter under each color channel, further determining the brightness correction parameter component corresponding to each display area under each color channel, determining the brightness correction parameter corresponding to each display area according to the brightness correction parameter component, determining the brightness correction parameter according to the sum of the brightness correction parameter components, or performing brightness correction on the color separation channel of the display content subjected to color separation channel distortion correction based on the brightness correction parameter component under each color channel. And determining brightness correction parameters by color channels, thereby improving the accuracy of display correction parameters.
In the technical solution disclosed in this embodiment, first position information of each target in each color channel of the test image is determined; determining the position display deviation of each target according to the first position information and the second position information of each target in each color channel; and determining a corresponding distortion curve in each color channel when the display screen to be corrected displays the image to be displayed according to the position display deviation. And carrying out layered correction on the distortion effect of each color channel to improve the dispersion of a vertical axis, and then carrying out brightness correction. Based on a test chart and a test flow, the correction of brightness uniformity, distortion and vertical axis dispersion is completed, the display correction efficiency is improved, and the display effect of the display screen is improved.
In addition, an embodiment of the present invention further provides a device for determining display correction parameters, where the device for determining display correction parameters includes a memory, a processor, and a program for determining display correction parameters, which is stored in the memory and is executable on the processor, and when the program for determining display correction parameters is executed by the processor, the method for determining display correction parameters according to the above embodiments is implemented.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, in which a determination program of a display correction parameter is stored, and when the determination program of the display correction parameter is executed by a processor, the steps of the determination method of the display correction parameter described in the above embodiments are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may 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 determining device for displaying the correction parameters to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for determining display correction parameters, the method comprising:
acquiring a corresponding test image when a display screen to be corrected displays a test graphic card;
determining a distortion curve of the display screen to be corrected when the image is displayed according to first position information of a plurality of targets in the test image and second position information of the plurality of 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 gray 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 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 a brightness correction parameter and a position correction parameter, 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 parameter and the distortion curve comprises:
determining position correction parameters corresponding to the display areas according to the distortion curves;
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;
and determining brightness correction parameters corresponding to the display areas according to the initial brightness correction and the target display areas.
3. The method for determining display correction parameters according to claim 2, wherein the step of determining the target display region corresponding to the initial brightness correction parameter during correction according to the distortion curve and the display region corresponding to the initial brightness correction parameter comprises:
determining the corresponding position display deviation of each display area when displaying the image according to the distortion curve;
determining a display area corresponding to the display content of the display area after distortion correction according to the position display deviation;
and taking the display area corresponding to the display content after distortion correction 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 the respective display areas of the display screen to be corrected according to the initial brightness correction parameters and the distortion curve, the method further comprises:
when an image to be displayed of the display screen to be corrected is received, the image to be displayed is reduced according to the proportion;
determining display contents corresponding to the display areas according to the image to be displayed and the position correction parameters;
and performing brightness correction on the display content according to the brightness correction parameter corresponding to the display area where the display content is located.
5. The method of claim 1, wherein the step of determining a distortion curve of the display screen to be corrected in displaying the image according to the first position information of the targets in the test image and the second position information of the targets in the test chart comprises:
determining first position information of each target in each color channel of the test image;
determining the position display deviation of each target according to the first position information and the second position information of each target in each color channel;
and determining a corresponding distortion curve in each color channel when the display screen to be corrected displays the image to be displayed according to the position display deviation.
6. The method for determining display correction parameters according to claim 5, wherein the display correction parameters include a brightness correction parameter and a position correction parameter, and the step of determining the display correction parameters corresponding to the display areas of the display screen to be corrected according to the initial brightness correction parameter and the distortion curve comprises:
determining position correction parameters corresponding to each display area of the display screen to be corrected according to the distortion curves corresponding to each color channel;
determining brightness correction parameter components corresponding to the display areas under the color channels according to the distortion curves corresponding to the color channels and the initial brightness correction parameters;
and determining the brightness correction parameters corresponding to the display areas 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 gray-level value corresponding to the background area in the test image comprises:
determining a gray value of a background area on the test image;
determining brightness unevenness information among the display areas according to the gray values;
and determining the initial brightness correction parameters of the display areas according to the brightness unevenness information.
8. The method of determining display correction parameters according to claim 7, wherein the step of determining luminance unevenness information between the respective display regions based on the gradation values comprises:
determining the brightness value of each display area according to the gray value;
and determining the brightness unevenness information according to the comparison result of the brightness value of each display area and the minimum brightness value.
9. A display correction parameter determination device, characterized by comprising: memory, processor and a program for determining display correction parameters stored on said memory and executable on said processor, said program for determining display correction parameters implementing the steps of the method for determining display correction parameters according to any one of claims 1 to 8 when executed by said processor.
10. A computer-readable storage medium, characterized in that a determination program of display correction parameters is stored thereon, which when executed by a processor implements the steps of the determination method of display correction parameters according to any one of claims 1 to 8.
CN202211691393.6A 2022-12-27 2022-12-27 Method and device for determining display correction parameters and computer-readable storage medium Pending CN115798389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211691393.6A CN115798389A (en) 2022-12-27 2022-12-27 Method and device for determining display correction parameters and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211691393.6A CN115798389A (en) 2022-12-27 2022-12-27 Method and device for determining display correction parameters and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115798389A true CN115798389A (en) 2023-03-14

Family

ID=85427954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211691393.6A Pending CN115798389A (en) 2022-12-27 2022-12-27 Method and device for determining display correction parameters and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115798389A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116645427A (en) * 2023-07-26 2023-08-25 立臻科技(昆山)有限公司 Camera and optical center correction method and device thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116645427A (en) * 2023-07-26 2023-08-25 立臻科技(昆山)有限公司 Camera and optical center correction method and device thereof
CN116645427B (en) * 2023-07-26 2023-10-20 立臻科技(昆山)有限公司 Camera and optical center correction method and device thereof

Similar Documents

Publication Publication Date Title
CN110085166B (en) Bright spot compensation method and device for curved screen
CN108492776B (en) Intelligent external optical compensation method for AMOLED screen brightness unevenness
CN101102515B (en) Apparatus and method for correcting edge in an image
CN111247529A (en) Color detection algorithm
CN111489694B (en) Method and system for carrying out external optical compensation on camera screen under AMOLED screen
US20060132867A1 (en) Tone reproduction characteristics measuring device for color monitor
KR20160026681A (en) Luminance level inspection equipment and luminance level inspection method
CN113724652B (en) Compensation method and device for Mura of OLED display panel and readable medium
CN107103865B (en) Method and device for detecting display area in display screen
CN114495803A (en) Mura repairing method of display panel
CN115798389A (en) Method and device for determining display correction parameters and computer-readable storage medium
CN116912233B (en) Defect detection method, device, equipment and storage medium based on liquid crystal display screen
CN111609998A (en) Detection method and detection device for illumination uniformity and readable storage medium
CN108022219B (en) Two-dimensional image gray level correction method
CN114281274A (en) Method for adjusting brightness uniformity, printing method, printing system and equipment
CN106971375B (en) Image amplification processing method and device
JP2023519275A (en) Display effect enhancement method, device, facility
CN116884359A (en) Adaptive dimming method, device, equipment and storage medium based on picture content
CN109119046B (en) Adjusting system and adjusting method for gray scale brightness and memory
CN114359055B (en) Image splicing method and related device for multi-camera shooting screen body
CN114757853B (en) Method and system for acquiring flat field correction function and flat field correction method and system
CN106817542B (en) imaging method and imaging device of microlens array
US20070035784A1 (en) Image processing method and apparatus
CN115346464A (en) Display compensation data setting method, display compensation method and driving chip
JP5280940B2 (en) Specific color detection circuit

Legal Events

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