WO2023231675A1 - 残像补偿方法、装置、显示设备和计算机可读存储介质 - Google Patents
残像补偿方法、装置、显示设备和计算机可读存储介质 Download PDFInfo
- Publication number
- WO2023231675A1 WO2023231675A1 PCT/CN2023/091548 CN2023091548W WO2023231675A1 WO 2023231675 A1 WO2023231675 A1 WO 2023231675A1 CN 2023091548 W CN2023091548 W CN 2023091548W WO 2023231675 A1 WO2023231675 A1 WO 2023231675A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- display panel
- afterimage
- display
- connected domain
- Prior art date
Links
- 206010047571 Visual impairment Diseases 0.000 title claims abstract description 189
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000008569 process Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 12
- 239000000758 substrate Substances 0.000 claims description 11
- 239000011159 matrix material Substances 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000012937 correction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 239000010409 thin film Substances 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000000206 photolithography Methods 0.000 description 1
- 239000011295 pitch Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0257—Reduction of after-image effects
Definitions
- the present disclosure relates to the field of display technology, and in particular to an afterimage compensation method, device, display device and computer-readable storage medium.
- the backlight substrate can be used directly as the surface light source.
- the backlight substrate is spliced by using printed circuit boards (PCBs) equipped with micro-light emitting diodes (Micro-LEDs).
- PCBs printed circuit boards
- Micro-LEDs micro-light emitting diodes
- Embodiments of the present disclosure provide an afterimage compensation method, device, display device, and computer-readable storage medium.
- embodiments of the present disclosure provide an afterimage compensation method, including:
- the afterimage area of the display panel determines the afterimage compensation parameters based on the display attributes of the display panel and the image information of the image displayed in the afterimage area;
- the next frame of image to be displayed is compensated for the afterimage.
- the method before determining whether there is an afterimage on the display panel, the method further includes:
- the display duration of the screen content of the target image on the display panel is determined.
- determining the display duration of the screen content of the target image on the display panel based on the image information of at least one frame of historical images includes:
- the interval between the target switching image and the target image is determined as the display time of the screen content of the target image on the display panel.
- comparing the at least one frame of historical image and the target image to determine whether there is a switching image includes:
- the average grayscale image includes n grayscale blocks, where n is a positive integer greater than 1;
- n gray value differences are all less than the preset threshold, it is determined that there is no switching image; otherwise, the latter frame of the two adjacent frames of images is determined to be the switching image.
- obtaining at least one frame of historical image and the average grayscale image of the target image includes:
- each first area includes multiple pixels, where m is an integer greater than 1, and n is equal to m*m;
- an average gray image including n gray blocks is generated.
- determining whether there is an afterimage on the display panel includes:
- the gradient information of the first connected domain includes the gradient value of each pixel in the first connected domain
- the gradient information of the second connected domain includes the gradient value of each pixel in the second connected domain
- determining the afterimage area of the display panel includes:
- the coverage of all second connected domains corresponding to the afterimage is used as the afterimage area.
- the method before generating the reference image based on the image actually displayed on the display panel, the method further includes:
- the display panel is driven to display according to the image information of the intermediate image.
- the intermediate image is an image after after-image compensation is performed on the target image according to the after-image compensation parameters determined during the display process of the previous frame image;
- the display panel is driven to display according to the image information of the target image.
- the reference image is generated based on the image actually displayed on the display panel, including:
- Photograph the display panel to obtain the initial photographed image
- the after-image area includes at least one sub-area, each sub-area corresponds to a second connected domain, and the after-image compensation parameters are determined according to the display attributes of the display panel and the image information of the image displayed in the after-image area, including:
- the display attributes of the display panel obtain the first color coordinates of a plurality of first pixel points of the target image in the sub-area, and the second color coordinates of a plurality of second pixel points of the reference image in the sub-area;
- the residual image compensation parameters are determined according to the reference RGB value and the initial RGB value of each second pixel point, where the reference RGB value is the initial RGB value of the second pixel point corresponding to the reference color coordinate.
- the display properties of the display panel include at least a gamma value and a color coordinate conversion matrix of the display panel
- the display properties of the display panel obtain multiple first images of the target image in the afterimage area
- the first color coordinate of the pixel point, and the second color coordinates of multiple second pixel points of the reference image in the afterimage area including:
- Second color coordinates of the plurality of second pixels are determined according to the linear RGB values of the plurality of second pixels and the color coordinate conversion matrix.
- afterimage compensation parameters are determined based on the reference RGB value and the initial RGB value of each second pixel, including:
- the residual image compensation parameters include the compensation coefficient of each second pixel point.
- an afterimage compensation device including:
- an acquisition module configured to acquire a target image, where the target image is a current frame image for display on the display panel
- the first detection module is configured to determine whether there is an afterimage on the display panel when the display time of the target image content on the display panel does not exceed the preset time;
- the second detection module is configured to determine the after-image area of the display panel when there is an after-image on the display panel, and determine the after-image compensation parameters based on the display attributes of the display panel and the image information of the image displayed in the after-image area;
- the compensation module is configured to perform residual image compensation on the next frame of image to be displayed according to the residual image compensation parameters.
- an embodiment of the present disclosure provides another afterimage compensation device.
- the device includes: processing and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the afterimage compensation method as described in the first aspect.
- an embodiment of the present disclosure provides a display device, including the afterimage compensation device described in the second or third aspect and a display panel.
- a display panel includes a micro-light emitting diode array substrate, and one or more integrated circuits connected to the micro-light emitting diode array substrate.
- embodiments of the present disclosure provide a computer-readable storage medium, wherein computer program instructions are stored on the computer-readable storage medium.
- the computer program instructions are executed by a processor, the afterimage compensation method as described in the first aspect is implemented. .
- Figure 1 is a schematic diagram of the brightness loss of MLEDs of different colors in an MLED display panel.
- FIG. 2 is a schematic flow chart of an afterimage compensation method provided by an embodiment of the present disclosure.
- FIG. 3 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of the positional relationship between a display panel and an image collection device according to an embodiment of the present disclosure.
- Figure 6 is a schematic diagram of the connected domain of the image.
- Figure 7 is a flow chart of an optional implementation of step S3 provided by an embodiment of the present disclosure.
- FIG. 8 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- FIG. 9 is a schematic diagram of an afterimage compensation device provided in some embodiments of the present disclosure.
- FIG. 10 is a schematic diagram of an afterimage compensation device provided in some embodiments of the present disclosure.
- Figure 11 is a schematic diagram of a computer-readable storage medium provided in some embodiments of the present disclosure.
- Micro-light emitting diodes (Mini-LED/Micro-LED) have the advantages of high brightness, high contrast, fast response and low power consumption. Therefore, MLED-based display technology has been increasingly widely used in the display field. Specifically, by integrating a high-density MLED array on a substrate, the MLED display panel can be thinned, miniaturized, and matrixed.
- COG Chip on Glass
- COG technology is based on glass substrate technology and uses semiconductor, photolithography and advanced copper technology to achieve ultra-fine thin film transistor drive structures on a large area.
- the MLED display panel using COG integrates high-density MLEDs and thin film transistors, the spacing between its pixels is less than 100 ⁇ m, and more circuit structures such as temperature measurement cannot be formed. Therefore, it is difficult to measure the temperature of the display panel in real time. Detect to obtain temperature feedback from the display panel.
- FIG. 1 is a schematic diagram of the brightness loss of MLEDs of different colors in an MLED display panel.
- red MLEDs lose the most brightness as the temperature rises.
- it is difficult to obtain temperature feedback from the MLED display panel and thus it is difficult to effectively compensate for the brightness loss caused by the increase in temperature of the display panel.
- the content of an image screen is an afterimage, which affects the display effect of the display panel.
- embodiments of the present disclosure provide a residual image compensation method for detecting areas where residual images appear on a display panel during display, and compensating for them to improve the display effect of the display panel.
- FIG. 2 is a schematic flow chart of a residual image compensation method provided by an embodiment of the present disclosure.
- the residual image compensation method includes multiple display periods. Each display period can display one frame of image, and is performed in each display period.
- Step S1 Obtain a target image, which is the current frame image for display on the display panel.
- the display panel may be an MLED display panel.
- the target image is the source image pre-obtained from the video source.
- each frame of image in the video source is displayed as a target image when displayed on the display panel. Afterimage compensation processing.
- the afterimage is a display defect caused by the increase in temperature of the display panel, and is not a defect in the image itself. Therefore, the target image does not have image defects as the source image in the video source.
- Step S2 When the display time of the target image content on the display panel does not exceed the preset time, determine whether there is an afterimage on the display panel.
- the afterimage compensation process ie, subsequent steps S3 to S4 in the embodiment of the present disclosure is performed when the display time of the target image on the display panel does not exceed the preset time.
- the above-mentioned preset time period may be 1s, or 10s, or 30s, or 1min, etc., which can be flexibly set according to the properties of the display panel, and is not limited in this embodiment of the present disclosure.
- Step S3 When there is an afterimage on the display panel, the afterimage area of the display panel is determined, and the afterimage compensation parameters are determined based on the display attributes of the display panel and the image information of the image displayed in the afterimage area.
- the afterimage area of the display panel refers to all areas on the display panel where afterimages appear. It may be a closed-loop connected area or multiple disconnected areas, which is not limited in this disclosure.
- Step S4 perform residual image compensation on the next frame of image to be displayed according to the residual image compensation parameters.
- the next frame image to be displayed is also the source image in the video source.
- the next frame image of the target image is the next frame image to be displayed on the display panel.
- the afterimage compensation method provided by the embodiment of the present disclosure includes multiple display periods, and the above-mentioned steps S1 to S4 are steps performed in one display period. That is to say, during the display process of the display panel, the above processing needs to be performed on each frame of the target image to detect in real time whether an afterimage appears on the display panel and to compensate for the next frame of image.
- the afterimage compensation method provided by the embodiment of the present disclosure is used to reduce the afterimage appearing on the display panel, where the display panel includes multiple display periods, and afterimage detection and compensation are performed for each display period. Specifically, residual image detection is performed on the current frame image displayed on the display panel, that is, the target image, the residual image area and residual image compensation parameters of the display panel are determined, and the residual image compensation parameters are applied to the next frame image to be displayed, and residual image compensation is performed on it , to ensure the uniformity of subsequent display images on the display panel.
- the above-mentioned residual image compensation parameters are continuously updated during the display process of the display panel, until the residual image no longer appears after the display panel is compensated by the multiple updated residual image compensation parameters, so as to improve the display effect of the display panel.
- the next frame of image is no longer compensated.
- Figure 3 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- the afterimage compensation method includes the above steps S1 to S4. In addition, it may also include steps Before determining whether there is an afterimage on the display panel in S2, steps S11 to S12 are executed.
- Step S11 Obtain image information of at least one frame of historical images adjacent to the target image.
- At least one frame of historical image adjacent to the target image refers to the target image corresponding to at least one display period before the current display period.
- Step S12 based on the image information of the An image in which the content of the screen changes between the previous frame.
- X is an integer greater than or equal to 1.
- the frame number X can be set to the preset duration.
- the display panel can display 60 frames of images for a preset time period, then it is detected whether there is a switching image in the 60 frames of images before the target image. If it exists, based on the interval between the switching image and the target image, Determine the display duration of the target image content on the display panel; if it does not exist, it means that the display duration of the target image content on the display panel has exceeded the preset duration, and no compensation will be performed for the next frame of image.
- the frame number The number of frames is not limited.
- step S12 may include steps S121 to S124:
- Step S121 Determine whether there is a switching image based on at least one frame of the historical image and the target image. If it exists, execute step S122; otherwise, execute step S124.
- determining whether there is a switching image in step S121 may specifically include steps S121a to S121c:
- Step S121a Obtain the average grayscale image of at least one frame of the historical image and the target image.
- the average grayscale image includes n grayscale blocks, where n is a positive integer greater than 1.
- Each grayscale block may be an image block with uniform grayscale, and each grayscale block may include multiple pixels.
- both the at least one frame of the historical image and the target image may be RGB images, and step S121a may include: performing the following processing for each frame of the at least one frame of the historical image and the target image:
- each first area includes multiple pixels, where m is an integer greater than 1, and n is equal to m*m.
- the gray value of each first region is determined based on the gray values of multiple pixels in each first region, where the gray value of the first region is the average of the gray values of the multiple pixels.
- an average gray image including n gray blocks is generated.
- the resolution of at least one frame of the historical image and the target image is 256 ⁇ 256 bpi, convert it into a grayscale image, and divide the grayscale image into 64 ⁇ 64 first regions, Then each first area includes 4 ⁇ 4 pixels. Count 16 in each first region The average gray value of each pixel is assigned to the first area to form a gray block, and finally an average gray image including 64 ⁇ 64 gray blocks is generated.
- Step S121b For the average grayscale image of each two adjacent frames in at least one frame of the historical image and the target image, determine the grayscale value difference of the grayscale block located at the same position in the two average grayscale images.
- Step S121c when the n gray value differences are all less than the preset threshold, it is determined that there is no switching image, and step S124 is executed; otherwise, the latter frame of the two adjacent frames is determined to be the switching image, and step S124 is executed. Step S122.
- the difference in gray value of a gray block at the same position in the average gray image of two adjacent frames represents the image difference between two adjacent frames at the same position. Therefore, in all gray value differences When the values are all less than the preset threshold, it is determined that there is no obvious difference between the two adjacent frame images, that is, there is no switching image.
- Step S122 Extract the target switching image closest to the target image in at least one frame of switching images.
- multiple screen content switching may occur in at least one frame of the historical image and the target image. That is, if there are multiple frame switching images, the switching image with the smallest number of frame intervals from the target image is the target switching image. In at least one frame of the historical image and the target image, the target switching image and subsequent images are consistent with the content of the target image.
- Step S123 The interval duration between the target switching image and the target image is determined as the display duration of the screen content of the target image on the display panel.
- step S124 the working time of the display panel is determined as the display time of the screen content of the target image on the display panel.
- step S12 may specifically include:
- image detection is performed on each current frame image/target image and its previous frame image to determine the average grayscale image of the two adjacent frame images; and based on the two average grayscale images, determine the target image Whether to switch images; starting from the display panel displaying the first frame of image, counting through the counter, multiplying the number of counted frames by the display duration of each frame of image as the current frame image The length of time the screen content of the image is displayed on the display panel; each time a switched image is detected, the counter is cleared and the duration of the screen content after the switch is displayed on the display panel is recalculated.
- each frame of image is determined based on the display attributes of the display panel, which will not be described in detail in the embodiments of the present disclosure.
- FIG 4 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- the afterimage compensation method includes the above-mentioned steps S1, S11, S12, S2-S4 executed in each display cycle.
- step S2 it is determined whether there is an afterimage on the display panel, which may specifically include:
- Step S21 Generate a reference image based on the image actually displayed on the display panel.
- step S21 may specifically include:
- the display panel is photographed to obtain an initial photographed image; distortion correction is performed on the initial photographed image to obtain a reference image.
- the purpose of distortion correction is to make the resolution of the captured reference image and the target image consistent, so as to facilitate the detection and analysis of the reference image and the target image, determine whether there is an afterimage on the display panel, and determine the afterimage area.
- FIG. 5 is a schematic diagram of the positional relationship between a display panel and an image acquisition device provided by an embodiment of the present disclosure.
- the device can be fixed on the first edge of the display panel 51 and communicate with the display panel.
- the connected image capture device 50 captures the display panel to obtain an initial captured image.
- the first edge refers to the upper edge of the display panel 51 when it is placed vertically.
- the image capture device 50 may also be fixed at other positions on the display panel 51 , or may not be installed on the display panel 51 .
- the image acquisition device 50 may be a camera, or may be a mobile phone, a tablet computer, or other terminal equipment with a shooting function and a communication function, which are not limited in the embodiments of the present disclosure.
- Step S22 Determine at least one first connected domain on the target image based on the image information of the target image.
- the connected domain refers to the smallest area in an image where no color change occurs. area.
- the occurrence of afterimages on the display panel refers to the existence of color differences in areas that should display the same color (that is, within the same connected domain), resulting in shape afterimages that can be distinguished by the naked eye. Therefore, segmenting at least one connected domain in the image is an important step for afterimage detection and compensation on the display panel.
- Figure 6 is a schematic diagram of the connected domain of the image.
- the letter “i” includes two connected domains
- the letter “c” includes one connected domain.
- the above-mentioned specific algorithm for determining at least one connected domain can be a region growing method and a seed filling method, or it can be an instance segmentation algorithm based on deep learning, such as Mask RNN, and the embodiments of the present disclosure are not limited to this.
- Step S23 Determine the second connected domain corresponding to each first connected domain on the reference image, where the coverage range of the second connected domain on the reference image is the same as the coverage range of the corresponding first connected domain on the target image.
- the reference image is obtained by shooting the screen content on the display panel.
- the display panel may have reflections or afterimages, etc., resulting in direct connection of the reference image through the preset algorithm.
- the connected domain areas obtained by domain detection are inaccurate. Therefore, by default, the coverage range of the second connected domain on the reference image is the same as the coverage range of the corresponding first connected domain on the target image.
- Step S24 Determine the gradient information of each first connected domain and the gradient information of each second connected domain based on the image information of the reference image and the image information of the target image.
- the gradient information of the first connected domain includes the gradient value of each pixel point in the first connected domain
- the gradient information of the second connected domain includes the gradient value of each pixel point in the second connected domain.
- step S24 may include: performing high-pass filtering on the target image to extract the first connected domain information and denoising the target image to obtain a filtered image; performing gradient filtering on the filtered image to enhance image contrast to obtain the target image. the gradient map; traverse at least one first connected domain on the gradient map, and for each first connected domain, obtain the first gradient value of each pixel in the first connected domain. Based on the same method, the reference image is processed to obtain the second gradient value of each pixel in the second connected domain.
- Step S25 According to the gradient information of each first connected domain and the gradient information of each second connected domain information, and determine whether there is an afterimage in the area corresponding to each second connected domain on the display panel.
- step S25 may specifically include: performing the following steps S251 to S253 for each second connected domain and its corresponding first connected domain:
- Step S251 Determine the maximum value a1 and the minimum value a2 of multiple gradient values in the first connected domain, and calculate the first gradient difference a between the maximum value a1 and the minimum value a2.
- Step S252 determine the gradient value b1 of the first pixel point and the gradient value b2 of the second pixel point in the second connected domain, and calculate the second gradient of the gradient value b1 of the first pixel point and the gradient value b2 of the second pixel point. Difference b; where the first pixel is the pixel at the same position as the pixel with the largest gradient value in the first connected domain, and the second pixel is the pixel at the same position as the pixel with the smallest gradient value in the first connected domain .
- Step S253 determine whether the difference between the first gradient difference value a and the second gradient difference value b is greater than a preset threshold. If so, it is determined that there is an afterimage in the corresponding area of the second connected domain on the display panel.
- the reference image is taken from the display panel, when an afterimage appears on the display panel, the picture uniformity of the reference image will be affected.
- the target image is the source image in the video source, its pictures in the same connected domain are uniform.
- the connected domain on the reference image that is significantly different from the target image is determined. , that is, determine the location of the uneven picture on the reference image, that is, the location where the afterimage appears on the display panel.
- determining the afterimage area of the display panel in step S3 may specifically include: using the coverage of all second connected domains corresponding to the afterimage as the afterimage area.
- FIG. 7 is a flow chart of an optional implementation of step S3 provided by an embodiment of the present disclosure.
- the afterimage area includes at least one sub-area, and each sub-area corresponds to a second connected domain, as shown in Figure 7 , in step S3, determine the afterimage compensation parameters according to the display attributes of the display panel and the image information of the image displayed in the afterimage area. Specifically, it may include: performing the following steps S31 to S34 for each sub-area:
- Step S31 According to the display attributes of the display panel, obtain multiple images of the target image in the sub-area. The first color coordinate of the first pixel point, and the second color coordinates of the plurality of second pixel points of the reference image in the sub-region.
- the display properties of the display panel include at least the gamma value and color coordinate conversion matrix of the display panel; step S31 may specifically include:
- Step S311 Determine linear RGB values of the plurality of first pixels based on the initial RGB values and gamma values of the plurality of first pixels.
- the linear RGB value of each first pixel can be calculated by Formula 1, as follows:
- R input , G input , and B input represent the initial RGB value of the first pixel
- ⁇ represents the gamma value of the display panel
- R linear , G linear , and B linear represent the linear RGB value of the first pixel
- Step S312 Determine the first color coordinates of the plurality of first pixels based on the linear RGB values of the plurality of first pixels and the color coordinate conversion matrix.
- the first color coordinate of each first pixel point can be calculated by Formula 2 and Formula 3, as follows:
- Step S313 Determine linear RGB values of the plurality of second pixels based on the initial RGB values and gamma values of the plurality of second pixels.
- Step S314 Determine the second color coordinates of the plurality of second pixel points based on the linear RGB values of the plurality of second pixel points and the color coordinate conversion matrix.
- steps S313 and S311 are the same, that is, the linear RGB values of the plurality of second pixel points can be determined through Formula 1, and the specific calculation processes of steps S314 and S312 are The calculation process is the same, that is, the second color coordinate of the second pixel point can be determined through Formula 2 and Formula 3, and each second color coordinate can be expressed as ( xi , y i ).
- Step S32 Calculate the average value of multiple first color coordinates to obtain the first target color coordinate.
- the determination of the afterimage compensation parameter is for each sub-area on the display panel, and each sub-area on the display panel and the first connected domain of the target image and the second connected domain of the reference image All are corresponding. Therefore, determining the first color coordinates of the plurality of first pixel points in each sub-region is to determine the first color coordinates of the plurality of first pixel points in the first connected domain. Since the target image is an image with a uniform screen, ideally, the color coordinates of the first pixel points located in the same first connected domain are the same. Considering the image error, the average value of the plurality of first color coordinates is determined as the color coordinate of the entire first connected domain, that is, the first target color coordinate. In the same example as step S311, the first target color coordinate may be expressed as (x input , y input ).
- Step S33 Calculate coordinate differences between multiple second color coordinates and the first target color coordinate, and determine the second color coordinate with the largest coordinate difference from the first target color coordinate as the reference color coordinate.
- the RGB initial value of the second pixel corresponding to the highest temperature point of the display panel is already the maximum value, the RGB value cannot be increased further to change the second color coordinate. Therefore, it is necessary to use the color coordinate of the pixel with the largest difference from the first target color coordinate as the reference color coordinate, and adjust the RGB values of other second pixels so that the adjusted second color coordinate is consistent with the reference color coordinate.
- the reference color coordinates can be calculated by Equation 4 as follows:
- (x target , y target ) represents the reference color coordinate
- ( xi , y i ) represents any one of the plurality of second color coordinates.
- Step S34 determine the residual image compensation parameters according to the reference RGB value and the initial RGB value of each second pixel point, where the reference RGB value is the initial RGB value of the second pixel point corresponding to the reference color coordinate, which can be expressed as (R target , G target , B target ).
- step S34 may specifically include:
- the compensation coefficient of each second pixel point is determined; wherein the afterimage compensation parameter includes the compensation coefficient of each second pixel point.
- the compensation coefficient of each second pixel can be calculated by Formula 5, as follows:
- FIG 8 is a schematic flow chart of another afterimage compensation method provided by an embodiment of the present disclosure.
- the afterimage compensation method includes the steps shown in Figure 4.
- the afterimage compensation method shown in Figure 8 before step S21, also includes:
- Step S20 determine whether the afterimage compensation parameter has been determined during the display process of the previous frame image (i.e., the previous display cycle); if so, drive the display panel to display based on the image information of the intermediate image, and the intermediate image is based on the previous display
- the image after the after-image compensation is performed on the target image according to the periodically determined after-image compensation parameters; otherwise, the display panel is driven to display according to the image information of the target image.
- the afterimage compensation method provided by the embodiment of the present disclosure is effective when the display time of the target image content on the display panel does not exceed the preset time and there is an afterimage area on the display panel.
- the reference image is obtained by photographing the intermediate image on the display panel.
- both the target image and the intermediate image refer to the image displayed on the display panel.
- the difference between the current frame image and the current frame image is that the target image is obtained directly from multiple frames of the video source, that is, the source image.
- the intermediate image refers to the image after after-image compensation of the target image.
- the parameters for the after-image compensation application are historical after-images. compensation parameters.
- afterimage compensation may be performed on the next frame of image to be displayed based on historical afterimage compensation parameters, or afterimage compensation may no longer be performed on the display panel.
- the video source to be displayed on the display panel includes N frames of images with the same picture content, wherein n1 frames of images can be displayed on the display panel within a preset time period, (N is greater than n1, and N and n1 are both positive integers. ), during the process of displaying the above video source on the display panel, afterimage compensation is performed on the display panel. Specifically, it may include the following situations:
- Example 1 First display period: The display panel receives the first frame of image from the video source for display. At this time, the target image is the first frame of image. There is no previous frame of image, and there is no image determined based on the previous frame of image. Historical afterimage compensation parameters, so the steps in Figure 2 can be performed to perform afterimage compensation on the target image in the next display period.
- Example 2 the display panel receives the second frame of image from the video source for display, and determines that the second frame of image is within the preset display duration.
- the reference image is the reference image of the second frame image on the display panel.
- the content of the screen is obtained; when the afterimage of the display panel is detected in the first display period, the second frame image is compensated for the afterimage according to the afterimage compensation parameters determined in the first display period, and what is displayed on the display panel is the second frame.
- the reference image is an intermediate image obtained after compensating the source image, and the reference image is obtained by photographing the content of the intermediate image displayed on the display panel.
- n1-1th display period The display panel receives the n1-1th frame image from the video source for display, and determines that the n1-1th frame image is within the preset display duration. In determining the current display period If there is an afterimage on the display panel, the afterimage compensation parameter is updated to A; when it is determined that there is no afterimage on the display panel in the current display cycle, the afterimage compensation parameter B determined in the previous historical display cycle is used; according to the afterimage compensation parameter A or B, compensate for the n1th frame image.
- Example 4 n1th display period: The display panel receives the n1th frame image from the video source for display. At this time, if it is determined that the n1th frame image exceeds the preset display time, no other processing is performed and the n1th frame image is directly output. In this display period, since the n1th frame image has been compensated by the afterimage compensation parameter A or B in the n1-1th display period, what is displayed on the display panel is the intermediate image obtained by compensating the n1th frame source image. , then the reference image is obtained by photographing the content of the intermediate image displayed on the display panel.
- Example 5 n1+1th display period: The display panel receives the n1+1th frame image from the video source for display. At this time, it is determined that the n1+1th frame image exceeds the preset display duration. In this display cycle, since the n1+1th frame image has not been compensated by the afterimage compensation parameter, the source image of the n1+1th frame is displayed on the display panel, and the reference image is displayed based on the n1+1th frame source image. The screen content displayed on the panel is obtained.
- the reference image is obtained based on the target image. , otherwise, the reference image is obtained based on the intermediate image.
- FIG. 9 is a schematic diagram of a residual image compensation device provided in some embodiments of the present disclosure, and the residual image compensation device is used to perform the above residual image compensation method.
- the afterimage compensation device includes: an acquisition module 10 , a first detection module 20 , a second detection module 30 and a compensation module 40 .
- the acquisition module 10 is configured to acquire the target image in each display period, and the target image is the current frame image for display on the display panel.
- the first detection module 20 is configured to determine whether there is an afterimage on the display panel when the display time of the target image content on the display panel does not exceed a preset time period.
- the second detection module 30 is configured to determine the afterimage area of the display panel when there is an afterimage on the display panel, and determine the image of the image displayed according to the display properties of the display panel and the afterimage area. information to determine the afterimage compensation parameters.
- the compensation module 40 is configured to perform residual image compensation on the next frame of image to be displayed according to the residual image compensation parameter.
- FIG. 10 is a schematic diagram of an afterimage compensation device provided in some embodiments of the present disclosure.
- the afterimage compensation device 100 includes: a memory 101 and a processor 102.
- a computer program is stored on the memory 101, wherein the computer program is When the processor 102 executes, the above-mentioned afterimage compensation method is implemented, for example, steps S1 to S4 in FIG. 2 are implemented.
- the afterimage compensation device 100 can be a computing device such as a desktop computer, a notebook, a handheld computer, a cloud server, etc.
- the afterimage compensation device 100 may include, but is not limited to, a processor 102 and a memory 101.
- FIG. 10 is only an example of the afterimage compensation device 100 and does not constitute a limitation on the afterimage compensation device 100. It may include more or less components than shown in the figure, or some components may be combined or different.
- the afterimage compensation device 100 may also include input and output devices, network access devices, buses, etc.
- the processor 102 can be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or off-the-shelf processor.
- Programmable gate array Field-Programmable Gate Array, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general processor 102 may be a microprocessor or the processor may be any conventional processor or the like.
- the memory 101 may be an internal storage unit of the afterimage compensation device 100 , such as a hard disk or memory of the afterimage compensation device 100 .
- the memory 101 may also be an external storage device of the afterimage compensation device 100, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital device equipped on the afterimage compensation device 100. SD) card, Flash Card, etc.
- the memory 101 may also include both the internal storage unit of the afterimage compensation device 100 and an external storage device.
- the memory 101 is used to store the computer programs and other programs and data required by the terminal device.
- the memory 101 can also be used to temporarily store data that has been output or is to be output.
- Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.
- Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
- the above-mentioned integrated unit can be hardware-based. It can also be implemented in the form of software functional units.
- the specific names of each functional unit and module are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present application.
- For the specific working processes of the units and modules in the above system please refer to the corresponding processes in the foregoing method embodiments, and will not be described again here.
- An embodiment of the present disclosure also provides a display device, including the afterimage compensation device and a display panel in the above-mentioned FIG. 9 or FIG. 10 .
- the display panel may be an MLED display panel, which includes a micro-light emitting diode array substrate and one or more integrated circuits connected to the micro-light emitting diode array substrate.
- FIG. 11 is a schematic diagram of a computer-readable storage medium provided in some embodiments of the present disclosure.
- a computer program 201 is stored on the computer-readable storage medium 200, wherein the computer program 201 is implemented when executed by a processor.
- the above-mentioned afterimage compensation method implements step S1 to step S4 in FIG. 2 .
- Computer readable storage medium 200 includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage device , or any other medium that can be used to store the desired information and can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
本公开实施例提供一种残像补偿方法、装置、显示设备和计算机可读存储介质。所述残像补偿方法,包括:获取目标图像,目标图像为用于在显示面板上显示的当前帧图像;当目标图像的画面内容在显示面板上的显示时长未超出预设时长时,判断显示面板是否存在残像;在显示面板存在残像的情况下,确定显示面板的残像区域,并根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数;根据残像补偿参数,对待显示的下一帧图像进行残像补偿。
Description
本公开涉及显示技术领域,具体涉及一种残像补偿方法、装置、显示设备和计算机可读存储介质。
直显式背光源中可采用背光基板直接作为面光源。通常,背光基板采用设置有微发光二极管(Micro-LED)的印刷电路板(PCB)拼接得到。但在拼接屏形成的显示面板上长时间点亮某一灰阶画面时,拼接屏的温度产生差异,发光效率随着温度升高而下降,导致画面切换时,在显示面板上出现残像。
发明内容
本公开实施例提供一种残像补偿方法、装置、显示设备和计算机可读存储介质。
第一方面,本公开实施例提供一种残像补偿方法,包括:
获取目标图像,目标图像为用于在显示面板上显示的当前帧图像;
当目标图像的画面内容在显示面板上的显示时长未超出预设时长时,判断显示面板是否存在残像;
在显示面板存在残像的情况下,确定显示面板的残像区域,并根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数;
根据残像补偿参数,对待显示的下一帧图像进行残像补偿。
在一些实施例中,判断显示面板是否存在残像之前,方法还包括:
获取与目标图像临近的至少一帧历史图像的图像信息;
根据至少一帧历史图像的图像信息,确定目标图像的画面内容在显示面板上的显示时长。
在一些实施例中,根据至少一帧历史图像的图像信息,确定目标图像的画面内容在显示面板上的显示时长,包括:
比较至少一帧历史图像和目标图像中,判断是否存在切换图像,其中,切换图像为与其前一帧图像之间发生画面内容切换的图像;
若存在至少一帧切换图像,提取至少一帧切换图像中与目标图像最邻近的目标切换图像;
将目标切换图像与目标图像之间的间隔时长,确定为目标图像的画面内容在显示面板上的显示时长。
在一些实施例中,比较所述至少一帧历史图像和所述目标图像,判断是否存在切换图像,包括:
获至少一帧所述历史图像和所述目标图像的平均灰度图,所述平均灰度图包括n个灰度块,其中,n为大于1的正整数;
针对至少一帧所述历史图像和所述目标图像中每相邻两帧图像的平均灰度图,确定两个平均灰度图中位于相同位置灰度块的灰度值差值;
在n个灰度值差值均小于预设阈值的情况下,确定不存在切换图像,否则,确定相邻两帧图像中的后一帧为切换图像。
在一些实施例中,获取至少一帧历史图像和所述目标图像的平均灰度图,包括:
针对至少一帧历史图像和所述目标图像中的每一帧图像,进行以下处理:
将该图像转换为灰度图;
将灰度图分割成m*m个第一区域,每个第一区域包括多个像素点,其中,m为大于1的整数,n等于m*m;
根据每一第一区域中多个像素点的灰度值,确定每一第一区域的灰度值,第一区域的灰度值为多个像素点的灰度值的平均值;
根据每一第一区域的灰度值,生成包括n个灰度块的平均灰度图。
在一些实施例中,判断显示面板是否存在残像,包括:
基于显示面板上实际所显示的图像,生成参考图像;
根据目标图像的图像信息,确定目标图像上的至少一个第一连通域;
确定参考图像上对应于每个第一连通域的第二连通域,其中,第二连通域在参考图像上的覆盖范围与对应的第一连通域在目标图像上的覆盖范围相同;
根据参考图像的图像信息和目标图像的图像信息,确定每个第一连通域的梯度信息和每个第二连通域的梯度信息;
根据每个第一连通域的梯度信息和每个第二连通域的梯度信息,判断显示面板上对应于每个第二连通域的区域,是否存在残像。
在一些实施例中,第一连通域的梯度信息包括第一连通域中每个像素点的梯度值,第二连通域的梯度信息包括第二连通域中每个像素点的梯度值;
根据每个第一连通域的梯度信息和每个第二连通域的梯度信息,判断显示面板上对应于每个第二连通域的区域,是否存在残像,包括:
对于每个第二连通域和其对应的第一连通域,进行以下处理:
确定第一连通域中多个梯度值的最大值和最小值,并计算最大值和最小值的第一梯度差值;
确定第二连通域中第一像素点的梯度值和第二像素点的梯度值;其中,第一像素点为与第一连通域中梯度值最大的像素点位置相同的像素点,第二像素点与第一连通域中梯度值最小的像素点位置相同的像素点,
计算第一像素点的梯度值和第二像素点的梯度值的第二梯度差值;
判断第一梯度差值和第二梯度差值的差值是否大于预设阈值,若是,确定第二连通域在显示面板上对应的区域存在残像。
在一些实施例中,确定显示面板的残像区域,包括:
将残像对应的所有第二连通域的覆盖范围,作为残像区域。
在一些实施例中,基于显示面板上实际所显示的图像,生成参考图像之前,方法还包括:
判断在上一帧图像的显示过程中是否确定出残像补偿参数;
若是,则根据中间图像的图像信息,驱动显示面板进行显示,中间图像是根据上一帧图像的显示过程中确定的残像补偿参数对目标图像进行残像补偿后的图像;
否则,则根据目标图像的图像信息,驱动显示面板进行显示。
在一些实施例中,基于显示面板上实际所显示的图像,生成参考图像,包括:
对显示面板进行拍摄,得到初始拍摄图像;
对初始拍摄图像进行畸变校正,得到参考图像。
在一些实施例中,残像区域包括至少一个子区域,每个子区域对应一个第二连通域,根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数,包括:
针对每一子区域:
根据显示面板的显示属性,获取目标图像在子区域内的多个第一像素点的第一色坐标,以及参考图像在子区域内的多个第二像素点的第二色坐标;
计算多个第一色坐标的平均值,得到第一目标色坐标;
分别计算多个第二色坐标与第一目标色坐标的坐标差,并将与第一目标色坐标的坐标差最大的第二色坐标,确定为基准色坐标;
根据基准RGB值和每一第二像素点的初始RGB值,确定残像补偿参数,其中,基准RGB值为基准色坐标对应的第二像素点的初始RGB值。
在一些实施例中,显示面板的显示属性至少包括显示面板的伽马值和色坐标转换矩阵;
根据显示面板的显示属性,获取目标图像在残像区域内的多个第一像
素点的第一色坐标,以及参考图像在残像区域内的多个第二像素点的第二色坐标,包括:
根据多个第一像素点的初始RGB值和伽马值,确定多个第一像素点的线性RGB值;
根据多个第一像素点的线性RGB值和色坐标转换矩阵,确定多个第一像素点的第一色坐标;
根据多个第二像素点的初始RGB值和伽马值,确定多个第二像素点的线性RGB值;
根据多个第二像素点的线性RGB值和色坐标转换矩阵,确定多个第二像素点的第二色坐标。
在一些实施例中,根据基准RGB值和每一第二像素点的初始RGB值,确定残像补偿参数,包括:
根据每一第二像素点的初始RGB值与基准RGB值的比例关系,确定每一第二像素点的补偿系数;
其中,残像补偿参数包括每一第二像素点的补偿系数。
第二方面,本公开实施例提供一种残像补偿装置,包括:
获取模块,被配置为获取目标图像,目标图像为用于在显示面板上显示的当前帧图像;
第一检测模块,被配置为当目标图像的画面内容在显示面板上的显示时长未超出预设时长时,判断显示面板是否存在残像;
第二检测模块,被配置为在显示面板存在残像的情况下,确定显示面板的残像区域,并根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数;
补偿模块,被配置为根据残像补偿参数,对待显示的下一帧图像进行残像补偿。
第三方面,本公开实施例提供另一种残像补偿装置,装置包括:处理
器,以及存储有计算机程序指令的存储器;处理器读取并执行计算机程序指令,以实现如第一方面所述的残像补偿方法。
第四方面,本公开实施例提供一种显示设备,包括第二方面或第三方面所述的残像补偿装置和显示面板。
在一些实施例中,显示面板包括微发光二极管阵列基板,以及与微发光二极管阵列基板连接的一个或多个集成电路。
第五方面,本公开实施例提供一种计算机可读存储介质,其中,计算机可读存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现如第一方面所述的残像补偿方法。
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:
图1为MLED显示面板中不同颜色的MLED的亮度损失示意图。
图2为本公开实施例提供的一种残像补偿方法的示意流程图。
图3为本公开实施例提供的另一残像补偿方法的示意流程图。
图4为本公开实施例提供的另一残像补偿方法的示意流程图。
图5为本公开实施例提供的一种显示面板和图像采集装置的位置关系示意图。
图6为图像连通域示意图。
图7为本公开实施例提供的步骤S3的一种可选实现方式流程图。
图8为本公开实施例提供的另一残像补偿方法的示意流程图。
图9为本公开的一些实施例中提供的残像补偿装置的示意图。
图10为本公开的一些实施例中提供的残像补偿装置的示意图。
图11为本公开的一些实施例中提供的计算机可读存储介质的示意图。
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例的附图,对本公开实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于所描述的本公开的实施例,本领域普通技术人员在无需创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
除非另作定义,本公开实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。
微发光二极管(Mini-LED/Micro-LED)具有高亮度、高对比度、快速响应以及低功耗的优点,因此基于MLED的显示技术在显示领域中得到了越来越广泛的应用。具体地,通过在衬底上集成高密度MLED阵列,来实现MLED显示面板的薄膜化、微小化和矩阵化。
相比于液晶显示面板等传统的显示面板,MLED显示面板具有更小的芯片尺寸和更小的像素间距,导致其具有更高的热量密度,因此,MLED显示面板的散热需求更高。基于上述技术需求,目前可以采用COG(Chip on
Glass)技术实现MLED显示面板的显示驱动,即通过将MLED芯片直接固晶到玻璃基板上,利用薄膜晶体管驱动MLED芯片发光。
COG技术基于玻璃基板工艺,采用半导体、光刻和先进铜工艺,可以在大面积上取得超精细的薄膜晶体管驱动结构。但由于采用COG的MLED显示面板中集成了高密度的MLED和薄膜晶体管,其像素之间的间距小于100μm,无法再形成更多的测温等电路结构,因此,难以对显示面板的温度进行实时检测以获取到显示面板的温度反馈。
而在采用GOG的MLED显示面板上长时间显示某一图像画面时,薄膜晶体管驱动MLED长时间点亮,使得显示面板的温度升高,MLED的发光效率随着温度升高而下降。其中,不同颜色MLED随着温度升高产生的亮度损失不同,图1为MLED显示面板中不同颜色的MLED的亮度损失示意图,如图1所示,红色MLED随温度升高亮度损失最多。同时,难以获取MLED显示面板的温度反馈,进而难以对显示面板的温度升高所造成的亮度损失进行有效补偿,导致显示面板显示的图像画面切换至下一图像画面时,在显示面板上残留上一个图像画面的画面内容,即出现残像,从而影响显示面板的显示效果。
为了解决上述技术问题中的至少一个,本公开实施例提供一种残像补偿方法,用于检测显示面板在显示过程中出现残像的区域,并对其进行补偿,提高显示面板的显示效果。
图2为本公开实施例提供的一种残像补偿方法的示意流程图,如图2所示,残像补偿方法包括多个显示周期,每个显示周期可以显示一帧图像,在每个显示周期进行以下步骤S1-步骤S4:
步骤S1,获取目标图像,目标图像为用于在显示面板上显示的当前帧图像。该显示面板尤其可以是MLED显示面板。
其中,目标图像是从视频源中预先获取的源图像。在残像补偿过程中,将视频源中的每一帧图像在显示面板上进行显示时,均作为目标图像进行
残像补偿处理。
需要说明的是,残像是由于显示面板的温度升高所造成的显示不良现象,并不是图像本身出现的缺陷,因此,目标图像作为视频源中的源图像不存在图像缺陷。
步骤S2,当目标图像的画面内容在显示面板上的显示时长未超出预设时长时,判断显示面板是否存在残像。
由于显示面板上残像产生的原因是面板温度升高所造成的,因此,在足够长的时间之后,显示面板充分散热,残像也随即消失。也就是说,本公开实施例中的残像补偿过程(即后续步骤S3~S4),是目标图像的画面内容在显示面板上显示时长未超出预设时长的情况下进行的。
在一个示例中,上述预设时长可以是1s、或者10s、或者30s、或者1min等,其可以根据显示面板的属性灵活设置,本公开实施例对此不做限定。
步骤S3,在显示面板存在残像的情况下,确定显示面板的残像区域,并根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数。
其中,显示面板的残像区域是指显示面板上所有出现残像的区域,其可以是闭环连通的一个区域,也可以是不连通的多个区域,本公开对此不做限定。
步骤S4,根据残像补偿参数,对待显示的下一帧图像进行残像补偿。
其中,待显示的下一帧图像也是视频源中的源图像,基于视频源预先设置的帧序列,目标图像的下一帧图像即为显示面板上待显示的下一帧图像。
本公开实施例提供的残像补偿方法包括多个显示周期,上述步骤S1-步骤S4是在一个显示周期中所进行的步骤。也就是说,在显示面板的显示过程中,需要对每一帧目标图像做上述处理,以实时检测显示面板是否出现残像,并对下一帧图像进行补偿。
本公开实施例提供的残像补偿方法,用于对显示面板上出现的残像进行消减,其中显示面板包括多个显示周期,针对每一个显示周期进行残像检测及补偿。具体地,对显示面板上显示的当前帧图像即目标图像进行残像检测,确定显示面板的残像区域和残像补偿参数,并将残像补偿参数作用于待显示的下一帧图像,对其进行残像补偿,以保证显示面板后续显示画面的均匀性。上述残像补偿参数在显示面板的显示过程中不断被更新,直到通过多次更新的残像补偿参数对显示面板进行补偿之后不再出现残像,以提高显示面板的显示效果。
在一些实施例中,当目标图像的画面内容在显示面板上的显示时长超出预设时长时,不再对下一帧图像进行补偿。
图3为本公开实施例提供的另一残像补偿方法的示意流程图,在一些实施例中,如图3所示,所述残像补偿方法包括上述步骤S1~S4,另外,还可以包括在步骤S2中判断显示面板是否存在残像之前,执行步骤S11~S12。
步骤S11,获取与目标图像临近的至少一帧历史图像的图像信息。
其中,与目标图像临近的至少一帧历史图像是指,在当前的显示周期之前的至少一个显示周期所对应的目标图像。
步骤S12,根据X帧历史图像的图像信息,确定目标图像的画面内容在显示面板上的显示时长,即目标图像的画面内容与上一帧切换图像之间的间隔时长,其中,切换图像为与其前一帧图像之间发生画面内容切换的图像。X为大于或等于1的整数。
需要说明的是,由于本公开实施例中的残像补偿,是目标图像的画面内容在显示面板上显示时长未超出预设时长的情况下进行的,因此可以将帧数X设定为预设时长下显示面板显示的图像帧数。在一个示例中,预设时长下显示面板可以显示60帧图像,则检测目标图像之前的60帧图像中是否存在切换图像。若存在,则根据切换图像与目标图像之间的间隔时长,
确定目标图像的画面内容在显示面板上的显示时长;若不存在,说明目标图像的画面内容在显示面板上的显示时长已经超出预设时长,不再对下一帧图像进行补偿。
另外,帧数X也可以与预设时长下显示面板显示的图像帧数无关联,其可以是10帧图像,也可以是30帧图像、120帧图像等,本公开实施例中对历史图像的帧数不做限定。
在一些实施例中,步骤S12可以包括步骤S121~S124:
步骤S121,根据至少一帧历史图像和目标图像,判断是否存在切换图像。若存在,执行步骤S122,否则,执行步骤S124。
在一些实施例中,步骤S121中判断是否存在切换图像,具体可以包括步骤S121a~S121c:
步骤S121a,获取至少一帧历史图像和目标图像的平均灰度图,平均灰度图包括n个灰度块,其中,n为大于1的正整数。
其中,每个灰度块可以为灰度均一的图像块,每个灰度块可以包括多个像素。
具体地,至少一帧历史图像和目标图像均可以为RGB图像,步骤S121a可以包括:针对至少一帧历史图像和目标图像中的每帧图像,进行以下处理:
首先,将该图像转换为灰度图。之后,将灰度图分割成m*m个第一区域,每个第一区域包括多个像素点,其中,m为大于1的整数,n等于m*m。再根据每一第一区域中多个像素点的灰度值,确定每一第一区域的灰度值,其中,第一区域的灰度值为多个像素点的灰度值的平均值。最后,根据每一第一区域的灰度值,生成包括n个灰度块的平均灰度图。
在一个示例中,至少一帧历史图像和目标图像中的任一帧图像的分辨率为256×256bpi,将其转化为灰度图,并将灰度图分割为64×64个第一区域,则每个第一区域中包括4×4个像素点。计算每个第一区域中的16
个像素点的灰度值的平均值,并将该值赋值给第一区域形成灰度块,最终生成包括64×64个灰度块的平均灰度图。
步骤S121b,针对至少一帧历史图像和目标图像中每相邻两帧图像的平均灰度图,确定两个平均灰度图中位于相同位置灰度块的灰度值差值。
步骤S121c,在n个灰度值差值均小于预设阈值的情况下,确定不存在切换图像,从而执行步骤S124;否则,确定相邻两帧图像中的后一帧为切换图像,从而执行步骤S122。
应当理解的是,相邻两帧图像的平均灰度图中位于相同位置灰度块的灰度值差值表示,相邻两帧图像在相同位置的图像差异,因此,在所有灰度值差值均小于预设阈值时,确定相邻两帧图像没有明显差异,即不存在切换图像。
步骤S122,提取至少一帧切换图像中与目标图像最邻近的目标切换图像。
应当理解的是,至少一帧历史图像和目标图像中可能出现多次画面内容切换,即存在多帧切换图像,则与目标图像之间的帧间隔数最少的切换图像为目标切换图像。至少一帧历史图像和目标图像中,目标切换图像及其之后的图像均与目标图像的画面内容一致。
步骤S123,将目标切换图像与目标图像之间的间隔时长,确定为目标图像的画面内容在显示面板上的显示时长。
步骤S124,将显示面板的工作时长,确定为目标图像的画面内容在显示面板上的显示时长。
在另一些实施例中,上述步骤S12具体可以包括:
在显示面板的工作状态下,对每一当前帧图像/目标图像与其前一帧图像进行图像检测,确定相邻两帧图像的平均灰度图;并基于两个平均灰度图,确定目标图像是否为切换图像;从显示面板显示第一帧图像开始,通过计数器进行计数,将计数的帧数乘以每帧图像的显示时长作为当前帧图
像的画面内容在显示面板上的显示时长;在每次检测到切换图像时,将计数器清零,重新计算切换后的画面内容在显示面板上的显示时长。
上述每帧图像的显示时长,是根据显示面板的显示属性确定的,本公开实施例对此不作赘述。
图4为本公开实施例提供的另一残像补偿方法的示意流程图,如图4所示,所述残像补偿方法包括在每个显示周期执行的上述步骤S1、S11、S12、S2~S4,其中,在图4所示的残像补偿方法中,步骤S2中判断显示面板是否存在残像,具体可以包括:
步骤S21,基于显示面板上实际所显示的图像,生成参考图像。
在一些实施例中,步骤S21具体可以包括:
对显示面板进行拍摄,得到初始拍摄图像;对初始拍摄图像进行畸变校正,得到参考图像。
其中,畸变校正的目的是使拍摄得到的参考图像与目标图像的分辨率大小一致,以便于对参考图像和目标图像进行检测分析,判断显示面板上是否存在残像,以及确定残像区域。
图5为本公开实施例提供的一种显示面板和图像采集装置的位置关系示意图,在一个示例中,如图5所示,可以由固定在显示面板51的第一边缘、并与显示面板通信连接的图像采集装置50对显示面板进行拍摄,得到初始拍摄图像。第一边缘是指显示面板51垂直放置状态下的上边缘,上述图像采集装置50也可以固定于显示面板51的其他位置,或者并不安装在显示面板51上。图像采集装置50可以为摄像头,也可以是手机、平板电脑等其他具有拍摄功能和通信功能的终端设备,本公开实施例对此均不作限定。
步骤S22,根据目标图像的图像信息,确定目标图像上的至少一个第一连通域。
需要说明的是,连通域是指在一个图像中,不出现颜色变化的最小区
域。显示面板上出现残像是指本该显示同一颜色的区域(即同一个连通域内),存在颜色差异,导致肉眼可分辨的形状残像。因此,分割出图像中的至少一个连通域,是对显示面板进行残像检测及补偿的重要步骤。
图6为图像连通域示意图,在一个示例中,如图6所示,字母“i”包括两个连通域,字母“c”包括一个连通域。上述确定至少一个连通域的具体算法可以是区域生长法和种子填充法,也可以是基于深度学习的实例分割算法,例如Mask RNN,本公开实施例对此均不做限定。
步骤S23,确定参考图像上对应于每个第一连通域的第二连通域,其中,第二连通域在参考图像上的覆盖范围与对应的第一连通域在目标图像上的覆盖范围相同。
应当理解的是,参考图像是对显示面板上的画面内容进行拍摄而得到的,由于拍摄过程中,显示面板可以会出现反光、或者存在残像等现象,导致直接通过预设算法对参考图像进行连通域检测所得到的连通域区域是不准确的。因此,默认第二连通域在参考图像上的覆盖范围与对应的第一连通域在目标图像上的覆盖范围相同。
步骤S24,根据参考图像的图像信息和目标图像的图像信息,确定每个第一连通域的梯度信息和每个第二连通域的梯度信息。其中,第一连通域的梯度信息包括第一连通域中每个像素点的梯度值,第二连通域的梯度信息包括第二连通域中每个像素点的梯度值。
在一个示例中,步骤S24可以包括:对目标图像进行高通滤波,以提取第一连通域信息并对目标图像进行去噪,得到滤波图;对滤波图进行梯度滤波,增强图像对比度,得到目标图像的梯度图;遍历梯度图上的至少一个第一连通域,针对每一个第一连通域,得到第一连通域中每个像素点的第一梯度值。基于同样方法,对参考图像进行处理,得到第二连通域中每个像素点的第二梯度值。
步骤S25,根据每个第一连通域的梯度信息和每个第二连通域的梯度信
息,判断显示面板上对应于每个第二连通域的区域,是否存在残像。
在一些实施例中,步骤S25具体可以包括:对于每个第二连通域和其对应的第一连通域,进行以下步骤S251~S253:
步骤S251,确定第一连通域中多个梯度值的最大值a1和最小值a2,并计算最大值a1和最小值a2的第一梯度差值a。
步骤S252,确定第二连通域中第一像素点的梯度值b1和第二像素点的梯度值b2,并计算第一像素点的梯度值b1和第二像素点的梯度值b2的第二梯度差值b;其中,第一像素点为与第一连通域中梯度值最大的像素点位置相同的像素点,第二像素点与第一连通域中梯度值最小的像素点位置相同的像素点。
步骤S253,判断第一梯度差值a和第二梯度差值b的差值是否大于预设阈值,若是,确定第二连通域在显示面板上对应的区域存在残像。
应当理解的是,由于参考图像是对显示面板拍摄得到的,当显示面板出现残像时,会影响到参考图像的画面均一性。另外,由于目标图像是视频源中的源图像,其在同一连通域内的画面是均匀的,通过比较参考图像和目标图像的梯度差异,来确定参考图像上与目标图像画面差异较大的连通域,即确定参考图像上画面不均匀的位置,也就是出现显示面板上出现残像的位置。
在图4所示的残像补偿方法中,步骤S3中确定显示面板的残像区域,具体可以包括:将残像对应的所有第二连通域的覆盖范围,作为残像区域。
图7为本公开实施例提供的步骤S3的一种可选实现方式流程图,在一些实施例中,残像区域包括至少一个子区域,每个子区域对应一个第二连通域,如图7所示,步骤S3中根据显示面板的显示属性和残像区域所显示图像的图像信息,确定残像补偿参数,具体可以包括:针对每一子区域,执行以下步骤S31~S34:
步骤S31,根据显示面板的显示属性,获取目标图像在子区域内的多个
第一像素点的第一色坐标,以及参考图像在子区域内的多个第二像素点的第二色坐标。
在一些实施例中,显示面板的显示属性至少包括显示面板的伽马值和色坐标转换矩阵;步骤S31具体可以包括:
步骤S311,根据多个第一像素点的初始RGB值和伽马值,确定多个第一像素点的线性RGB值。
在一个示例中,上述每一第一像素点的线性RGB值可以通过公式1来计算,具体如下:
其中,Rinput、Ginput、Binput表示第一像素点的初始RGB值,γ表示显示面板的伽马值,Rlinear、Glinear、Blinear表示第一像素点的线性RGB值。
步骤S312,根据多个第一像素点的线性RGB值和色坐标转换矩阵,确定多个第一像素点的第一色坐标。
与步骤S311相同示例中,上述每一第一像素点的第一色坐标可以通过公式2和公式3来计算,具体如下:
其中,表示色坐标转换矩阵,(x1,y1)表示第一色坐标。
步骤S313,根据多个第二像素点的初始RGB值和伽马值,确定多个第二像素点的线性RGB值。
步骤S314,根据多个第二像素点的线性RGB值和色坐标转换矩阵,确定多个第二像素点的第二色坐标。
上述步骤S313和步骤S311的具体计算过程相同,即可以通过公式1确定多个第二像素点的线性RGB值,以及,步骤S314和步骤S312的具体
计算过程相同,即可以通过公式2和公式3确定第二像素点的第二色坐标,每个第二色坐标可以表示为(xi,yi)。
步骤S32,计算多个第一色坐标的平均值,得到第一目标色坐标。
应当理解的是,确定残像补偿参数是针对显示面板上的每一子区域而言的,而显示面板上的每一子区域和目标图像的第一连通域、以及参考图像上的第二连通域均是对应的。因此,确定每一子区域中多个第一像素点的第一色坐标,也就是确定第一连通域中多个第一像素点的第一色坐标。由于目标图像是画面均匀的图像,理想状态下,位于同一第一连通域内的第一像素点的色坐标是相同的。考虑到图像误差,将多个第一色坐标的平均值,确定为整个第一连通域的色坐标,即第一目标色坐标。在与步骤S311相同示例中,第一目标色坐标可以表示为(xinput,yinput)。
步骤S33,分别计算多个第二色坐标与第一目标色坐标的坐标差,并将与第一目标色坐标的坐标差最大的第二色坐标,确定为基准色坐标。
由于显示面板温度最高处对应的第二像素点的RGB初始值已经是最大值,无法再继续提高RGB值使第二色坐标变化。因此需要以与第一目标色坐标差异最大的像素点的色坐标作为基准色坐标,并调整其他第二像素点RGB值,使得调整后的第二色坐标与基准色坐标一致。
在一个示例中,基准色坐标可以通过公式4来计算,具体如下:
其中,(xtarget,ytarget)表示基准色坐标,(xi,yi)表示多个第二色坐标中的任意一个。
步骤S34,根据基准RGB值和每一第二像素点的初始RGB值,确定残像补偿参数,其中,基准RGB值为基准色坐标对应的第二像素点的初始RGB值,其可以表示为(Rtarget,Gtarget,Btarget)。
在一些实施例中,步骤S34具体可以包括:
根据每一第二像素点的初始RGB值与基准RGB值的比例关系,确定每一第二像素点的补偿系数;其中,残像补偿参数包括每一第二像素点的补偿系数。
与步骤S311相同示例中,每一第二像素点的补偿系数可以通过公式5来计算,具体如下:
其中,表示每一第二像素点的补偿系数,(Ri、Gi、Bi)为每一第二像素点的初始RGB值。
图8为本公开实施例提供的另一残像补偿方法的示意流程图,如图8所示,残像补偿方法包括图4中所示的各步骤,另外,在图8所示的残像补偿方法中,在步骤S21之前,还包括:
步骤S20,判断在上一帧图像的显示过程中(即上一个显示周期)是否确定出残像补偿参数;若是,则根据中间图像的图像信息,驱动显示面板进行显示,中间图像是根据上一个显示周期确定的残像补偿参数对目标图像进行残像补偿后的图像;否则,根据目标图像的图像信息,驱动显示面板进行显示。
应当理解的是,根据步骤S1-步骤S4可知,本公开实施例提供的残像补偿方法在目标图像的画面内容在显示面板上的显示时长未超出预设时长,且显示面板上存在残像区域的情况下,确定残像补偿参数,并对待显示的下一帧图像进行残像补偿。也就是说,在上一个显示周期确定出历史残像补偿参数的情况下,当前显示周期中获取到的目标图像后,会根据历史残像补偿参数对目标图像进行补偿,即显示面板上显示的画面内容是根据历史残像补偿参数补偿后的中间图像,并不是源图像。
进一步地,在显示面板上显示的图像为中间图像时,参考图像是拍摄显示面板上的中间图像得到的。
另外,需要明确的是,目标图像和中间图像均是指显示面板上显示的
当前帧图像,区别在于目标图像是从视频源的多帧图像中直接获取的,也就是源图像,中间图像是指对目标图像进行残像补偿后的图像,其中,残像补偿应用的参数为历史残像补偿参数。
还需要说明的是,在目标图像的画面内容在显示面板上的显示时长超出预设时长,或者显示面板上不存在残像区域的情况下,当前显示周期中没有确定出新的残像补偿参数,在这种情况下,可以根据历史残像补偿参数对待显示的下一帧图像进行残像补偿,或者不再对显示面板进行残像补偿。具体的,结合以下具体示例来进行说明。
在一些实施例中,显示面板上待显示的视频源中包括画面内容相同的N帧图像,其中预设时长内显示面板上可以显示n1帧图像,(N大于n1,N与n1均为正整数),在显示面板上显示上述视频源的过程中,对显示面板进行残像补偿。具体可以包括以下几种情况:
示例一、第一显示周期:显示面板接收视频源中的第一帧图像进行显示,此时目标图像为第一帧图像,不存在其前一帧图像,也不存在根据前一帧图像确定的历史残像补偿参数,因此可以执行图2中的步骤,对下一显示周期的目标图像进行残像补偿。
示例二、第二显示周期:显示面板接收视频源中的第二帧图像进行显示,并确定第二帧图像在预设显示时长内。在第一显示周期中未检测到显示面板的残像的情况下,第二显示周期中显示面板上显示的是第二帧图像的源图像,则参考图像是对第二帧图像在显示面板上的画面内容得到的;在第一显示周期中检测到显示面板的残像的情况下,根据第一显示周期确定的残像补偿参数对第二帧图像进行残像补偿,显示面板上显示的是对第二帧源图像进行补偿后得到的中间图像,则参考图像是对中间图像在显示面板上显示的画面内容进行拍摄得到的。
示例三、第n1-1显示周期:显示面板接收视频源中的第n1-1帧图像进行显示,并确定第n1-1帧图像在预设显示时长内。在确定当前显示周期中
显示面板上存在残像的情况下,更新残像补偿参数为A;在确定当前显示周期中显示面板上不存在残像的情况下,沿用之前的历史显示周期中确定的残像补偿参数B;根据残像补偿参数A或者B,对第n1帧图像进行补偿。
示例四:第n1显示周期:显示面板接收视频源中的第n1帧图像进行显示,此时,确定第n1帧图像超出预设显示时长,则不再做其他处理,直接输出第n1帧图像。在该显示周期中,由于第n1帧图像已经在第n1-1显示周期中被残像补偿参数A或B进行补偿,因此显示面板上显示的是对第n1帧源图像进行补偿后得到的中间图像,则参考图像是对中间图像在显示面板上显示的画面内容进行拍摄得到的。
示例五:第n1+1显示周期:显示面板接收视频源中的第n1+1帧图像进行显示,此时,确定第n1+1帧图像超出预设显示时长。在该显示周期中,由于第n1+1帧图像未被残像补偿参数补偿,因此显示面板上显示的是第n1+1帧的源图像,则参考图像是根据第n1+1帧源图像在显示面板上显示的画面内容得到的。
结合以上示例,在显示面板上显示的当前帧图像即目标图像,既没有在上一显示周期中被残像补偿参数补偿,又超过了预设显示时长的情况下,参考图像是根据目标图像得到的,否则,参考图像根据中间图像得到。
图9为本公开的一些实施例中提供的残像补偿装置的示意图,该残像补偿装置用于执行上述残像补偿方法。如图9所示,残像补偿装置包括:获取模块10、第一检测模块20、第二检测模块30和补偿模块40。
其中,获取模块10被配置为在每个显示周期获取目标图像,目标图像为用于在显示面板上显示的当前帧图像。
第一检测模块20被配置为当目标图像的画面内容在显示面板上的显示时长未超出预设时长时,判断显示面板是否存在残像。
第二检测模块30被配置为在显示面板存在残像的情况下,确定显示面板的残像区域,并根据显示面板的显示属性和残像区域所显示图像的图像
信息,确定残像补偿参数。
补偿模块40被配置为根据残像补偿参数,对待显示的下一帧图像进行残像补偿。
其中,各模块的功能参见上述残像补偿方法中的描述,这里不再赘述。
图10为本公开的一些实施例中提供的残像补偿装置的示意图,如图10所示,残像补偿装置100包括:存储器101和处理器102,存储器101上存储有计算机程序,其中,计算机程序被处理器102执行时实现上述的残像补偿方法,例如实现图2中的步骤S1至S4。
残像补偿装置100可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。残像补偿装置100可包括,但不仅限于,处理器102和存储器101。本领域技术人员可以理解,图10仅仅是残像补偿装置100的示例,并不构成对残像补偿装置100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述残像补偿装置100还可以包括输入输出设备、网络接入设备、总线等。
处理器102可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器102可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器101可以是残像补偿装置100的内部存储单元,例如残像补偿装置100的硬盘或内存。所述存储器101也可以是所述残像补偿装置100的外部存储设备,例如所述残像补偿装置100上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器101还可以既包括所述残像补偿装置100的内部存储单元也包括外部存储设备。所存储器101用于存储所述计算机
程序以及所述终端设备所需的其他程序和数据。存储器101还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述***中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本公开实施例还提供一种显示设备,包括上述图9或图10中的残像补偿装置和显示面板。其中,显示面板可以是MLED显示面板,其包括微发光二极管阵列基板,以及与微发光二极管阵列基板连接的一个或多个集成电路。
图11为本公开的一些实施例中提供的计算机可读存储介质的示意图,如图11所示,计算机可读存储介质200上存储有计算机程序201,其中,计算机程序201被处理器执行时实现上述残像补偿方法,例如实现图2中的步骤S1至步骤S4。计算机可读存储介质200包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
可以理解的是,以上实施方式仅仅是为了说明本公开的原理而采用的示例性实施方式,然而本公开并不局限于此。对于本领域内的普通技术人员而言,在不脱离本公开的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本公开的保护范围。
Claims (18)
- 一种残像补偿方法,其中,包括:获取目标图像,所述目标图像为用于在显示面板上显示的当前帧图像;当所述目标图像的画面内容在所述显示面板上的显示时长未超出预设时长时,判断所述显示面板是否存在残像;在所述显示面板存在残像的情况下,确定所述显示面板的残像区域,并根据所述显示面板的显示属性和所述残像区域所显示图像的图像信息,确定残像补偿参数;根据所述残像补偿参数,对待显示的下一帧图像进行残像补偿。
- 根据权利要求1所述的方法,其中,所述判断所述显示面板是否存在残像之前,所述方法还包括:获取与所述目标图像临近的至少一帧历史图像的图像信息;根据所述至少一帧历史图像的图像信息,确定所述目标图像的画面内容在所述显示面板上的显示时长。
- 根据权利要求2所述的方法,其中,所述根据所述至少一帧历史图像的图像信息,确定所述目标图像的画面内容在所述显示面板上的显示时长,包括:比较所述至少一帧历史图像和所述目标图像,判断是否存在切换图像,其中,所述切换图像为与其前一帧图像之间发生画面内容切换的图像;若存在至少一帧切换图像,提取所述至少一帧切换图像中与所述目标图像最邻近的目标切换图像;将所述目标切换图像与所述目标图像之间的间隔时长,确定为所述目标图像的画面内容在所述显示面板上的显示时长。
- 根据权利要求3所述的方法,其中,所述比较所述至少一帧历史图像和所述目标图像,判断是否存在切换图像,包括:获取至少一帧所述历史图像和所述目标图像的平均灰度图,所述平均灰度图包括n个灰度块,其中,所述n为大于1的正整数;针对至少一帧所述历史图像和所述目标图像中每相邻两帧图像的平均灰度图,确定两个平均灰度图中位于相同位置灰度块的灰度值差值;在n个所述灰度值差值均小于预设阈值的情况下,确定不存在切换图像,否则,确定所述相邻两帧图像中的后一帧为切换图像。
- 根据权利要求4所述的方法,其中,所述获取至少一帧所述历史图像和所述目标图像的平均灰度图,包括:针对至少一帧所述历史图像和所述目标图像中的每一帧图像,进行以下处理:将该图像转换为灰度图;将所述灰度图分割成m*m个第一区域,每个所述第一区域包括多个像素点,其中,m为大于1的整数,所述n等于m*m;根据每一所述第一区域中多个像素点的灰度值,确定每一所述第一区域的灰度值,所述第一区域的灰度值为所述多个像素点的灰度值的平均值;根据每一第一区域的灰度值,生成包括所述n个灰度块的平均灰度图。
- 根据权利要求1所述的方法,其中,判断所述显示面板是否存在残像,包括:基于所述显示面板上实际所显示的图像,生成参考图像;根据所述目标图像的图像信息,确定所述目标图像上的至少一个第一连通域;确定所述参考图像上对应于每个所述第一连通域的第二连通域,其中,所述第二连通域在所述参考图像上的覆盖范围与对应的第一连通域在所述目标图像上的覆盖范围相同;根据所述参考图像的图像信息和所述目标图像的图像信息,确定每个所述第一连通域的梯度信息和每个所述第二连通域的梯度信息;根据每个所述第一连通域的梯度信息和每个第二连通域的梯度信息,判断所述显示面板上对应于每个第二连通域的区域,是否存在残像。
- 根据权利要求6所述的方法,其中,所述第一连通域的梯度信息包括所述第一连通域中每个像素点的梯度值,所述第二连通域的梯度信息包括所述第二连通域中每个像素点的梯度值;根据每个所述第一连通域的梯度信息和每个第二连通域的梯度信息,判断所述显示面板上对应于每个第二连通域的区域,是否存在残像,包括:对于每个第二连通域和其对应的第一连通域,进行以下处理:确定所述第一连通域中多个所述梯度值的最大值和最小值,并计算最大值和最小值的第一梯度差值;确定所述第二连通域中第一像素点的梯度值和第二像素点的梯度值;其中,所述第一像素点为与所述第一连通域中梯度值最大的像素点位置相同的像素点,所述第二像素点与所述第一连通域中梯度值最小的像素点位置相同的像素点,计算所述第一像素点的梯度值和所述第二像素点的梯度值的第二梯度差值;判断所述第一梯度差值和所述第二梯度差值的差值是否大于预设阈值,若是,确定所述第二连通域在所述显示面板上对应的区域存在残像。
- 根据权利要求6所述的方法,其中,所述确定所述显示面板的残像 区域,包括:将所述残像对应的所有第二连通域的覆盖范围,作为所述残像区域。
- 根据权利要求6所述的方法,其中,所述基于所述显示面板上实际所显示的图像,生成参考图像之前,所述方法还包括:判断在上一帧图像的显示过程中是否确定出残像补偿参数;若是,则根据中间图像的图像信息,驱动所述显示面板进行显示,所述中间图像是根据所述上一帧图像的显示过程中确定的残像补偿参数对所述目标图像进行残像补偿后的图像;否则,根据所述目标图像的图像信息,驱动所述显示面板进行显示。
- 根据权利要求6所述的方法,其中,所述基于所述显示面板上实际所显示的图像,生成参考图像,包括:对所述显示面板进行拍摄,得到初始拍摄图像;对所述初始拍摄图像进行畸变校正,得到所述参考图像。
- 根据权利要求8所述的方法,其中,所述残像区域包括至少一个子区域,每个子区域对应一个所述第二连通域,所述根据所述显示面板的显示属性和所述残像区域所显示图像的图像信息,确定残像补偿参数,包括:针对每一子区域:根据所述显示面板的显示属性,获取所述目标图像在所述子区域内的多个第一像素点的第一色坐标,以及所述参考图像在所述子区域内的多个第二像素点的第二色坐标;计算多个第一色坐标的平均值,得到第一目标色坐标;分别计算所述多个第二色坐标与所述第一目标色坐标的坐标差,并将 与所述第一目标色坐标的坐标差最大的第二色坐标,确定为所述基准色坐标;根据基准RGB值和每一所述第二像素点的初始RGB值,确定所述残像补偿参数,其中,所述基准RGB值为所述基准色坐标对应的第二像素点的初始RGB值。
- 根据权利要求11所述的方法,其中,所述显示面板的显示属性至少包括所述显示面板的伽马值和色坐标转换矩阵;所述根据所述显示面板的显示属性,获取所述目标图像在所述残像区域内的多个第一像素点的第一色坐标,以及所述参考图像在所述残像区域内的多个第二像素点的第二色坐标,包括:根据所述多个第一像素点的初始RGB值和所述伽马值,确定所述多个第一像素点的线性RGB值;根据所述多个第一像素点的线性RGB值和所述色坐标转换矩阵,确定多个第一像素点的第一色坐标;根据所述多个第二像素点的初始RGB值和所述伽马值,确定所述多个第二像素点的线性RGB值;根据所述多个第二像素点的线性RGB值和所述色坐标转换矩阵,确定多个第二像素点的第二色坐标。
- 根据权利要求11所述的方法,其中,所述根据基准RGB值和每一所述第二像素点的初始RGB值,确定所述残像补偿参数,包括:根据每一第二像素点的初始RGB值与基准RGB值的比例关系,确定每一第二像素点的补偿系数;其中,所述残像补偿参数包括每一第二像素点的补偿系数。
- 一种残像补偿装置,其中,包括:获取模块,被配置为获取目标图像,所述目标图像为用于在显示面板上显示的当前帧图像;第一检测模块,被配置为当所述目标图像的画面内容在所述显示面板上的显示时长未超出预设时长时,判断所述显示面板是否存在残像;第二检测模块,被配置为在所述显示面板存在残像的情况下,确定所述显示面板的残像区域,并根据所述显示面板的显示属性和所述残像区域所显示图像的图像信息,确定残像补偿参数;补偿模块,被配置为根据所述残像补偿参数,对待显示的下一帧图像进行残像补偿。
- 一种残像补偿装置,其中,所述装置包括:处理器,以及存储有计算机程序指令的存储器;所述处理器读取并执行所述计算机程序指令,以实现如权利要求1-13中任意一项所述的残像补偿方法。
- 一种显示设备,包括权利要求14或15所述的残像补偿装置和显示面板。
- 根据权利要求16所述的显示设备,其中,所述显示面板包括微发光二极管阵列基板,以及与所述微发光二极管阵列基板连接的一个或多个集成电路。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1-13中任意一项所述的残像补偿方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210603256.6A CN114898717B (zh) | 2022-05-30 | 2022-05-30 | 残像补偿方法、装置、显示设备和计算机可读存储介质 |
CN202210603256.6 | 2022-05-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023231675A1 true WO2023231675A1 (zh) | 2023-12-07 |
Family
ID=82725724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/091548 WO2023231675A1 (zh) | 2022-05-30 | 2023-04-28 | 残像补偿方法、装置、显示设备和计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114898717B (zh) |
WO (1) | WO2023231675A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117912408A (zh) * | 2024-03-20 | 2024-04-19 | 深圳市华星光电半导体显示技术有限公司 | 显示面板的显示补偿方法、装置及显示设备 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114898717B (zh) * | 2022-05-30 | 2023-12-26 | 京东方科技集团股份有限公司 | 残像补偿方法、装置、显示设备和计算机可读存储介质 |
CN118119998A (zh) * | 2022-09-30 | 2024-05-31 | 京东方科技集团股份有限公司 | 拼接显示屏及其显示方法、参数确定方法、以及控制*** |
CN115798421B (zh) * | 2022-11-30 | 2024-03-19 | 惠科股份有限公司 | 显示面板的驱动方法、驱动电路和显示装置 |
WO2024138318A1 (zh) * | 2022-12-26 | 2024-07-04 | 京东方科技集团股份有限公司 | 拼接显示屏及其显示方法、显示***、计算机设备、介质 |
CN117524090B (zh) * | 2023-12-08 | 2024-06-21 | 广州卓奥科技有限公司 | 基于人工智能的led显示器色彩自校准方法及*** |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050122842A (ko) * | 2004-06-25 | 2005-12-29 | 주식회사 대우일렉트로닉스 | 플라즈마 디스플레이 패널의 잔상 방지 장치와 방법 |
CN104091555A (zh) * | 2014-06-20 | 2014-10-08 | 京东方科技集团股份有限公司 | 一种显示器残像等级的评价方法及其装置 |
CN105632449A (zh) * | 2016-04-06 | 2016-06-01 | 京东方科技集团股份有限公司 | 一种显示面板的伽马电压调节方法及装置 |
KR20170081085A (ko) * | 2015-12-31 | 2017-07-11 | 엘지디스플레이 주식회사 | 유기전계발광표시장치 및 이의 구동방법 |
CN107561743A (zh) * | 2017-09-29 | 2018-01-09 | 深圳市华星光电半导体显示技术有限公司 | 一种液晶显示面板的残像判断方法 |
CN108305591A (zh) * | 2018-02-12 | 2018-07-20 | 京东方科技集团股份有限公司 | 显示控制方法及显示装置 |
CN108922463A (zh) * | 2018-07-25 | 2018-11-30 | 京东方科技集团股份有限公司 | 显示面板的残像等级检测方法和残像等级检测装置 |
CN110299104A (zh) * | 2019-06-29 | 2019-10-01 | 昆山国显光电有限公司 | 一种显示面板的驱动电路及驱动方法、显示装置 |
CN112369006A (zh) * | 2018-06-14 | 2021-02-12 | 三星显示有限公司 | 显示面板的驱动方法和用于执行其的显示装置 |
CN114283733A (zh) * | 2022-01-27 | 2022-04-05 | 京东方科技集团股份有限公司 | 显示设备的控制方法及控制装置、驱动芯片和显示设备 |
CN114333716A (zh) * | 2020-09-29 | 2022-04-12 | 北京小米移动软件有限公司 | 显示控制方法、装置、终端设备及存储介质 |
CN114898717A (zh) * | 2022-05-30 | 2022-08-12 | 京东方科技集团股份有限公司 | 残像补偿方法、装置、显示设备和计算机可读存储介质 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102446219B1 (ko) * | 2017-09-25 | 2022-09-22 | 엘지전자 주식회사 | 유기 발광 다이오드 표시 장치 |
CN108039149B (zh) * | 2017-12-07 | 2020-02-07 | 京东方科技集团股份有限公司 | 一种oled像素电路及其驱动方法、显示装置 |
CN109377942B (zh) * | 2018-12-24 | 2020-07-03 | 合肥鑫晟光电科技有限公司 | 显示装置的补偿方法、装置、显示设备 |
US11984078B2 (en) * | 2020-07-27 | 2024-05-14 | Lg Electronics Inc. | Image display device and system comprising same |
CN112365840B (zh) * | 2020-11-24 | 2021-11-30 | 昆山工研院新型平板显示技术中心有限公司 | 显示面板的补偿方法、装置及显示装置 |
CN112951161B (zh) * | 2021-02-24 | 2023-04-28 | 厦门天马微电子有限公司 | 显示面板的驱动方法及显示装置 |
CN114267312B (zh) * | 2021-12-30 | 2023-02-17 | 北京奕斯伟计算技术股份有限公司 | 残像优化电路及方法 |
-
2022
- 2022-05-30 CN CN202210603256.6A patent/CN114898717B/zh active Active
-
2023
- 2023-04-28 WO PCT/CN2023/091548 patent/WO2023231675A1/zh unknown
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050122842A (ko) * | 2004-06-25 | 2005-12-29 | 주식회사 대우일렉트로닉스 | 플라즈마 디스플레이 패널의 잔상 방지 장치와 방법 |
CN104091555A (zh) * | 2014-06-20 | 2014-10-08 | 京东方科技集团股份有限公司 | 一种显示器残像等级的评价方法及其装置 |
KR20170081085A (ko) * | 2015-12-31 | 2017-07-11 | 엘지디스플레이 주식회사 | 유기전계발광표시장치 및 이의 구동방법 |
CN105632449A (zh) * | 2016-04-06 | 2016-06-01 | 京东方科技集团股份有限公司 | 一种显示面板的伽马电压调节方法及装置 |
CN107561743A (zh) * | 2017-09-29 | 2018-01-09 | 深圳市华星光电半导体显示技术有限公司 | 一种液晶显示面板的残像判断方法 |
CN108305591A (zh) * | 2018-02-12 | 2018-07-20 | 京东方科技集团股份有限公司 | 显示控制方法及显示装置 |
CN112369006A (zh) * | 2018-06-14 | 2021-02-12 | 三星显示有限公司 | 显示面板的驱动方法和用于执行其的显示装置 |
CN108922463A (zh) * | 2018-07-25 | 2018-11-30 | 京东方科技集团股份有限公司 | 显示面板的残像等级检测方法和残像等级检测装置 |
CN110299104A (zh) * | 2019-06-29 | 2019-10-01 | 昆山国显光电有限公司 | 一种显示面板的驱动电路及驱动方法、显示装置 |
CN114333716A (zh) * | 2020-09-29 | 2022-04-12 | 北京小米移动软件有限公司 | 显示控制方法、装置、终端设备及存储介质 |
CN114283733A (zh) * | 2022-01-27 | 2022-04-05 | 京东方科技集团股份有限公司 | 显示设备的控制方法及控制装置、驱动芯片和显示设备 |
CN114898717A (zh) * | 2022-05-30 | 2022-08-12 | 京东方科技集团股份有限公司 | 残像补偿方法、装置、显示设备和计算机可读存储介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117912408A (zh) * | 2024-03-20 | 2024-04-19 | 深圳市华星光电半导体显示技术有限公司 | 显示面板的显示补偿方法、装置及显示设备 |
CN117912408B (zh) * | 2024-03-20 | 2024-06-07 | 深圳市华星光电半导体显示技术有限公司 | 显示面板的显示补偿方法、装置及显示设备 |
Also Published As
Publication number | Publication date |
---|---|
CN114898717A (zh) | 2022-08-12 |
CN114898717B (zh) | 2023-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023231675A1 (zh) | 残像补偿方法、装置、显示设备和计算机可读存储介质 | |
CN109036271B (zh) | 曲面屏弯折区色偏修正的方法、装置、存储介质及终端 | |
WO2022022025A1 (zh) | 显示面板的亮度补偿方法、装置及设备 | |
US20210166654A1 (en) | Method for detecting compensation parameters of brightness, method for compensating brightness, detection device for detecting compensation parameters of brightness, brightness compensation device, display device, and non-volatile storage medium | |
WO2020224387A1 (zh) | 驱动方法、驱动装置、显示设备和计算机可读介质 | |
CN111816121B (zh) | 显示面板的亮度补偿方法、***及显示面板 | |
WO2016150004A1 (zh) | 一种对oled显示器的待显示画面进行处理的设备和方法 | |
WO2020019487A1 (zh) | mura补偿方法及mura补偿*** | |
EP3633666A1 (en) | Brightness adjustment system | |
CN106412549B (zh) | 图像亮度调整方法及装置 | |
CN109495729B (zh) | 投影画面校正方法和*** | |
WO2016070455A1 (zh) | 液晶面板及其像素单元设定方法 | |
CN113990263B (zh) | 显示屏的背光处理方法、装置、存储介质及电子设备 | |
TW201545157A (zh) | 影像分析和影像顯示的裝置和方法 | |
WO2015100769A1 (zh) | 白平衡调整方法及***、液晶显示器制造方法 | |
CN109064958A (zh) | 基于GPU的color demura*** | |
JP2021501369A (ja) | 液晶ディスプレイパネルのグレースケール補正データの検出方法 | |
WO2019080286A1 (zh) | 显示装置的驱动方法及显示装置 | |
CN108008553A (zh) | 一种Mura检测校正方法和*** | |
WO2019080446A1 (zh) | 显示装置的驱动方法及显示装置 | |
CN109686336B (zh) | 显示器件及其显示控制方法、装置 | |
WO2019080285A1 (zh) | 显示装置的驱动方法及显示装置 | |
WO2019100551A1 (zh) | 显示面板Mura的检测方法、检测装置及计算机可读存储介质 | |
WO2024001502A1 (zh) | 屏幕显示方法、屏幕显示装置、电子设备、程序及介质 | |
WO2021196036A1 (zh) | 图像处理的***、方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23814861 Country of ref document: EP Kind code of ref document: A1 |