WO2022001383A1 - Display processing method and apparatus - Google Patents

Display processing method and apparatus Download PDF

Info

Publication number
WO2022001383A1
WO2022001383A1 PCT/CN2021/093241 CN2021093241W WO2022001383A1 WO 2022001383 A1 WO2022001383 A1 WO 2022001383A1 CN 2021093241 W CN2021093241 W CN 2021093241W WO 2022001383 A1 WO2022001383 A1 WO 2022001383A1
Authority
WO
WIPO (PCT)
Prior art keywords
grayscale
gray
scale
target
calibration table
Prior art date
Application number
PCT/CN2021/093241
Other languages
French (fr)
Chinese (zh)
Inventor
张健民
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022001383A1 publication Critical patent/WO2022001383A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A display processing method and apparatus, applied to an electronic device. The method comprises: predicting a target driving current required for displaying an image to be displayed (301); determining a target grayscale calibration table on the basis of the target driving current (302); compensating, on the basis of the target grayscale calibration table, for a grayscale signal comprised in the image to be displayed to obtain a compensated image (303); and displaying the compensated image (304). The present method can reduce the probability of display distortion of the image to be displayed.

Description

显示处理方法及装置Display processing method and device 技术领域technical field
本申请涉及电子技术领域,尤其涉及一种显示处理方法及装置。The present application relates to the field of electronic technology, and in particular, to a display processing method and device.
背景技术Background technique
有源矩阵有机发光二极体或主动矩阵有机发光二极体(Active-matrix organic light-emitting diode,AMOLED)屏幕具备着响应速度快、自发光、低功耗等优点,已成为目前电子设备的主流显示技术。AMOLED屏幕自发光特点是AMOLED屏幕亮度或色彩通过独立地控制R(红)/G(绿)/B(篮)子像素电流来实现。子像素电流受AMOLED屏幕显示驱动电压影响,AMOLED屏幕显示驱动电压越大,子像素电流越大,亮度越高,反之亮度越小。Active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (Active-matrix organic light-emitting diode, AMOLED) screens have the advantages of fast response, self-luminescence, low power consumption, etc., and have become the most popular electronic devices. mainstream display technology. The self-luminous feature of the AMOLED screen is that the brightness or color of the AMOLED screen is achieved by independently controlling the R (red)/G (green)/B (basket) sub-pixel current. The sub-pixel current is affected by the AMOLED screen display driving voltage. The larger the AMOLED screen display driving voltage, the larger the sub-pixel current and the higher the brightness, and vice versa.
AMOLED屏幕显示驱动电压有直流电源芯片(Direct current to Direct current converter,DCDC)芯片提供,信号经过柔性电路板(Flexible Printed Circuit,FPC)后连接到显示面板上。在信号传递过程中,由于走线电阻的存在,存在明显的电压降,而电压降的存在会导致画面的显示失真问题。The AMOLED screen display driving voltage is provided by a DC power chip (Direct current to Direct current converter, DCDC) chip, and the signal is connected to the display panel after passing through a flexible circuit board (Flexible Printed Circuit, FPC). In the process of signal transmission, due to the existence of wiring resistance, there is an obvious voltage drop, and the existence of the voltage drop will cause the display distortion problem of the picture.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种显示处理方法及装置。Embodiments of the present application provide a display processing method and apparatus.
第一方面,本申请实施例提供一种显示处理方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a display processing method, which is applied to an electronic device, and the method includes:
预计显示待显示画面所需的目标驱动电流;Estimate the target drive current required to display the picture to be displayed;
基于所述目标驱动电流确定目标灰阶校准表;determining a target grayscale calibration table based on the target drive current;
基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;calibrating the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture;
显示所述校准后画面。The post-calibration screen is displayed.
第二方面,本申请实施例提供一种显示处理装置,应用于电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides a display processing apparatus, which is applied to an electronic device, and the apparatus includes:
预计单元,用于预计显示待显示画面所需的目标驱动电流;The prediction unit is used to estimate the target driving current required to display the to-be-displayed picture;
确定单元,用于基于所述目标驱动电流确定目标灰阶校准表;a determining unit, configured to determine a target grayscale calibration table based on the target drive current;
校准单元,用于基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;a calibration unit, configured to calibrate the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture;
显示单元,用于显示所述校准后画面。a display unit, used for displaying the calibrated picture.
第三方面,本申请实施例提供一种电子设备,所述电子设备包括处理器和显示屏,其中:In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor and a display screen, wherein:
所述处理器,用于预计显示待显示画面所需的目标驱动电流;基于所述目标驱动电流确定目标灰阶校准表;基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;The processor is used for predicting the target driving current required for displaying the picture to be displayed; determining a target grayscale calibration table based on the target driving current; calibrating the to-be-displayed picture based on the target grayscale calibration table, and obtaining Screen after calibration;
所述显示屏,用于显示所述校准后画面。The display screen is used to display the calibrated picture.
第四方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and are configured to be processed by the above-mentioned processing The above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.
第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种电子设备的软件结构示意图;2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application;
图3是本申请实施例提供的一种显示处理方法的流程示意图;3 is a schematic flowchart of a display processing method provided by an embodiment of the present application;
图4是本申请实施例提供的一种灰阶分布直方图;FIG. 4 is a gray-scale distribution histogram provided by an embodiment of the present application;
图5是本申请实施例提供的一种电流密度和亮度的对应关系的示意图;5 is a schematic diagram of a correspondence between current density and brightness provided by an embodiment of the present application;
图6是本申请实施例提供的一种子像素的面积与SR、SG和SB的关系示意图;6 is a schematic diagram of the relationship between the area of a sub-pixel and SR, SG, and SB provided by an embodiment of the present application;
图7是本申请实施例提供的一种示意图;7 is a schematic diagram provided by an embodiment of the present application;
图8是本申请实施例提供的另一种示意图;8 is another schematic diagram provided by an embodiment of the present application;
图9是本申请实施例提供的一种显示处理装置的结构示意图。FIG. 9 is a schematic structural diagram of a display processing apparatus provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载IOS系统、Android系统、Microsoft系统或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。The electronic device may be a portable electronic device that also includes other functions such as personal digital assistant and/or music player functions, such as a mobile phone, a tablet computer, a wearable electronic device (eg, a smart watch) with wireless communication capabilities, and the like. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices powered by IOS systems, Android systems, Microsoft systems, or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) or the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
第一部分,本申请所公开的技术方案的软硬件运行环境介绍如下。In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、指南针190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100 . The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194 and user Identity module (subscriber identification module, SIM) card interface 195 and so on.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存 处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent components, or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110 . The controller can generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions. In some other embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. In this way, repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the electronic device 101 in processing data or executing instructions.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口、集成电路间音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、用输入输出(general-purpose input/output,GPIO)接口、SIM卡接口和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal) asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc. Among them, the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 can also be used to connect an earphone, and play audio through the earphone.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area  networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)、UWB等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR), UWB and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode, or an active matrix organic light emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), mini light-emitting diode (mini light-emitting diode, miniled), MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), etc. In some embodiments, electronic device 100 may include one or more display screens 194 .
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头193。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include one or more cameras 193 .
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别、人脸识别、语音识别、文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音 乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video, etc. files in an external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的显示页面元素的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的显示页面元素的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。Internal memory 121 may be used to store one or more computer programs including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device 101 to execute the method for displaying page elements, various applications and data processing provided in some embodiments of the present application. The internal memory 121 may include a storage program area and a storage data area. Wherein, the stored program area may store the operating system; the stored program area may also store one or more applications (such as gallery, contacts, etc.) and the like. The storage data area may store data (such as photos, contacts, etc.) created during the use of the electronic device 101 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the instructions provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110 . Methods for displaying page elements, as well as other applications and data processing. The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 . In some embodiments, the angular velocity of the electronic device 100 about three axes (ie, the X, Y, and Z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
在本申请实施例中,处理器110,用于预计显示待显示画面所需的目标驱动电流;基于所述目标驱动电流确定目标灰阶校准表;基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;In this embodiment of the present application, the processor 110 is configured to predict a target driving current required for displaying a picture to be displayed; determine a target grayscale calibration table based on the target driving current; The display screen is calibrated, and the calibrated screen is obtained;
显示屏194,用于显示所述校准后画面。The display screen 194 is used to display the calibrated picture.
需要说明的是,处理器110和显示屏194还可以用于本文所描述的技术的其他过程,具体参见下述方法描述。It should be noted that, the processor 110 and the display screen 194 may also be used for other processes of the technology described herein, for details, please refer to the following method description.
示例性的,图2示出了电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。Exemplarily, FIG. 2 shows a software structural block diagram of the electronic device 100 . The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短 暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The Notification Manager enables an application to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a short pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
第二部分,本申请实施例所公开的权要保护范围介绍如下。In the second part, the protection scope of the claims disclosed in the embodiments of the present application is introduced as follows.
请参阅图3,图3是本申请实施例提供了一种显示处理方法的流程示意图,应用于电子设备,如图所示,本显示处理包括以下操作。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a display processing method provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the display processing includes the following operations.
步骤301:预计显示待显示画面所需的目标驱动电流。Step 301: Estimate the target driving current required to display the picture to be displayed.
步骤302:基于所述目标驱动电流确定目标灰阶校准表。Step 302: Determine a target grayscale calibration table based on the target drive current.
步骤303:基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面。Step 303 : calibrating the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture.
步骤304:显示所述校准后画面。Step 304: Display the calibrated screen.
其中,待显示画面为电子设备的屏幕即将要显示的画面,例如是某张图片、某个应用的界面等。The to-be-displayed picture is a picture to be displayed on the screen of the electronic device, for example, a certain picture, an interface of a certain application, and the like.
需要说明的是,本申请实施例的执行主体是电子设备的AP、显示驱动芯片(display driver IC,DDIC)、外挂的显示处理芯片(如数字信号处理(Digital Signal Processing,DSP)芯片)中的至少一个。It should be noted that the execution body of the embodiment of the present application is an AP of an electronic device, a display driver IC (display driver IC, DDIC), and an external display processing chip (such as a digital signal processing (Digital Signal Processing, DSP) chip) in the at least one.
在本申请的一实现方式中,所述预计显示待显示画面所需的目标驱动电流,包括:In an implementation manner of the present application, the target driving current required for the expected display of the to-be-displayed picture includes:
获取所述待显示画面的灰阶分布直方图;obtaining a grayscale distribution histogram of the picture to be displayed;
基于所述灰阶分布直方图预计所述目标驱动电流。The target drive current is predicted based on the grayscale distribution histogram.
可选地,所述灰阶分布直方图用于统计N个灰阶信号的出现概率,所述N为大于1的整数。假如N=256,那么灰阶分布直方图用于统计256(如0~255)个灰阶信号的出现概率。Optionally, the gray-level distribution histogram is used to count occurrence probabilities of N gray-level signals, where N is an integer greater than 1. If N=256, the gray-level distribution histogram is used to count the occurrence probability of 256 (eg, 0-255) gray-level signals.
举例来说,假如一张480*240的待显示画面,通过分解统计每个RGB像素(总像素个数为480*240=115200)灰阶信号的分布,以获得待显示画面的灰阶分布直方图,如图4所示,图4的横坐标表示灰阶信号,图4的纵坐标表示出现概率。For example, if there is a 480*240 image to be displayed, the distribution of gray-scale signals of each RGB pixel (the total number of pixels is 480*240=115200) can be decomposed and counted to obtain the gray-scale distribution histogram of the to-be-displayed image. As shown in FIG. 4 , the abscissa of FIG. 4 represents the gray-scale signal, and the ordinate of FIG. 4 represents the probability of occurrence.
可选地,灰阶分布直方图可通过电子设备的AP实现、也可以通过DDIC实现、也可以通过外挂的显示处理芯片实现等。Optionally, the gray-scale distribution histogram may be implemented by an AP of an electronic device, or by a DDIC, or by an external display processing chip, or the like.
可选地,所述基于所述灰阶分布直方图预计所述目标驱动电流,包括:Optionally, the predicting the target drive current based on the gray-scale distribution histogram includes:
基于所述灰阶分布直方图和第一公式预计所述目标驱动电流;predicting the target drive current based on the gray-level distribution histogram and the first formula;
其中,所述第一公式为:Wherein, the first formula is:
Figure PCTCN2021093241-appb-000001
Figure PCTCN2021093241-appb-000001
其中,所述I为驱动电流,所述I iR为第i个灰阶信号对应的红R子像素的电流密度,所述I nG为所述第i个灰阶信号对应的绿G子像素的电流密度,所述I nB为所述第i个灰阶信号对应的蓝B子像素的电流密度,T R为R子像素的开口率,T G为G子像素的开口率,T B为B子像素的开口率,S为子像素的面积,P为所述第i个灰阶信号的出现概率。 Wherein, the I is the driving current, the I iR is the current density of the red R sub-pixel corresponding to the ith gray-scale signal, and the I nG is the green G sub-pixel corresponding to the ith gray-scale signal. Current density, the I nB is the current density of the blue B sub-pixel corresponding to the i-th grayscale signal, T R is the aperture ratio of the R sub-pixel, T G is the aperture ratio of the G sub-pixel, and T B is the B sub-pixel The aperture ratio of the sub-pixel, S is the area of the sub-pixel, and P is the occurrence probability of the i-th grayscale signal.
具体地,请参见图5,图5是一种电流密度和亮度的对应关系的示意图,由于灰阶信号的灰阶值指的是亮度的明暗程度,通过灰阶值即可知道亮度,然后在通过图5即可知道I iR、I nG和I nB,T R=S R/S,T G=S G/S,T B=S B/S,S R为R子像素对应的发光材料的蒸镀面积,S G为G子像素对应的发光材料的蒸镀面积,S B为B子像素对应的发光材料的蒸镀面积,子像素的面积与S R、S G和S B的关系如图6所示,可见T R、T G、T B和S可通过电子设备的屏幕硬件参数得知(即为固定值),P可通过灰阶分布直方图得知,因此通过第一公式即可计算出目标驱动电流。 Specifically, please refer to FIG. 5. FIG. 5 is a schematic diagram of the corresponding relationship between current density and brightness. Since the gray-scale value of a gray-scale signal refers to the brightness of the brightness, the brightness can be known by the gray-scale value, and then in the It can be known from FIG. 5 that I iR , I nG and I nB , T R =S R /S, T G =S G /S, T B =S B /S, and S R is the value of the luminescent material corresponding to the R sub-pixel deposition area, the area S G is the vapor deposition of the luminescent material G sub-pixels corresponding to the evaporation area S B of the light emitting material B sub-pixels corresponding to sub-pixel area and the relationship between S R, S G and S B as As shown in FIG. 6, seen T R, T G, T B, and the screen S may be learned by the hardware parameters of the electronic device (that is a fixed value), P can be learned by grayscale histogram, i.e., by a first equation so The target drive current can be calculated.
在本申请的一实现方式中,所述基于所述目标驱动电流确定目标灰阶校准表,包括:In an implementation manner of the present application, the determining a target grayscale calibration table based on the target driving current includes:
若所述电子设备中存储有所述目标驱动电流对应的第一灰阶校准表,则确定所述第一灰阶校准表为所述目标灰阶校准表。If a first grayscale calibration table corresponding to the target driving current is stored in the electronic device, the first grayscale calibration table is determined to be the target grayscale calibration table.
可选地,所述方法还包括:Optionally, the method further includes:
若所述电子设备中未存储有所述第一灰阶校准表,则基于第二灰阶校准表和第三灰阶校准表确定所述目标灰阶校准表;If the first grayscale calibration table is not stored in the electronic device, determining the target grayscale calibration table based on the second grayscale calibration table and the third grayscale calibration table;
其中,所述电子设备存储有M个灰阶校准表,所述M为1的整数,所述M个灰阶校准表包括所述第一灰阶校准表和所述第二灰阶校准表,所述M个灰阶校准表与M个驱动电流一一对应,所述第二灰阶校准表对应第一驱动电流,所述第三灰阶校准表对应第二驱动电流,所述第一驱动电流和所述第二驱动电流均为所述M个驱动电流中与所述目标驱动电流相邻的驱动电流。Wherein, the electronic device stores M grayscale calibration tables, where M is an integer of 1, and the M grayscale calibration tables include the first grayscale calibration table and the second grayscale calibration table, The M grayscale calibration tables are in one-to-one correspondence with the M driving currents, the second grayscale calibration table corresponds to the first driving current, the third grayscale calibration table corresponds to the second driving current, and the first driving current Both the current and the second drive current are drive currents adjacent to the target drive current among the M drive currents.
可选地,所述第二灰阶校准表包括与N个灰阶信号一一对应的N个第一灰阶校准值集合,所述第二灰阶校准表包括与N个灰阶信号一一对应的N个第二灰阶校准值集合;所述基于所述电子设备中存储的第二灰阶校准表和第三灰阶校准表确定所述目标灰阶校准表,包括:Optionally, the second grayscale calibration table includes N first grayscale calibration value sets corresponding to the N grayscale signals one-to-one, and the second grayscale calibration table includes one-to-one correspondence with the N grayscale signals. corresponding sets of N second grayscale calibration values; the determining the target grayscale calibration table based on the second grayscale calibration table and the third grayscale calibration table stored in the electronic device includes:
基于所述N个第一灰阶校准值集合和所述N个第二灰阶校准值集合,确定与N个灰阶信号一一对应的N个第三灰阶校准值集合;determining, based on the N first gray-scale calibration value sets and the N second gray-scale calibration value sets, N third gray-scale calibration value sets corresponding to the N gray-scale signals one-to-one;
基于所述N个灰阶信号和所述N个第三灰阶校准值集合生成所述目标灰阶校准表。The target grayscale calibration table is generated based on the N grayscale signals and the N third grayscale calibration value sets.
可选地,每个灰阶校准值集合均包括3个灰阶校准值,所述3个灰阶校准值与3个子像素(即RGB子像素)一一对应;所述基于所述N个第一灰阶校准值集合和所述N个第二灰阶校准值集合,确定与N个灰阶信号一一对应的N个第三灰阶校准值集合,包括:Optionally, each gray-scale calibration value set includes 3 gray-scale calibration values, and the 3 gray-scale calibration values are in one-to-one correspondence with 3 sub-pixels (ie, RGB sub-pixels); A gray-scale calibration value set and the N second gray-scale calibration value sets to determine N third gray-scale calibration value sets corresponding to the N gray-scale signals one-to-one, including:
基于所述N个第一灰阶校准值集合、所述N个第二灰阶校准值集合、第二公式、第三公式和第四公式,确定所述N个第三灰阶校准值集合。The N third grayscale calibration value sets are determined based on the N first grayscale calibration value sets, the N second grayscale calibration value sets, the second formula, the third formula, and the fourth formula.
其中,所述第二公式为:Wherein, the second formula is:
X i3R=K×(X i1R+X i2R); X i3R =K×(X i1R +X i2R );
所述X i3R为第i个灰阶信号对应的第三灰阶校准值集合包括的R子像素对应的灰阶校准值,所述X i1R为所述第i个灰阶信号对应的第一灰阶校准值集合包括的R子像素对应的灰阶校准值,所述X i2R为所述第i个灰阶信号对应的第二灰阶校准值集合包括的R子像素对应的灰阶校准值,所述K为小于1的正数。 The X i3R is the gray scale calibration value corresponding to the R sub-pixel included in the third gray scale calibration value set corresponding to the ith gray scale signal, and the X i1R is the first gray scale corresponding to the ith gray scale signal. the grayscale calibration value corresponding to the R subpixel included in the grayscale calibration value set, and the X i2R is the grayscale calibration value corresponding to the R subpixel included in the second grayscale calibration value set corresponding to the i-th grayscale signal, The K is a positive number less than 1.
其中,所述第三公式为:Wherein, the third formula is:
X i3G=K×(X i1G+X i2G); X i3G =K×(X i1G +X i2G );
所述X i3G为第i个灰阶信号对应的第三灰阶校准值集合包括的G子像素对应的灰阶校准值,所述X i1G为所述第i个灰阶信号对应的第一灰阶校准值集合包括的G子像素对应的灰阶校准值,所述X i2G为所述第i个灰阶信号对应的第二灰阶校准值集合包括的G子像素对应的灰阶校准值。 The X i3G is the gray scale calibration value corresponding to the G sub-pixel included in the third gray scale calibration value set corresponding to the ith gray scale signal, and the X i1G is the first gray scale corresponding to the ith gray scale signal. The grayscale calibration value corresponding to the G subpixel included in the level calibration value set, and the X i2G is the grayscale calibration value corresponding to the G subpixel included in the second grayscale calibration value set corresponding to the i-th grayscale signal.
其中,所述第四公式为:Wherein, the fourth formula is:
X i3B=K×(X i1B+X i2B); X i3B =K×(X i1B +X i2B );
所述X i3B为第i个灰阶信号对应的第三灰阶校准值集合包括的B子像素对应的灰阶校准值,所述X i1B为所述第i个灰阶信号对应的第一灰阶校准值集合包括的B子像素对应的灰阶校准值,所述X i2B为所述第i个灰阶信号对应的第二灰阶校准值集合包括的B子像素对应的灰阶校准值。 The X i3B is the gray scale calibration value corresponding to the B sub-pixel included in the third gray scale calibration value set corresponding to the ith gray scale signal, and the X i1B is the first gray scale corresponding to the ith gray scale signal. The grayscale calibration value corresponding to the B subpixel included in the level calibration value set, and the X i2B is the grayscale calibration value corresponding to the B subpixel included in the second grayscale calibration value set corresponding to the i-th grayscale signal.
其中,K可以为固定值,如1/2等。或者,K是基于所述第一驱动电流、所述第二驱动电流和所述目标驱动电流确定的,具体有K=I 3/(I 1+I 2),I 1和I 2为灰阶校准表对应的驱动电流,I 3为显示待显示画面所需的驱动电流。 Among them, K can be a fixed value, such as 1/2 and so on. Alternatively, K is determined based on the first drive current, the second drive current and the target drive current, specifically K=I 3 /(I 1 +I 2 ), and I 1 and I 2 are gray scales The driving current corresponding to the calibration table, I 3 is the driving current required to display the screen to be displayed.
举例来说,假设第二灰阶校准表如表1所示,第三灰阶校准表如表2所示,K=1/2,那么得到的目标灰阶校准表如表3所示。For example, assuming that the second grayscale calibration table is shown in Table 1, the third grayscale calibration table is shown in Table 2, and K=1/2, then the obtained target grayscale calibration table is shown in Table 3.
表1Table 1
Figure PCTCN2021093241-appb-000002
Figure PCTCN2021093241-appb-000002
表2Table 2
灰阶信号grayscale signal R子像素的灰阶校Grayscale Calibration of R Subpixels G子像素的灰阶校准Grayscale Calibration of G Subpixels B子像素的灰阶校准Grayscale Calibration of B Subpixels
   准值Standard value value value
00 11 11 11
11 33 33 33
22 55 55 44
……... ……... ……... ……...
……... ……... ……... ……...
124124 127127 127127 127127
125125 128128 128128 128128
126126 130130 129129 129129
127127 131131 131131 131131
……... ……... ……... ……...
……... ……... ……... ……...
252252 252252 252252 252252
253253 254254 254254 253253
254254 255255 255255 255255
255255 255255 255255 255255
表3table 3
Figure PCTCN2021093241-appb-000003
Figure PCTCN2021093241-appb-000003
可选地,所述基于所述N个灰阶信号和所述N个第三灰阶校准值集合生成所述目标灰阶校准表之后,所述方法还包括:将所述目标灰阶校准表与所述目标驱动电流进行关联存储。Optionally, after the target grayscale calibration table is generated based on the N grayscale signals and the N third grayscale calibration value sets, the method further includes: converting the target grayscale calibration table and associated storage with the target drive current.
在本申请的一实现方式中,所述基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面,包括:In an implementation manner of the present application, the calibration of the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture includes:
基于所述目标灰阶校准表包括的与N个灰阶信号对应的灰阶校准值,对所述待显示画面包括的灰阶信号进行灰阶校准,得到校准后画面。Based on the grayscale calibration values corresponding to the N grayscale signals included in the target grayscale calibration table, grayscale calibration is performed on the grayscale signals included in the to-be-displayed picture to obtain a calibrated picture.
可选地,所述基于所述目标灰阶校准表包括的与N个灰阶信号对应的灰阶校准值,对所述待显示画面包括的灰阶信号进行灰阶校准,得到校准后画面,包括:Optionally, performing grayscale calibration on the grayscale signals included in the to-be-displayed picture based on the grayscale calibration values corresponding to the N grayscale signals included in the target grayscale calibration table to obtain a calibrated picture, include:
基于所述目标灰阶校准表确定所述待显示画面包括的每个灰阶信号对应的灰阶校准值;Determine a grayscale calibration value corresponding to each grayscale signal included in the to-be-displayed picture based on the target grayscale calibration table;
将所述待显示画面包括的每个灰阶信号的灰阶值更新为其对应的灰阶校准值,得到校准后画面。The grayscale value of each grayscale signal included in the to-be-displayed picture is updated to its corresponding grayscale calibration value to obtain a calibrated picture.
举例来说,假设目标灰阶校准表如表3所示,假如待显示画面包括256个灰阶信号(如0~255),这256个灰阶信号的灰阶值分别为0、1、2、3、…、254、255,通过表3可将待显示画面中的R子像素的灰阶信号0的灰阶值从0更新为1、灰阶信号1的灰阶值从1更新为3、灰阶信号2的灰阶值从2更新为5、…、灰阶信号124的灰阶值从124更新为127、灰阶信号125的灰阶值从125更新为128、灰阶信号126的灰阶值从126更新为130、灰阶信号127的灰阶值从127更新为131、…、灰阶信号252的灰阶值从252更新为252、灰阶信号253的灰阶值从253更新为254、灰阶信号254的灰阶值从254更新为255、灰阶信号255的灰阶值从255更新为255,以此类推即可得到校准后画面包括的灰阶信号的灰阶值,具体如表4所示。For example, assuming that the target grayscale calibration table is shown in Table 3, if the screen to be displayed includes 256 grayscale signals (eg, 0 to 255), the grayscale values of these 256 grayscale signals are 0, 1, and 2, respectively. , 3, . , the grayscale value of grayscale signal 2 is updated from 2 to 5, ..., the grayscale value of grayscale signal 124 is updated from 124 to 127, the grayscale value of grayscale signal 125 is updated from 125 to 128, and the grayscale value of grayscale signal 126 The grayscale value is updated from 126 to 130, the grayscale value of grayscale signal 127 is updated from 127 to 131, ..., the grayscale value of grayscale signal 252 is updated from 252 to 252, and the grayscale value of grayscale signal 253 is updated from 253 is 254, the grayscale value of the grayscale signal 254 is updated from 254 to 255, the grayscale value of the grayscale signal 255 is updated from 255 to 255, and so on, the grayscale value of the grayscale signal included in the calibrated screen can be obtained, The details are shown in Table 4.
表4Table 4
Figure PCTCN2021093241-appb-000004
Figure PCTCN2021093241-appb-000004
在本申请的一实现方式中,电子设备中存储有所述第一灰阶校准表,所述第一灰阶校准表是基于第一数据群和第二数据群确定的,所述第一数据群对应的驱动电流为0,第二数据群对应的驱动电流为所述目标驱动电流。In an implementation manner of the present application, the electronic device stores the first grayscale calibration table, the first grayscale calibration table is determined based on the first data group and the second data group, and the first data The driving current corresponding to the group is 0, and the driving current corresponding to the second data group is the target driving current.
具体地,如图7所示,保持背景为Gray0(具体可在屏幕的下方放一个Gray0的图片),将屏幕的设定区域(如大小为屏幕的10%,中心点为屏幕中心点)的R子像素/G子像素/B子像素从Gray0~255变化,在变化时分别测量屏幕中心的亮度,得到3组在256个Gray下分别对应的256个亮度(即得到第一数据群,如表5所示)。由于背景为Gray0(即背底全黑),此时可以认为驱动电流为零,因此等效为没有电压降的场景。Specifically, as shown in Figure 7, keep the background as Gray0 (specifically, a picture of Gray0 can be placed at the bottom of the screen), and set the setting area of the screen (for example, the size is 10% of the screen, and the center point is the center point of the screen). The R sub-pixel/G sub-pixel/B sub-pixel varies from Gray0 to 255. When changing, measure the brightness of the center of the screen respectively, and obtain 3 groups of 256 brightness corresponding to 256 Grays respectively (that is, to obtain the first data group, such as shown in Table 5). Since the background is Gray0 (that is, the background is completely black), it can be considered that the driving current is zero at this time, so it is equivalent to a scene with no voltage drop.
如图8所示,假如目标驱动电流对应的背景为Gray127(驱动电流和背景灰阶的关系可通过第一公式得到),保持背景为Gray127(具体可在屏幕的下方放一个Gray127的图片),将屏幕的设定区域(如大小为屏幕的10%,中心点为屏幕中心点)的R子像素/G子像素/B子像素从Gray0~255变化,在变化时分别测量屏幕中心的亮度,得到3组在256个Gray下分别对应的256个亮度(即得到第二数据群,如表6所示)。As shown in Figure 8, if the background corresponding to the target driving current is Gray127 (the relationship between the driving current and the background gray scale can be obtained by the first formula), keep the background as Gray127 (specifically, a picture of Gray127 can be placed at the bottom of the screen), Change the R sub-pixel/G sub-pixel/B sub-pixel of the set area of the screen (for example, the size is 10% of the screen, and the center point is the center point of the screen) from Gray0 to 255, and measure the brightness of the center of the screen when changing. Three groups of 256 luminances corresponding to 256 Grays are obtained (ie, the second data group is obtained, as shown in Table 6).
表5table 5
灰阶信号grayscale signal R子像素的灰阶亮度Grayscale luminance of R sub-pixel G子像素的灰阶亮度Grayscale brightness of G sub-pixels B子像素的灰阶亮度Grayscale brightness of B sub-pixel
00 00 00 00
……... ……... ……... ……...
9090 10%10% 9%9% 10%10%
……... ……... ……... ……...
140140 25%25% 24%twenty four% 25%25%
……... ……... ……... ……...
表6Table 6
灰阶信号grayscale signal R子像素的灰阶亮度Grayscale luminance of R sub-pixel G子像素的灰阶亮度Grayscale brightness of G sub-pixels B子像素的灰阶亮度Grayscale brightness of B sub-pixel
00 00 00 00
……... ……... ……... ……...
9090 9%9% 8%8% 9%9%
……... ……... ……... ……...
140140 23%twenty three% 23%twenty three% 24%twenty four%
……... ……... ……... ……...
可选地,所述第一数据群包括N个第一灰阶亮度集合,所述N个第一灰阶亮度集合与N个灰阶信号一一对应,所述第二数据群包括所述N个第二灰阶亮度集合,所述N个第二灰阶亮度集合与所述N个灰阶信号一一对应;Optionally, the first data group includes N first gray-scale luminance sets, the N first gray-scale luminance sets are in one-to-one correspondence with N gray-scale signals, and the second data group includes the N first gray-scale luminance sets a second gray-scale luminance set, the N second gray-scale luminance sets are in one-to-one correspondence with the N gray-scale signals;
所述第一灰阶校准表是基于第一数据群和第二数据群确定的,包括:The first grayscale calibration table is determined based on the first data group and the second data group, and includes:
所述第一灰阶校准表是将N个目标灰阶校准值集合与所述N个灰阶信号进行对应关联得到的,所述N个目标灰阶校准值集合和所述N个灰阶信号一一对应;The first grayscale calibration table is obtained by correlating N target grayscale calibration value sets with the N grayscale signals, and the N target grayscale calibration value sets and the N grayscale signals one-to-one correspondence;
所述N个目标灰阶校准值集合是基于N个第三灰阶亮度集合确定的,所述N个目标灰阶校准值集合与所述N个第三灰阶亮度集合一一对应;The N target grayscale calibration value sets are determined based on N third grayscale brightness sets, and the N target grayscale calibration value sets are in one-to-one correspondence with the N third grayscale brightness sets;
所述N个第三灰阶亮度集合是基于N个灰阶补偿亮度集合分别对所述N个第二灰阶亮度集合进行补偿得到的,所述N个灰阶补偿亮度集合与所述N个灰阶信号一一对应;The N third gray-scale brightness sets are obtained by compensating the N second gray-scale brightness sets respectively based on the N gray-scale compensation brightness sets, and the N gray-scale compensated brightness sets are the same as the N gray-scale compensated brightness sets. One-to-one correspondence between gray-scale signals;
每个灰阶补偿亮度集合是基于其对应的灰阶信号的第一灰阶亮度集合和第二灰阶亮度集合确定的。Each gray-scale compensation brightness set is determined based on the first gray-scale brightness set and the second gray-scale brightness set of its corresponding gray-scale signal.
其中,每个第一灰阶亮度集合均包括3个第一灰阶亮度,所述3个第一灰阶亮度与3个子像素(即RGB子像素)一一对应。每个第二灰阶亮度集合均包括3个第二灰阶亮度,所述3个第二灰阶亮度与3个子像素(即RGB子像素)一一对应。每个目标灰阶校准值集合均包括3个目标灰阶校准值,所述3个目标灰阶校准值与3个子像素(即RGB子像素)一一对应。每个第三灰阶亮度均包括3个第三灰阶亮度,所述3个第三灰阶亮度与3个子像素(即RGB子像素)一一对应。每个灰阶补偿亮度集合均包括3个灰阶补偿亮度,所述3个灰阶补偿亮度与3个子像素(即RGB子像素)一一对应。Wherein, each first gray-scale luminance set includes three first gray-scale luminances, and the three first gray-scale luminances are in one-to-one correspondence with three sub-pixels (ie, RGB sub-pixels). Each second gray-scale luminance set includes three second gray-scale luminances, and the three second gray-scale luminances are in one-to-one correspondence with three sub-pixels (ie, RGB sub-pixels). Each target gray-scale calibration value set includes three target gray-scale calibration values, and the three target gray-scale calibration values are in one-to-one correspondence with three sub-pixels (ie, RGB sub-pixels). Each third grayscale luminance includes three third grayscale luminances, and the three third grayscale luminances are in one-to-one correspondence with three sub-pixels (ie, RGB sub-pixels). Each gray-scale compensated luminance set includes three gray-scale compensated luminances, and the three gray-scale compensated luminances are in one-to-one correspondence with three sub-pixels (ie, RGB sub-pixels).
可选地,所述每个灰阶补偿亮度集合是基于其对应的灰阶信号的第一灰阶亮度集合和第二灰阶亮度集合确定的,包括:每个灰阶亮度集合是基于其对应的灰阶信号的第一灰阶亮度集合和第二灰阶亮度集合,以及第一亮度补偿公式、第二亮度补偿公式、第三亮度补偿公式确定的。Optionally, each gray-scale compensation brightness set is determined based on the first gray-scale brightness set and the second gray-scale brightness set of its corresponding gray-scale signal, including: each gray-scale brightness set is determined based on its corresponding gray-scale brightness set. The first gray-scale brightness set and the second gray-scale brightness set of the gray-scale signal, and the first brightness compensation formula, the second brightness compensation formula, and the third brightness compensation formula are determined.
其中,第一亮度补偿公式为:L 2R+L 3R=L 1R,所述L 2R为R子像素对应的第二灰阶亮度,所述 L 1R为R子像素对应的第一灰阶亮度,所述L 3R为R子像素对应的灰阶补偿亮度。 Wherein, the first brightness compensation formula is: L 2R +L 3R =L 1R , the L 2R is the second gray-scale brightness corresponding to the R sub-pixel, and the L 1R is the first gray-scale brightness corresponding to the R sub-pixel, The L 3R is the gray-scale compensation luminance corresponding to the R sub-pixel.
第二亮度补偿公式为:L 2G+L 3G=L 1G,所述L 2G为G子像素对应的第二灰阶亮度,所述L 1G为G子像素对应的第一灰阶亮度,所述L 3G为G子像素对应的灰阶补偿亮度。 The second brightness compensation formula is: L 2G +L 3G =L 1G , the L 2G is the second gray-scale brightness corresponding to the G sub-pixel, the L 1G is the first gray-scale brightness corresponding to the G sub-pixel, and the L 3G is the gray-scale compensation brightness corresponding to the G sub-pixel.
第三亮度补偿公式为:L 2B+L 3B=L 1B,所述L 2B为B子像素对应的第二灰阶亮度,所述L 1B为B子像素对应的第一灰阶亮度,所述L 3B为B子像素对应的灰阶补偿亮度。 The third brightness compensation formula is: L 2B +L 3B =L 1B , where L 2B is the second gray-scale brightness corresponding to the B sub-pixel, and L 1B is the first gray-scale brightness corresponding to the B sub-pixel, and the L 3B is the gray-scale compensation luminance corresponding to the B sub-pixel.
可选地,所述N个第三灰阶亮度集合是基于N个灰阶补偿亮度集合分别对所述N个第二灰阶亮度集合进行补偿得到的,包括:Optionally, the N third gray-scale brightness sets are obtained by separately compensating the N second gray-scale brightness sets based on the N gray-scale compensated brightness sets, including:
所述N个第三灰阶亮度集合是基于每个灰阶补偿亮度集合、每个灰度补偿亮度集合对应的第二灰阶亮度集合、第五公式、第六公式和第七公式确定得到的。The N third grayscale brightness sets are determined based on each grayscale compensation brightness set, the second grayscale brightness set corresponding to each grayscale compensation brightness set, the fifth formula, the sixth formula, and the seventh formula. .
其中,所述第五公式:L 4R+L 5R=L 6R,所述L 4R为R子像素对应的第二灰阶亮度,所述L 5R为R子像素对应的灰阶补偿亮度,所述L 6R为R子像素对应的第三灰阶亮度。 Wherein, the fifth formula: L 4R +L 5R =L 6R , the L 4R is the second gray-scale brightness corresponding to the R sub-pixel, the L 5R is the gray-scale compensation brightness corresponding to the R sub-pixel, and the L 6R is the third grayscale luminance corresponding to the R sub-pixel.
其中,所述第六公式:L 4G+L 5G=L 6G,所述L 4G为G子像素对应的第二灰阶亮度,所述L 5G为G子像素对应的灰阶补偿亮度,所述L 6G为G子像素对应的第三灰阶亮度。 Wherein, the sixth formula: L 4G +L 5G =L 6G , the L 4G is the second gray-scale brightness corresponding to the G sub-pixel, the L 5G is the gray-scale compensation brightness corresponding to the G sub-pixel, and the L 6G is the third gray-scale brightness corresponding to the G sub-pixel.
其中,所述第七公式:L 4B+L 5B=L 6B,所述L 4B为B子像素对应的第二灰阶亮度,所述L 5B为B子像素对应的灰阶补偿亮度,所述L 6B为B子像素对应的第三灰阶亮度。 Wherein, the seventh formula: L 4B +L 5B =L 6B , the L 4B is the second gray-scale brightness corresponding to the B sub-pixel, the L 5B is the gray-scale compensation brightness corresponding to the B sub-pixel, and the L 6B is the third gray-scale luminance corresponding to the B sub-pixel.
可选地,所述N个目标灰阶校准值集合是基于N个第三灰阶亮度集合确定的,包括:所述N个目标灰阶校准值集合是将每个第三灰阶亮度集合包括的第三灰阶亮度进行灰阶值转换得到的。Optionally, the N target grayscale calibration value sets are determined based on N third grayscale brightness sets, including: the N target grayscale calibration value sets are each third grayscale brightness set including The third gray-scale brightness is obtained by gray-scale value conversion.
具体地,驱动电流增大,电压降增大,亮度降低,因此以第一数据群为基准对第二数据群进行灰阶亮度进行补偿,即通过灰阶补偿的方式,使得背景为Gray127的情况下,0~255的灰阶亮度和背景为Gray0保持一致,进而获得背景为Gray127下的灰阶校准表。Specifically, the driving current increases, the voltage drop increases, and the brightness decreases. Therefore, the gray-scale brightness of the second data group is compensated based on the first data group, that is, the background is Gray127 by means of gray-scale compensation. The grayscale brightness of 0 to 255 is consistent with the background gray0, and then the grayscale calibration table is obtained when the background is Gray127.
举例来说,第一数据群如表5所示,第二数据群如表6所示,假如想要在背景为Gray127的情况下灰阶信号90的R子像素的灰阶亮度为10%需要增加10个灰阶亮度,在背景为Gray127的情况下灰阶信号90的G子像素的灰阶亮度为9%需要增加7个灰阶亮度,在背景为Gray127的情况下灰阶信号90的B子像素的灰阶亮度为10%需要增加9个灰阶亮度;又假如想要在背景为Gray127的情况下灰阶信号140的R子像素的灰阶亮度为25%需要增加25个灰阶亮度,在背景为Gray127的情况下灰阶信号140的G子像素的灰阶亮度为24%需要增加20个灰阶亮度,在背景为Gray127的情况下灰阶信号140的B子像素的灰阶亮度为10%需要增加23个灰阶亮度;以此类推得到的背景为Gray127的灰阶校准表如表7所示。For example, the first data group is shown in Table 5, and the second data group is shown in Table 6. If the gray-scale brightness of the R sub-pixel of the gray-scale signal 90 is to be 10% when the background is Gray127, it is necessary to Add 10 gray-scale brightness. When the background is Gray127, the gray-scale brightness of the G sub-pixel of the gray-scale signal 90 is 9%, and 7 gray-scale brightness needs to be added. When the background is Gray127, the gray-scale signal 90 B If the gray-scale brightness of the sub-pixel is 10%, 9 gray-scale brightness needs to be added; and if the gray-scale brightness of the R sub-pixel of the gray-scale signal 140 is 25% when the background is Gray127, 25 gray-scale brightness needs to be added. , when the background is Gray127, the gray-scale brightness of the G sub-pixel of the gray-scale signal 140 is 24%, and 20 gray-scale brightness needs to be added. When the background is Gray127, the gray-scale brightness of the B sub-pixel of the gray-scale signal 140 To 10%, 23 gray-scale brightness needs to be added; the gray-scale calibration table of Gray127 background obtained by analogy is shown in Table 7.
表7Table 7
灰阶信号grayscale signal R子像素的灰阶校准值Grayscale calibration value of R subpixel R子像素的灰阶校准值Grayscale calibration value of R subpixel R子像素的灰阶校准值Grayscale calibration value of R subpixel
00 00 00 00
……... ……... ……... ……...
9090 100100 9797 9999
……... ……... ……... ……...
140140 165165 160160 163163
……... ……... ……... ……...
需要说明的是,第二灰阶校准表和第三灰阶校准表的确定方式与第一灰阶校准表的确定方式一样,在此不再说明。另外,还可以通过第一灰阶校准表的确定方式得到其他驱动电流对应的灰阶校 准表并存储在电子设备中。It should be noted that the determination methods of the second gray scale calibration table and the third gray scale calibration table are the same as the determination methods of the first gray scale calibration table, and are not described herein again. In addition, gray scale calibration tables corresponding to other driving currents can also be obtained by determining the first gray scale calibration table and stored in the electronic device.
可以看出,在本申请实施例中,先预计显示待显示画面所需的目标驱动电流,然后基于该目标驱动电流确定目标灰阶校准表,再然后基于该目标灰阶校准表对该待显示画面包括的灰阶信号进行补偿,得到补偿后画面,最后显示该补偿后画面,实现了对待显示画面包括的灰阶信号动态实时地进行补偿校准,进而降低待显示画面显示失真的概率。It can be seen that, in the embodiment of the present application, the target driving current required to display the picture to be displayed is first estimated, and then the target grayscale calibration table is determined based on the target driving current, and then the target grayscale calibration table is determined based on the target grayscale calibration table. The grayscale signal included in the picture is compensated to obtain a compensated picture, and finally the compensated picture is displayed, realizing dynamic real-time compensation and calibration of the grayscale signal included in the picture to be displayed, thereby reducing the probability of display distortion of the picture to be displayed.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware and/or software modules for executing each function. The present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the electronic device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that, the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图9示出了显示处理装置的示意图,如图9所示,该显示处理装置900应用于电子设备,该显示处理装置900可以包括:预计单元901、确定单元902、补偿单元903和显示单元904。In the case where each functional module is divided according to each function, FIG. 9 shows a schematic diagram of a display processing apparatus. As shown in FIG. 9 , the display processing apparatus 900 is applied to an electronic device, and the display processing apparatus 900 may include: a predicting unit 901 , a determination unit 902 , a compensation unit 903 and a display unit 904 .
其中,预计单元901可以用于支持电子设备执行上述步骤301等,和/或用于本文所描述的技术的其他过程。Among them, the predicting unit 901 may be used to support the electronic device to perform the above-mentioned step 301, etc., and/or be used for other processes of the techniques described herein.
确定单元902可以用于支持电子设备执行上述步骤302等,和/或用于本文所描述的技术的其他过程。The determination unit 902 may be used to support the electronic device to perform the above-described step 302, etc., and/or other processes for the techniques described herein.
补偿单元903可以用于支持电子设备执行上述步骤303等,和/或用于本文所描述的技术的其他过程。The compensation unit 903 may be used to support the electronic device to perform the above-described step 303, etc., and/or other processes for the techniques described herein.
显示单元904可以用于支持电子设备执行上述步骤304等,和/或用于本文所描述的技术的其他过程。 Display unit 904 may be used to support the electronic device in performing steps 304, etc. described above, and/or other processes for the techniques described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本实施例提供的电子设备,用于执行上述显示处理方法,因此可以达到与上述实现方法相同的效果。The electronic device provided in this embodiment is used to execute the above-mentioned display processing method, and thus can achieve the same effect as the above-mentioned implementation method.
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述预计单元901、确定单元902、补偿单元903和显示单元904执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。Where an integrated unit is employed, the electronic device may include a processing module, a memory module and a communication module. The processing module may be used to control and manage the actions of the electronic device, for example, may be used to support the electronic device to perform the steps performed by the prediction unit 901 , the determination unit 902 , the compensation unit 903 and the display unit 904 . The storage module may be used to support the electronic device to execute stored program codes and data, and the like. The communication module can be used to support the communication between the electronic device and other devices.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。The processing module may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like. The storage module may be a memory. The communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的显示处理方法。This embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on the electronic device, the electronic device executes the above-mentioned relevant method steps to implement the display processing method in the above-mentioned embodiment.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的显示处理方法。This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the display processing method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的显示处理方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes the display processing methods in the foregoing method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种显示处理方法,其特征在于,应用于电子设备,所述方法包括:A display processing method, characterized in that, applied to an electronic device, the method comprising:
    预计显示待显示画面所需的目标驱动电流;Estimate the target drive current required to display the picture to be displayed;
    基于所述目标驱动电流确定目标灰阶校准表;determining a target grayscale calibration table based on the target drive current;
    基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;calibrating the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture;
    显示所述校准后画面。The post-calibration screen is displayed.
  2. 根据权利要求1所述的方法,其特征在于,所述预计显示待显示画面所需的目标驱动电流,包括:The method according to claim 1, wherein the expected target driving current required for displaying the picture to be displayed comprises:
    获取所述待显示画面的灰阶分布直方图;obtaining a grayscale distribution histogram of the picture to be displayed;
    基于所述灰阶分布直方图预计所述目标驱动电流。The target drive current is predicted based on the grayscale distribution histogram.
  3. 根据权利要求2所述的方法,其特征在于,所述灰阶分布直方图用于统计N个灰阶信号的出现概率,所述N为大于1的整数;所述基于所述灰阶分布直方图预计所述目标驱动电流,包括:The method according to claim 2, wherein the gray-level distribution histogram is used to count the occurrence probability of N gray-level signals, and N is an integer greater than 1; the gray-level distribution histogram is based on the Figure predicts the target drive current, including:
    基于所述灰阶分布直方图和第一公式预计所述目标驱动电流;predicting the target drive current based on the gray-level distribution histogram and the first formula;
    其中,所述第一公式为:Wherein, the first formula is:
    Figure PCTCN2021093241-appb-100001
    Figure PCTCN2021093241-appb-100001
    其中,所述I为驱动电流,所述I iR为第i个灰阶信号对应的红R子像素的电流密度,所述I nG为所述第i个灰阶信号对应的绿G子像素的电流密度,所述I nB为所述第i个灰阶信号对应的蓝B子像素的电流密度,T R为R子像素的开口率,T G为G子像素的开口率,T B为B子像素的开口率,S为子像素的面积,P为所述第i个灰阶信号的出现概率。 Wherein, the I is the driving current, the I iR is the current density of the red R sub-pixel corresponding to the ith gray-scale signal, and the I nG is the green G sub-pixel corresponding to the ith gray-scale signal. Current density, the I nB is the current density of the blue B sub-pixel corresponding to the i-th grayscale signal, T R is the aperture ratio of the R sub-pixel, T G is the aperture ratio of the G sub-pixel, and T B is the B sub-pixel The aperture ratio of the sub-pixel, S is the area of the sub-pixel, and P is the occurrence probability of the i-th grayscale signal.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述基于所述目标驱动电流确定目标灰阶校准表,包括:The method according to any one of claims 1-3, wherein the determining a target grayscale calibration table based on the target driving current comprises:
    若所述电子设备中存储有所述目标驱动电流对应的第一灰阶校准表,则确定所述第一灰阶校准表为所述目标灰阶校准表。If a first grayscale calibration table corresponding to the target driving current is stored in the electronic device, the first grayscale calibration table is determined to be the target grayscale calibration table.
  5. 根据权利要求4所述的方法,其特征在于,所述第一灰阶校准表是基于第一数据群和第二数据群确定的,所述第一数据群对应的驱动电流为0,所述第二数据群对应的驱动电流为所述目标驱动电流。The method according to claim 4, wherein the first grayscale calibration table is determined based on a first data group and a second data group, the driving current corresponding to the first data group is 0, and the The driving current corresponding to the second data group is the target driving current.
  6. 根据权利要求5所述的方法,其特征在于,所述第一数据群包括N个第一灰阶亮度集合,所述N个第一灰阶亮度集合与N个灰阶信号一一对应,所述第二数据群包括所述N个第二灰阶亮度集合,所述N个第二灰阶亮度集合与所述N个灰阶信号一一对应;The method according to claim 5, wherein the first data group comprises N first gray-scale luminance sets, and the N first gray-scale luminance sets are in one-to-one correspondence with the N gray-scale signals, and the The second data group includes the N second gray-scale luminance sets, and the N second gray-scale luminance sets are in one-to-one correspondence with the N gray-scale signals;
    所述第一灰阶校准表是基于第一数据群和第二数据群确定的,包括:The first grayscale calibration table is determined based on the first data group and the second data group, and includes:
    所述第一灰阶校准表是将N个目标灰阶校准值集合与所述N个灰阶信号进行对应关联得到的,所述N个目标灰阶校准值集合和所述N个灰阶信号一一对应;The first grayscale calibration table is obtained by correlating N target grayscale calibration value sets with the N grayscale signals, and the N target grayscale calibration value sets and the N grayscale signals one-to-one correspondence;
    所述N个目标灰阶校准值集合是基于N个第三灰阶亮度集合确定的,所述N个目标灰阶校准值集合与所述N个第三灰阶亮度集合一一对应;The N target grayscale calibration value sets are determined based on N third grayscale brightness sets, and the N target grayscale calibration value sets are in one-to-one correspondence with the N third grayscale brightness sets;
    所述N个第三灰阶亮度集合是基于N个灰阶补偿亮度集合分别对所述N个第二灰阶亮度集合进行补偿得到的,所述N个灰阶补偿亮度集合与所述N个灰阶信号一一对应;The N third gray-scale brightness sets are obtained by compensating the N second gray-scale brightness sets respectively based on the N gray-scale compensation brightness sets, and the N gray-scale compensated brightness sets are the same as the N gray-scale compensated brightness sets. One-to-one correspondence between gray-scale signals;
    每个灰阶补偿亮度集合是基于其对应的灰阶信号的第一灰阶亮度集合和第二灰阶亮度集合确 定的。Each grayscale compensation luminance set is determined based on the first grayscale luminance set and the second grayscale luminance set of its corresponding grayscale signal.
  7. 根据权利要求4-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 4-6, wherein the method further comprises:
    若所述电子设备中未存储有所述第一灰阶校准表,则基于第二灰阶校准表和第三灰阶校准表确定所述目标灰阶校准表;If the first grayscale calibration table is not stored in the electronic device, determining the target grayscale calibration table based on the second grayscale calibration table and the third grayscale calibration table;
    其中,所述电子设备存储有M个灰阶校准表,所述M个灰阶校准表包括所述第一灰阶校准表和所述第二灰阶校准表,所述M个灰阶校准表与M个驱动电流一一对应,所述第二灰阶校准表对应第一驱动电流,所述第三灰阶校准表对应第二驱动电流,所述第一驱动电流和所述第二驱动电流均为所述M个驱动电流中与所述目标驱动电流相邻的驱动电流。Wherein, the electronic device stores M grayscale calibration tables, the M grayscale calibration tables include the first grayscale calibration table and the second grayscale calibration table, and the M grayscale calibration tables One-to-one correspondence with the M driving currents, the second grayscale calibration table corresponds to the first driving current, the third grayscale calibration table corresponds to the second driving current, the first driving current and the second driving current are the drive currents adjacent to the target drive current among the M drive currents.
  8. 根据权利要求7所述的方法,其特征在于,所述第二灰阶校准表包括与N个灰阶信号一一对应的N个第一灰阶校准值集合,所述第二灰阶校准表包括与N个灰阶信号一一对应的N个第二灰阶校准值集合;所述基于所述电子设备中存储的第二灰阶校准表和第三灰阶校准表确定所述目标灰阶校准表,包括:The method according to claim 7, wherein the second grayscale calibration table comprises N first grayscale calibration value sets corresponding to N grayscale signals one-to-one, and the second grayscale calibration table including N second grayscale calibration value sets corresponding to N grayscale signals one-to-one; the target grayscale is determined based on the second grayscale calibration table and the third grayscale calibration table stored in the electronic device Calibration sheet, including:
    基于所述N个第一灰阶校准值集合和所述N个第二灰阶校准值集合,确定与N个灰阶信号一一对应的N个第三灰阶校准值集合;determining, based on the N first gray-scale calibration value sets and the N second gray-scale calibration value sets, N third gray-scale calibration value sets corresponding to the N gray-scale signals one-to-one;
    基于所述N个灰阶信号和所述N个第三灰阶校准值集合生成所述目标灰阶校准表。The target grayscale calibration table is generated based on the N grayscale signals and the N third grayscale calibration value sets.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面,包括:The method according to any one of claims 1-8, wherein the calibrating the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture, comprising:
    基于所述目标灰阶校准表包括的与N个灰阶信号对应的灰阶校准值,对所述待显示画面包括的灰阶信号进行灰阶校准,得到校准后画面。Based on the grayscale calibration values corresponding to the N grayscale signals included in the target grayscale calibration table, grayscale calibration is performed on the grayscale signals included in the to-be-displayed picture to obtain a calibrated picture.
  10. 根据权利要求9所述的方法,其特征在于,所述基于所述目标灰阶校准表包括的与N个灰阶信号对应的灰阶校准值,对所述待显示画面包括的灰阶信号进行灰阶校准,得到校准后画面,包括:The method according to claim 9, wherein, based on the grayscale calibration values corresponding to the N grayscale signals included in the target grayscale calibration table, the grayscale signals included in the to-be-displayed picture are performed. Grayscale calibration, get the calibrated picture, including:
    基于所述目标灰阶校准表确定所述待显示画面包括的每个灰阶信号对应的灰阶校准值;Determine a grayscale calibration value corresponding to each grayscale signal included in the to-be-displayed picture based on the target grayscale calibration table;
    将所述待显示画面包括的每个灰阶信号的灰阶值更新为其对应的灰阶校准值,得到校准后画面。The grayscale value of each grayscale signal included in the to-be-displayed picture is updated to its corresponding grayscale calibration value to obtain a calibrated picture.
  11. 一种显示处理装置,其特征在于,应用于电子设备,所述装置包括:A display processing device, characterized in that it is applied to electronic equipment, the device comprising:
    预计单元,用于预计显示待显示画面所需的目标驱动电流;The prediction unit is used to estimate the target driving current required to display the to-be-displayed picture;
    确定单元,用于基于所述目标驱动电流确定目标灰阶校准表;a determining unit, configured to determine a target grayscale calibration table based on the target drive current;
    校准单元,用于基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;a calibration unit, configured to calibrate the to-be-displayed picture based on the target grayscale calibration table to obtain a calibrated picture;
    显示单元,用于显示所述校准后画面。a display unit, used for displaying the calibrated picture.
  12. 根据权利要求11所述的显示处理装置,其特征在于,在所述预计显示待显示画面所需的目标驱动电流方面,所述预计单元具体用于:The display processing device according to claim 11, wherein, in terms of the target driving current required to predict the picture to be displayed, the predicting unit is specifically used for:
    获取所述待显示画面的灰阶分布直方图;obtaining a grayscale distribution histogram of the picture to be displayed;
    基于所述灰阶分布直方图预计所述目标驱动电流。The target drive current is predicted based on the grayscale distribution histogram.
  13. 根据权利要求12所述的显示处理装置,其特征在于,所述灰阶分布直方图用于统计N个灰阶信号的出现概率,所述N为大于1的整数;在所述基于所述灰阶分布直方图预计所述目标驱动电流方面,所述预计单元具体用于:The display processing device according to claim 12, wherein the gray-scale distribution histogram is used to count the occurrence probability of N gray-scale signals, and N is an integer greater than 1; The order distribution histogram predicts the target drive current, and the predicting unit is specifically used for:
    基于所述灰阶分布直方图和第一公式预计所述目标驱动电流;predicting the target drive current based on the gray-level distribution histogram and the first formula;
    其中,所述第一公式为:Wherein, the first formula is:
    Figure PCTCN2021093241-appb-100002
    Figure PCTCN2021093241-appb-100002
    其中,所述I为驱动电流,所述I iR为第i个灰阶信号对应的红R子像素的电流密度,所述I nG为所述第i个灰阶信号对应的绿G子像素的电流密度,所述I nB为所述第i个灰阶信号对应的蓝B子像素的电流密度,T R为R子像素的开口率,T G为G子像素的开口率,T B为B子像素的开口率,S为子像素的面积,P为所述第i个灰阶信号的出现概率。 Wherein, the I is the driving current, the I iR is the current density of the red R sub-pixel corresponding to the ith gray-scale signal, and the I nG is the green G sub-pixel corresponding to the ith gray-scale signal. Current density, the I nB is the current density of the blue B sub-pixel corresponding to the i-th grayscale signal, T R is the aperture ratio of the R sub-pixel, T G is the aperture ratio of the G sub-pixel, and T B is the B sub-pixel The aperture ratio of the sub-pixel, S is the area of the sub-pixel, and P is the occurrence probability of the i-th grayscale signal.
  14. 根据权利要求11~13任一项所述的显示处理装置,其特征在于,在所述基于所述目标驱动电流确定目标灰阶校准表方面,所述确定单元具体用于:The display processing device according to any one of claims 11 to 13, wherein, in the aspect of determining the target grayscale calibration table based on the target driving current, the determining unit is specifically configured to:
    若所述电子设备中存储有所述目标驱动电流对应的第一灰阶校准表,则确定所述第一灰阶校准表为所述目标灰阶校准表。If a first grayscale calibration table corresponding to the target driving current is stored in the electronic device, the first grayscale calibration table is determined to be the target grayscale calibration table.
  15. 根据权利要求14所述的显示处理装置,其特征在于,所述第一灰阶校准表是基于第一数据群和第二数据群确定的,所述第一数据群对应的驱动电流为0,所述第二数据群对应的驱动电流为所述目标驱动电流。The display processing device according to claim 14, wherein the first grayscale calibration table is determined based on a first data group and a second data group, and the driving current corresponding to the first data group is 0, The driving current corresponding to the second data group is the target driving current.
  16. 根据权利要求15所述的显示处理装置,其特征在于,所述第一数据群包括N个第一灰阶亮度集合,所述N个第一灰阶亮度集合与N个灰阶信号一一对应,所述第二数据群包括所述N个第二灰阶亮度集合,所述N个第二灰阶亮度集合与所述N个灰阶信号一一对应;The display processing device according to claim 15, wherein the first data group comprises N first gray-scale luminance sets, and the N first gray-scale luminance sets are in one-to-one correspondence with N gray-scale signals , the second data group includes the N second gray-scale brightness sets, and the N second gray-scale brightness sets are in one-to-one correspondence with the N gray-scale signals;
    所述第一灰阶校准表是基于第一数据群和第二数据群确定的,包括:The first grayscale calibration table is determined based on the first data group and the second data group, and includes:
    所述第一灰阶校准表是将N个目标灰阶校准值集合与所述N个灰阶信号进行对应关联得到的,所述N个目标灰阶校准值集合和所述N个灰阶信号一一对应;The first grayscale calibration table is obtained by correlating N target grayscale calibration value sets with the N grayscale signals, and the N target grayscale calibration value sets and the N grayscale signals one-to-one correspondence;
    所述N个目标灰阶校准值集合是基于N个第三灰阶亮度集合确定的,所述N个目标灰阶校准值集合与所述N个第三灰阶亮度集合一一对应;The N target grayscale calibration value sets are determined based on N third grayscale brightness sets, and the N target grayscale calibration value sets are in one-to-one correspondence with the N third grayscale brightness sets;
    所述N个第三灰阶亮度集合是基于N个灰阶补偿亮度集合分别对所述N个第二灰阶亮度集合进行补偿得到的,所述N个灰阶补偿亮度集合与所述N个灰阶信号一一对应;The N third gray-scale brightness sets are obtained by compensating the N second gray-scale brightness sets respectively based on the N gray-scale compensation brightness sets, and the N gray-scale compensated brightness sets are the same as the N gray-scale compensated brightness sets. One-to-one correspondence between gray-scale signals;
    每个灰阶补偿亮度集合是基于其对应的灰阶信号的第一灰阶亮度集合和第二灰阶亮度集合确定的。Each gray-scale compensation brightness set is determined based on the first gray-scale brightness set and the second gray-scale brightness set of its corresponding gray-scale signal.
  17. 根据权利要求14-16任一项所述的显示处理装置,其特征在于,所述确定单元具体还用于:The display processing device according to any one of claims 14-16, wherein the determining unit is further configured to:
    若所述电子设备中未存储有所述第一灰阶校准表,则基于第二灰阶校准表和第三灰阶校准表确定所述目标灰阶校准表;If the first grayscale calibration table is not stored in the electronic device, determining the target grayscale calibration table based on the second grayscale calibration table and the third grayscale calibration table;
    其中,所述电子设备存储有M个灰阶校准表,所述M个灰阶校准表包括所述第一灰阶校准表和所述第二灰阶校准表,所述M个灰阶校准表与M个驱动电流一一对应,所述第二灰阶校准表对应第一驱动电流,所述第三灰阶校准表对应第二驱动电流,所述第一驱动电流和所述第二驱动电流均为所述M个驱动电流中与所述目标驱动电流相邻的驱动电流。Wherein, the electronic device stores M grayscale calibration tables, the M grayscale calibration tables include the first grayscale calibration table and the second grayscale calibration table, and the M grayscale calibration tables One-to-one correspondence with the M driving currents, the second grayscale calibration table corresponds to the first driving current, the third grayscale calibration table corresponds to the second driving current, the first driving current and the second driving current are the drive currents adjacent to the target drive current among the M drive currents.
  18. 一种电子设备,其特征在于,所述电子设备包括处理器和显示屏,其中:An electronic device, characterized in that the electronic device comprises a processor and a display screen, wherein:
    所述处理器,用于预计显示待显示画面所需的目标驱动电流;基于所述目标驱动电流确定目标灰阶校准表;基于所述目标灰阶校准表对所述待显示画面进行校准,得到校准后画面;The processor is used for predicting the target driving current required for displaying the picture to be displayed; determining a target grayscale calibration table based on the target driving current; calibrating the to-be-displayed picture based on the target grayscale calibration table, and obtaining Screen after calibration;
    所述显示屏,用于显示所述校准后画面。The display screen is used to display the calibrated picture.
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行 如权利要求1-10任一项所述的方法中的步骤的指令。An electronic device comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method of any of claims 1-10.
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-10任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-10.
PCT/CN2021/093241 2020-06-29 2021-05-12 Display processing method and apparatus WO2022001383A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010605542.7A CN111767016B (en) 2020-06-29 2020-06-29 Display processing method and device
CN202010605542.7 2020-06-29

Publications (1)

Publication Number Publication Date
WO2022001383A1 true WO2022001383A1 (en) 2022-01-06

Family

ID=72724034

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093241 WO2022001383A1 (en) 2020-06-29 2021-05-12 Display processing method and apparatus

Country Status (2)

Country Link
CN (1) CN111767016B (en)
WO (1) WO2022001383A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767016B (en) * 2020-06-29 2023-09-26 Oppo广东移动通信有限公司 Display processing method and device
CN112581909B (en) * 2020-12-30 2022-05-31 北京奕斯伟计算技术有限公司 Display compensation method and device and display device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318900A (en) * 2014-11-18 2015-01-28 京东方科技集团股份有限公司 Organic electroluminescence display device and method
CN105280143A (en) * 2014-05-27 2016-01-27 西安宏祐图像科技有限公司 Mura eliminating method for tri-gate liquid crystal display panel
CN107316608A (en) * 2017-08-17 2017-11-03 深圳市华星光电半导体显示技术有限公司 The driving method and device of a kind of organic light emitting diode display
CN108877676A (en) * 2018-08-07 2018-11-23 京东方科技集团股份有限公司 Voltage-drop compensation method and device thereof, display device
US10235936B2 (en) * 2015-04-10 2019-03-19 Apple Inc. Luminance uniformity correction for display panels
CN110767170A (en) * 2019-11-05 2020-02-07 深圳市华星光电半导体显示技术有限公司 Picture display method and picture display device
CN111767016A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Display processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105280143A (en) * 2014-05-27 2016-01-27 西安宏祐图像科技有限公司 Mura eliminating method for tri-gate liquid crystal display panel
CN104318900A (en) * 2014-11-18 2015-01-28 京东方科技集团股份有限公司 Organic electroluminescence display device and method
US10235936B2 (en) * 2015-04-10 2019-03-19 Apple Inc. Luminance uniformity correction for display panels
CN107316608A (en) * 2017-08-17 2017-11-03 深圳市华星光电半导体显示技术有限公司 The driving method and device of a kind of organic light emitting diode display
CN108877676A (en) * 2018-08-07 2018-11-23 京东方科技集团股份有限公司 Voltage-drop compensation method and device thereof, display device
CN110767170A (en) * 2019-11-05 2020-02-07 深圳市华星光电半导体显示技术有限公司 Picture display method and picture display device
CN111767016A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Display processing method and device

Also Published As

Publication number Publication date
CN111767016B (en) 2023-09-26
CN111767016A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
WO2020187157A1 (en) Control method and electronic device
WO2021249053A1 (en) Image processing method and related apparatus
US20230419570A1 (en) Image Processing Method and Electronic Device
WO2021147396A1 (en) Icon management method and smart terminal
CN111782879B (en) Model training method and device
WO2022001383A1 (en) Display processing method and apparatus
CN111555825B (en) Radio frequency resource allocation method and device
CN111768416A (en) Photo clipping method and device
CN111553846A (en) Super-resolution processing method and device
US20230127696A1 (en) Drive control method and related device
CN113115439A (en) Positioning method and related equipment
CN111882642A (en) Texture filling method and device for three-dimensional model
CN111524528B (en) Voice awakening method and device for preventing recording detection
CN111612723B (en) Image restoration method and device
CN114422686A (en) Parameter adjusting method and related device
US11893956B2 (en) Electronic device comprising display and operation method thereof
CN111880661A (en) Gesture recognition method and device
CN113781959B (en) Interface processing method and device
WO2023000745A1 (en) Display control method and related device
CN111581119B (en) Page recovery method and device
CN114172596A (en) Channel noise detection method and related device
CN115390738A (en) Scroll screen opening and closing method and related product
WO2021051982A1 (en) Method for calling hardware interface and electronic device
CN111459271B (en) Gaze offset error determination method and device
CN111865369B (en) Antenna control method, antenna control device and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21831841

Country of ref document: EP

Kind code of ref document: A1