CN113284449B - Power consumption control method and device for display picture - Google Patents

Power consumption control method and device for display picture Download PDF

Info

Publication number
CN113284449B
CN113284449B CN202110532820.5A CN202110532820A CN113284449B CN 113284449 B CN113284449 B CN 113284449B CN 202110532820 A CN202110532820 A CN 202110532820A CN 113284449 B CN113284449 B CN 113284449B
Authority
CN
China
Prior art keywords
attenuation coefficient
acquiring
reference value
pixel
display picture
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110532820.5A
Other languages
Chinese (zh)
Other versions
CN113284449A (en
Inventor
窦维
黄泰钧
田凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd
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 Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd
Priority to CN202110532820.5A priority Critical patent/CN113284449B/en
Publication of CN113284449A publication Critical patent/CN113284449A/en
Application granted granted Critical
Publication of CN113284449B publication Critical patent/CN113284449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving

Landscapes

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

Abstract

The embodiment of the invention provides a power consumption control method and device for a display picture. The method comprises the following steps: acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture, and acquiring a storage address according to the attenuation coefficient reference value; acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient; the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address. The method and the device provided by the embodiment of the invention can reduce the storage resource and reduce the power consumption of the driving system.

Description

Power consumption control method and device for display picture
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and an apparatus for controlling power consumption of a display screen.
Background
According to the research of human eye visual field, the brightness perception capability of human eyes to a display picture is gradually reduced from the center to the periphery, if the brightness of the whole display picture is kept uniform, the Power consumption of a display can be increased, but the display effect can not be obviously improved.
In order to implement the algorithm, the corresponding relationship between the position of each pixel of the display screen and the attenuation coefficient needs to be stored in a Look-Up Table (LUT) in advance, when the algorithm is used, the position of each pixel on the display screen is obtained according to the display data, then the corresponding attenuation coefficient is obtained in the Look-Up Table according to the position of each pixel, and finally, each attenuation coefficient is matched with the display data one by one to obtain attenuated display data, so that the attenuated display data is displayed.
In the following, the algorithm is applied to a 4k display with a resolution of 3840 × 2160 as an example for explanation, please refer to fig. 1, the display frame is divided into four regions (shown by a rectangle frame formed by thick solid lines), the number of pixels of the four regions is the same, and the corresponding attenuation coefficients are symmetrically distributed around the center of the display frame, so the lookup table only needs to store the attenuation coefficient of one region. If attenuation is performed in a row direction by taking 8 columns as a unit and in a column direction by taking 1 row as a unit, the number of attenuation coefficients required to be stored in the lookup table is as follows: (3840/2/8) × (2160/2/1) ═ 259200. Referring to fig. 2, the lookup table includes 259200 storage addresses (respectively denoted as 0, 1.,. 259199) and attenuation coefficients corresponding to each storage address, where the storage addresses 0-239 respectively store the attenuation coefficients of the 1 st column to the 1920 th column in the 1 st row, and the storage addresses 240-479 respectively store the attenuation coefficients of the 1 st column to the 1920 th column in the 2 nd row, and the storage addresses 258960-259199 respectively store the attenuation coefficients of the 1 st column to the 1920 th column in the 1080 th row. If the data bit width of the attenuation coefficient is 24 bits, the data amount of the attenuation coefficient required to be stored in the lookup table is as follows: 259200 × 24 ═ 6220800bit, taking the storage resource occupied by it as flash resource as an example for explanation, 1page in flash has 2048 bytes, 1byte has 8bit, therefore the flash resource occupied by the attenuation coefficient that the lookup table needs to store is: 6220800/(8 × 2048) ≈ 380 page. Therefore, for a large-size high-resolution display, huge storage resources are required to store the attenuation coefficient, which is not beneficial to reducing the overall resources and power consumption of the driving system.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for controlling power consumption of a display screen, so as to solve the problem in the prior art that, in order to reduce power consumption by using a power consumption control algorithm of a display screen without affecting the display effect of a display, huge storage resources are required to be used in advance to store attenuation coefficients, which results in large overall resources and power consumption of a driving system.
In a first aspect, an embodiment of the present invention provides a method for controlling power consumption of a display screen, including:
acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture, and acquiring a storage address according to the attenuation coefficient reference value;
acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient;
the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
In some embodiments, obtaining a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address further includes:
for any one memory address, taking the root number value of the memory address as the calculated value of the attenuation coefficient corresponding to the memory address;
and constructing the lookup table based on a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
In some embodiments, obtaining the corresponding attenuation coefficient reference value according to the position of the pixel in the display frame comprises:
acquiring a unit attenuation coefficient of the display picture;
and acquiring an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture and the unit attenuation coefficient.
In some embodiments, obtaining a unit attenuation coefficient of the display screen comprises:
establishing a rectangular coordinate system by taking the center of the display picture as a coordinate origin; the rectangular coordinate system comprises a first coordinate axis and a second coordinate axis;
acquiring a first unit attenuation coefficient of the display picture along the first coordinate axis direction according to a first minimum attenuation coefficient preset in the display picture along the first coordinate axis direction;
and acquiring a second unit attenuation coefficient of the display picture along the second coordinate axis direction according to a second minimum attenuation coefficient preset in the display picture along the second coordinate axis direction.
In some embodiments, obtaining the attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display screen and the unit attenuation coefficient includes:
and acquiring an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture, the first unit attenuation coefficient and the second unit attenuation coefficient.
In some embodiments, obtaining a memory address from the attenuation coefficient reference value comprises:
expanding the first unit attenuation coefficient and the second unit attenuation coefficient by 2^ m times respectively, wherein m is a positive integer;
acquiring the expanded attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture, the expanded first unit attenuation coefficient and the expanded second unit attenuation coefficient;
determining an interval [2^ (n-1), 2^ n ] in which the maximum expanded attenuation coefficient reference value in the display frame is positioned, wherein n is a positive integer;
determining a plurality of intervals according to the interval [2^ (n-1) and 2^ n ] where the maximum expanded attenuation coefficient reference value is located and the number 2^ p of the preset storage addresses, wherein p is a positive integer, and the plurality of intervals comprise [0, 2^ p ], [2^ p, 2^ (p +2) ], [2^ (n-2), 2^ n ];
determining an interval [2^ (x-2), 2^ x ] in which the expanded attenuation coefficient reference value is positioned in the plurality of intervals, wherein x is a positive integer;
and reducing the expanded attenuation coefficient reference value by 2^ (x-p) times to obtain a storage address.
In some embodiments, the formula for obtaining the attenuation coefficient from the calculated attenuation coefficient value is:
c=1-a/2^n;
wherein c is the attenuation coefficient, a is the calculated attenuation coefficient, and n is (m × 2- (x-p))/2.
In a second aspect, an embodiment of the present invention provides a power consumption control apparatus for displaying a screen, including:
the storage address acquisition module is used for acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture and acquiring a storage address according to the attenuation coefficient reference value;
the attenuation coefficient acquisition module is used for acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value and attenuating the gray scale of the pixel based on the attenuation coefficient;
the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method according to any one of the embodiments of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method according to any embodiment of the first aspect.
According to the power consumption control method and device for the display picture, the storage address is associated with the attenuation coefficient calculation value, the corresponding attenuation coefficient reference value is obtained according to the position of the pixel in the display picture, the storage address is obtained according to the attenuation coefficient reference value, the corresponding attenuation coefficient calculation value is obtained from a preset lookup table according to the storage address, the attenuation coefficient is obtained according to the attenuation coefficient calculation value, the gray scale of the pixel is attenuated based on the attenuation coefficient, storage resources are reduced, and power consumption of a driving system is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating a region division of a display frame in the prior art;
FIG. 2 is a diagram of a look-up table in the prior art;
FIG. 3 is a flowchart illustrating a method for controlling power consumption of a display according to an embodiment of the present invention;
FIG. 4 is a diagram of a lookup table according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating region division of a display screen according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a power consumption control apparatus for displaying a picture according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for controlling power consumption of a display screen, please refer to fig. 3, where the method includes:
step S1, obtaining a corresponding attenuation coefficient reference value according to the position of the pixel in the display screen, and obtaining a storage address according to the attenuation coefficient reference value.
Step S2, obtaining a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, obtaining an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient; the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
It should be noted that, before step S2, the method further includes:
step S0, a lookup table is constructed.
Specifically, step S0 specifically includes:
step S01, regarding any one of the storage addresses, using the root number value of the storage address as the calculated attenuation coefficient value corresponding to the storage address.
Step S02, constructing the lookup table based on the plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
For a clear and complete description of the above steps, first, a lookup table is described, referring to fig. 4, the lookup table in the embodiment of the present invention includes a plurality of memory addresses and an attenuation coefficient calculation value corresponding to each memory address, wherein the embodiment of the present invention keeps the precision of the attenuation coefficient to 2^12, so that the number of the memory addresses is 4096 in total, and 4096 memory addresses are respectively recorded as 0, 1. The calculated attenuation coefficient value corresponding to each memory address is the root value of the memory address, that is, the calculated attenuation coefficient value corresponding to the memory address 0 is sqrt (0) ═ 0, the calculated attenuation coefficient value corresponding to the memory address 1 is sqrt (1) ═ 1,. and the calculated attenuation coefficient value corresponding to the memory address 4095 is sqrt (4095) · 64. It should be noted that the number of memory addresses depends on the requirement of precision on the attenuation coefficient, and the higher the precision, the greater the number of memory addresses.
In step S1, obtaining a corresponding attenuation coefficient reference value according to the position of the pixel in the display screen includes:
and step S111, acquiring the unit attenuation coefficient of the display picture.
Wherein, step S111 specifically includes:
step S1111, establishing a rectangular coordinate system by taking the center of the display picture as a coordinate origin; the rectangular coordinate system comprises a first coordinate axis and a second coordinate axis.
Step S1112, obtaining a first unit attenuation coefficient of the display image along the first coordinate axis direction according to a first minimum attenuation coefficient preset in the display image along the first coordinate axis direction.
Step S1113, obtaining a second unit attenuation coefficient of the display image along the second coordinate axis direction according to a second minimum attenuation coefficient preset in the display image along the second coordinate axis direction.
For a clear and complete description of the above steps, the method is applied to a display with a resolution of N × M as an example for description, please refer to fig. 5, a rectangular coordinate system is established with a center of a display screen as a coordinate origin o, the rectangular coordinate system includes a first coordinate axis (x axis) extending along a row direction and a second coordinate axis (y axis) extending along a column direction, the first coordinate axis and the second coordinate axis jointly divide the display screen into four regions (shown by a rectangular frame formed by thick solid lines), the number of pixels of the four regions is the same, and the corresponding attenuation coefficients are symmetrically distributed with the coordinate origin, so that the lookup table only needs to store the attenuation coefficient of one region.
If attenuation is performed in a row direction by taking r columns as a unit and in a column direction by taking s rows as a unit, pixels with the same attenuation coefficient in the s rows with the same attenuation coefficient can be combined into one attenuation unit according to different attenuation coefficients, so that a display screen of a 4k display with the resolution of N x M can be divided into N x M attenuation units, wherein N is N/s, and M is M/r.
If the first attenuation coefficient preset along the first coordinate axis, i.e. the row direction, of the display screen is X _ min, the first unit attenuation coefficient X along the row direction of the display screen can be obtained according to the first attenuation coefficient X _ min, and the calculation formula is as follows: x is (1-X _ min)/(m/2-1).
If the second attenuation coefficient preset along the first coordinate axis, i.e. the row direction, of the display screen is Y _ min, the second unit attenuation coefficient Y along the column direction of the display screen can be obtained according to the second attenuation coefficient Y _ min, and the calculation formula is as follows: y ═ 1-Y _ min)/(n/2-1).
Step S112, obtaining an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display screen and the unit attenuation coefficient.
Wherein, step S112 specifically includes:
and acquiring an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture, the first unit attenuation coefficient and the second unit attenuation coefficient.
Specifically, the attenuation coefficient a is 1-a X for any pixel in the attenuation cells a attenuation cells away from the origin of coordinates in the row direction, and the attenuation coefficient B is 1-B Y for any pixel in the attenuation cells B attenuation cells away from the origin of coordinates in the column direction.
For any pixel in an attenuation cell that is a attenuation cells away from the origin of coordinates in the row direction and b attenuation cells away from the origin of coordinates in the column direction, its attenuation coefficient:
C=1-sqrt((1-A)^2+(1-B)^2)=1-sqrt((a*X)^2+(b*Y)^2)。
and taking (a X) 2+ (b Y) 2 as the attenuation coefficient reference value corresponding to the pixel.
For example, if N is 2160, M is 3840, r is 8, s is 1, X _ min is 0.8, and Y _ min is 0.8, the resolution of the display is 2160, 3840, the display screen of the display attenuates in the row direction by 8 columns and in the column direction by 1 row, where N is 2160, M is 480, X is (1-0.8)/240, Y is (1-0.8)/1080, and the reference value of the attenuation coefficient is (a) is (1-0.8)/240) ^2+ (b is (1-0.8)/1080).
In step S1, acquiring a storage address according to the attenuation coefficient reference value specifically includes:
step S121, expanding the first unit attenuation coefficient and the second unit attenuation coefficient by 2^ m times respectively, wherein m is a positive integer.
Step S122, obtaining the expanded attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display screen, the expanded first unit attenuation coefficient, and the expanded second unit attenuation coefficient.
Step S123, determining the interval [2^ (n-1), 2^ n ] where the maximum expanded attenuation coefficient reference value in the display picture is located, wherein n is a positive integer.
Step S124, determining a plurality of intervals according to the interval [2^ (n-1) and 2^ n ] where the maximum expanded attenuation coefficient reference value is located and the number 2^ p of the preset storage addresses, wherein p is a positive integer, and the plurality of intervals comprise [0, 2^ p ], [2^ p, 2^ (p +2) ], [2^ (n-2) and 2^ n ].
Step S125, determining the interval [2^ (x-2), 2^ x ] where the expanded attenuation coefficient reference value is located in the plurality of intervals, wherein x is a positive integer.
And S126, reducing the expanded attenuation coefficient reference value by 2^ (x-p) times to obtain a storage address.
Specifically, continuing the example based on the above example, assuming that m is 18, that is, the first unit attenuation coefficient (1-0.8)/240 and the second unit attenuation coefficient (1-0.8)/1080 are respectively enlarged by 2^18 times, at this time, the enlarged attenuation coefficient reference value corresponding to the pixel is obtained as (a (1-0.8)/240 ^ 2^18) ^2+ (b ^ 1-0.8)/1080 ^ 2^18) according to the position of the pixel in the display screen, the enlarged first unit attenuation coefficient and the enlarged second unit attenuation coefficient. On the basis, the maximum expanded attenuation coefficient reference value obtained by taking a as 240 and b as 1080 is (240 ^ 1-0.8)/240 ^ 2^18) ^2+ (1080 ^ 1-0.8)/1080 ^ 2^ 18).
Determining the maximum expanded attenuation coefficient reference value as an interval [2^35, 2^36] where (240 ^ (1-0.8)/240 ^ 2^18) 2+ (1080 ^ (1-0.8)/1080 ^ 2^18) is located, and if p is 12, determining a plurality of intervals including [0, 2^12], [2^12, 2^14], [2^34, 2^36] according to the interval [2^35, 2^36] where the maximum expanded attenuation coefficient reference value is located and the number 2^12 of storage addresses.
Determining the interval of the expanded reference value of the attenuation coefficient among the plurality of intervals, for example, the interval of the expanded reference value of the attenuation coefficient is [2^26, 2^28], and reducing the expanded reference value of the attenuation coefficient by 2^ (28-12), namely 2^16, to obtain the storage address.
It will be appreciated that after the memory address is obtained, the corresponding attenuation coefficient calculation value may be looked up in a preset look-up table.
In step S2, the formula for obtaining the attenuation coefficient according to the calculated value of the attenuation coefficient is:
c=1-a/2^n;
wherein c is the attenuation coefficient, a is the calculated attenuation coefficient, and n is (m × 2- (x-p))/2.
Specifically, in the above example, since the first unit attenuation coefficient and the second unit attenuation coefficient are respectively expanded by 2^18 times, the reference value of the attenuation coefficient after the expansion is expanded by 2^36 times relative to the reference value of the attenuation coefficient before the expansion, and at this time, the constant term 1 in the calculation formula of the attenuation coefficient is synchronously expanded by 2^36 times, and the constant term 1 is changed to 2^ 36.
And then reducing the expanded attenuation coefficient reference value by 2^16 times to obtain a storage address, wherein the storage address is expanded by 2^20 times relative to the attenuation coefficient reference value, at the moment, synchronously reducing the constant term 2^36 by 2^16 times, and changing the constant term 2^36 into 2^ 20.
For the calculated value of the attenuation coefficient, the calculated value of the attenuation coefficient is the root value of the storage address, and the root value of the storage address, namely the calculated value of the attenuation coefficient, is reduced by 2^10 times compared with the storage address, at the moment, the constant term 2^20 is reduced by 2^10 times, and the constant term 2^20 is changed into 2^ 10.
Since the constant term in the calculation formula of the attenuation coefficient is 1, when calculating the attenuation coefficient, the calculated value of the attenuation coefficient needs to be firstly reduced by 2^10 times, and then the calculated value of the attenuation coefficient reduced by 2^10 times is subtracted from 1 to obtain the final attenuation coefficient, so as to attenuate the gray scale of the corresponding pixel based on the attenuation coefficient.
It should be noted that, in the above embodiment, only the attenuation process of the gray scale of one pixel is used for illustration, the gray scale of each pixel in the display screen can be attenuated by performing the above operation on each pixel in the display screen, so as to reduce the power consumption of the display screen.
It should be noted that, in the above example, the 8 columns of pixels in the 1 row with the same attenuation coefficient may use the root value of the same storage address, that is, the calculated attenuation coefficient value, to obtain the final attenuation coefficient, so that the lookup table only needs to store 4096 storage addresses to respectively store 4096 calculated attenuation coefficient values, and if the data bit width of the calculated attenuation coefficient value is 24 bits, the data amount of the calculated attenuation coefficient value that the lookup table needs to store is: 4096 × 24 ═ 98304bit, taking the storage resource occupied by it as flash resource as an example, in flash 1page has 2048 bytes, 1byte has 8 bits, so the attenuation coefficient occupied by the lookup table needs to be stored: 98304/(8 × 2048) ≈ 6 pages, compared with the flash resource requiring 380 pages in the prior art, the method provided by the embodiment greatly saves the storage resource, and is beneficial to reducing the whole resource and power consumption of the driving system.
An embodiment of the present invention further provides a power consumption control apparatus for displaying a picture, referring to fig. 6, where the apparatus includes:
the storage address obtaining module 601 is configured to obtain a corresponding attenuation coefficient reference value according to a position of a pixel in a display screen, and obtain a storage address according to the attenuation coefficient reference value.
An attenuation coefficient obtaining module 602, configured to obtain a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, and obtain an attenuation coefficient according to the attenuation coefficient calculation value, so as to attenuate a gray level of the pixel based on the attenuation coefficient; the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
It should be noted that, the apparatus provided in the embodiment of the present invention is used for executing the method in the foregoing embodiment, and since the method has been described in detail in the foregoing embodiment, details of the apparatus are not described here.
Referring to fig. 7, an electronic device according to an embodiment of the present invention includes: a processor (processor)701, a communication Interface (Communications Interface)702, a memory (memory)703 and a communication bus 704, wherein the processor 701, the communication Interface 702 and the memory 703 complete communication with each other through the communication bus 704. The processor 701 may invoke a computer program stored on the memory 703 and executable on the processor 701 to perform the methods provided by the embodiments described above, including for example: acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture, and acquiring a storage address according to the attenuation coefficient reference value; acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient; the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
In addition, the logic instructions in the memory 703 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and the method includes: acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture, and acquiring a storage address according to the attenuation coefficient reference value; acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient; the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A power consumption control method for a display screen, comprising:
acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture, and acquiring a storage address according to the attenuation coefficient reference value;
acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value, and attenuating the gray scale of the pixel based on the attenuation coefficient;
the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
2. The method of claim 1, wherein obtaining the corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address further comprises:
for any one memory address, taking the root number value of the memory address as the calculated value of the attenuation coefficient corresponding to the memory address;
and constructing the lookup table based on a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
3. The method of claim 1, wherein obtaining corresponding attenuation coefficient reference values according to the positions of pixels in the display comprises:
acquiring a unit attenuation coefficient of the display picture;
and acquiring an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture and the unit attenuation coefficient.
4. The method of claim 3, wherein obtaining the unit attenuation coefficient of the display comprises:
establishing a rectangular coordinate system by taking the center of the display picture as a coordinate origin; the rectangular coordinate system comprises a first coordinate axis and a second coordinate axis;
acquiring a first unit attenuation coefficient of the display picture along the first coordinate axis direction according to a first minimum attenuation coefficient preset in the display picture along the first coordinate axis direction;
and acquiring a second unit attenuation coefficient of the display picture along the second coordinate axis direction according to a second minimum attenuation coefficient preset in the display picture along the second coordinate axis direction.
5. The method according to claim 4, wherein obtaining the attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display screen and the unit attenuation coefficient comprises:
and acquiring an attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture, the first unit attenuation coefficient and the second unit attenuation coefficient.
6. The method of claim 5, wherein obtaining a memory address from the attenuation coefficient reference value comprises:
expanding the first unit attenuation coefficient and the second unit attenuation coefficient by 2^ m times respectively, wherein m is a positive integer;
acquiring the expanded attenuation coefficient reference value corresponding to the pixel according to the position of the pixel in the display picture, the expanded first unit attenuation coefficient and the expanded second unit attenuation coefficient;
determining an interval [2^ (n-1), 2^ n ] in which the maximum expanded attenuation coefficient reference value in the display frame is positioned, wherein n is a positive integer;
determining a plurality of intervals according to the interval [2^ (n-1) and 2^ n ] where the maximum expanded attenuation coefficient reference value is located and the number 2^ p of the preset storage addresses, wherein p is a positive integer, and the plurality of intervals comprise [0, 2^ p ], [2^ p, 2^ (p +2) ], [2^ (n-2), 2^ n ];
determining an interval [2^ (x-2), 2^ x ] in which the expanded attenuation coefficient reference value is positioned in the plurality of intervals, wherein x is a positive integer;
and reducing the expanded attenuation coefficient reference value by 2^ (x-p) times to obtain a storage address.
7. The method of claim 6, wherein the formula for obtaining the attenuation coefficient from the calculated attenuation coefficient is:
c=1-a/2^n;
wherein c is the attenuation coefficient, a is the calculated attenuation coefficient, and n is (m × 2- (x-p))/2.
8. A power consumption control device for displaying a screen, comprising:
the storage address acquisition module is used for acquiring a corresponding attenuation coefficient reference value according to the position of a pixel in a display picture and acquiring a storage address according to the attenuation coefficient reference value;
the attenuation coefficient acquisition module is used for acquiring a corresponding attenuation coefficient calculation value from a preset lookup table according to the storage address, acquiring an attenuation coefficient according to the attenuation coefficient calculation value and attenuating the gray scale of the pixel based on the attenuation coefficient;
the lookup table stores a plurality of storage addresses and the attenuation coefficient calculation value corresponding to each storage address.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110532820.5A 2021-05-17 2021-05-17 Power consumption control method and device for display picture Active CN113284449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110532820.5A CN113284449B (en) 2021-05-17 2021-05-17 Power consumption control method and device for display picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110532820.5A CN113284449B (en) 2021-05-17 2021-05-17 Power consumption control method and device for display picture

Publications (2)

Publication Number Publication Date
CN113284449A CN113284449A (en) 2021-08-20
CN113284449B true CN113284449B (en) 2022-08-02

Family

ID=77279414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110532820.5A Active CN113284449B (en) 2021-05-17 2021-05-17 Power consumption control method and device for display picture

Country Status (1)

Country Link
CN (1) CN113284449B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114373431B (en) * 2022-01-25 2023-09-15 京东方科技集团股份有限公司 Display device, driving method thereof, driving module, electronic apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1039822A (en) * 1996-07-19 1998-02-13 Fujitsu General Ltd Multiple picture display device
CN104318900A (en) * 2014-11-18 2015-01-28 京东方科技集团股份有限公司 Organic electroluminescence display device and method
CN104464626A (en) * 2014-12-12 2015-03-25 京东方科技集团股份有限公司 Organic electroluminescence display device and method
CN105118420A (en) * 2015-09-28 2015-12-02 京东方科技集团股份有限公司 Drive method, drive circuit and display device of display panel
CN110288674A (en) * 2019-05-20 2019-09-27 昇显微电子(苏州)有限公司 A kind of method and system of abnormity smoothing processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4655341B2 (en) * 2000-07-10 2011-03-23 日本電気株式会社 Display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1039822A (en) * 1996-07-19 1998-02-13 Fujitsu General Ltd Multiple picture display device
CN104318900A (en) * 2014-11-18 2015-01-28 京东方科技集团股份有限公司 Organic electroluminescence display device and method
CN104464626A (en) * 2014-12-12 2015-03-25 京东方科技集团股份有限公司 Organic electroluminescence display device and method
CN105118420A (en) * 2015-09-28 2015-12-02 京东方科技集团股份有限公司 Drive method, drive circuit and display device of display panel
CN110288674A (en) * 2019-05-20 2019-09-27 昇显微电子(苏州)有限公司 A kind of method and system of abnormity smoothing processing

Also Published As

Publication number Publication date
CN113284449A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
US11232767B2 (en) Image display method, display system and computer-readable storage medium
CN108761777B (en) Method and equipment for determining distortion quantity and distortion correction of optical device
EP3407604A1 (en) Method and device for processing high dynamic range image
JP7175197B2 (en) Image processing method and device, storage medium, computer device
JP2001337667A (en) Image processor and image display device with it
CN113284449B (en) Power consumption control method and device for display picture
CN109461400B (en) Sub-pixel rendering method and device for converting RGB (red, green and blue) image into RGBW (red, green and blue) image
EP3779788B1 (en) Image processing method, image processing device, display device, and storage medium
JP2018530776A5 (en)
US20180307276A1 (en) Display Panel, Display Device and Method for Driving Display Panel
CN111540324A (en) Display device and pixel compensation method and device thereof
WO2020082662A1 (en) Image brightness statistical method and imaging device
CN110858470A (en) Display control method and device of OLED screen and terminal equipment
CN116052605A (en) Ink screen refreshing method and device, ink screen equipment and storage medium
US11238571B2 (en) Method and device for enhancing image contrast, display apparatus, and storage medium
KR20160056412A (en) Data process device and display device having the same
CN110765384A (en) Resolution adaptation method of client, storage medium and terminal
CN114078452B (en) Method for adjusting content contrast, electronic device and storage medium
CN104851406B (en) A kind of method for displaying image, device and triangular arrangement show equipment
WO2019061655A1 (en) Driving method and system for liquid crystal display, and computer-readable medium
CN112272294A (en) Display image compression method, device, equipment and computer storage medium
CN105468312B (en) Image display method and device
JP3944204B2 (en) Image processing apparatus and image display apparatus having the same
CN101923706A (en) Image processing device and method
US8285069B2 (en) Image processing device and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant