Display image compensation method, device, equipment and storage medium

By detecting the brightness value and grayscale settings of the sample image of the AR optical waveguide, the target calibration image is generated to compensate the initial defect display image, which solves the problem of uneven brightness of the AR optical waveguide, improves compensation efficiency and reduces power consumption.

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

Patent Information

Application Number
CN202211175933.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2025-08-22
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

The prior art cannot fully compensate for the defect of uneven brightness of AR optical waveguides, and the image compensation efficiency is low and the power consumption is high.

Method used

By detecting the brightness value of the sample picture, setting the grayscale, generating display grayscale pixel values, solving coefficient terms and constant terms using linear equations, and generating target calibration images to compensate for the initial defect display image.

Benefits of technology

Effectively compensate for the defects of uneven brightness of light waves, improve image compensation efficiency, and reduce power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115482170B_ABST
    Figure CN115482170B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of near-eye display technology, and discloses a display image compensation method, device, equipment and storage medium. The method includes: when a sample image playing a target grayscale value is detected, obtaining the brightness value of the sample image; performing grayscale setting on the sample image, and obtaining a display grayscale pixel value based on the set grayscale sample image; generating a target calibration image based on the brightness value and the display grayscale pixel value; compensating an initial defective display image through the target calibration image; through the above-mentioned method, when a sample image playing a target grayscale value is detected, a target calibration image is generated based on the brightness value of the sample image and the display grayscale pixel value, and then compensating the initial defective display image through the target calibration image, thereby compensating for the defect of uneven brightness of light waves, and effectively improving image compensation efficiency and reducing compensation power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of near-eye display technology, and in particular to a display image compensation method, device, equipment and storage medium. Background Art

[0002] With the continuous development of AR optical waveguide technology, and its advantages such as high brightness and small size, AR optical waveguide plays a vital role in the application of AR products. However, AR optical waveguides often have the defect of uneven brightness during display. A large amount of experimental data shows that the reason for the uneven display brightness of AR optical waveguides is due to the manufacturing process and the position of the optical machine. If adjustments are made directly from the aspects of the manufacturing process and the position of the optical machine, it will inevitably restrict the development of AR optical waveguides and the adjustment process will be more cumbersome. In addition, a related technology for image compensation has been proposed. However, this related technology adjusts the value of each pixel corresponding to the display brightness separately. However, separate adjustments will result in inconsistencies, making it impossible to fully compensate for the defect of uneven light wave brightness. In addition, separate adjustments have low efficiency and high power consumption.

[0003] 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

[0004] The main purpose of the present invention is to provide a display image compensation method, device, equipment and storage medium, aiming to solve the technical problems that the existing technology cannot fully compensate for the uneven brightness of light waves, and has low efficiency and high power consumption in compensating images.

[0005] To achieve the above object, the present invention provides a display image compensation method, which includes the following steps:

[0006] When a sample image of a target grayscale value is detected, a brightness value of the sample image is obtained;

[0007] Setting the grayscale of the sample image, and obtaining a display grayscale pixel value according to the set grayscale sample image;

[0008] generating a target calibration image according to the brightness value and the displayed grayscale pixel value;

[0009] The initial defect display image is compensated by the target calibration image.

[0010] Optionally, the target grayscale value includes at least a first grayscale value and a second grayscale value;

[0011] The step of obtaining the brightness value of the sample image when the sample image having the target grayscale value is detected includes:

[0012] When it is detected that the target playback device plays the sample image of the first grayscale value and the sample image of the second grayscale value respectively, the sample images are captured by the target camera device to obtain sample images;

[0013] The pixel points of the sample image are calculated using a preset brightness algorithm to obtain the brightness value of the sample image.

[0014] Optionally, setting the grayscale of the sample image and obtaining a display grayscale pixel value according to the set grayscale sample image includes:

[0015] Performing grayscale setting on the sample image, and obtaining corresponding row images and column images according to the set grayscale sample image;

[0016] Calculating the row image and the column image respectively using a preset pixel strategy to obtain a row grayscale image value and a column grayscale image value;

[0017] A display grayscale pixel value is generated according to the row grayscale image value and the column grayscale image value.

[0018] Optionally, generating a target calibration image according to the brightness value and the displayed grayscale pixel value includes:

[0019] Get the linear equation between brightness and displayed grayscale image;

[0020] Solving the current coefficient term and the current constant term according to the linear equation, the brightness value, and the displayed grayscale pixel value;

[0021] generating coefficient image parameters according to the current coefficient term;

[0022] generating a constant image parameter according to the current constant term;

[0023] A target calibration image is generated according to the coefficient image parameters and the constant image parameters.

[0024] Optionally, solving a current coefficient term and a current constant term according to the linear equation, the brightness value, and the displayed grayscale pixel value includes:

[0025] Obtaining a first red display grayscale value, a first blue display grayscale value, and a first green display grayscale value according to the display grayscale pixel value and the sample image of the first grayscale value;

[0026] Obtaining a second red display grayscale value, a second blue display grayscale value, and a second green display grayscale value according to the sample image of the display grayscale pixel value and the second grayscale value;

[0027] Calculating the first red display grayscale value and the second red display grayscale value according to the linear equation to obtain a red coefficient term and a red constant term;

[0028] Calculating the first blue display grayscale value and the second red display pixel value according to the linear equation to obtain a blue coefficient term and a blue constant term;

[0029] Calculating the first green display grayscale value and the second green display grayscale value according to the linear equation to obtain a green coefficient term and a green constant term;

[0030] The red coefficient term, the blue coefficient term, and the green coefficient term are used as current coefficient terms, and the red constant term, the blue constant term, and the green constant term are used as current constant terms.

[0031] Optionally, compensating the initial defect display image by using the target calibration image includes:

[0032] The target calibration image is fused with the initial defect display image by a target image processing unit to obtain a target display image.

[0033] Optionally, after the target calibration image is fused with the initial defect display image by the target image processing unit to obtain the target display image, the method further includes:

[0034] Performing brightness detection on the target display image to obtain a current brightness detection result;

[0035] Extracting a brightness uniformity value from the current brightness detection result;

[0036] When the brightness uniformity value meets the target brightness display requirement, other defective display images are compensated by using the target calibration image.

[0037] In addition, to achieve the above-mentioned object, the present invention further provides a display image compensation device, the display image compensation device comprising:

[0038] An acquisition module, configured to acquire a brightness value of a sample image when a sample image having a target grayscale value is detected;

[0039] A setting module, configured to set the grayscale of the sample image and obtain a display grayscale pixel value according to the set grayscale sample image;

[0040] a generating module, configured to generate a target calibration image according to the brightness value and the displayed grayscale pixel value;

[0041] The compensation module is configured to compensate the initial defect display image using the target calibration image.

[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a display image compensation device, which includes: a memory, a processor, and a display image compensation program stored in the memory and runnable on the processor, wherein the display image compensation program is configured to implement the display image compensation method described above.

[0043] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a display image compensation program is stored. When the display image compensation program is executed by a processor, the display image compensation method described above is implemented.

[0044] The display image compensation method proposed in the present invention obtains the brightness value of the sample image when a sample image with a target grayscale value is detected; grayscale is set for the sample image, and a display grayscale pixel value is obtained based on the set grayscale sample image; a target calibration image is generated based on the brightness value and the display grayscale pixel value; and the initial defective display image is compensated by the target calibration image. In the above manner, when a sample image with a target grayscale value is detected, a target calibration image is generated based on the brightness value and the display grayscale pixel value of the sample image, and then the initial defective display image is compensated by the target calibration image, thereby making up for the defect of uneven brightness of the light wave, and effectively improving the image compensation efficiency and reducing the compensation power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 1 is a schematic structural diagram of a display image compensation device in a hardware operating environment according to an embodiment of the present invention;

[0046] Figure 2 1 is a flow chart of a first embodiment of a display image compensation method according to the present invention;

[0047] Figure 3 2 is a flow chart of a second embodiment of a display image compensation method according to the present invention;

[0048] Figure 4 A schematic diagram of an image fusion process according to an embodiment of a display image compensation method of the present invention;

[0049] Figure 5 FIG. 1 is a schematic diagram of functional modules of a first embodiment of a display image compensation device according to the present invention.

[0050] 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

[0051] 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.

[0052] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the structure of a display image compensation device in a hardware operating environment according to an embodiment of the present invention.

[0053] like Figure 1 As shown, the display image compensation device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) memory or a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0054] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the display image compensation device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0055] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a display image compensation program.

[0056] exist Figure 1 In the display image compensation device shown, the network interface 1004 is mainly used for data communication with the network integration platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the display image compensation device of the present invention can be set in the display image compensation device, and the display image compensation device calls the display image compensation program stored in the memory 1005 through the processor 1001 and executes the display image compensation method provided by the embodiment of the present invention.

[0057] Based on the above hardware structure, an embodiment of a display image compensation method of the present invention is proposed.

[0058] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a display image compensation method according to the present invention.

[0059] In a first embodiment, the display image compensation method includes the following steps:

[0060] Step S10: When a sample picture with a target grayscale value is detected, a brightness value of the sample picture is obtained.

[0061] It should be noted that the executor of this embodiment is a display image compensation device, and it can also be other devices that can achieve the same or similar functions, such as an image processing controller, etc. This embodiment does not limit this. In this embodiment, the image processing controller is used as an example for explanation.

[0062] It should be understood that the sample image refers to an image used to obtain the display grayscale pixel value. The number of the sample images can be multiple, for example, pure green, red and blue images, and the target grayscale values ​​include but are not limited to 100 and 200. The target playback device for playing the sample image of the target grayscale value can be an audio and video playback device, for example, DUT. Specifically, the target playback device plays pure green, red and blue images with a grayscale value of 100 and pure green, red and blue images with a grayscale value of 200 respectively.

[0063] Further, step S10 includes: the target grayscale value includes at least a first grayscale value and a second grayscale value; when it is detected that the target playback device plays a sample picture of the first grayscale value and a sample picture of the second grayscale value respectively, the sample picture is collected by the target camera device to obtain a sample image; the pixel points of the sample image are calculated by a preset brightness algorithm to obtain the brightness value of the sample image.

[0064] It can be understood that the first grayscale value and the second grayscale value can be either 100 or 200 respectively, for example, the first grayscale value is 100 and the second grayscale value is 200, or the first grayscale value is 200 and the second grayscale value is 100, and then it is determined whether the target playback device is detected to play the sample picture of the first grayscale value and the sample picture of the second grayscale value respectively. If so, the image of the sample picture is captured by the target camera device, that is, the sample image, which can be an L29 camera, and then the brightness value of the sample picture is calculated by a preset brightness algorithm.

[0065] Step S20 , performing grayscale setting on the sample image, and obtaining a display grayscale pixel value according to the set grayscale sample image.

[0066] It can be understood that displaying grayscale pixel values ​​refers to displaying the actual value of each grayscale pixel. The displayed grayscale pixel values ​​can be R[i,j], G[i,j], B[i,j]. At this time, the sample image is set to a grayscale sample image, and then the displayed grayscale pixel value is obtained through the grayscale sample image.

[0067] Furthermore, step S20 includes: setting the grayscale of the sample image, and obtaining corresponding row images and column images according to the set grayscale sample image; calculating the row image and the column image respectively through a preset pixel strategy to obtain row grayscale image values ​​and column grayscale image values; and generating display grayscale pixel values ​​according to the row grayscale image values ​​and the column grayscale image values.

[0068] It should be understood that the row image refers to the image of each row in the set grayscale sample image. Similarly, the column image refers to the image of each column in the set grayscale sample image. The row grayscale image value and the column grayscale image value are then calculated using a preset pixel strategy. For example, the row grayscale image value is i, and the column grayscale image value is j. The grayscale pixel value is then generated based on the row grayscale image value and the column grayscale image value.

[0069] Step S30: generating a target calibration image according to the brightness value and the display grayscale pixel value.

[0070] It should be understood that the target calibration image refers to an image used to compensate for the initial defective display image, and the target calibration image is generated by brightness values ​​and display grayscale pixel values.

[0071] Step S40 : compensating the initial defect display image using the target calibration image.

[0072] It can be understood that the initial defect display image refers to an image with uneven brightness display. After obtaining the target calibration image, the defective part of the initial defect display image is compensated by the target calibration image, and finally the compensated target display image is displayed on the optical machine.

[0073] Furthermore, step S40 includes: fusing the target calibration image with the initial defect display image through a target image processing unit to obtain a target display image.

[0074] It should be understood that after obtaining the target calibration image, the specific way to compensate for the initial defect display image is to fuse the target calibration image with the initial defect display image through the target image processing unit to obtain the target display image. For example, the target display image is Layer0[R,G,B,0]*layer_cal[0,0,0,x]+layer_cal[R,G,B,0].

[0075] Furthermore, after the target display image is obtained by fusing the target calibration image with the initial defect display image through the target image processing unit, it also includes: performing brightness detection on the target display image to obtain a current brightness detection result; extracting a brightness uniformity value from the current brightness detection result; and when the brightness uniformity value meets the target brightness display requirement, compensating other defect display images through the target calibration image.

[0076] It can be understood that in order to verify whether the brightness display of the compensated target display image is uniform, after obtaining the target display image, the target display image is brightness detected, and then it is determined whether the current brightness uniformity value meets the target brightness display requirements. If so, it indicates that the brightness of the target display image is uniform. At this time, other defective display images can be compensated through the target calibration image.

[0077] This embodiment obtains the brightness value of the sample image when a sample image of a target grayscale value is detected; performs grayscale setting on the sample image, and obtains the display grayscale pixel value based on the set grayscale sample image; generates a target calibration image based on the brightness value and the display grayscale pixel value; and compensates the initial defective display image through the target calibration image. In the above manner, when a sample image of a target grayscale value is detected, a target calibration image is generated based on the brightness value of the sample image and the display grayscale pixel value, and then the initial defective display image is compensated through the target calibration image, thereby compensating for the defect of uneven brightness of light waves, and effectively improving the image compensation efficiency and reducing the compensation power consumption.

[0078] In one embodiment, if Figure 3 Based on the first embodiment, a second embodiment of the display image compensation method of the present invention is proposed. Step S30 includes:

[0079] Step S301: Obtain a linear equation between brightness and displayed grayscale image.

[0080] It should be understood that the linear equation refers to the equation of the linear relationship between brightness and displayed grayscale image. The linear equation can be y=kx+b, where y is the displayed grayscale pixel value, x is the brightness value, that is, k is the current coefficient term, and b is the current constant term.

[0081] Step S302: Solve the current coefficient term and the current constant term according to the linear equation, the brightness value, and the displayed grayscale pixel value.

[0082] It can be understood that after the linear equation is obtained, the current coefficient term k and the current constant term b in the linear equation are solved based on the brightness value and the displayed grayscale pixel value.

[0083] Further, step S302 includes: obtaining a first red display grayscale value, a first blue display grayscale value and a first green display grayscale value according to the display grayscale pixel value and the sample image of the first grayscale value; obtaining a second red display grayscale value, a second blue display grayscale value and a second green display grayscale value according to the sample image of the display grayscale pixel value and the second grayscale value; calculating the first red display grayscale value and the second red display grayscale value according to the linear equation to obtain a red coefficient term and a red constant term; calculating the first blue display grayscale value and the second red display pixel value according to the linear equation to obtain a blue coefficient term and a blue constant term; calculating the first green display grayscale value and the second green display grayscale value according to the linear equation to obtain a green coefficient term and a green constant term; using the red coefficient term, the blue coefficient term and the green coefficient term as current coefficient terms, and using the red constant term, the blue constant term and the green constant term as current constant terms.

[0084] It should be understood that after obtaining the first red display grayscale value, the first blue display grayscale value and the first green display grayscale value, the second red display grayscale value, the second blue display grayscale value and the second green display grayscale value, the red coefficient term kr and the red constant term br, the blue coefficient term kb and the blue constant term bb, the green coefficient term kg and the green constant term bg are respectively solved by calculating a set of two linear equations, and then the red coefficient term, the blue coefficient term and the green coefficient term are used as the current coefficient term, and the red constant term, the blue constant term and the green constant term are used as the current constant term.

[0085] Step S303: Generate coefficient image parameters according to the current coefficient item.

[0086] It should be understood that after solving the current coefficient term, the coefficient image parameters are generated based on the current coefficient term and the displayed grayscale pixel value. For example, the current coefficient terms are kr, kb and kg, and then the current coefficient terms kr, kb and kg are averaged to obtain the coefficient image parameters, that is, the coefficient image parameters A[i,j] = (kr+kb+kg) / 3.

[0087] Step S304: Generate constant image parameters according to the current constant term.

[0088] It can be understood that after solving the current constant term, the constant image parameters are generated according to the current constant term b and the display grayscale pixel value, that is, the current constant terms br, bg and bb are directly used as the constant image parameters RGB_offset[i,j].

[0089] Step S305 : generating a target calibration image according to the coefficient image parameters and the constant image parameters.

[0090] It should be understood that after obtaining the coefficient image parameters and the constant image parameters, the target calibration image is generated according to the coefficient image parameters and the constant image parameters. For example, the coefficient image parameters are A[i,j], where A is transparency and the function of A is to calculate the color presented by the target display image. The constant image parameters are RGB_offset[i,j]. At this time, the target calibration image lay_cal is generated by A[i,j] and RGB_offset[i,j].

[0091] Understandably, the reference Figure 4 , Figure 4 This is a schematic diagram of image fusion, specifically: after obtaining the initial defect display image and the target calibration image, the initial defect display image and the target calibration image are encoded respectively, and then the encoded initial defect display image and the target calibration image are fused, and then the fused target display image is output to the MIP interface through the digital dot-film image system, and finally displayed on the optical machine through the MIP interface.

[0092] This embodiment obtains a linear equation between brightness and a displayed grayscale image; solves a current coefficient term and a current constant term based on the linear equation, the brightness value, and the displayed grayscale pixel value; generates a coefficient image parameter based on the current coefficient term; generates a constant image parameter based on the current constant term; and generates a target calibration image based on the coefficient image parameters and the constant image parameters. In this way, the current coefficient term and the current constant term of the linear equation are solved based on the brightness value and the displayed grayscale pixel value, and then the target calibration image is generated based on the coefficient image parameters and the constant image parameters, thereby effectively improving the accuracy of generating the target calibration image.

[0093] In addition, an embodiment of the present invention further provides a storage medium, on which a display image compensation program is stored. When the display image compensation program is executed by a processor, the steps of the display image compensation method described above are implemented.

[0094] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0095] In addition, refer to Figure 5 , an embodiment of the present invention further provides a display image compensation device, the display image compensation device comprising:

[0096] The acquisition module 10 is configured to acquire the brightness value of a sample image when a sample image having a target grayscale value is detected.

[0097] The setting module 20 is used to set the grayscale of the sample image and obtain the display grayscale pixel value according to the set grayscale sample image.

[0098] The generating module 30 is configured to generate a target calibration image according to the brightness value and the display grayscale pixel value.

[0099] The compensation module 40 is configured to compensate the initial defect display image using the target calibration image.

[0100] This embodiment obtains the brightness value of the sample image when a sample image of a target grayscale value is detected; performs grayscale setting on the sample image, and obtains the display grayscale pixel value based on the set grayscale sample image; generates a target calibration image based on the brightness value and the display grayscale pixel value; and compensates the initial defective display image through the target calibration image. In the above manner, when a sample image of a target grayscale value is detected, a target calibration image is generated based on the brightness value of the sample image and the display grayscale pixel value, and then the initial defective display image is compensated through the target calibration image, thereby compensating for the defect of uneven brightness of light waves, and effectively improving the image compensation efficiency and reducing the compensation power consumption.

[0101] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.

[0102] In addition, for technical details not fully described in this embodiment, reference can be made to the display image compensation method provided in any embodiment of the present invention, and will not be repeated here.

[0103] Other embodiments of the display image compensation device of the present invention or implementation methods thereof may refer to the above-mentioned method embodiments, which will not be repeated here.

[0104] In addition, 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.

[0105] 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.

[0106] 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 a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, an integrated platform workstation, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0107] 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 display image compensation method, characterized in that: The display image compensation method comprises the following steps: When a sample image of a target grayscale value is detected, a brightness value of the sample image is obtained; Setting the grayscale of the sample image, and obtaining a display grayscale pixel value according to the set grayscale sample image; generating a target calibration image according to the brightness value and the displayed grayscale pixel value; Compensating the initial defect display image by using the target calibration image; Generating a target calibration image according to the brightness value and the displayed grayscale pixel value includes: Get the linear equation between brightness and displayed grayscale image; Obtaining a first red display grayscale value, a first blue display grayscale value, and a first green display grayscale value according to the display grayscale pixel value and the sample image of the first grayscale value; Obtaining a second red display grayscale value, a second blue display grayscale value, and a second green display grayscale value according to the sample image of the display grayscale pixel value and the second grayscale value; Calculating the first red display grayscale value and the second red display grayscale value according to the linear equation to obtain a red coefficient term and a red constant term; Calculating the first blue display grayscale value and the second red display pixel value according to the linear equation to obtain a blue coefficient term and a blue constant term; Calculating the first green display grayscale value and the second green display grayscale value according to the linear equation to obtain a green coefficient term and a green constant term; Using the red coefficient term, the blue coefficient term, and the green coefficient term as current coefficient terms, and using the red constant term, the blue constant term, and the green constant term as current constant terms; generating coefficient image parameters according to the current coefficient term; generating a constant image parameter according to the current constant term; A target calibration image is generated according to the coefficient image parameters and the constant image parameters.

2. The display image compensation method according to claim 1, wherein: The target grayscale value includes at least a first grayscale value and a second grayscale value; The step of obtaining the brightness value of the sample image when the sample image having the target grayscale value is detected includes: When it is detected that the target playback device plays the sample image of the first grayscale value and the sample image of the second grayscale value respectively, the sample images are captured by the target camera device to obtain sample images; The pixel points of the sample image are calculated using a preset brightness algorithm to obtain the brightness value of the sample image.

3. The display image compensation method according to claim 1, wherein: The grayscale setting of the sample image and obtaining a display grayscale pixel value according to the set grayscale sample image includes: Performing grayscale setting on the sample image, and obtaining corresponding row images and column images according to the set grayscale sample image; Calculating the row image and the column image respectively using a preset pixel strategy to obtain a row grayscale image value and a column grayscale image value; A display grayscale pixel value is generated according to the row grayscale image value and the column grayscale image value.

4. The display image compensation method according to claim 1, wherein: The compensating the initial defective display image by using the target calibration image comprises: The target calibration image is fused with the initial defect display image by a target image processing unit to obtain a target display image.

5. The display image compensation method according to any one of claims 1 to 4, wherein: After the target calibration image is fused with the initial defect display image by the target image processing unit to obtain the target display image, the method further includes: Performing brightness detection on the target display image to obtain a current brightness detection result; Extracting a brightness uniformity value from the current brightness detection result; When the brightness uniformity value meets the target brightness display requirement, other defective display images are compensated by using the target calibration image.

6. A display image compensation device, characterized in that: The display image compensation device comprises: An acquisition module, configured to acquire a brightness value of a sample image when a sample image having a target grayscale value is detected; A setting module, configured to set the grayscale of the sample image and obtain a display grayscale pixel value according to the set grayscale sample image; a generating module, configured to generate a target calibration image according to the brightness value and the displayed grayscale pixel value; a compensation module, configured to compensate the initial defect display image using the target calibration image; The generating module is further configured to obtain a linear equation between brightness and a display grayscale image; obtain a first red display grayscale value, a first blue display grayscale value, and a first green display grayscale value based on the display grayscale pixel value and the sample image of the first grayscale value; obtain a second red display grayscale value, a second blue display grayscale value, and a second green display grayscale value based on the sample image of the display grayscale pixel value and the second grayscale value; calculate the first red display grayscale value and the second red display grayscale value according to the linear equation to obtain a red coefficient term and a red constant term; and calculate the first blue display grayscale value according to the linear equation. The method comprises the steps of: calculating the first green display grayscale value and the second green display grayscale value according to the linear equation to obtain a green coefficient term and a green constant term; taking the red coefficient term, the blue coefficient term and the green coefficient term as current coefficient terms, and taking the red constant term, the blue constant term and the green constant term as current constant terms; generating coefficient image parameters according to the current coefficient terms; generating constant image parameters according to the current constant terms; and generating a target calibration image according to the coefficient image parameters and the constant image parameters.

7. A display image compensation device, characterized in that: The display image compensation device includes: a memory, a processor, and a display image compensation program stored in the memory and executable on the processor, wherein the display image compensation program is configured to implement the display image compensation method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores a display image compensation program, which implements the display image compensation method according to any one of claims 1 to 5 when executed by the processor.

Citation Information

Patent Citations

  • LCD display screen P-gamma correction method and related device

    CN113936621A