WO2023236148A1 - 显示控制方法及装置、显示设备及存储介质 - Google Patents

显示控制方法及装置、显示设备及存储介质 Download PDF

Info

Publication number
WO2023236148A1
WO2023236148A1 PCT/CN2022/097908 CN2022097908W WO2023236148A1 WO 2023236148 A1 WO2023236148 A1 WO 2023236148A1 CN 2022097908 W CN2022097908 W CN 2022097908W WO 2023236148 A1 WO2023236148 A1 WO 2023236148A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
value
display device
gamma
channel
Prior art date
Application number
PCT/CN2022/097908
Other languages
English (en)
French (fr)
Inventor
李阳运
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN202280004551.8A priority Critical patent/CN117597725A/zh
Priority to PCT/CN2022/097908 priority patent/WO2023236148A1/zh
Publication of WO2023236148A1 publication Critical patent/WO2023236148A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • 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
    • 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/34Control 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

Definitions

  • the present disclosure relates to the field of display technology but is not limited to the field of display technology, and in particular, to a display control method and device, a display device and a storage medium.
  • the gamma value is an important parameter in the display screen for adjusting the display color of the display screen.
  • Gamma value is also called gamma coefficient, and each display device has its own gamma value. And the gamma value of each display device is generated based on the color difference correction of the display device itself.
  • Embodiments of the present disclosure provide a display control method and device, a display device and a storage medium.
  • the first aspect of the embodiment of this public course provides a display control method, which is executed by a display device.
  • the method includes:
  • the second gamma value is determined according to the saturation of the display node, the gray scale of the display node and the first gamma value; wherein one of the display nodes includes one pixel or multiple adjacently distributed pixels;
  • determining the first gamma value of each gray scale according to the display brightness setting information of the display device includes:
  • the first gamma value of each gray level corresponding to the currently set brightness is determined.
  • determining the maximum gamma value corresponding to the currently set brightness of the display device based on the ratio between the maximum brightness supported by the display device and the display brightness setting information includes at least one of the following:
  • the maximum gamma value corresponding to the currently set brightness of the display device is calculated according to the ratio.
  • calculating the maximum gamma value corresponding to the currently set brightness of the display device according to the ratio includes:
  • the maximum gamma value corresponding to the currently set brightness of the display device is determined; wherein the second value is greater than the first value.
  • the method also includes:
  • the display mode convert the first pixel value of the picture to be displayed into a second pixel value
  • the saturation of each display node and the grayscale of the display node in the display mode are determined.
  • converting the first pixel value of the picture to be displayed into the second pixel value according to the display mode includes:
  • the determination of the display mode includes:
  • the display mode of the display device is determined according to the display style configuration of the display device and/or the display tone of the predetermined interface.
  • determining the second color value according to the second gamma value and the first color value of the display node includes;
  • the second color value is obtained by combining the second channel values of one display node.
  • determining the second channel value of each preset color channel of the display node according to the second gamma value and the first channel value includes:
  • a second aspect of the embodiment of the present disclosure provides a display control device, wherein the device includes:
  • the second determination module is configured to determine a second gamma value according to the saturation of the display node, the gray scale of the display node and the first gamma value; wherein one of the display nodes includes one pixel or more adjacently distributed pixels;
  • a third determination module configured to determine a second color value according to the second gamma value and the first color value of the display node
  • the control module is configured to control the display of the display node according to the second color value.
  • the first determination module is configured to determine the maximum gamma value corresponding to the currently set brightness of the display device based on the ratio between the maximum brightness supported by the display device and the display brightness setting information. ; According to the maximum gamma value, determine the first gamma value of each gray level corresponding to the currently set brightness.
  • the first determination module is configured to perform at least one of the following:
  • the maximum gamma value corresponding to the currently set brightness of the display device is calculated according to the ratio.
  • the first determination module is configured to determine the product of the ratio and the preset coefficient when the ratio is equal to or greater than the proportion threshold; according to the difference between the second value and the product, Determine the maximum gamma value corresponding to the currently set brightness of the display device; wherein the second value is greater than the first value.
  • the device also includes:
  • a fourth determination module configured to determine the display mode
  • the fifth determination module is configured to determine the saturation of each display node and the gray scale of the display node in the display mode according to the second pixel value.
  • the conversion module is configured to determine a pixel value conversion relationship corresponding to the display mode; and convert the first pixel value of the picture to be displayed into a second pixel value according to the pixel value conversion relationship.
  • the third determination module is configured to determine the first channel value of the first color value in each predetermined color channel; determine based on the second gamma value and the first channel value, The second channel value of the display node in each of the preset color channels; combine the second channel values of one of the display nodes to obtain the second color value.
  • the third determination module is configured to determine the display node according to the ratio of the first channel value to the maximum channel value corresponding to the predetermined color channel and the second gamma value.
  • a fourth aspect of the embodiment of the present disclosure provides a display device, including:
  • Memory used to store instructions executable by the processor
  • the processor is connected to the memory and the display screen respectively;
  • the processor is configured to execute the display control method provided by any of the foregoing technical solutions.
  • a fifth aspect of the embodiments of the present disclosure provides a computer storage medium that stores an executable program; after the executable program is executed by a processor, the display control method provided by any of the foregoing technical solutions can be implemented.
  • the display device when the display device corrects the color values of each display node in the display screen, it takes into account the current brightness setting and the saturation of each display node. Compared with using a single gamma curve to correct all display screens of the display device, Correction can realize separate correction of display nodes with different saturations under different current display brightness, thereby improving the accuracy of gamma correction of the display device.
  • Figure 1 is a schematic flowchart of a display control method according to an exemplary embodiment
  • Figure 2 is a schematic flowchart of a display control method according to an exemplary embodiment
  • Figure 3 is a schematic flowchart of a display control method according to an exemplary embodiment
  • Figure 4 is a schematic flowchart of a display control method according to an exemplary embodiment
  • Figure 5 is a schematic structural diagram of a display control device according to an exemplary embodiment
  • FIG. 6 is a schematic structural diagram of a display device according to an exemplary embodiment.
  • first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • word “if” as used herein may be interpreted as "when” or "when” or "in response to determining.”
  • an embodiment of the present disclosure provides a display control method, which is executed by a display device.
  • the method includes:
  • S110 Determine the first gamma value of each gray scale according to the display brightness setting information of the display device
  • S120 Determine a second gamma value according to the saturation of the display node, the gray scale of the display node and the first gamma value; wherein one of the display nodes includes one pixel or multiple adjacently distributed pixels ;
  • S130 Determine a second color value according to the second gamma value and the first color value of the display node
  • S140 Control the display of the display node according to the second color value.
  • the display device can be any display device with a display screen.
  • the display screen may include: a liquid crystal display screen and/or an organic light-emitting diode (OLED) display screen.
  • OLED organic light-emitting diode
  • the display device may be a mobile phone, a tablet computer, a wearable device, a smart home device, or a smart office device.
  • the display node here may include one or more pixels. If it includes multiple pixels, the multiple pixels are adjacently distributed in the image.
  • a display node may be a central pixel and a component in the neighborhood of the central pixel.
  • the display node may be: 4 rectangularly distributed pixels, or 9 or 16 rectangularly distributed pixels.
  • the first gamma value of each gray level is first determined based on the display brightness setting information of the display device. For different display brightness setting information, the first gamma value corresponding to the same gray level may be different.
  • the corresponding display device has a total of 256 gray levels. If the display channel of the display device has 9 bits, the corresponding display device has a total of 512 gray levels. Of course, this is just an example of grayscale, and the specific implementation depends on the display device itself.
  • the display brightness setting information may be stored in setting information of the electronic device.
  • the display brightness setting information may be: a ratio of the current brightness of the display device to the maximum brightness supported by the display device.
  • the display brightness setting information can be used to control the backlight brightness of the liquid crystal display device, or to control the maximum luminous brightness of a single OLED of the OLED display device in the current display scene.
  • the first gamma value is corrected to the second gamma value in combination with the saturation of the display node of the picture to be displayed and the grayscale of the display node.
  • a picture to be displayed may not have all the gray levels of the display device.
  • S120 may include: determining the first gamma value of each gray level of the picture to be displayed, combined with the values of each display node in the picture to be displayed. Saturation: convert the first gamma value corresponding to the grayscale of the display node into the second gamma value.
  • the second gamma value Gamma of each gray level can be determined based on the following functional relationship:
  • Gamma Gray is the first gamma value corresponding to gray scale
  • Gamma C is the preset gamma value corresponding to the current brightness configuration.
  • Gamma C may be a constant value, that is, different current display brightness setting information may correspond to the same preset gamma value.
  • Gamma C may be determined based on current display brightness setting information.
  • the first color value is the color value before correction
  • the second color value is the color value after correction. That is, the first color value may be the original color value of the picture to be displayed, and the second color value may be the color value actually displayed by the display device.
  • the display device when the display device corrects the color value of each display node in the display screen, the current brightness setting and the saturation of each display node are considered. Compared with using a single gamma curve to correct all the color values of the display device, Correction of the display screen can realize separate correction of display nodes with different saturations under different current display brightness, thus improving the accuracy of gamma correction of the display device.
  • S111 Determine the maximum gamma value corresponding to the currently set brightness of the display device according to the ratio between the currently set brightness indicated by the display brightness setting information and the maximum brightness supported by the display device;
  • S112 Determine the first gamma value of each gray level corresponding to the currently set brightness according to the maximum gamma value.
  • the display device has the function of adaptive adjustment of display brightness.
  • the display device will obtain the ambient brightness of its own environment, and then adaptively adjust its own display brightness according to the ambient brightness to reduce low-light scenes or dark scenes.
  • the visual stimulation effect caused by the display device being too bright, or the display brightness of the display device being insufficient in the strong light scene causes the display clarity to be insufficient.
  • the display device performs adaptive adjustment of display brightness, after completing the adaptive adjustment, the current brightness will be recorded in the display brightness setting information.
  • the following functional relationship can be used to determine the first gamma value of each gray level.
  • Gamma max is the maximum gamma value corresponding to the current display brightness setting information
  • Gray is the gray scale
  • Gamma Gray is the first gamma value corresponding to the gray scale Gray.
  • Gamma C can be the preset gamma value corresponding to the current display brightness setting information.
  • the preset gamma value may be greater than or equal to Gamma max .
  • calculating the maximum gamma value corresponding to the currently set brightness of the display device according to the ratio includes:
  • Can be between 0.3 and 0.7, or, Can be between 0.4 and 0.6.
  • the value range of eta can also be a value between 0 and 1.
  • different display modes may correspond to different display styles.
  • the display mode may be the current display mode of the display device, or the display mode of the picture to be displayed.
  • the display device has a default display mode and a non-default display mode determined according to user settings.
  • the display mode used for conversion from the first pixel value to the second pixel value may be the display mode of the picture to be displayed.
  • the current display mode of the display device is a non-default display mode
  • the current display mode of the display device for the display mode converted from the first pixel value to the second pixel value.
  • the first pixel value of the picture to be displayed is converted to the second pixel value according to the display mode. Convert between pixel values.
  • the first pixel value here may be the original pixel value of the picture to be displayed, and the second pixel value may be the pixel value after style conversion according to the display mode.
  • the conversion of the first pixel value to the second pixel value may be a conversion of the pixel value based on a table lookup.
  • the pixel value conversion relationship is first determined according to the display mode. In this way, according to the pixel value conversion relationship, each first pixel value in the picture to be displayed can be easily converted into a second pixel value to achieve display. Pixel-by-pixel conversion of patterns.
  • determining the display mode includes:
  • the display mode of the display device is determined according to the display style configuration of the display device and/or the display tone of the predetermined interface.
  • the display mode is the display mode of the display device
  • the display mode can be determined according to the display style configuration of the display device.
  • the reservation interface here includes but is not limited to at least one of the following:
  • the second color value is obtained by combining the second channel values of one display node.
  • color conversion is channel-by-channel conversion.
  • the predetermined color channels may include: a red channel, a green channel, and a blue channel.
  • Detect status information of the display device which status information may include: remaining power and/or load rate;
  • the display device described in the method includes: a main processor, a display driver integrated circuit, and a display screen; the main processor may include: a central processing unit, a microprocessor, or an image processor located on the motherboard. of chips.
  • the driver integrated circuit is connected to the motherboard through a cable or the like.
  • the display driver integrated circuit is connected to the display screen for directly controlling the display of the display screen.
  • the mobile phone reads the 3D LUT of the current mode, traverses each node in it, transfers the nodes from RGB space to HSV space, and records the saturation S corresponding to each node after converting to HSV.
  • Display styles correspond to different modes;
  • the gamma value corresponding to the default 0-255 gray scale is calculated.
  • the Gamma value of a single LUT node is calculated.
  • the disclosed embodiment is the first display solution that realizes multi-Gamma curve adjustment of image display, improves the details of bright and dark parts of the image, and ensures undistorted colors. At the same time, it can realize point-to-point adjustment in 3D LUT to achieve accurate, restored and harmonious color display effects.
  • an embodiment of the present disclosure provides a display control device, wherein the device includes:
  • the first determination module 110 is configured to determine the first gamma value of each gray scale according to the display brightness setting information of the display device;
  • the second determination module 120 is configured to determine a second gamma value according to the saturation of the display node, the gray scale of the display node and the first gamma value; wherein one of the display nodes includes one pixel or Multiple adjacently distributed pixels;
  • the third determination module 130 is configured to determine a second color value according to the second gamma value and the first color value of the display node;
  • the control module 140 is configured to control the display of the display node according to the second color value.
  • the display control device may be included in the display device.
  • the first determination module 110, the second determination module 120, the third determination module 130 and the control module 140 may all be program modules; after the program modules are executed by the processor, the above operations can be implemented.
  • the first determination module 110, the second determination module 120, the third determination module 130 and the control module 140 may be software-hardware combination modules; the software-hardware combination module includes But is not limited to: programmable arrays; the programmable arrays include, but are not limited to: field programmable arrays and/or complex programmable arrays.
  • the first determination module 110, the second determination module 120, the third determination module 130 and the control module 140 may be pure hardware modules; the pure hardware modules include: Not limited to application specific integrated circuits.
  • the first determination module 110 is configured to determine the maximum brightness corresponding to the currently set brightness of the display device based on the ratio between the maximum brightness supported by the display device and the display brightness setting information.
  • Gamma value determine the first gamma value of each gray level corresponding to the currently set brightness according to the maximum gamma value.
  • the first determining module 110 is configured to perform at least one of the following:
  • the maximum gamma value corresponding to the currently set brightness of the display device is calculated according to the ratio.
  • the first determination module 110 is configured to determine the product of the ratio and the preset coefficient when the ratio is equal to or greater than the ratio threshold; according to the second value and the product The difference is determined to determine the maximum gamma value corresponding to the currently set brightness of the display device; wherein the second value is greater than the first value.
  • the device further includes:
  • a fourth determination module configured to determine the display mode
  • a conversion module configured to convert the first pixel value of the picture to be displayed into a second pixel value according to the display mode
  • the fifth determination module is configured to determine the saturation of each display node and the grayscale of the display node in the display mode according to the second pixel value.
  • the conversion module is configured to determine a pixel value conversion relationship corresponding to the display mode; according to the pixel value conversion relationship, convert the first pixel value of the picture to be displayed into a second pixel value.
  • the fourth determination module is configured to determine the display mode of the display device according to the display style configuration of the display device and/or the display tone of the predetermined interface.
  • the third determining module 130 is configured to determine the first channel value of the first color value in each predetermined color channel; according to the second gamma value and the first channel value, determine the second channel value of the display node in each of the preset color channels; combine the second channel values of one of the display nodes to obtain the second color value.
  • the third determining module 130 is configured to determine the second gamma value based on a ratio between the first channel value and the maximum channel value corresponding to the predetermined color channel. The second channel value of the display node in each of the preset color channels.
  • An embodiment of the present disclosure provides a display device, including:
  • the processor is connected to the memory and the display screen respectively;
  • the processor is configured to execute the display control method provided by any of the foregoing technical solutions.
  • FIG. 6 is a block diagram of a display device 800 according to an exemplary embodiment.
  • the display device 800 may be a mobile phone, a computer, a digital broadcast user device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • Processing component 802 generally controls the overall operations of display device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to generate all or part of the steps of the methods described above.
  • processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components.
  • processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operations at display device 800 . Examples of such data include instructions for any application or method operating on display device 800, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 806 provides power to various components of display device 800 .
  • Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to display device 800 .
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 810 is configured to output and/or input audio signals.
  • audio component 810 includes a microphone (MIC) configured to receive external audio signals when display device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or sent via communication component 816 .
  • audio component 810 also includes a speaker for outputting audio signals.
  • Sensor component 814 includes one or more sensors for providing various aspects of status assessment for display device 800 .
  • the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the display device 800, and the sensor component 814 can also detect the display device 800 or a component of the display device 800. position changes, the presence or absence of user contact with the display device 800 , the orientation or acceleration/deceleration of the display device 800 and the temperature changes of the display device 800 .
  • Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between display device 800 and other devices.
  • the display device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 816 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • a non-transitory computer-readable storage medium including instructions such as a memory 804 including instructions, which can be used by the processor 820 of the display device 800 to perform the display control provided by any of the above embodiments is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

Abstract

本公开实施例提供一种显示控制方法及装置、显示设备及存储介质。由显示设备执行的所述显示控制方法,可包括:根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;根据第二色彩值,控制所述显示节点的显示。

Description

显示控制方法及装置、显示设备及存储介质 技术领域
本公开涉及显示技术领域但不限于显示技术领域,尤其涉及一种显示控制方法及装置、显示设备及存储介质。
背景技术
伽马(gamma)值是显示屏中用于调节显示屏的显示色彩的重要参数。伽马值也叫灰度系数,每种显示设备都有自己的伽马值。且每个显示设备的伽马值都是根据显示设备自身的色彩差异校正生成的。
通常情况下,每一个显示设备都有其自身的伽马曲线,伽马曲线上的每一个点都可以用于显示设备的对应灰度的亮度控制,从而实现显示设备无色彩的进行图像显示。
发明内容
本公开实施例提供一种显示控制方法及装置、显示设备及存储介质。
本公共课实施例第一方面提供一种显示控制方法,其中,由显示设备执行,所述方法包括:
根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
根据第二色彩值,控制所述显示节点的显示。
基于上述方案,所述根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值,包括:
根据所述显示设备支持的最大亮度以及所述显示亮度设置信息之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;
根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
基于上述方案,所述根据所述显示设备支持的最大亮度以及所述显示亮度设置信息之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值,包括以下至少之一:
当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
基于上述方案,所述当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设 备的当前设置亮度对应的最大伽马值,包括:
当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;
根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
基于上述方案,所述方法还包括:
确定显示模式;
根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度和所述显示节点的灰阶。
基于上述方案,所述根据所述显示模式,将待显示画面的第一像素值转换为第二像素值,包括:
确定与所述显示模式对应的像素值转换关系;
根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
基于上述方案,所述确定显示模式,包括:
根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
基于上述方案,所述根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值,包括;
确定所述第一色彩值在每个预定色彩通道的第一通道值;
根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;
组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
基于上述方案,所述根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值,包括:
根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
本公开实施例第二方面提供一种显示控制装置,其中,所述装置包括:
第一确定模块,被配置为根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
第二确定模块,被配置为根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
第三确定模块,被配置为根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
控制模块,被配置为根据第二色彩值,控制所述显示节点的显示。
基于上述方案,所述第一确定模块,被配置为根据所述显示设备支持的最大亮度以及所述显示亮度设置信息之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
基于上述方案,所述第一确定模块,被配置为执行以下至少之一:
当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
基于上述方案,所述第一确定模块,被配置为当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
基于上述方案,所述装置还包括:
第四确定模块,被配置为确定显示模式;
转换模块,被配置为根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
第五确定模块,被配置为根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度和所述显示节点的灰阶。
基于上述方案,所述转换模块,被配置为确定与所述显示模式对应的像素值转换关系;根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
基于上述方案,所述第四确定模块,被配置为根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
基于上述方案,所述第三确定模块,被配置为确定所述第一色彩值在每个预定色彩通道的第一通道值;根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
基于上述方案,所述第三确定模块,被配置为根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
本公开实施例第四方面提供一种显示设备,包括:
显示器,用于显示;
用于存储处理器可执行指令的存储器;
处理器,分别存储器和所述显示屏连接;
其中,处理器被配置为执行前述任意技术方案提供的显示控制方法。
本公开实施例第五方面提供一种计算机存储介质,所述计算机存储介质存储有可执行程序;所述可执行程序被处理器执行后,能够实现前述任意技术方案提供的显示控制方法。
本公开实施例中,显示设备对显示画面内各个显示节点的色彩值进行校正时,考虑了当前亮度设置以及各个显示节点的饱和度,相对于使用单一伽马曲线对显示设备的所有显示画面进行校正,能够实现不同当前显示亮度下不同饱和度的显示节点的分别校正,从而提升了显示设备的伽马校正的精确度。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开 实施例。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开实施例,并与说明书一起用于解释本公开实施例的原理。
图1是根据一示例性实施例示出的一种显示控制方法的流程示意图;
图2是根据一示例性实施例示出的一种显示控制方法的流程示意图;
图3是根据一示例性实施例示出的一种显示控制方法的流程示意图;
图4是根据一示例性实施例示出的一种显示控制方法的流程示意图;
图5是根据一示例性实施例示出的一种显示控制装置的结构示意图;
图6是根据一示例性实施例示出的一种显示设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开实施例相一致的所有实施方式。相反,它们仅是本公开实施例的一些方面相一致的装置和方法的例子。
在本公开实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开实施例。在本公开所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本公开实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
如图1所示,本公开实施例提供一种显示控制方法,其中,由显示设备执行,所述方法包括:
S110:根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
S120:根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
S130:根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
S140:根据第二色彩值,控制所述显示节点的显示。
该显示设备可为各种具有显示屏的显示设备。例如,该显示屏可包括:液晶显示屏和/或有机发 光二极管(Organic Light-Emitting Diode,OLED)显示屏。
在一些实施例中,该显示设备可以是手机、平板电脑、可穿戴式设备、智能家居设备或者智能办公设备。
此处的显示节点可包括一个或多个像素,若包含多个像素,则这多个像素在图像中相邻分布。示例性地,一个显示节点可为:一个中心像素以及该中心像素的邻域内的构成。示例性地,该显示节点可为:4个矩形分布的像素、或者、9个或者16个矩形分布的像素。
在本公开实施例中,会先根据显示设备的显示亮度设置信息,确定各个灰阶的第一伽马值。不同的显示亮度设置信息,则相同灰阶对应的第一伽马值可不同。
例如,该显示设备的显示通道具有8比特,则对应的显示设备共具有256个灰阶。若该显示设备的显示通道具有9比特,则对应的显示设备共具有512个灰阶。当然此处仅仅是对灰阶的举例,具体实现时,取决显示设备本身。
示例性地,该显示亮度设置信息可以存储在电子设备的设置信息中。示例性地,该显示亮度设置信息可为:显示设备的当前亮度与显示设备支持的最大亮度的比值。
该显示亮度设置信息可以用于控制液晶显示设备的背光亮度,或者,控制OLED显示设备单个OLED在当前显示场景下的最大发光亮度。
在本公开实施例中,为了实现显示设备精确的伽马校正,会结合待显示画面的显示节点的饱和度,以及该显示节点的灰度,将第一伽马值校正为第二伽马值。
一个待显示画面可能不会具有显示设备的所有灰阶,在本公开实施例中,S120可包括:确定待显示画面的各个灰阶的第一伽马值,结合待显示画面内各显示节点的饱和度,将该显示节点的灰阶对应的第一伽马值转换为第二伽马值。
示例性地,可以基于如下函数关系,确定各灰阶的第二伽马值Gamma:
Gamma=Gamma Gray·(1-S)+Gamma C·S
Gamma Gray为灰阶Gray对应的第一伽马值;
Gamma C为当前亮度配置对应的预设伽马值。在一些实施例中,Gamma C可以为恒定值,即不同的当前显示亮度设置信息可对应相同的预设伽马值。在另一些实施例中,Gamma C可根据当前显示亮度设置信息确定。
S为对应显示节点的饱和度。假设Gamma C的取值为恒定值,例如,该恒定值可为2.2,则上述函数关系可改写如下:
Gamma=Gamma Gray·(1-S)+2.2·S
第二伽马值可为该显示节点的色彩值校正的校正参数。该校正参数可包括:校正系数和/或校正指数。
此处第一色彩值为校正之前的色彩值,第二色彩值为校正之后的色彩值。也即第一色彩值可为待显示画面的原始色彩值,而第二色彩值可为显示设备实际显示的色彩值。
总之,在本公开实施例中,显示设备对显示画面内各个显示节点的色彩值进行校正时,考虑了当前亮度设置以及各个显示节点的饱和度,相对于使用单一伽马曲线对显示设备的所有显示画面进行校正,能够实现不同当前显示亮度下不同饱和度的显示节点的分别校正,从而提升了显示设备的伽马校正的精确度。
如图2所示,本公开实施例可包括:
S111:根据所述显示亮度设置信息指示的当前设置亮度与显示设备支持的最大亮度之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;
S112:根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
在一些实施例中,在显示设备上具有亮度控制条,该亮度控制条可以用于检测用户的拖动操作,根据该拖动操作可以确定出用户的设置亮度,并采用显示亮度设置信息记录该当前设置亮度。该亮度控制条可为检测用户的亮度控制操作的一种控件,在具体的实施例中还可以复用音量调节键进行显示设备的显示亮度调整。
在另一些实施例中,显示设备具有显示亮度自适应调整的功能,例如,显示设备将获取其自身所在环境的环境亮度,然后根据环境亮度适应性调整自身的显示亮度,减少弱光场景或者暗场景下,显示设备过亮导致的视觉刺激效果,或者强光场景下显示设备的显示亮度不够导致的显示清晰度不够的现象。若显示设备的进行显示亮度的自适应调整,则完成自适应调整之后,将当前亮度记录在显示亮度设置信息中。
所述比值可为0到1之间的任意取值。
示例性地,在本公开实施例中,显示设备的当前最大伽马值的大小,可与显示亮度对应的当前设置亮度的大小正相关。如此,通过该比值,可以转换得到确定各灰阶的第一伽马值的最大伽马值。
在确定出最大伽马值之后,则可以确定出当前设置亮度对应的各灰阶的第一伽马值。
示例性地,可以采用如下函数关系,确定各个灰阶的第一伽马值。
Figure PCTCN2022097908-appb-000001
其中,Gamma max为当前显示亮度设置信息对应的最大伽马值;Gray为灰阶,Gamma Gray为灰阶Gray对应的第一伽马值。Gamma C可为当前显示亮度设置信息对应的预设伽马值。示例性地,所述预设伽马值可大于或等于Gamma max
在一些实施例中,Gamma C可以为恒定值,即不同的当前显示亮度设置信息可对应相同的预设伽马值。在另一些实施例中,Gamma C同样可如Gamma max一样是根据当前显示亮度设置信息确定的。
若Gamma C的取值为2.2,则上述函数可以改写成:
Figure PCTCN2022097908-appb-000002
在一些实施例中,所述根据所述显示设备支持的最大亮度以及所述显示亮度设置信息之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值,包括以下至少之一:
当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
若采用这种方式,相当于在显示设备的低亮显示场景下和高亮显示场景下,显示设备的最大伽马值是不同的,且是采用不同的方式确定的,如此,实现了高亮显示场景和低亮显示场景下用于色彩转换的伽马值的区分设置。
尤其在显示设备的高亮显示场景下,会进一步根据比值计算确定显示设备的当前设置亮度对应的最大伽马值,如此,相当于不仅仅区分高亮显示和低亮显示场景的区分,而且针对高亮显示场景会进一步根据比例实现逐比例的最大伽马值区分。
在一些实施例中,所述当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值,包括:
当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;
根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
示例性地,最大伽马值可以使用但不限于使用如下函数确定:
Figure PCTCN2022097908-appb-000003
D为当前设置亮度;D max为显示设备支持的最大亮度。Gamma max为当前设置亮度对应的最大伽马值。
Figure PCTCN2022097908-appb-000004
为比例阈值。β为第一取值;δ为第二取值;η为预设系数。所述比例阈值、第一取值、第二取值和预设系数都可为经验值或者实验值。
例如,当
Figure PCTCN2022097908-appb-000005
为0.5;β为2.2;δ为2.4;η为0.4时,上述函数可以改写成如下函数表达式。
Figure PCTCN2022097908-appb-000006
在具体的实现过程中,
Figure PCTCN2022097908-appb-000007
β、δ以及η还可以是其他取值,不局限于其他取值。
示例性地,
Figure PCTCN2022097908-appb-000008
可为0.3至0.7之间,或者,
Figure PCTCN2022097908-appb-000009
可为0.4至0.6之间。η的取值范围同样可为0到1之间的取值。
在一些实施例中,如图4所示,所述方法还包括:
S101:确定显示模式;
S102:根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
S103:根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度和所述显示节点的灰阶。
在本公开实施例中,不同的显示模式可对应于不同的显示风格。
例如,显示风格不同,则显示设备的整体显示色调不同。例如,暖色调显示风格、冷色调显示风格或者科技感显示风格。不同的显示模式则会展现出不同的显示视觉效果。
该显示模式可为显示设备的当前显示模式,或者,待显示画面的显示模式。
示例性地,显示设备具有默认显示模式和根据用户设置确定的非默认显示模式。
若显示设备的当前显示模式为默认显示模式,则该用于从第一像素值到第二像素值转换的显示模式可为待显示画面的显示模式。
若显示设备当前显示模式为非默认显示模式,则该用于从第一像素值到第二像素值转换的显示模式的显示设备的当前显示模式。
当然以上仅仅是对显示模式的举例,具体实现时不局限于举例。
为了使得待显示画面经过色彩转换之后,体现出显示设备当前显示模式对应的显示风格,在基于第二伽马值进行色彩转换之前,会根据显示模式进行待显示画面的第一像素值到第二像素值之间的转换。
例如,此处的第一像素值可为待显示画面的原始像素值,第二像素值可为根据显示模式进行风格转换之后的像素值。
在一些实施例中,第一像素值到第二像素值的转化可为基于表查找进行像素值的转换。
在一些实施例中,所述根据所述显示模式,将待显示画面的第一像素值转换为第二像素值,包括:
确定与所述显示模式对应的像素值转换关系;
根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
在本公开实施例中,首先会根据显示模式确定像素值转换关系,如此,根据像素值转换关系,就可以简便的将待显示画面中每一个第一像素值转换为第二像素值,实现显示模式的逐个像素转换。
在一些实施例中,所述确定显示模式,包括:
根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
若该显示模式为显示设备的显示模式,则可以根据显示设备的显示风格配置,确定显示模式。
此处的预定界面包括但不限于以下至少之一:
显示设备的桌面;
显示设备的前台应用的应用界面;
当前待显示画面的前一个显示界面。
在一些实施例中,所述根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值,包括;
确定所述第一色彩值在每个预定色彩通道的第一通道值;
根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;
组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
在本公开实施例中,色彩转化是分通道转换的。例如,该预定色彩通道可包括:红色通道、绿色通道和蓝色通道。
第一色彩值可以由多个预定色彩通道的通道值组成的。例如,预定色彩通道包括:红色通道、绿色通道以及蓝色通道,则第一色差值将可以写成(R、G、B)。在本公开实施例中,在进行第一色彩值到第二色彩值的转换时,分别对第一色彩值的R、G以及B分别转换,从而得到更新后的R、G以及B。新的R、G以及B会组成第二色彩值。
以上仅仅是对预定色彩通道的举例说明,具体实现时不局限于上述举例,例如,预定色彩通道还可包括:黄色通道和/或白色通道等。
在进行第一色彩值到第二色彩值的转换时,逐个通道的进行转换,从而确保转换的色彩值是用户期待的色彩值,提升显示效果。
在一些实施例中,所述根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值,包括:
根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
在本公开实施例中,会结合单个显示节点的通道值与对应预定色彩通道的最大通道值的比值,并结合第二伽马值进行转换,从而会得到第二色彩值在各个是预定色彩通道的通道值。
在本公开实施例中,最大通道值可取决于显示设备为每个预设色彩通道分配的比特个数。例如,8个比特的预设色彩通道,则最大通道值可为255。
上述第一色彩值到第二色彩值的转换,可采用如下函数关系:
Figure PCTCN2022097908-appb-000010
其中,
Figure PCTCN2022097908-appb-000011
为预设色彩通道X对应的第二通道值。
Figure PCTCN2022097908-appb-000012
为预设色彩通道X对应的第一通道值。
Figure PCTCN2022097908-appb-000013
为预设色彩通道X的最大通道值。 Gamma为显示节点的灰阶对应的第二伽马值; GammaC为当前显示亮度设置信息对应的预设伽马值。
以预设色彩通道X为红色通道,假设 GammaC的取值为2.2,则上述函数关系可改写如下:
Figure PCTCN2022097908-appb-000014
R new为红色通道对应的第二通道值。R为红色通道对应的第一通道值。R max为红色通道的最大通道值。例如,红色通道具有8个比特,则红色通道的最大通道值即为255。
在一些实施例中,所述方法还包括:
检测所述显示设备的状态信息,该状态信息可包括:剩余电量和/或负载率;
若所述显示设备的负载率低于负载阈值,和/或剩余电量高于电量阈值时,根据采用上述任意实施例的方式,逐一确定每一个待显示画面的第二伽马值,并进行图像内各显示节点从第一色彩值到第二色彩值的转化;
若所述显示设备的负载率高于或等于负载阈值,或者剩余电量低于所述电量阈值,可以选择针对所有场景伽马曲线进行图像的色彩值的转换。在一些实施例中,所述方法所述显示设备包括:主处理、显示驱动集成电路以及显示屏;所述主处理器可包括:中央处理器、或者微处理器或者图像处理器等位于主板上的芯片。所述驱动集成电路通过排线等与主板连接。且显示驱动集成电路与显示屏连接,用于直接控制显示屏的显示。
在本公开实施例中,所述显示驱动芯片包括:伽马模组,该伽马模组至少包括寄存器;所述主处理器将第二伽马值写入寄存器,然后显示驱动芯片基于所述第二伽马值进行色彩校正。当然也可以是主处理器会直接将转换后的第二色彩值提供给显示驱动芯片,显示驱动芯片直接进行驱动显示屏显示即可。在这种情况下,显示驱动芯片上还可以省略伽马模组,缩小显示驱动芯片的面积。
假设该显示设备为手机,则当前智能手机普遍采用Gamma2.2针对所有场景的图像进行显示,但在某些特殊场景下,Gamma2.2会导致细节丢失,视效不佳,因此提出一种基于3D LUT采用多Gamma曲线调节的显示效果提升方案。
本公开实施例主要解决手机在默认Gamma2.2曲线的控制下,部分场景细节丢失,明暗对比不强的问题,通过在3D查表(Look Up Table,LUT)中使用点对点的Gamma曲线调节,达到提升细节,增强视效的效果。
手机读取当前模式的3D LUT,并且遍历其中的每个节点,将节点从RGB空间转入到HSV空间下,在转化到HSV之后记录每个节点对应的饱和度S。显示风格对应了不同模式;
基于当前亮度对应背光等级D,计算得到默认的0-255灰阶对应的伽马值。
Figure PCTCN2022097908-appb-000015
Figure PCTCN2022097908-appb-000016
根据每个节点对应的饱和度S,计算得到单个LUT节点的Gamma值。
Gamma=Gamma Gray·(1-S)+2.2·S
将Gamma值应用在3D LUT的节点上,得到最后的3D LUT并存入手机中使其生效。以LUT节点的R通道为例
Figure PCTCN2022097908-appb-000017
本公开实施例是首个实现多Gamma曲线调节图像显示,提高图像亮暗部细节,保证彩色不失真的显示方案。同时能够实现3D LUT中点对点调节,达到精确,还原和和谐的色彩显示效果。
如图5所示,本公开实施例提供一种显示控制装置,其中,所述装置包括:
第一确定模块110,被配置为根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
第二确定模块120,被配置为根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
第三确定模块130,被配置为根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
控制模块140,被配置为根据第二色彩值,控制所述显示节点的显示。
在一些实施例中,显示控制装置可包括在显示设备中。
所述第一确定模块110、所述第二确定模块120、所述第三确定模块130以及所述控制模块140可均为程序模块;所述程序模块被处理器执行之后,能够实现上述操作。
在另一些实施例中,所述第一确定模块110、所述第二确定模块120、所述第三确定模块130以及所述控制模块140可为软硬结合模块;所述软硬结合模块包括但不限于:可编程阵列;所述可编程阵列包括但不限于:现场可编程阵列和/或复杂可编程阵列。
在还有一些实施例中,所述第一确定模块110、所述第二确定模块120、所述第三确定模块130以及所述控制模块140可为纯硬件模块;所述纯硬件模块包括但不限于专用集成电路。
在一些实施例中,所述第一确定模块110,被配置为根据所述显示设备支持的最大亮度以及所述显示亮度设置信息之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
在一些实施例中,所述第一确定模块110,被配置为执行以下至少之一:
当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
在一些实施例中,所述第一确定模块110,被配置为当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
在一些实施例中,所述装置还包括:
第四确定模块,被配置为确定显示模式;
转换模块,被配置为根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
第五确定模块,被配置为根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度 和所述显示节点的灰阶。
在一些实施例中,所述转换模块,被配置为确定与所述显示模式对应的像素值转换关系;根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
在一些实施例中,所述第四确定模块,被配置为根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
在一些实施例中,所述第三确定模块130,被配置为确定所述第一色彩值在每个预定色彩通道的第一通道值;根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
在一些实施例中,所述第三确定模块130,被配置为根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
本公开实施例提供一种显示设备,包括:
显示屏,用于显示;
用于存储处理器可执行指令的存储器;
处理器,分别存储器和所述显示屏连接;
其中,处理器被配置为执行前述任意技术方案提供的显示控制方法。
处理器可包括各种类型的存储介质,该存储介质为非临时性计算机存储介质,在通信设备掉电之后能够继续记忆存储其上的信息。
所述处理器可以通过总线等与存储器连接,用于读取存储器上存储的可执行程序,例如,如图4至图9所示的方法的至少其中之一。
图6是根据一示例性实施例示出的一种显示设备800的框图。例如,显示设备800可以是移动电话,计算机,数字广播用户设备,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图6,显示设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制显示设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以生成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在显示设备800的操作。这些数据的示例包括用于在显示设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随 机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为显示设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为显示设备800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述显示设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当显示设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当显示设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为显示设备800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为显示设备800的显示器和小键盘,传感器组件814还可以检测显示设备800或显示设备800一个组件的位置改变,用户与显示设备800接触的存在或不存在,显示设备800方位或加速/减速和显示设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于显示设备800和其他设备之间有线或无线方式的通信。显示设备800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,显示设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处 理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由显示设备800的处理器820执行上述任意实施例提供的显示控制方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开实施例的其它实施方案。本公开旨在涵盖本公开实施例的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开实施例的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开实施例的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开实施例并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开实施例的范围仅由所附的权利要求来限制。

Claims (20)

  1. 一种显示控制方法,其中,由显示设备执行,所述方法包括:
    根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
    根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
    根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
    根据第二色彩值,控制所述显示节点的显示。
  2. 根据权利要求1所述的方法,其中,所述根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值,包括:
    根据所述显示亮度设置信息指示的当前设置亮度与显示设备支持的最大亮度之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;
    根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
  3. 根据权利要求2所述的方法,其中,所述根据所述显示亮度设置信息指示的当前设置亮度与显示设备支持的最大亮度之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值,包括以下至少之一:
    当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
    当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
  4. 根据权利要求3所述的方法,其中,所述当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值,包括:
    当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;
    根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
  5. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:
    确定显示模式;
    根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
    根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度和所述显示节点的灰阶。
  6. 根据权利要求5所述的方法,其中,所述根据所述显示模式,将待显示画面的第一像素值转换为第二像素值,包括:
    确定与所述显示模式对应的像素值转换关系;
    根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
  7. 根据权利要求5或6所述的方法,其中,所述确定显示模式,包括:
    根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
  8. 根据权利要求1至7任一项所述的方法,其中,所述根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值,包括;
    确定所述第一色彩值在每个预定色彩通道的第一通道值;
    根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;
    组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
  9. 根据权利要求8所述的方法,其中,所述根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值,包括:
    根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
  10. 一种显示控制装置,其中,所述装置包括:
    第一确定模块,被配置为根据所述显示设备的显示亮度设置信息,确定各灰阶的第一伽马值;
    第二确定模块210,被配置为根据显示节点的饱和度、所述显示节点的灰阶以及所述第一伽马值,确定第二伽马值;其中,一个所述显示节点包括一个像素或者多个相邻分布的像素;
    第三确定模块,被配置为根据所述第二伽马值以及所述显示节点的第一色彩值,确定第二色彩值;
    控制模块,被配置为根据第二色彩值,控制所述显示节点的显示。
  11. 根据权利要求10所述的装置,其中,所述第一确定模块,被配置为根据所述显示亮度设置信息指示的当前设置亮度与显示设备支持的最大亮度之间的比值,确定所述显示设备的当前设置亮度对应的最大伽马值;根据所述最大伽马值,确定所述当前设置亮度对应的各灰阶的所述第一伽马值。
  12. 根据权利要求11所述的装置,其中,所述第一确定模块,被配置为执行以下至少之一:
    当所述比值小于比例阈值时,确定所述显示设备的当前设置亮度对应的最大伽马值为第一取值;
    当所述比值等于或者大于所述比例阈值时,根据所述比值计算所述显示设备的当前设置亮度对应的最大伽马值。
  13. 根据权利要求12所述的装置,其中,所述第一确定模块,被配置为当所述比值等于或者大于所述比例阈值时,确定所述比值与预设系数的乘积;根据第二取值与所述乘积的差,确定所述显示设备的当前设置亮度对应的最大伽马值;其中,所述第二取值大于所述第一取值。
  14. 根据权利要求10至13任一项所述的装置,其中,所述装置还包括:
    第四确定模块,被配置为确定显示模式;
    转换模块,被配置为根据所述显示模式,将待显示画面的第一像素值转换为第二像素值;
    第五确定模块,被配置为根据所述第二像素值,确定所述显示模式下各所述显示节点的饱和度和所述显示节点的灰阶。
  15. 根据权利要求14所述的装置,其中,所述转换模块,被配置为确定与所述显示模式对应的 像素值转换关系;根据所述像素值转换关系,将待显示画面的第一像素值转换为第二像素值。
  16. 根据权利要求14或15所述的装置,其中,所述第四确定模块,被配置为根据所述显示设备的显示风格配置和/或预定界面的显示色调,确定所述显示设备的显示模式。
  17. 根据权利要求10至16任一项所述的装置,其中,所述第三确定模块,被配置为确定所述第一色彩值在每个预定色彩通道的第一通道值;根据所述第二伽马值以及所述第一通道值,确定所述显示节点在每个所述预设色彩通道的第二通道值;组合一个所述显示节点的各所述第二通道值,得到所述第二色彩值。
  18. 根据权利要求17所述的装置,其中,所述第三确定模块,被配置为根据所述第一通道值相对于对应预定色彩通道的最大通道值之间的比值,和所述第二伽马值,确定所述显示节点在每个所述预设色彩通道的第二通道值。
  19. 一种显示设备,包括:
    显示器,用于显示;
    用于存储处理器可执行指令的存储器;
    处理器,分别存储器和所述显示屏连接;
    其中,处理器被配置为执行权利要求1至9任一项提供的显示控制方法。
  20. 一种计算机存储介质,所述计算机存储介质存储有可执行程序;所述可执行程序被处理器执行后,能够实现如权利要求1至9任一项提供的方法。
PCT/CN2022/097908 2022-06-09 2022-06-09 显示控制方法及装置、显示设备及存储介质 WO2023236148A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280004551.8A CN117597725A (zh) 2022-06-09 2022-06-09 显示控制方法及装置、显示设备及存储介质
PCT/CN2022/097908 WO2023236148A1 (zh) 2022-06-09 2022-06-09 显示控制方法及装置、显示设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/097908 WO2023236148A1 (zh) 2022-06-09 2022-06-09 显示控制方法及装置、显示设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023236148A1 true WO2023236148A1 (zh) 2023-12-14

Family

ID=89117275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097908 WO2023236148A1 (zh) 2022-06-09 2022-06-09 显示控制方法及装置、显示设备及存储介质

Country Status (2)

Country Link
CN (1) CN117597725A (zh)
WO (1) WO2023236148A1 (zh)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075365A1 (en) * 2006-09-21 2008-03-27 Etron Technology, Inc. Gamma image correction method and device
JP2009124744A (ja) * 2009-01-22 2009-06-04 Hitachi Ltd 映像表示装置
CN106097948A (zh) * 2015-04-29 2016-11-09 乐金显示有限公司 图像处理方法、图像处理电路及使用其的显示装置
CN106488078A (zh) * 2015-08-24 2017-03-08 佳能株式会社 图像处理设备和图像处理方法
CN107863086A (zh) * 2017-12-20 2018-03-30 惠科股份有限公司 一种显示装置的驱动方法及显示装置
CN108010492A (zh) * 2017-12-20 2018-05-08 惠科股份有限公司 一种显示面板的背光调节方法、背光调节装置及显示装置
CN110890046A (zh) * 2018-09-10 2020-03-17 京东方智慧物联科技有限公司 显示设备的亮度-灰阶曲线的调制方法、装置及电子设备
CN112925498A (zh) * 2021-04-12 2021-06-08 京东方科技集团股份有限公司 叠屏中Gamma值调校的方法、装置、叠屏及存储介质
CN113495709A (zh) * 2020-03-20 2021-10-12 华为技术有限公司 色彩校正方法、ap芯片、终端和存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075365A1 (en) * 2006-09-21 2008-03-27 Etron Technology, Inc. Gamma image correction method and device
JP2009124744A (ja) * 2009-01-22 2009-06-04 Hitachi Ltd 映像表示装置
CN106097948A (zh) * 2015-04-29 2016-11-09 乐金显示有限公司 图像处理方法、图像处理电路及使用其的显示装置
CN106488078A (zh) * 2015-08-24 2017-03-08 佳能株式会社 图像处理设备和图像处理方法
CN107863086A (zh) * 2017-12-20 2018-03-30 惠科股份有限公司 一种显示装置的驱动方法及显示装置
CN108010492A (zh) * 2017-12-20 2018-05-08 惠科股份有限公司 一种显示面板的背光调节方法、背光调节装置及显示装置
CN110890046A (zh) * 2018-09-10 2020-03-17 京东方智慧物联科技有限公司 显示设备的亮度-灰阶曲线的调制方法、装置及电子设备
CN113495709A (zh) * 2020-03-20 2021-10-12 华为技术有限公司 色彩校正方法、ap芯片、终端和存储介质
CN112925498A (zh) * 2021-04-12 2021-06-08 京东方科技集团股份有限公司 叠屏中Gamma值调校的方法、装置、叠屏及存储介质

Also Published As

Publication number Publication date
CN117597725A (zh) 2024-02-23

Similar Documents

Publication Publication Date Title
JP6605503B2 (ja) 色彩調整方法及び装置
WO2016107267A1 (zh) 背光控制方法和装置
JP6401785B2 (ja) 液晶表示方法および装置
WO2017024728A1 (zh) 降低显示亮度的方法及装置
CN107992182B (zh) 显示界面图像的方法和装置
US10176769B2 (en) Liquid crystal display method and device, and storage medium
WO2018107752A1 (zh) 控制屏幕发光的方法及装置
CN108986053B (zh) 屏幕显示方法及装置
US10921584B2 (en) Method and device for displaying image
US10109248B2 (en) Method and device for adjusting liquid crystal display
EP3848925A1 (en) Method and apparatus for controlling osd
CN113257162B (zh) 屏幕的亮度调节方法、装置和存储介质
WO2022121402A1 (zh) 亮度调整方法、电子装置、显示面板及电子设备
CN109215578B (zh) 屏幕显示方法及装置
CN105472228B (zh) 图像处理方法、装置及终端
CN111625213A (zh) 画面显示方法、装置和存储介质
WO2024045967A1 (zh) 模型调整方法、装置、显示装置和存储介质
WO2023236148A1 (zh) 显示控制方法及装置、显示设备及存储介质
EP3866155A1 (en) Method and device for adjusting display brightness
WO2023240624A1 (zh) 亮度调整方法及装置、存储介质
CN112905141A (zh) 屏幕显示方法及装置、计算机存储介质
CN111785207B (zh) 调节oled显示屏亮度的方法、装置及电子设备
WO2023151194A1 (zh) 像素单元电路、显示面板、像素单元的补偿方法及装置
CN108206012A (zh) 伽马校正方法及装置
CN117369615A (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: 22945293

Country of ref document: EP

Kind code of ref document: A1