WO2022089082A1 - Method for adjusting display image, terminal device, and computer readable storage medium - Google Patents

Method for adjusting display image, terminal device, and computer readable storage medium Download PDF

Info

Publication number
WO2022089082A1
WO2022089082A1 PCT/CN2021/118775 CN2021118775W WO2022089082A1 WO 2022089082 A1 WO2022089082 A1 WO 2022089082A1 CN 2021118775 W CN2021118775 W CN 2021118775W WO 2022089082 A1 WO2022089082 A1 WO 2022089082A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
image
display
target image
display image
Prior art date
Application number
PCT/CN2021/118775
Other languages
French (fr)
Chinese (zh)
Inventor
陈林
夏大学
杨剑锋
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2022089082A1 publication Critical patent/WO2022089082A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/22Control 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 using controlled light sources
    • G09G3/30Control 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 using controlled light sources using electroluminescent panels
    • G09G3/32Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen

Definitions

  • the present invention relates to the technical field of graph processing, and in particular, to a display image adjustment method, a terminal device and a computer-readable storage medium.
  • Displays have more important applications in real life and production; the display effect of the display gives people the most direct sensory experience, and is also an important part of the production process of display equipment. A good display effect can bring people better viewing experience.
  • the display shows uneven brightness or color cast in more than one pixel area, that is, the color Mura phenomenon. Therefore, the color Mura needs to be removed to achieve better performance. display effect.
  • the Mura removal technology is mainly aimed at the removal of Mura with uneven brightness and darkness, and there are relatively few technologies for the removal of color Mura with color cast.
  • the traditional Mura removal technology can remove the uneven Mura of the display panel very well, but it has little effect on the regional color cast phenomenon.
  • the display shows uneven brightness or color cast in more than one pixel area, that is, the color Mura phenomenon. Therefore, the color Mura needs to be removed to achieve better performance. display effect.
  • the Mura removal technology is mainly aimed at the removal of Mura with uneven brightness and darkness, and there are relatively few technologies for the removal of color Mura with color cast.
  • the traditional Mura removal technology can remove the uneven Mura of the display panel very well, but it has little effect on the regional color cast phenomenon.
  • the purpose of the present invention is to provide a display image adjustment method, terminal device and computer-readable storage medium, which can quickly and accurately remove color Mura from the display, so as to eliminate the uneven brightness and darkness of the display. color cast.
  • the present invention provides a display image adjustment method, including:
  • the target image is the brightness image obtained by shooting the display image on the display
  • the present invention provides a terminal device, the terminal device includes a memory, a processor, and a computer program stored on the memory and run on the processor, and the processor implements when the computer program is executed:
  • the target image is the brightness image obtained by shooting the display image on the display
  • the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is implemented by a processor when executed:
  • the target image is the brightness image obtained by shooting the display image on the display
  • the invention provides a display image adjustment method.
  • the adjusted display image is obtained by acquiring brightness data of a target image, determining grayscale compensation data corresponding to the display image according to the brightness data, and adjusting the display image according to the grayscale compensation data.
  • the color shift area and the uneven light-dark area of the display are compensated by means of grayscale compensation, so as to realize the rapid and accurate removal of color Mura, improve the display effect of the display, and have a good market application prospect.
  • FIG. 1 is a flowchart of a preferred embodiment of a display image adjustment method according to the present invention.
  • FIG. 2 is a schematic diagram of image correction of a display image adjustment method according to the present invention.
  • FIG. 3 is a schematic diagram of a gray level of a display image adjustment method according to the present invention.
  • FIG. 4 is a schematic block diagram of the internal structure of a terminal device of the present invention.
  • the present invention provides a display image adjustment method, a terminal device and a computer-readable storage medium.
  • a display image adjustment method a terminal device and a computer-readable storage medium.
  • the present invention is further described below in detail. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
  • the final display effect of the display will appear uneven in brightness and darkness or regional color cast, that is, color Mura.
  • the existing methods for removing Mura from the display are mainly aimed at removing the Mura with uneven brightness and darkness of the display panel. These methods for removing Mura can remove the uneven Mura of the display panel well, but they cannot effectively remove the Mura. Regional color casts.
  • FIG. 1 is a flowchart of a display image adjustment method in an embodiment of the present invention.
  • the display image adjustment method include the following steps:
  • the terminal device acquires brightness data of the target image.
  • the target image is a brightness image obtained by photographing the display image on the display.
  • the brightness data of the display image should be acquired.
  • the display image of the display can be photographed by a brightness data acquisition device such as an imaging brightness meter, an industrial camera, a brightness sensor, etc., to obtain a brightness image of the display image, and the brightness image has brightness data of the display image.
  • Displays include, but are not limited to, LCD displays, OLED displays, QLED displays, or micro_LED displays.
  • Step S1 includes:
  • the terminal device acquires the target image, and performs image correction processing on the displayed image area of each target image to obtain the corrected displayed image area.
  • Step S11 includes:
  • the terminal device For each target image, the terminal device detects the corners of the displayed image area by using a corner detection method.
  • the terminal device performs the same correction processing on each target image.
  • the four vertices of the display image area in the target image should be found first, and all the corner points of the target image should be detected by the corner detection method, and the corner points refer to the inflection points of the line. Then find out the four corner points closest to the four sides of the display image area from all the corner points, the four corner points are the four corner points of the display image area, and obtain the four corner points of the display image area at the same time. location information. For example, referring to FIG. 2, four vertices A1, A2, A3 and A4 of the display image area A1A2A3A are to be found.
  • the corner detection method uses the corner detection method to detect all the corners of the target image, find the four corners A1, A2, A3 and A4 that are closest to the four sides (A1A2, A2A4, A3A4, A1A3) of the displayed image area from all the corners,
  • the four corner points are the four vertices of the display image area, and the coordinates of A1, A2, A3 and A4 are obtained at the same time.
  • the corner detection method may be Harris corner detection, sub-pixel-level corner detection, pixel-level corner detection, or binarization edge search.
  • the position of the displayed image area in the target image is fixed, and corner detection can be performed on only one target image to obtain the coordinates of the four vertices of the displayed image area.
  • the coordinates of the four vertices of the displayed image area of other target images are the coordinates of the four vertices, and it is not necessary to perform corner detection on all target images, which reduces the time of image processing and solves the problem of time-consuming.
  • the terminal device corrects the displayed image area according to the coordinates of the corner points of the displayed image area and the preset corner point coordinates to obtain a corrected displayed image area.
  • the preset corner coordinates are the positions of the four vertices of the corrected display image area.
  • Tilt correction is accomplished by tilt correction methods such as geometric correction, perspective correction, or homography correction.
  • barrel distortion correction is performed on the display image area after the tilt correction, to eliminate the barrel distortion phenomenon of the display image area after the tilt correction, and a corrected display image area is obtained.
  • four target vertices B1 , B2 , B3 and B4 respectively corresponding to A1 , A2 , A3 and A4 are preset in the target image.
  • the display image area is corrected for inclination, that is, the vertex A1 is corrected to B1, the vertex A2 is corrected to B2, and the vertex A3 is corrected Go to B3, correct the vertex A4 to B4 to obtain the display image area B1B2B3B4 after the skew correction, and then perform barrel distortion correction on the display image area B1B2B3B4 after the skew correction to obtain the corrected display image area C1C2C3C4.
  • the terminal device extracts the brightness data of the corrected display image area as the brightness data of the target image.
  • the brightness data of the display image area is extracted, that is, the brightness data of the display image in the target image.
  • the brightness data refers to the brightness value of each pixel of the display image.
  • the image corresponds to the brightness value of each pixel under different grayscales.
  • the method further includes: adjusting the initial state of the display by the terminal device.
  • adjusting the initial state of the display by the terminal device To accurately adjust the displayed image, it is necessary to obtain the brightness data of the displayed image in a better display state of the monitor. You can adjust the brightness and color-related parameters such as the Gamma value or white balance of the displayed image to adjust the initial state of the displayed image. Then, by taking pictures of the displayed image, the brightness data of the displayed image is obtained.
  • the terminal device determines the grayscale compensation data corresponding to the displayed image according to the luminance data.
  • the target image includes three primary color images in at least one grayscale
  • the brightness data of the target image refers to the brightness value of each pixel of the displayed image in the target image at each grayscale
  • the grayscale refers to the image
  • the level of different brightness between the brightest and the darkest in each image, the gray level in each image ranges from 0 to 255, a total of 256 gray levels, and at least one gray level is selected from the 255 gray levels to obtain brightness data.
  • the primary color in this embodiment refers to the three primary colors of R, G, and B
  • the three primary color images are the primary color R image, the primary color G image and the primary color respectively.
  • the B image that is, each gray level includes a primary color R gray level, a primary color G gray level, and a primary color B gray level.
  • FIG. 3 is a schematic diagram of gray levels. Three gray levels with different brightness are preset in the figure. The gray level values of the gray levels from dark blocks to light blocks are 30, 110, 230, each gray layer is further divided into gray layers of three primary colors: R, G, and B.
  • the display image can be photographed by the brightness data acquisition device, the target images of the three primary colors of the display image under different grayscales can be obtained respectively, and the brightness values of the three sub-pixels under different grayscales can be obtained.
  • the data acquisition device first acquires the target images of the display image in different grayscales, and then extracts the brightness values of three sub-pixels of the target image in each grayscale through the white point.
  • three gray levels of 30/110/230 are preset.
  • the Color Vision camera By using the Color Vision camera to take a picture of the display of a 55-inch TCL_R63 TV, the 30 gray level, 110 gray level and 230 gray level are obtained respectively.
  • the target images of primary color R, primary color G, and primary color B are obtained, a total of 9 target images are obtained, and the brightness values of the corresponding sub-pixels are respectively extracted from the 9 target images.
  • the gray scale compensation data corresponding to the displayed image is determined.
  • step S2 includes:
  • the terminal device determines the gamma curve corresponding to each pixel subregion according to the average luminance of each pixel subregion of the target image under each gray scale.
  • the pixel subregion of the target image refers to the pixel subregion of the display image in the target image, and the pixel subregion includes at least one pixel.
  • the pixels refer to the corresponding primary color sub-pixels.
  • the average brightness of each pixel partition in the target image at each gray level is the brightness value of the pixel at the gray level; or, when the pixel partition includes at least two pixels, the target image
  • the average brightness of each pixel partition in the image at each gray level is the average value of the brightness values of all pixels in the pixel partition at the gray level.
  • the gray-scale compensation data obtained by processing each pixel separately increases the calculation amount and calculation time of the display chip, and the data storage space of the display chip is limited, it is necessary to determine each pixel according to the data storage space and data operation time of the display chip.
  • the number of pixels in the pixel area is divided into pixel partitions.
  • the resolution of a TV monitor is generally 3840 ⁇ 2160, which is equivalent to 3840 ⁇ 2160 pixel partitions for each gray scale.
  • the calculation amount is large and the calculation is time-consuming, so
  • the pixel partition of each gray level is reduced to 270 ⁇ 480, which reduces the calculation time.
  • the gamma value corresponding to each pixel partition is calculated, so as to obtain the gamma curve corresponding to each pixel partition.
  • the gamma value of each pixel partition is calculated from the average brightness and the gray level value of each gray level of the pixel partition, and the calculation method is as follows:
  • N is the number of gray levels
  • L i is the average brightness of a certain pixel partition of the n i gray level
  • L i-1 is the average brightness of a certain pixel partition of the n i-1 gray level
  • n i and n i-1 is the gray level value of two different gray levels
  • Li and L i -1 are the luminance average values of the n i gray level and the n i-1 gray level, respectively.
  • the average luminance of the first pixel partition of the target image under the three grayscales is respectively
  • the gamma value of the pixel partition under the base color R is:
  • the gamma value of each pixel partition may be obtained by fitting the brightness average value and the gray level value of each gray level of each pixel partition, that is, the brightness average value of each gray level
  • the fitting curve is obtained by fitting with the change of the gray scale value, and the fitting curve is the gamma curve of the corresponding pixel partition, and the obtained curve fitting value is the gamma value.
  • the terminal device determines the brightness threshold of the target image at each gray level.
  • a brightness value can be preset for the target image corresponding to each primary color at each gray level as the brightness threshold
  • the brightness thresholds of the target image under different gray levels can be determined according to the brightness values of the pixels of the target image under different gray levels.
  • the ratio of the brightness thresholds of the three primary colors in each grayscale must be consistent, so that the white color mixed from the three primary colors in each grayscale can be consistent, that is, to ensure the brightness of the three sub-pixels of each pixel of the display.
  • step S22 includes:
  • the terminal device calculates the average value of the luminance values of all pixels in the target image under the grayscale
  • the terminal device determines the luminance ratio of the three primary colors of the target image
  • the terminal device adjusts the average value of the brightness values in the grayscale according to the brightness ratio, and obtains the adjusted average brightness value in the grayscale.
  • the adjusted average brightness value in the grayscale is the average value of the target image in the grayscale. Brightness threshold.
  • the pixels here include R sub-pixels, G sub-pixels, and B sub-pixels.
  • For each grayscale calculate the average value of the luminance values of each subpixel to obtain the average luminance of the R subpixels under the grayscale.
  • the luminance average value of the G sub-pixel and the luminance average value of the B sub-pixel Since the ratios of the average brightness values of the three sub-pixels under each grayscale obtained in step S221 may be inconsistent, a brightness ratio needs to be determined.
  • the brightness ratio can be a preset brightness ratio or a target in any grayscale.
  • the luminance ratio of the three primary colors of the image are examples of the luminance ratio of the three primary colors of the image.
  • the ratio of the average value of the luminance values of the three sub-pixels in each gray scale is adjusted to the luminance ratio, and the adjusted luminance average value of the three primary colors in each gray scale is obtained.
  • the adjusted brightness average value of the three primary colors in each grayscale is determined as the brightness threshold of the target image in each grayscale.
  • the terminal device determines the compensation value corresponding to each gray scale according to the brightness threshold and the gamma curve.
  • each pixel subregion under each primary color corresponds to a gamma curve
  • the gamma curve is a relationship curve between the luminance value and the gray scale of each pixel subregion under each primary color.
  • the average brightness of different pixel partitions of the same primary color under the same grayscale may be different. It is necessary to adjust the brightness averages of all pixel partitions of the same primary color under the grayscale to be consistent, that is, the same grayscale.
  • the average brightness of all pixel partitions of the primary color is adjusted to the brightness threshold of the corresponding primary color in the grayscale, so that the brightness of the same primary color in the grayscale is consistent.
  • the grayscale value corresponding to the luminance threshold of the primary color at the grayscale on the gamma curve is taken as the grayscale value of the primary color of the pixel partition.
  • Grayscale value the grayscale value is the grayscale compensation value under the primary color of the pixel partition, or the difference between the grayscale value and the grayscale value of the grayscale can be used as the grayscale value of the pixel partition under the primary color compensation value.
  • the grayscale compensation values under all primary colors of all pixel partitions are the compensation values corresponding to the grayscale.
  • the brightness threshold of the corresponding primary color R is 100
  • the brightness of pixel partition 1 is 95
  • the brightness of pixel partition 2 is 105. It is necessary to set the two pixel partitions at 30 grayscale.
  • the gamma1 curve and the gamma1 curve of the two partitions are calculated.
  • the grayscale value of the pixel partition 1 corresponding to the brightness of 100 is obtained;
  • the gamma2 curve The grayscale value of pixel partition 2 corresponding to the brightness of 100 is obtained.
  • the grayscale value of pixel partition 1 and the grayscale value of pixel partition 2 are the grayscale compensation values of pixel partition 1 and pixel partition 2, respectively. In the above manner, the same processing is performed on each grayscale to obtain the compensation value corresponding to each grayscale.
  • the terminal device determines the grayscale compensation data corresponding to the displayed image according to the compensation values corresponding to all the grayscales respectively.
  • Compensation values corresponding to all grayscales are combined to generate a compensation file, and the compensation file is the grayscale compensation data corresponding to the display image in the target image.
  • the grayscale compensation data reflects the brightness deviation of each pixel area of each sub-pixel under each grayscale of the displayed image. By compensating the grayscale, the brightness of the displayed image under the corresponding grayscale is compensated, so that each display in the same grayscale can be displayed. The brightness of the area is the same.
  • the terminal device adjusts the display image according to the grayscale compensation data to obtain the adjusted display image.
  • the grayscale compensation data is written into the display to perform brightness compensation on the displayed image.
  • the color shift area and the luminance area of the display are compensated by means of luminance compensation, and the display image is adjusted to obtain the adjusted display image.
  • the grayscale compensation data can be written into the display through serial port, network port, local area network or HDMI, or the grayscale compensation data can be directly written into the display chip.
  • the compensation may not take effect or the display is abnormal, and the adjusted display image needs to be verified to determine whether the grayscale compensation data is effective for the display. It can meet the needs of automatic production of display production lines.
  • the uniformity value of the displayed image is preset, the adjusted target image in a certain grayscale is obtained, the uniformity value of the displayed image corresponding to the adjusted target image in the grayscale is calculated, and the uniformity value of the displayed image in the grayscale is obtained at the same time.
  • the target image before adjustment is calculated and the uniformity value of the displayed image corresponding to the target image before adjustment is calculated.
  • the preset uniformity value as a standard value, and according to the uniformity value of the displayed image before adjustment, it is judged that the display effect of the adjusted display image is well-adjusted.
  • the present invention provides a terminal device, and the internal structure principle is shown in FIG. 4 .
  • the terminal equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
  • the processor of the terminal device is used to provide computing and control capabilities.
  • the memory of the terminal device includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the terminal device is used to communicate with an external terminal through a network connection.
  • the computer program when executed by the processor, implements the display image adjustment method as described above.
  • the display screen of the terminal equipment may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the terminal equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the terminal equipment , or an external keyboard, trackpad, or mouse.
  • the block diagram shown in FIG. 4 is only a partial structure related to the solution of the present invention, and does not constitute a limitation on the terminal equipment to which the solution of the present invention is applied. shown in more or less components, or in combination with certain components, or with different arrangements of components.
  • the present invention provides a terminal device, the terminal device includes a memory, a processor, and a computer program stored in the memory and executed on the processor, and the processor implements the above when executing the computer program. Shows the steps of the image adjustment method.
  • the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the above-mentioned display image adjustment method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Image Processing (AREA)

Abstract

Provided in the present invention are a method for adjusting a display image, a terminal device, and a computer readable storage medium, the method comprising: acquiring brightness data of a target image, the target image being a brightness image obtained by photographing a display image of a display device; on the basis of the brightness data, determining greyscale compensation data corresponding to the display image; and, on the basis of the greyscale compensation data, adjusting the display image to obtain an adjusted display image. The display effects of the display device are thereby improved.

Description

显示图像调整方法、终端设备及计算机可读存储介质Display image adjustment method, terminal device, and computer-readable storage medium
本申请要求于2020年10月26日提交中国专利局、申请号为202011155681.0、发明名称为“显示图像调整方法、终端设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011155681.0 and the invention title "Display Image Adjustment Method, Terminal Device and Computer-readable Storage Medium" filed with the China Patent Office on October 26, 2020, the entire contents of which are obtained through Reference is incorporated in this application.
技术领域technical field
本发明涉及图线处理技术领域,尤其涉及一种显示图像调整方法、终端设备及计算机可读存储介质。The present invention relates to the technical field of graph processing, and in particular, to a display image adjustment method, a terminal device and a computer-readable storage medium.
背景技术Background technique
显示器在实际生活和生产中有着较为重要的应用;显示器的显示效果给与人们最直接的感官体验,也是显示设备在生产制造过程中的重要一环,好的显示效果能够给人们带来较好的观看体验。显示器在生产过程中由于工艺、材料、操作手法等因素影响,使得显示器在大于一个像素区呈现亮暗不均或偏色的现象,即彩色Mura现象,因此需要将彩色Mura去除,以达到较好的显示效果。目前,Mura的去除技术主要针对亮暗不均的Mura的去除,对于具有偏色现象的彩色Mura去除的技术相对较少。传统的Mura去除技术能够很好的将显示面板的亮暗不均的Mura进行去除,但对于区域性的色偏现象作用较小。Displays have more important applications in real life and production; the display effect of the display gives people the most direct sensory experience, and is also an important part of the production process of display equipment. A good display effect can bring people better viewing experience. During the production process of the display, due to factors such as technology, materials, and operation methods, the display shows uneven brightness or color cast in more than one pixel area, that is, the color Mura phenomenon. Therefore, the color Mura needs to be removed to achieve better performance. display effect. At present, the Mura removal technology is mainly aimed at the removal of Mura with uneven brightness and darkness, and there are relatively few technologies for the removal of color Mura with color cast. The traditional Mura removal technology can remove the uneven Mura of the display panel very well, but it has little effect on the regional color cast phenomenon.
因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.
技术问题technical problem
显示器在生产过程中由于工艺、材料、操作手法等因素影响,使得显示器在大于一个像素区呈现亮暗不均或偏色的现象,即彩色Mura现象,因此需要将彩色Mura去除,以达到较好的显示效果。目前,Mura的去除技术主要针对亮暗不均的Mura的去除,对于具有偏色现象的彩色Mura去除的技术相对较少。传统的Mura去除技术能够很好的将显示面板的亮暗不均的Mura进行去除,但对于区域性的色偏现象作用较小。During the production process of the display, due to factors such as technology, materials, and operation methods, the display shows uneven brightness or color cast in more than one pixel area, that is, the color Mura phenomenon. Therefore, the color Mura needs to be removed to achieve better performance. display effect. At present, the Mura removal technology is mainly aimed at the removal of Mura with uneven brightness and darkness, and there are relatively few technologies for the removal of color Mura with color cast. The traditional Mura removal technology can remove the uneven Mura of the display panel very well, but it has little effect on the regional color cast phenomenon.
因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.
技术解决方案technical solutions
鉴于上述现有技术的不足,本发明的目的在于提供一种显示图像调整方法、终端设备及计算机可读存储介质,实现对显示器快速、准确的去除彩色Mura,以消除显示器的亮暗不均和色偏现象。In view of the above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a display image adjustment method, terminal device and computer-readable storage medium, which can quickly and accurately remove color Mura from the display, so as to eliminate the uneven brightness and darkness of the display. color cast.
本发明的技术方案如下:The technical scheme of the present invention is as follows:
第一方面,本发明提供了一种显示图像调整方法,包括:In a first aspect, the present invention provides a display image adjustment method, including:
获取目标图像的亮度数据,目标图像为拍摄在显示器上的显示图像得到的亮度图像;Obtain the brightness data of the target image, and the target image is the brightness image obtained by shooting the display image on the display;
根据亮度数据确定显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the displayed image according to the brightness data;
根据灰阶补偿数据调整显示图像,得到调整后的显示图像。Adjust the display image according to the grayscale compensation data to obtain the adjusted display image.
第二方面,本发明提供了一种终端设备,该终端设备包括存储器、处理器、以及存储在存储器上并可在处理器运行的计算机程序,处理器执行计算机程序时实现:In a second aspect, the present invention provides a terminal device, the terminal device includes a memory, a processor, and a computer program stored on the memory and run on the processor, and the processor implements when the computer program is executed:
获取目标图像的亮度数据,目标图像为拍摄在显示器上的显示图像得到的亮度图像;Obtain the brightness data of the target image, and the target image is the brightness image obtained by shooting the display image on the display;
根据亮度数据确定显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the displayed image according to the brightness data;
根据灰阶补偿数据调整显示图像,得到调整后的显示图像。Adjust the display image according to the grayscale compensation data to obtain the adjusted display image.
第三方面,本发明提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现:In a third aspect, the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is implemented by a processor when executed:
获取目标图像的亮度数据,目标图像为拍摄在显示器上的显示图像得到的亮度图像;Obtain the brightness data of the target image, and the target image is the brightness image obtained by shooting the display image on the display;
根据亮度数据确定显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the displayed image according to the brightness data;
根据灰阶补偿数据调整显示图像,得到调整后的显示图像。Adjust the display image according to the grayscale compensation data to obtain the adjusted display image.
有益效果beneficial effect
本发明提供了一种显示图像调整方法,通过获取目标图像的亮度数据,然后根据亮度数据确定显示图像对应的灰阶补偿数据,再根据灰阶补偿数据调整显示图像得到调整后的显示图像。通过灰度补偿的方式对显示器的色偏区域和亮暗不均区域进行补偿,实现彩色Mura快速、准确的去除,提高了显示器的显示效果,具有很好的市场应用前景。The invention provides a display image adjustment method. The adjusted display image is obtained by acquiring brightness data of a target image, determining grayscale compensation data corresponding to the display image according to the brightness data, and adjusting the display image according to the grayscale compensation data. The color shift area and the uneven light-dark area of the display are compensated by means of grayscale compensation, so as to realize the rapid and accurate removal of color Mura, improve the display effect of the display, and have a good market application prospect.
附图说明Description of drawings
图1为本发明一种显示图像调整方法的较佳实施例流程图。FIG. 1 is a flowchart of a preferred embodiment of a display image adjustment method according to the present invention.
图2为本发明一种显示图像调整方法的图像矫正示意图。FIG. 2 is a schematic diagram of image correction of a display image adjustment method according to the present invention.
图3为本发明一种显示图像调整方法的灰阶层示意图。FIG. 3 is a schematic diagram of a gray level of a display image adjustment method according to the present invention.
图4为本发明一种终端设备的内部结构原理框图。FIG. 4 is a schematic block diagram of the internal structure of a terminal device of the present invention.
本发明的实施方式Embodiments of the present invention
本发明提供一种显示图像调整方法、终端设备及计算机可读存储介质,为使本发明的目的、技术方案及效果更加清楚、明确,以下对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a display image adjustment method, a terminal device and a computer-readable storage medium. In order to make the purpose, technical solutions and effects of the present invention clearer and clearer, the present invention is further described below in detail. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
一般来说,显示器在生产过程中,由于各种因素的影响,显示器最终的显示效果会出现亮暗不均或区域色偏现象,即彩色Mura。而现有的去除显示器Mura的方法主要是针对显示面板的亮暗不均的Mura的去除,这些去除Mura的方法能够很好地将显示面板的亮暗不均的Mura去除,但是并不能有效去除区域性色偏现象。Generally speaking, in the production process of the display, due to the influence of various factors, the final display effect of the display will appear uneven in brightness and darkness or regional color cast, that is, color Mura. The existing methods for removing Mura from the display are mainly aimed at removing the Mura with uneven brightness and darkness of the display panel. These methods for removing Mura can remove the uneven Mura of the display panel well, but they cannot effectively remove the Mura. Regional color casts.
为了有效去除显示器的区域性色偏现象,本发明提供了一种显示图像调整方法,请参见图1,图1为本发明实施例中的一种显示图像调整方法的流程图,显示图像调整方法包括以下步骤:In order to effectively remove the regional color shift of the display, the present invention provides a display image adjustment method. Please refer to FIG. 1 . FIG. 1 is a flowchart of a display image adjustment method in an embodiment of the present invention. The display image adjustment method Include the following steps:
S1、终端设备获取目标图像的亮度数据。S1. The terminal device acquires brightness data of the target image.
具体地,目标图像为拍摄在显示器上的显示图像得到的亮度图像,为了消除显示图像出现的彩色Mura,首先要获取显示图像的亮度数据。可通过成像式亮度计、工业相机、亮度传感器等亮度数据获取装置对显示器的显示图像进行拍照,获得显示图像的亮度图像,亮度图像中具有显示图像的亮度数据。显示器包括但不限于LCD显示器、OLED显示器、QLED显示器或micro_LED显示器。Specifically, the target image is a brightness image obtained by photographing the display image on the display. In order to eliminate the color Mura appearing in the display image, first, the brightness data of the display image should be acquired. The display image of the display can be photographed by a brightness data acquisition device such as an imaging brightness meter, an industrial camera, a brightness sensor, etc., to obtain a brightness image of the display image, and the brightness image has brightness data of the display image. Displays include, but are not limited to, LCD displays, OLED displays, QLED displays, or micro_LED displays.
在一种实现方式中,通常由于拍摄角度等问题,采用目标图像中的显示图像会有倾斜或畸变等问题,若直接从目标图像中的显示图像区域提取亮度数据可能会产生误 差,影响彩色Mura的去除效果,因此为了提高亮度数据获取的准确性,需要先对目标图像中的显示图像区域进行矫正。步骤S1包括:In one implementation, usually due to the shooting angle and other issues, the displayed image in the target image will have problems such as tilt or distortion. If the brightness data is directly extracted from the displayed image area in the target image, errors may occur and affect the color Mura. Therefore, in order to improve the accuracy of luminance data acquisition, it is necessary to correct the displayed image area in the target image first. Step S1 includes:
S11、终端设备获取目标图像,对每一目标图像的显示图像区域进行图像矫正处理,得到矫正后的显示图像区域。S11. The terminal device acquires the target image, and performs image correction processing on the displayed image area of each target image to obtain the corrected displayed image area.
具体地,目标图像中的显示图像区域是显示器上的显示图像。显示图像的亮度数据是从目标图像中的显示图像区域中的提取出来,而显示图像区域在目标图像中的倾斜和畸变现象会对后续亮度数据的处理带来误差,因此需要将该显示器图像区进行矫正。步骤S11包括:Specifically, the displayed image area in the target image is the displayed image on the display. The brightness data of the display image is extracted from the display image area in the target image, and the tilt and distortion of the display image area in the target image will bring errors to the processing of the subsequent brightness data, so it is necessary to use the display image area in the display image area. Make corrections. Step S11 includes:
S111、针对每一目标图像,终端设备采用角点检测方法检测显示图像区域的角点。S111. For each target image, the terminal device detects the corners of the displayed image area by using a corner detection method.
具体地,终端设备对每个目标图像都进行相同的矫正处理。对于每一个目标图像,首先要找到目标图像中的显示图像区域的四个顶点,采用角点检测法检测出该目标图像的所有角点,角点指的是线的拐点。然后从所有的角点中找出距离显示图像区域的四条边最近的四个角点,该四个角点即为显示图像区域的四个角点,同时获取显示图像区域的四个角点的位置信息。举例来说,请参见图2,要找到显示图像区域A1A2A3A的四个顶点A1、A2、A3和A4。采用角点检测方法检测出目标图像的所有角点,从所有角点中找到距离显示图像区域的四条边(A1A2、A2A4、A3A4、A1A3)最近的四个角点A1、A2、A3和A4,该四个角点则为显示器图像区的四个顶点,同时获取A1、A2、A3和A4的坐标。角点检测方法可为可以是Harris角点检测、亚像素级角点检测、像素级角点检测或二值化边点查找。进一步,由于目标图像不止一个,而拍照的位置是固定的,因此显示图像区域在目标图像中的位置是固定的,可只对一个目标图像进行角点检测,得到显示图像区域的四个顶点坐标,其他目标图像的显示图像区域的四个顶点坐标即为该四个顶点坐标,不需要对所有目标图像都进行角点检测,减少了图像处理的时间,解决耗时问题。Specifically, the terminal device performs the same correction processing on each target image. For each target image, the four vertices of the display image area in the target image should be found first, and all the corner points of the target image should be detected by the corner detection method, and the corner points refer to the inflection points of the line. Then find out the four corner points closest to the four sides of the display image area from all the corner points, the four corner points are the four corner points of the display image area, and obtain the four corner points of the display image area at the same time. location information. For example, referring to FIG. 2, four vertices A1, A2, A3 and A4 of the display image area A1A2A3A are to be found. Use the corner detection method to detect all the corners of the target image, find the four corners A1, A2, A3 and A4 that are closest to the four sides (A1A2, A2A4, A3A4, A1A3) of the displayed image area from all the corners, The four corner points are the four vertices of the display image area, and the coordinates of A1, A2, A3 and A4 are obtained at the same time. The corner detection method may be Harris corner detection, sub-pixel-level corner detection, pixel-level corner detection, or binarization edge search. Further, since there is more than one target image, and the location of the photograph is fixed, the position of the displayed image area in the target image is fixed, and corner detection can be performed on only one target image to obtain the coordinates of the four vertices of the displayed image area. , the coordinates of the four vertices of the displayed image area of other target images are the coordinates of the four vertices, and it is not necessary to perform corner detection on all target images, which reduces the time of image processing and solves the problem of time-consuming.
S112、终端设备根据显示图像区域的角点的坐标以及预设角点坐标,对显示图像区域进行矫正,得到矫正后的显示图像区域。S112. The terminal device corrects the displayed image area according to the coordinates of the corner points of the displayed image area and the preset corner point coordinates to obtain a corrected displayed image area.
具体地,预设角点坐标是矫正后的显示图像区域的四个顶点的位置,要将显示图像区域的角点坐标移动至预设角点坐标处,显示图像区域相应地进行移动,可以采用几何校正、透视校正或单应性校正等倾斜矫正方法完成倾斜矫正。然后对倾斜矫正后的显示图像区域进行桶形失真矫正,消除倾斜矫正后的显示图像区域的桶形畸变现象,得到矫正后的显示图像区域。举例来说,请参见图2,在目标图像中预设四个分别与A1、A2、A3和A4对应的目标顶点B1、B2、B3和B4。根据A1、A2、A3、A4与B1、B2、B3、B4的空间关系,将显示器图像区进行倾斜矫正,也就是说,将顶点A1矫正到B1,将顶点A2矫正到B2,将顶点A3矫正到B3,将顶点A4矫正到B4,得到倾斜矫正后的显示图像区域B1B2B3B4,再对倾斜矫正后的显示图像区域B1B2B3B4进行桶形失真矫正,得到矫正后的显示图像区域C1C2C3C4。Specifically, the preset corner coordinates are the positions of the four vertices of the corrected display image area. To move the corner coordinates of the display image area to the preset corner coordinates, the display image area will be moved accordingly. Tilt correction is accomplished by tilt correction methods such as geometric correction, perspective correction, or homography correction. Then, barrel distortion correction is performed on the display image area after the tilt correction, to eliminate the barrel distortion phenomenon of the display image area after the tilt correction, and a corrected display image area is obtained. For example, referring to FIG. 2 , four target vertices B1 , B2 , B3 and B4 respectively corresponding to A1 , A2 , A3 and A4 are preset in the target image. According to the spatial relationship between A1, A2, A3, A4 and B1, B2, B3, and B4, the display image area is corrected for inclination, that is, the vertex A1 is corrected to B1, the vertex A2 is corrected to B2, and the vertex A3 is corrected Go to B3, correct the vertex A4 to B4 to obtain the display image area B1B2B3B4 after the skew correction, and then perform barrel distortion correction on the display image area B1B2B3B4 after the skew correction to obtain the corrected display image area C1C2C3C4.
S12、终端设备提取矫正后的显示图像区域的亮度数据作为目标图像的亮度数据。S12. The terminal device extracts the brightness data of the corrected display image area as the brightness data of the target image.
得到矫正后的显示图像区域后,提取显示图像区域的亮度数据,也就是目标图像中的显示图像的亮度数据,亮度数据指的是显示图像的各像素的亮度值,对于不同灰阶下的显示图像,对应不同灰阶下的各像素的亮度值。After the corrected display image area is obtained, the brightness data of the display image area is extracted, that is, the brightness data of the display image in the target image. The brightness data refers to the brightness value of each pixel of the display image. The image corresponds to the brightness value of each pixel under different grayscales.
在一种实现方式中,步骤S11之前,还包括:终端设备调整显示器的初始状态。要对显示图像进行准确调整,需要在显示器较好的显示状态下获取显示图像的亮度数据,可以通过调整显示图像的Gamma值或白平衡等与亮度和颜色相关参数,调整显示图像的初始状态,再通过对显示图像拍照,得到显示图像的亮度数据。In an implementation manner, before step S11, the method further includes: adjusting the initial state of the display by the terminal device. To accurately adjust the displayed image, it is necessary to obtain the brightness data of the displayed image in a better display state of the monitor. You can adjust the brightness and color-related parameters such as the Gamma value or white balance of the displayed image to adjust the initial state of the displayed image. Then, by taking pictures of the displayed image, the brightness data of the displayed image is obtained.
S2、终端设备根据亮度数据确定显示图像对应的灰阶补偿数据。S2. The terminal device determines the grayscale compensation data corresponding to the displayed image according to the luminance data.
具体地,目标图像包括至少一个灰阶下的三个基色图像,目标图像的亮度数据指的是目标图像中的显示图像分别在各灰阶下的各像素的亮度值,灰阶指的是图像中最 亮与最暗之间不同亮度的层次级别,每张图像中的灰阶等级范围是0~255,共256层灰阶,从这255层灰阶中选出至少一个灰阶层获取亮度数据。由于显示器的每个像素通常是由RGB三种子像素组成,因此本实施例中的基色指的是R、G、B这三种基色,三个基色图像分别是基色R图像、基色G图像和基色B图像,即每个灰阶下均包括基色R灰阶层、基色G灰阶层和基色B灰阶层。如图3所示,图3是灰阶层示意图,图中预设的是三个亮度均不相同的灰阶层,从深色块到浅色块的灰阶层的灰阶值分别为30、110、230,每层灰阶层又分为R、G、B三种基色的灰阶层。可以通过亮度数据获取装置对显示图像拍照,分别获取显示图像在不同灰阶下的三种基色的目标图像,得到不同灰阶下的三种子像素的亮度值,也可以通过含有滤光片的亮度数据获取装置先获取显示图像在不同灰阶下的目标图像,再通过白场提取出每一灰阶下的目标图像在该灰阶下的三种子像素的亮度值。举例来说,请参见图3,预设30/110/230三个灰阶层,通过采用Color Vision相机对55寸TCL_R63电视的显示器进行拍照,分别获取30灰阶、110灰阶、230灰阶下的基色R、基色G、基色B的目标图像,则共获取到9个目标图像,从9个目标图像中分别提取对应的子像素的亮度值。根据目标图像中的显示图像的不同灰阶下的三种子像素的亮度值,确定显示图像对应的灰阶补偿数据。Specifically, the target image includes three primary color images in at least one grayscale, the brightness data of the target image refers to the brightness value of each pixel of the displayed image in the target image at each grayscale, and the grayscale refers to the image The level of different brightness between the brightest and the darkest in each image, the gray level in each image ranges from 0 to 255, a total of 256 gray levels, and at least one gray level is selected from the 255 gray levels to obtain brightness data. . Since each pixel of the display is usually composed of three sub-pixels of RGB, the primary color in this embodiment refers to the three primary colors of R, G, and B, and the three primary color images are the primary color R image, the primary color G image and the primary color respectively. The B image, that is, each gray level includes a primary color R gray level, a primary color G gray level, and a primary color B gray level. As shown in FIG. 3, FIG. 3 is a schematic diagram of gray levels. Three gray levels with different brightness are preset in the figure. The gray level values of the gray levels from dark blocks to light blocks are 30, 110, 230, each gray layer is further divided into gray layers of three primary colors: R, G, and B. The display image can be photographed by the brightness data acquisition device, the target images of the three primary colors of the display image under different grayscales can be obtained respectively, and the brightness values of the three sub-pixels under different grayscales can be obtained. The data acquisition device first acquires the target images of the display image in different grayscales, and then extracts the brightness values of three sub-pixels of the target image in each grayscale through the white point. For example, please refer to Figure 3, three gray levels of 30/110/230 are preset. By using the Color Vision camera to take a picture of the display of a 55-inch TCL_R63 TV, the 30 gray level, 110 gray level and 230 gray level are obtained respectively. The target images of primary color R, primary color G, and primary color B are obtained, a total of 9 target images are obtained, and the brightness values of the corresponding sub-pixels are respectively extracted from the 9 target images. According to the luminance values of the three sub-pixels at different gray scales of the displayed image in the target image, the gray scale compensation data corresponding to the displayed image is determined.
进一步,步骤S2包括:Further, step S2 includes:
S21、终端设备根据目标图像的各像素分区在各灰阶下的亮度平均值,确定各像素分区对应的gamma曲线。S21. The terminal device determines the gamma curve corresponding to each pixel subregion according to the average luminance of each pixel subregion of the target image under each gray scale.
具体地,目标图像的像素分区指的是目标图像中的显示图像的像素分区,像素分区包括至少一个像素。对于同一灰阶下的不同基色的目标图像,像素指的是对应的基色子像素。当像素分区包括一个像素时,目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素在该灰阶下的亮度值;或者,当像素分区包括至少两个像素时,目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素分区中所有像素在该灰阶下的亮度值的平均值。由于分别对每个像素进行处理得到灰阶补偿数据增加了显示 器芯片的计算量和计算时间,并且显示器芯片的数据存储空间有限,因此需要根据显示器芯片的数据存储空间以及数据运算时间,确定每个像素区域的像素个数,划分像素分区,例如,电视显示器的分辨率较高一般为3840×2160,相当于每个灰阶的像素分区为3840×2160个,计算量大且计算耗时,故降低每个灰阶的像素分区为270×480个,减少计算耗时。根据各基色下的灰阶值,计算每个像素分区对应的gamma值,从而得到各像素分区分别对应的gamma曲线。Specifically, the pixel subregion of the target image refers to the pixel subregion of the display image in the target image, and the pixel subregion includes at least one pixel. For target images of different primary colors under the same gray scale, the pixels refer to the corresponding primary color sub-pixels. When the pixel partition includes one pixel, the average brightness of each pixel partition in the target image at each gray level is the brightness value of the pixel at the gray level; or, when the pixel partition includes at least two pixels, the target image The average brightness of each pixel partition in the image at each gray level is the average value of the brightness values of all pixels in the pixel partition at the gray level. Since the gray-scale compensation data obtained by processing each pixel separately increases the calculation amount and calculation time of the display chip, and the data storage space of the display chip is limited, it is necessary to determine each pixel according to the data storage space and data operation time of the display chip. The number of pixels in the pixel area is divided into pixel partitions. For example, the resolution of a TV monitor is generally 3840 × 2160, which is equivalent to 3840 × 2160 pixel partitions for each gray scale. The calculation amount is large and the calculation is time-consuming, so The pixel partition of each gray level is reduced to 270×480, which reduces the calculation time. According to the grayscale value of each primary color, the gamma value corresponding to each pixel partition is calculated, so as to obtain the gamma curve corresponding to each pixel partition.
在一种实现方式中,每个像素分区的gamma值是通过该像素分区各灰阶下的亮度平均值以及灰阶值计算得到,计算方式为:In an implementation manner, the gamma value of each pixel partition is calculated from the average brightness and the gray level value of each gray level of the pixel partition, and the calculation method is as follows:
Figure PCTCN2021118775-appb-000001
Figure PCTCN2021118775-appb-000001
其中,N为灰阶个数,L i为n i灰阶的某一像素分区的亮度平均值,L i-1为n i-1灰阶的某一像素分区的亮度平均值,n i和n i-1分别为两个不同灰阶的灰阶值,且n i>n i-1,L i和L i-1分别为n i灰阶和n i-1灰阶的亮度平均值。举例来说,分别取目标图像的三个灰阶为n1=30、n2=110、n3=230,在基色R下,目标图像的第一个像素分区在三个灰阶下的亮度平均值分别依次对应为LR1、LR2和LR3,则该像素分区在基色R下的gamma值为: Among them, N is the number of gray levels, L i is the average brightness of a certain pixel partition of the n i gray level, L i-1 is the average brightness of a certain pixel partition of the n i-1 gray level, n i and n i-1 is the gray level value of two different gray levels, and n i >n i-1 , and Li and L i -1 are the luminance average values of the n i gray level and the n i-1 gray level, respectively. For example, take the three grayscales of the target image as n1=30, n2=110, and n3=230 respectively. Under the primary color R, the average luminance of the first pixel partition of the target image under the three grayscales is respectively Corresponding to LR1, LR2 and LR3 in turn, the gamma value of the pixel partition under the base color R is:
Figure PCTCN2021118775-appb-000002
Figure PCTCN2021118775-appb-000002
在另一种实现方式中,每个像素分区的gamma值可以是通过对每一像素分区各灰阶下的亮度平均值以及灰阶值拟合得到,也就是对每一灰阶的亮度平均值随灰阶值的变化进行拟合,得到拟合曲线,该拟合曲线即为对应像素分区的gamma曲线,得到的曲线拟合值为gamma值。In another implementation manner, the gamma value of each pixel partition may be obtained by fitting the brightness average value and the gray level value of each gray level of each pixel partition, that is, the brightness average value of each gray level The fitting curve is obtained by fitting with the change of the gray scale value, and the fitting curve is the gamma curve of the corresponding pixel partition, and the obtained curve fitting value is the gamma value.
S22、终端设备确定目标图像在各灰阶下的亮度阈值。S22. The terminal device determines the brightness threshold of the target image at each gray level.
具体地,需要对目标器图像在每个灰阶下确定每个基色的亮度阈值,可以为每个 灰阶下的每个基色对应的目标器图像各预设一个亮度值作为该亮度阈值,也可以根据目标器图像在不同灰度下的像素的亮度值确定目标图像在不同灰度下的亮度阈值。每一灰度下的三种基色的亮度阈值的比例要一致,这样每个灰阶下三种基色混出来的白色才能一致,也就是说,要保证显示器的每个像素的三个子像素发光亮度比例(亮度阈值的比例)一致,则每个像素发出的白光才能一致,避免像素发出的白光不均匀的现象。当亮度阈值为预设亮度值时,可以直接根据预设的亮度比例,预设各灰阶下的三种基色的亮度比例一致的亮度值;而当亮度阈值是根据目标图像在各灰阶下的像素的亮度值确定的亮度阈值,由于实际计算得到的各灰阶下三种基色的亮度平均值是不同的,因此得到的各灰阶下三种基色的亮度比例会出现不一致的情况,可以对计算得到的亮度阈值进行调整,得到调整后的亮度阈值,具体地,步骤S22包括:Specifically, it is necessary to determine the brightness threshold of each primary color for the target image at each gray level, and a brightness value can be preset for the target image corresponding to each primary color at each gray level as the brightness threshold, and also The brightness thresholds of the target image under different gray levels can be determined according to the brightness values of the pixels of the target image under different gray levels. The ratio of the brightness thresholds of the three primary colors in each grayscale must be consistent, so that the white color mixed from the three primary colors in each grayscale can be consistent, that is, to ensure the brightness of the three sub-pixels of each pixel of the display. If the ratio (the ratio of the brightness threshold) is consistent, the white light emitted by each pixel can be consistent, and the phenomenon of uneven white light emitted by the pixel can be avoided. When the brightness threshold is the preset brightness value, the brightness value with the same brightness ratio of the three primary colors in each grayscale can be preset directly according to the preset brightness ratio; and when the brightness threshold is based on the target image in each grayscale The brightness threshold determined by the brightness value of the pixel, because the actual calculated brightness average values of the three primary colors under each gray level are different, so the obtained brightness ratios of the three primary colors under each gray level will appear inconsistent. The calculated brightness threshold is adjusted to obtain the adjusted brightness threshold. Specifically, step S22 includes:
S221、针对每个灰阶,终端设备计算目标图像中所有像素在该灰阶下的亮度值的平均值;S221, for each grayscale, the terminal device calculates the average value of the luminance values of all pixels in the target image under the grayscale;
S222、终端设备确定目标图像的三个基色的亮度比例;S222, the terminal device determines the luminance ratio of the three primary colors of the target image;
S223、终端设备根据亮度比例调整该灰阶下的亮度值的平均值,得到该灰阶下调整后的亮度平均值,该灰阶下调整后的亮度平均值为目标图像在该灰阶下的亮度阈值。S223. The terminal device adjusts the average value of the brightness values in the grayscale according to the brightness ratio, and obtains the adjusted average brightness value in the grayscale. The adjusted average brightness value in the grayscale is the average value of the target image in the grayscale. Brightness threshold.
具体地,这里的像素包括R子像素、G子像素和B子像素,针对每个灰阶,分别计算每种子像素的亮度值的平均值,得到该灰阶下的R子像素的亮度平均值、G子像素的亮度平均值和B子像素的亮度平均值。由于步骤S221中求出的各灰阶下的三种子像素的亮度平均值的比例可能不一致,需要确定一个亮度比例,亮度比例可以是预设的亮度比例,也可以是任一灰阶下的目标图像的三个基色的亮度比例。根据确定的亮度比例,将各灰阶下的三种子像素的亮度值的平均值的比例调整为该亮度比例,得到调整后的各灰阶下的三个基色的亮度平均值。将调整后的各灰阶下的三个基色的亮度平均值确定为目标图像在各灰阶下的亮度阈值。Specifically, the pixels here include R sub-pixels, G sub-pixels, and B sub-pixels. For each grayscale, calculate the average value of the luminance values of each subpixel to obtain the average luminance of the R subpixels under the grayscale. , the luminance average value of the G sub-pixel and the luminance average value of the B sub-pixel. Since the ratios of the average brightness values of the three sub-pixels under each grayscale obtained in step S221 may be inconsistent, a brightness ratio needs to be determined. The brightness ratio can be a preset brightness ratio or a target in any grayscale. The luminance ratio of the three primary colors of the image. According to the determined luminance ratio, the ratio of the average value of the luminance values of the three sub-pixels in each gray scale is adjusted to the luminance ratio, and the adjusted luminance average value of the three primary colors in each gray scale is obtained. The adjusted brightness average value of the three primary colors in each grayscale is determined as the brightness threshold of the target image in each grayscale.
S23、终端设备根据亮度阈值和gamma曲线,确定各灰阶各自分别对应的补偿值。S23. The terminal device determines the compensation value corresponding to each gray scale according to the brightness threshold and the gamma curve.
具体地,各基色下的各像素分区分别对应一条gamma曲线,gamma曲线是各基色下的各像素分区的亮度值与灰阶的变化关系曲线。同一灰阶下的同一基色的不同像素分区的亮度平均值可能是不一样的,需要将该灰阶下的同一基色的所有像素分区的亮度平均值调整一致,也就是将该灰阶下的同一基色的所有像素分区的亮度平均值调整为该灰阶下对应基色的亮度阈值,使得该灰阶下同一基色的亮度一致。针对每个灰阶下,每个像素分区的每种基色的gamma曲线,将该灰阶下的该基色的的亮度阈值在该gamma曲线上对应的灰度值作为该像素分区的该基色下的灰度值,该灰度值为该像素分区的该基色下的灰度补偿值,或者可以将该灰度值与该灰阶的灰阶值的差作为该像素分区的该基色下的灰度补偿值。该灰度下,所有像素分区的所有基色下的灰度补偿值即为该灰阶对应的补偿值。举例来说,在灰阶值为30的灰阶下,对应的基色R的亮度阈值为100,像素分区1的亮度为95,像素分区2的亮度为105,需要把两个像素分区在30灰阶时的亮度校准为一致(校准为亮度阈值100),计算出两个分区的gamma1曲线和gamma1曲线,根据gamma1曲线,得到亮度在100时对应的像素分区1的灰阶值;根据gamma2曲线,得到亮度在100时对应的像素分区2的灰阶值,像素分区1的灰阶值和像素分区2的灰阶值分别为像素分区1和像素分区2的灰阶补偿值。按照上述方式,对每个灰阶进行相同的处理,得到各灰阶各自分别对应的补偿值。Specifically, each pixel subregion under each primary color corresponds to a gamma curve, and the gamma curve is a relationship curve between the luminance value and the gray scale of each pixel subregion under each primary color. The average brightness of different pixel partitions of the same primary color under the same grayscale may be different. It is necessary to adjust the brightness averages of all pixel partitions of the same primary color under the grayscale to be consistent, that is, the same grayscale. The average brightness of all pixel partitions of the primary color is adjusted to the brightness threshold of the corresponding primary color in the grayscale, so that the brightness of the same primary color in the grayscale is consistent. For the gamma curve of each primary color of each pixel partition under each grayscale, the grayscale value corresponding to the luminance threshold of the primary color at the grayscale on the gamma curve is taken as the grayscale value of the primary color of the pixel partition. Grayscale value, the grayscale value is the grayscale compensation value under the primary color of the pixel partition, or the difference between the grayscale value and the grayscale value of the grayscale can be used as the grayscale value of the pixel partition under the primary color compensation value. Under this grayscale, the grayscale compensation values under all primary colors of all pixel partitions are the compensation values corresponding to the grayscale. For example, under the grayscale value of 30, the brightness threshold of the corresponding primary color R is 100, the brightness of pixel partition 1 is 95, and the brightness of pixel partition 2 is 105. It is necessary to set the two pixel partitions at 30 grayscale. When the brightness is calibrated to the same level (calibrated to the brightness threshold of 100), the gamma1 curve and the gamma1 curve of the two partitions are calculated. According to the gamma1 curve, the grayscale value of the pixel partition 1 corresponding to the brightness of 100 is obtained; according to the gamma2 curve, The grayscale value of pixel partition 2 corresponding to the brightness of 100 is obtained. The grayscale value of pixel partition 1 and the grayscale value of pixel partition 2 are the grayscale compensation values of pixel partition 1 and pixel partition 2, respectively. In the above manner, the same processing is performed on each grayscale to obtain the compensation value corresponding to each grayscale.
S24、终端设备根据所有灰阶各自分别对应的补偿值,确定显示图像对应的灰阶补偿数据。S24. The terminal device determines the grayscale compensation data corresponding to the displayed image according to the compensation values corresponding to all the grayscales respectively.
将所有灰阶各自分别对应的补偿值合并生成补偿文件,该补偿文件即为目标图像中的显示图像对应的灰阶补偿数据。灰阶补偿数据反映了显示图像的各灰阶下,各子像素的各像素区域的亮度偏差,通过补偿灰阶的方式,补偿对应灰阶下的显示图像的亮度,使同一灰阶下各显示区域的亮度一致。Compensation values corresponding to all grayscales are combined to generate a compensation file, and the compensation file is the grayscale compensation data corresponding to the display image in the target image. The grayscale compensation data reflects the brightness deviation of each pixel area of each sub-pixel under each grayscale of the displayed image. By compensating the grayscale, the brightness of the displayed image under the corresponding grayscale is compensated, so that each display in the same grayscale can be displayed. The brightness of the area is the same.
S3、终端设备根据灰阶补偿数据调整显示图像,得到调整后的显示图像。S3. The terminal device adjusts the display image according to the grayscale compensation data to obtain the adjusted display image.
具体地,将灰阶补偿数据写入显示器,对显示图像进行亮度补偿。通过亮度补偿的方式对显示器的色偏区域和亮度区域进行补偿,调整显示图像,得到调整后的显示图像。灰阶补偿数据的写入方式可以通过串口、网口、局域网或HDMI将灰阶补偿数据写入显示器,也可以将阶补偿数据直接写入显示器的芯片。Specifically, the grayscale compensation data is written into the display to perform brightness compensation on the displayed image. The color shift area and the luminance area of the display are compensated by means of luminance compensation, and the display image is adjusted to obtain the adjusted display image. The grayscale compensation data can be written into the display through serial port, network port, local area network or HDMI, or the grayscale compensation data can be directly written into the display chip.
在一种实现方式中,灰阶补偿数据写入显示器后,可能会出现补偿不生效或显示异常的情况,需要对调整后的显示图像进行校验,以确定灰阶补偿数据是否对显示器生效,可以满足显示器产线自动生产的需求。具体地,预先设定显示图像的均匀性数值,获取某一灰阶下调整后目标图像,并计算出该灰阶下调整后目标图像对应的显示图像的均匀性数值,同时获取该灰阶下调整前的目标图像并计算该调整前的目标图像对应的显示图像的均匀性数值。以该预设均匀性数值作为标准值,并根据调整前的显示图像的均匀性数值,判断调整好欧的显示图像的显示效果。In an implementation manner, after the grayscale compensation data is written into the display, the compensation may not take effect or the display is abnormal, and the adjusted display image needs to be verified to determine whether the grayscale compensation data is effective for the display. It can meet the needs of automatic production of display production lines. Specifically, the uniformity value of the displayed image is preset, the adjusted target image in a certain grayscale is obtained, the uniformity value of the displayed image corresponding to the adjusted target image in the grayscale is calculated, and the uniformity value of the displayed image in the grayscale is obtained at the same time. The target image before adjustment is calculated and the uniformity value of the displayed image corresponding to the target image before adjustment is calculated. Using the preset uniformity value as a standard value, and according to the uniformity value of the displayed image before adjustment, it is judged that the display effect of the adjusted display image is well-adjusted.
在一种实施方式中,本发明提供了一种终端设备,内部结构原理如图4所示。该终端设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该终端设备的处理器用于提供计算和控制能力。该终端设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现如上述的显示图像调整方法。该终端设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该终端设备的输入装置可以是显示屏上覆盖的触摸层,也可以是终端设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In an embodiment, the present invention provides a terminal device, and the internal structure principle is shown in FIG. 4 . The terminal equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the terminal device is used to provide computing and control capabilities. The memory of the terminal device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used to communicate with an external terminal through a network connection. The computer program, when executed by the processor, implements the display image adjustment method as described above. The display screen of the terminal equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the terminal equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图4所示的仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的终端设备的限定,具体的终端设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。在一种实施 方式中,本发明提供了一种终端设备,终端设备包括存储器、处理器以及存储在存储器上并可在所述处理器运行的计算机程序,处理器执行计算机程序时实现如上述的显示图像调整方法的步骤。Those skilled in the art can understand that the block diagram shown in FIG. 4 is only a partial structure related to the solution of the present invention, and does not constitute a limitation on the terminal equipment to which the solution of the present invention is applied. shown in more or less components, or in combination with certain components, or with different arrangements of components. In one embodiment, the present invention provides a terminal device, the terminal device includes a memory, a processor, and a computer program stored in the memory and executed on the processor, and the processor implements the above when executing the computer program. Shows the steps of the image adjustment method.
在一种实施方式中,本发明提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述的显示图像调整方法的步骤。In one embodiment, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the above-mentioned display image adjustment method.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.

Claims (20)

  1. 一种显示图像调整方法,其中,包括:A display image adjustment method, comprising:
    获取目标图像的亮度数据,所述目标图像为拍摄在显示器上的显示图像得到的亮度图像;acquiring brightness data of a target image, where the target image is a brightness image obtained from a display image captured on a display;
    根据所述亮度数据确定所述显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the display image according to the luminance data;
    根据所述灰阶补偿数据调整所述显示图像,得到调整后的显示图像。The display image is adjusted according to the grayscale compensation data to obtain an adjusted display image.
  2. 根据权利要求1所述的方法,其中,所述目标图像包括至少一个灰阶下的三个基色图像,所述根据所述亮度数据确定所述显示图像对应的灰阶补偿数据,包括:The method according to claim 1, wherein the target image includes three primary color images in at least one gray scale, and the determining the gray scale compensation data corresponding to the display image according to the luminance data comprises:
    根据所述目标图像的各像素分区在各灰阶下的亮度平均值,确定各像素分区对应的gamma曲线;Determine the gamma curve corresponding to each pixel subregion according to the luminance average value of each pixel subregion of the target image under each gray scale;
    确定所述目标图像在各灰阶下的亮度阈值;determining the brightness threshold of the target image under each gray level;
    根据所述亮度阈值和所述gamma曲线,确定各灰阶各自分别对应的补偿值;According to the brightness threshold and the gamma curve, determine the compensation values corresponding to each gray scale respectively;
    根据所有灰阶各自分别对应的补偿值,确定所述显示图像对应的灰阶补偿数据。The gray-scale compensation data corresponding to the display image is determined according to the respective compensation values corresponding to all the gray-scales.
  3. 根据权利要求2所述的方法,其中,所述像素分区包括一个像素,所述目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素在该灰阶下的亮度值;或者,The method according to claim 2, wherein the pixel partition comprises one pixel, and the average value of the brightness of each pixel partition in the target image at each gray level is the brightness value of the pixel at the gray level; or,
    所述像素分区包括至少两个像素,所述目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素分区中所有像素在该灰阶下的亮度值的平均值。The pixel partition includes at least two pixels, and the average brightness of each pixel partition in the target image under each gray level is the average of the brightness values of all pixels in the pixel partition under the gray level.
  4. 根据权利要求2所述的方法,其中,所述目标图像在各灰阶下的亮度阈值为预设亮度值;或者,The method according to claim 2, wherein the brightness threshold of the target image under each gray scale is a preset brightness value; or,
    所述确定所述目标图像在各灰阶下的亮度阈值,包括:The determining the brightness threshold of the target image at each gray level includes:
    针对每个灰阶,计算所述目标图像中所有像素在该灰阶下的亮度值的平均值;For each grayscale, calculate the average value of the luminance values of all pixels in the target image under the grayscale;
    确定所述目标图像的三个基色的亮度比例;Determine the brightness ratio of the three primary colors of the target image;
    根据所述亮度比例调整该灰阶下的亮度值的平均值,得到该灰阶下调整后的亮度平均值,所述该灰阶下调整后的亮度平均值为所述目标图像在该灰阶下的亮度阈值。Adjust the average value of the brightness values in the gray level according to the brightness ratio to obtain the adjusted average brightness value in the gray level, and the adjusted average brightness value in the gray level is the target image in the gray level lower brightness threshold.
  5. 根据权利要求4所述的方法,其中,所述目标图像的三个基色的亮度比例为预设亮度比例,或者,所述目标图像的三个基色的亮度比例为任一灰阶下的目标图像的三个基色的亮度比例。The method according to claim 4, wherein the luminance ratio of the three primary colors of the target image is a preset luminance ratio, or the luminance ratio of the three primary colors of the target image is the target image in any gray scale The luminance ratio of the three primary colors.
  6. 根据权利要求1所述的方法,其中,所述获取目标图像的亮度数据,包括:The method according to claim 1, wherein the acquiring the brightness data of the target image comprises:
    获取目标图像,对每一所述目标图像的显示图像区域进行图像矫正处理,得到矫正后的显示图像区域;Acquiring a target image, and performing image correction processing on the displayed image area of each of the target images to obtain a corrected displayed image area;
    提取所述矫正后的显示图像区域的亮度数据作为所述目标图像的亮度数据。Extracting the brightness data of the corrected display image area as the brightness data of the target image.
  7. 根据权利要求6所述的方法,其中,所述对每一所述目标图像的显示图像区域进行图像矫正处理,得到矫正后的显示图像区域,包括:The method according to claim 6, wherein, performing image correction processing on the displayed image area of each of the target images to obtain a corrected displayed image area, comprising:
    针对每一所述目标图像,采用角点检测方法检测显示图像区域的角点;For each of the target images, a corner detection method is used to detect the corners of the displayed image area;
    根据所述显示图像区域的角点的坐标以及预设角点坐标,对所述显示图像区域进行矫正,得到矫正后的显示图像区域。According to the coordinates of the corner points of the display image area and the preset corner point coordinates, the display image area is corrected to obtain a corrected display image area.
  8. 根据权利要求7所述的方法,其中,对所述显示图像区域进行矫正,得到矫正后的显示图像区域,包括:The method according to claim 7, wherein correcting the display image area to obtain a corrected display image area, comprising:
    对所述显示图像区域进行倾斜矫正,得到倾斜矫正后的显示图像区域;Perform tilt correction on the display image area to obtain a display image area after tilt correction;
    对倾斜矫正后的显示图像区域进行桶形失真矫正,得到矫正后的显示图像区域。The barrel distortion correction is performed on the displayed image area after tilt correction to obtain the corrected displayed image area.
  9. 根据权利要求6所述的方法,其中,所述获取目标图像,对每一所述目标图像的显示图像区域进行图像矫正处理,得到矫正后的显示图像区域之前,所述方法还 包括:method according to claim 6, wherein, described acquisition target image, carries out image correction processing to the display image area of each described target image, before obtaining the display image area after correction, described method also comprises:
    调整所述显示器的初始状态。Adjust the initial state of the display.
  10. 根据权利要求1所述的方法,其中,所述根据所述灰阶补偿数据调整所述显示图像,得到调整后的显示图像,包括:The method according to claim 1, wherein the adjusting the display image according to the grayscale compensation data to obtain the adjusted display image comprises:
    将所述灰阶补偿数据写入所述显示器,调整所述显示器的显示图像,得到调整后的显示图像。The grayscale compensation data is written into the display, and the display image of the display is adjusted to obtain an adjusted display image.
  11. 一种终端设备,其中,所述终端设备包括存储器、处理器、以及存储在所述存储器上并可在所述处理器运行的计算机程序,所述处理器执行所述计算机程序时实现:A terminal device, wherein the terminal device includes a memory, a processor, and a computer program stored on the memory and executed by the processor, and when the processor executes the computer program, the processor implements:
    获取目标图像的亮度数据,目标图像为拍摄在显示器上的显示图像得到的亮度图像;Obtain the brightness data of the target image, and the target image is the brightness image obtained by shooting the display image on the display;
    根据亮度数据确定显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the displayed image according to the brightness data;
    根据灰阶补偿数据调整显示图像,得到调整后的显示图像。Adjust the display image according to the grayscale compensation data to obtain the adjusted display image.
  12. 根据权利要求11所述的终端设备,其中,所述目标图像包括至少一个灰阶下的三个基色图像,所述处理器还用于:The terminal device according to claim 11, wherein the target image comprises three primary color images in at least one gray scale, and the processor is further configured to:
    根据所述目标图像的各像素分区在各灰阶下的亮度平均值,确定各像素分区对应的gamma曲线;Determine the gamma curve corresponding to each pixel subregion according to the luminance average value of each pixel subregion of the target image under each gray scale;
    确定所述目标图像在各灰阶下的亮度阈值;determining the brightness threshold of the target image under each gray level;
    根据所述亮度阈值和所述gamma曲线,确定各灰阶各自分别对应的补偿值;According to the brightness threshold and the gamma curve, determine the compensation values corresponding to each gray scale respectively;
    根据所有灰阶各自分别对应的补偿值,确定所述显示图像对应的灰阶补偿数据。The gray-scale compensation data corresponding to the display image is determined according to the respective compensation values corresponding to all the gray-scales.
  13. 根据权利要求12所述的终端设备,其中,所述像素分区包括一个像素,所述目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素在该灰阶下的亮度值;或者,The terminal device according to claim 12, wherein the pixel partition comprises one pixel, and the average value of the brightness of each pixel partition in the target image at each gray level is the brightness value of the pixel at the gray level ;or,
    所述像素分区包括至少两个像素,所述目标图像中每一像素分区在每一灰阶下的亮度平均值为该像素分区中所有像素在该灰阶下的亮度值的平均值。The pixel partition includes at least two pixels, and the average brightness of each pixel partition in the target image under each gray level is the average of the brightness values of all pixels in the pixel partition under the gray level.
  14. 根据权利要求12所述的终端设备,其中,所述处理器还用于:The terminal device of claim 12, wherein the processor is further configured to:
    针对每个灰阶,计算所述目标图像中所有像素在该灰阶下的亮度值的平均值;For each grayscale, calculate the average value of the luminance values of all pixels in the target image under the grayscale;
    确定所述目标图像的三个基色的亮度比例;Determine the brightness ratio of the three primary colors of the target image;
    根据所述亮度比例调整该灰阶下的亮度值的平均值,得到该灰阶下调整后的亮度平均值,所述该灰阶下调整后的亮度平均值为所述目标图像在该灰阶下的亮度阈值。Adjust the average value of the brightness values in the gray level according to the brightness ratio to obtain the adjusted average brightness value in the gray level, and the adjusted average brightness value in the gray level is the target image in the gray level lower brightness threshold.
  15. 根据权利要求14所述的终端设备,其中,所述目标图像的三个基色的亮度比例为预设亮度比例,或者,所述目标图像的三个基色的亮度比例为任一灰阶下的目标图像的三个基色的亮度比例。The terminal device according to claim 14, wherein the luminance ratio of the three primary colors of the target image is a preset luminance ratio, or the luminance ratio of the three primary colors of the target image is the target in any gray scale The luminance ratio of the three primary colors of the image.
  16. 根据权利要求11所述的终端设备,其中,所述处理器还用于:The terminal device of claim 11, wherein the processor is further configured to:
    获取目标图像,对每一所述目标图像的显示图像区域进行图像矫正处理,得到矫正后的显示图像区域;Acquiring a target image, and performing image correction processing on the displayed image area of each of the target images to obtain a corrected displayed image area;
    提取所述矫正后的显示图像区域的亮度数据作为所述目标图像的亮度数据。Extracting the brightness data of the corrected display image area as the brightness data of the target image.
  17. 根据权利要求16所述的终端设备,其中,所述处理器还用于:The terminal device of claim 16, wherein the processor is further configured to:
    针对每一所述目标图像,采用角点检测方法检测显示图像区域的角点;For each of the target images, a corner detection method is used to detect the corners of the displayed image area;
    根据所述显示图像区域的角点的坐标以及预设角点坐标,对所述显示图像区域进行矫正,得到矫正后的显示图像区域。According to the coordinates of the corner points of the display image area and the preset corner point coordinates, the display image area is corrected to obtain a corrected display image area.
  18. 根据权利要求17所述的终端设备,其中,所述处理器还用于:The terminal device of claim 17, wherein the processor is further configured to:
    对所述显示图像区域进行倾斜矫正,得到倾斜矫正后的显示图像区域;Perform tilt correction on the display image area to obtain a display image area after tilt correction;
    对倾斜矫正后的显示图像区域进行桶形失真矫正,得到矫正后的显示图像区域。The barrel distortion correction is performed on the displayed image area after tilt correction to obtain the corrected displayed image area.
  19. 根据权利要求16所述的终端设备,其中,所述处理器还用于:The terminal device of claim 16, wherein the processor is further configured to:
    调整所述显示器的初始状态。Adjust the initial state of the display.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现:A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program is implemented when executed by a processor:
    获取目标图像的亮度数据,目标图像为拍摄在显示器上的显示图像得到的亮度图像;Obtain the brightness data of the target image, and the target image is the brightness image obtained by shooting the display image on the display;
    根据亮度数据确定显示图像对应的灰阶补偿数据;Determine the grayscale compensation data corresponding to the displayed image according to the brightness data;
    根据灰阶补偿数据调整显示图像,得到调整后的显示图像。Adjust the display image according to the grayscale compensation data to obtain the adjusted display image.
PCT/CN2021/118775 2020-10-26 2021-09-16 Method for adjusting display image, terminal device, and computer readable storage medium WO2022089082A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011155681.0A CN114495816B (en) 2020-10-26 2020-10-26 Display image adjustment method, terminal device and computer readable storage medium
CN202011155681.0 2020-10-26

Publications (1)

Publication Number Publication Date
WO2022089082A1 true WO2022089082A1 (en) 2022-05-05

Family

ID=81381865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118775 WO2022089082A1 (en) 2020-10-26 2021-09-16 Method for adjusting display image, terminal device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN114495816B (en)
WO (1) WO2022089082A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114898706A (en) * 2022-05-18 2022-08-12 昆山国显光电有限公司 Brightness compensation method and device of display screen and computer equipment
CN114967289A (en) * 2022-06-16 2022-08-30 苏州华星光电技术有限公司 Color wheel module, brightness correction device and method of display panel and storage medium
CN116381983A (en) * 2022-12-29 2023-07-04 Tcl华星光电技术有限公司 Luminance compensation method and device for display panel and display panel
CN116823675A (en) * 2023-08-28 2023-09-29 禹创半导体(深圳)有限公司 OLED panel global voltage drop compensation method, device, equipment and storage medium
CN117392937A (en) * 2023-12-13 2024-01-12 武汉精测电子集团股份有限公司 Color point separation and demura method, device and system for white picture of display panel

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117079617B (en) * 2023-10-12 2024-02-13 惠科股份有限公司 Brightness adjusting method for display panel and display panel

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419947A (en) * 2011-11-21 2012-04-18 四川长虹电器股份有限公司 Color temperature debugging method of liquid crystal display screen
CN107045863A (en) * 2017-06-26 2017-08-15 惠科股份有限公司 The GTG method of adjustment and device of a kind of display panel
CN107507571A (en) * 2017-08-28 2017-12-22 哈尔滨工业大学深圳研究生院 A kind of method and device that external optical compensation is carried out to AMOLED
CN107689214A (en) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 The backlight adjusting method and device of a kind of intelligent display device
CN108492776A (en) * 2018-03-29 2018-09-04 苏州佳智彩光电科技有限公司 A kind of AMOLED screens brightness disproportionation intelligent external optical compensation method
CN108877652A (en) * 2018-06-27 2018-11-23 武汉华星光电半导体显示技术有限公司 Optical compensation method and OLED display

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713886B (en) * 2016-12-20 2018-11-02 深圳Tcl数字技术有限公司 White balance adjustment device and white balance adjustment method
CN108877630B (en) * 2018-07-25 2021-09-14 昆山国显光电有限公司 Method and device for acquiring Mura compensation data, computer equipment and storage medium
CN108962179B (en) * 2018-09-19 2020-10-09 合肥鑫晟光电科技有限公司 Display panel brightness adjusting method and assembly and display device
CN110827745B (en) * 2019-12-26 2022-06-14 武汉天马微电子有限公司 Display panel and pixel compensation data generation method and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419947A (en) * 2011-11-21 2012-04-18 四川长虹电器股份有限公司 Color temperature debugging method of liquid crystal display screen
CN107689214A (en) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 The backlight adjusting method and device of a kind of intelligent display device
CN107045863A (en) * 2017-06-26 2017-08-15 惠科股份有限公司 The GTG method of adjustment and device of a kind of display panel
CN107507571A (en) * 2017-08-28 2017-12-22 哈尔滨工业大学深圳研究生院 A kind of method and device that external optical compensation is carried out to AMOLED
CN108492776A (en) * 2018-03-29 2018-09-04 苏州佳智彩光电科技有限公司 A kind of AMOLED screens brightness disproportionation intelligent external optical compensation method
CN108877652A (en) * 2018-06-27 2018-11-23 武汉华星光电半导体显示技术有限公司 Optical compensation method and OLED display

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114898706A (en) * 2022-05-18 2022-08-12 昆山国显光电有限公司 Brightness compensation method and device of display screen and computer equipment
CN114898706B (en) * 2022-05-18 2023-10-31 昆山国显光电有限公司 Display screen brightness compensation method and device and computer equipment
CN114967289A (en) * 2022-06-16 2022-08-30 苏州华星光电技术有限公司 Color wheel module, brightness correction device and method of display panel and storage medium
CN114967289B (en) * 2022-06-16 2023-09-26 苏州华星光电技术有限公司 Color wheel module, brightness correction device and method of display panel and storage medium
CN116381983A (en) * 2022-12-29 2023-07-04 Tcl华星光电技术有限公司 Luminance compensation method and device for display panel and display panel
CN116381983B (en) * 2022-12-29 2024-06-11 Tcl华星光电技术有限公司 Luminance compensation method and device for display panel and display panel
CN116823675A (en) * 2023-08-28 2023-09-29 禹创半导体(深圳)有限公司 OLED panel global voltage drop compensation method, device, equipment and storage medium
CN116823675B (en) * 2023-08-28 2023-12-08 禹创半导体(深圳)有限公司 OLED panel global voltage drop compensation method, device, equipment and storage medium
CN117392937A (en) * 2023-12-13 2024-01-12 武汉精测电子集团股份有限公司 Color point separation and demura method, device and system for white picture of display panel
CN117392937B (en) * 2023-12-13 2024-03-19 武汉精测电子集团股份有限公司 Color point separation and demura method, device and system for white picture of display panel

Also Published As

Publication number Publication date
CN114495816B (en) 2023-06-27
CN114495816A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
WO2022089082A1 (en) Method for adjusting display image, terminal device, and computer readable storage medium
CN109036271B (en) Method and device for correcting color cast of curved screen bending area, storage medium and terminal
US10636345B2 (en) Method of compensating in display panel, driving unit and display panel
WO2020019807A1 (en) Method and device for acquiring mura compensation data, computer device and storage medium
CN110085166B (en) Bright spot compensation method and device for curved screen
WO2019153941A1 (en) Color compensation method, compensation device, and display device
JP6719579B2 (en) Compensation method for unevenness
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
RU2660628C1 (en) Liquid crystal panel and control method for such panel
CN107507558B (en) Correction method of LED display screen
WO2016150004A1 (en) Device and method for processing image to be displayed on oled display
KR102350818B1 (en) Method and apparatus for detecting high-frequency components in an image
WO2016197459A1 (en) Liquid crystal panel and driving method therefor
WO2016197450A1 (en) Liquid crystal panel and driving method therefor
US9508281B2 (en) Apparatus and method for image analysis and image display
KR102008073B1 (en) Liquid crystal panel and pixel unit setting method thereof
US20170328703A1 (en) Measuring method and measuring system thereof
WO2022057495A1 (en) Grayscale data determination method and apparatus, and device and screen drive board
WO2020211543A1 (en) Display debugging method, compensation method and device, display device and storage medium
WO2022022000A1 (en) Brightness compensation parameter determination method and apparatus, and device
US10777152B2 (en) Driving method and driving device for display panel, and display device
CN113077742B (en) Adjusting method and adjusting device of display panel and display panel
CN113160090B (en) Image correction method and device
KR102586407B1 (en) Pixel compensating apparatus and display system having the same
CN106791736B (en) Trapezoidal correction method and projector

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: 21884812

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 01/08/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21884812

Country of ref document: EP

Kind code of ref document: A1