CN116309886A - Display control method, display control device, electronic equipment and storage medium - Google Patents

Display control method, display control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116309886A
CN116309886A CN202111566720.0A CN202111566720A CN116309886A CN 116309886 A CN116309886 A CN 116309886A CN 202111566720 A CN202111566720 A CN 202111566720A CN 116309886 A CN116309886 A CN 116309886A
Authority
CN
China
Prior art keywords
color
initial
target
node
value
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.)
Pending
Application number
CN202111566720.0A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111566720.0A priority Critical patent/CN116309886A/en
Publication of CN116309886A publication Critical patent/CN116309886A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The disclosure provides a display control method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring initial color information of a display screen; determining an initial occupancy value of the target type light ray in the initial color information; adjusting the initial color information according to the initial occupancy value to obtain target color information; according to the display control method and the display control device, the color effect of the display screen can be effectively optimized, distortion phenomena under different color modes are reduced, and the display color reduction degree of the display screen is effectively improved.

Description

Display control method, display control device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of electronic equipment, and in particular relates to a display control method, a display control device, electronic equipment and a storage medium.
Background
Electronic devices generally use a display screen made of an Organic Light-Emitting Diode (OLED) material, and the OLED display screen has advantages of high color gamut, high contrast, and the like, however, the bright color under a wide color gamut has larger stimulus to human eyes, and the blue color has the largest stimulus, so in order to display softer and more realistic colors in the electronic device, the display effect of the color of the display screen needs to be optimized by adjusting the color so as not to make the color of the display screen too bright.
In the related art, adjustment is generally performed for full colors under the display screen color gamut.
In this way, the color of the display screen is color cast and distorted, and the display color effect of the display screen is affected.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present disclosure is to provide a display control method, apparatus, electronic device, storage medium and computer program product, which can effectively optimize color effect of a display screen, reduce distortion phenomenon in different color modes, and effectively improve the reduction degree of display colors of the display screen.
The display control method provided by the embodiment of the first aspect of the present disclosure includes: acquiring initial color information of a display screen; determining an initial occupancy value of the target type light ray in the initial color information; adjusting the initial color information according to the initial occupancy value to obtain target color information; and performing display control on the display screen according to the target color information.
In some embodiments of the present disclosure, obtaining initial color information of a display screen includes:
acquiring an initial display lookup table;
taking the initial node color in the initial display lookup table as initial color information;
Wherein determining the initial occupancy value of the target type light in the initial color information comprises:
determining an initial occupancy value of the target type light ray in the initial node color;
the method for adjusting the initial color information according to the initial occupancy value to obtain target color information comprises the following steps:
adjusting the initial node color according to the initial occupancy rate to obtain a target node color;
and generating a target display lookup table according to the target node color, wherein the target display lookup table is used as target color information.
In some embodiments of the present disclosure, the number of initial node colors is a plurality;
the method for adjusting the initial node color according to the initial occupancy rate to obtain the target node color comprises the following steps:
determining a first initial node color and a second initial node color from the plurality of initial node colors, wherein the initial duty ratio of the first initial node color is larger than a duty ratio threshold value, and the initial duty ratio of the second initial node color is smaller than or equal to the duty ratio threshold value;
adjusting the corresponding first initial node color according to the initial occupancy rate to obtain a first target node color;
wherein generating a target display look-up table according to the target node color comprises:
And generating a target display lookup table according to the first target node color and the second initial node color.
In some embodiments of the present disclosure, determining an initial occupancy value of a target type ray in an initial node color includes:
determining energy distribution information of various light rays in the initial node color;
determining the total spectral energy of various light rays according to the energy distribution information;
determining the light energy value of a target type light in a plurality of light rays;
the ratio between the light energy value and the total energy of the spectrum is taken as an initial occupation ratio.
In some embodiments of the present disclosure, adjusting the first initial node color according to the initial occupancy value to obtain a first target node color includes:
determining a target duty ratio according to the initial duty ratio;
determining adjustment information of the color of the first initial node according to the target occupancy rate;
and adjusting the first initial node color according to the adjustment information to obtain a first target node color, wherein the duty ratio of the target type light rays in the first target node color is a target duty ratio.
In some embodiments of the present disclosure, the first initial node color corresponds to an initial color space;
wherein, according to the target occupation ratio, determining the adjustment information of the first initial node color comprises:
Converting the first initial node color from an initial color space to a first color space to obtain a node color to be adjusted;
determining an initial adjustment value of a target color dimension corresponding to the node color to be adjusted, wherein the target color dimension is a color dimension in a first color space;
and performing calibration processing on the initial adjustment value according to the tone constraint condition to obtain a target adjustment value as adjustment information.
In some embodiments of the present disclosure, performing calibration processing on an initial adjustment value according to a tone constraint condition to obtain a target adjustment value as adjustment information, including:
determining an initial hue value for the first initial node color mapping into a second color space, the first color space and the second color space being different;
after the first initial node color is pre-adjusted based on the initial adjustment value is determined, the obtained adjusted node color is mapped to a target tone value in a second color space;
if the change degree between the target tone value and the initial tone value is larger than the tone change threshold value, performing calibration processing on the initial adjustment value to obtain a target adjustment value;
if the degree of change between the target tone value and the initial tone value is less than or equal to the tone change threshold value, the initial adjustment value is taken as the target adjustment value.
In some embodiments of the present disclosure, generating a target display look-up table from a first target node color and a second initial node color includes:
performing color temperature adjustment processing on the first target node color to obtain a first node color to be processed;
performing color temperature adjustment processing on the second initial node color to obtain a second node color to be processed;
determining first saturation information corresponding to the color of the first node to be processed, and determining second saturation information corresponding to the color of the second node to be processed;
performing weighted fusion processing on the first target node color and the first node color to be processed according to the first saturation information to obtain a first reference node color;
performing weighted fusion processing on the second initial node color and the second node color to be processed according to the second saturation information to obtain a second reference node color;
and generating a target display lookup table according to the first reference node color and the second reference node color.
According to the display control method provided by the embodiment of the first aspect of the disclosure, the initial occupation ratio of the target type light rays in the initial color information is determined by acquiring the initial color information of the display screen, the initial color information is adjusted according to the initial occupation ratio to obtain the target color information, the display control is performed on the display screen according to the target color information, and the initial color information is adjusted in an auxiliary manner according to the initial occupation ratio to obtain the target color information due to the fact that the initial occupation ratio of the target type light rays in the initial color information is determined, the target color information can be used for performing display control, the color effect of the display screen can be effectively optimized, distortion phenomena under different color modes are reduced, and the reduction degree of the display color of the display screen is effectively improved.
A display control apparatus according to an embodiment of a second aspect of the present disclosure includes: the acquisition module is used for acquiring initial color information of the display screen; the determining module is used for determining the initial occupation ratio of the target type light rays in the initial color information; the adjusting module is used for adjusting the initial color information according to the initial occupation ratio to obtain target color information; and the control module is used for performing display control on the display screen according to the target color information.
In some embodiments of the present disclosure, the obtaining module includes:
the acquisition sub-module is used for acquiring an initial display lookup table;
the processing sub-module is used for taking the initial node color in the initial display lookup table as initial color information;
the determining module is specifically configured to:
determining an initial occupancy value of the target type light ray in the initial node color;
wherein, adjustment module includes:
the adjustment sub-module is used for adjusting the initial node color according to the initial occupation ratio to obtain a target node color;
and the generating sub-module is used for generating a target display lookup table according to the target node color, wherein the target display lookup table is used as target color information.
In some embodiments of the present disclosure, the number of initial node colors is a plurality;
Wherein, adjust submodule, be used for specifically:
determining a first initial node color and a second initial node color from the plurality of initial node colors, wherein the initial duty ratio of the first initial node color is larger than a duty ratio threshold value, and the initial duty ratio of the second initial node color is smaller than or equal to the duty ratio threshold value;
adjusting the corresponding first initial node color according to the initial occupancy rate to obtain a first target node color;
the generating sub-module is specifically configured to:
and generating a target display lookup table according to the first target node color and the second initial node color.
In some embodiments of the present disclosure, the determining module is specifically configured to:
determining energy distribution information of various light rays in the initial node color;
determining the total spectral energy of various light rays according to the energy distribution information;
determining the light energy value of a target type light in a plurality of light rays;
the ratio between the light energy value and the total energy of the spectrum is taken as an initial occupation ratio.
In some embodiments of the present disclosure, the adjustment submodule is specifically configured to:
determining a target duty ratio according to the initial duty ratio;
determining adjustment information of the color of the first initial node according to the target occupancy rate;
And adjusting the first initial node color according to the adjustment information to obtain a first target node color, wherein the duty ratio of the target type light rays in the first target node color is a target duty ratio.
In some embodiments of the present disclosure, the first initial node color corresponds to an initial color space;
wherein, adjust submodule, be used for specifically:
converting the first initial node color from an initial color space to a first color space to obtain a node color to be adjusted;
determining an initial adjustment value of a target color dimension corresponding to the node color to be adjusted, wherein the target color dimension is a color dimension in a first color space;
and performing calibration processing on the initial adjustment value according to the tone constraint condition to obtain a target adjustment value as adjustment information.
In some embodiments of the present disclosure, the adjustment submodule is specifically configured to:
determining an initial hue value for the first initial node color mapping into a second color space, the first color space and the second color space being different;
after the first initial node color is pre-adjusted based on the initial adjustment value is determined, the obtained adjusted node color is mapped to a target tone value in a second color space;
If the change degree between the target tone value and the initial tone value is larger than the tone change threshold value, performing calibration processing on the initial adjustment value to obtain a target adjustment value;
if the degree of change between the target tone value and the initial tone value is less than or equal to the tone change threshold value, the initial adjustment value is taken as the target adjustment value.
In some embodiments of the present disclosure, the generating sub-module is specifically configured to:
performing color temperature adjustment processing on the first target node color to obtain a first node color to be processed;
performing color temperature adjustment processing on the second initial node color to obtain a second node color to be processed;
determining first saturation information corresponding to the color of the first node to be processed, and determining second saturation information corresponding to the color of the second node to be processed;
performing weighted fusion processing on the first target node color and the first node color to be processed according to the first saturation information to obtain a first reference node color;
performing weighted fusion processing on the second initial node color and the second node color to be processed according to the second saturation information to obtain a second reference node color;
and generating a target display lookup table according to the first reference node color and the second reference node color.
According to the display control device provided by the embodiment of the second aspect of the disclosure, the initial occupation ratio of the target type light rays in the initial color information is determined by acquiring the initial color information of the display screen, the initial color information is adjusted according to the initial occupation ratio to obtain the target color information, the display control is performed on the display screen according to the target color information, and the initial color information is adjusted in an auxiliary manner according to the initial occupation ratio to obtain the target color information due to the fact that the initial occupation ratio of the target type light rays in the initial color information is determined, the target color information can be used for performing display control, the color effect of the display screen can be effectively optimized, distortion phenomena under different color modes are reduced, and the reduction degree of the display color of the display screen is effectively improved.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the display control method of the first aspect embodiment of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the display control method of the embodiment of the first aspect of the present disclosure.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a display control method of an embodiment of the first aspect of the present disclosure.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a display control method according to an embodiment of the disclosure;
FIG. 2 is a flow chart of a display control method according to another embodiment of the disclosure;
FIG. 3 is a schematic diagram illustrating initial duty cycle calculation according to another embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a display control method according to another embodiment of the disclosure;
FIG. 5 is a flow chart illustrating a display control method according to another embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a display control device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural view of a display control apparatus according to another embodiment of the present disclosure;
fig. 8 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present disclosure and are not to be construed as limiting the present disclosure. On the contrary, the embodiments of the disclosure include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
Fig. 1 is a flowchart of a display control method according to an embodiment of the disclosure.
It should be noted that, the execution body of the display control method in this embodiment is a display control device, and the device may be implemented in a software and/or hardware manner, and the device may be configured in an electronic device, where the electronic device may include, but is not limited to, a terminal, a server, and the like.
Note that, the display screen in this embodiment may be, for example, a liquid crystal display screen, a semiconductor light emitting diode display screen, or the like, which is not limited thereto.
As shown in fig. 1, the display control method includes:
s101: and acquiring initial color information of the display screen.
The data information related to the corresponding color when the image is displayed on the display screen may be referred to as color information, where the color information may be, for example, information such as brightness, contrast, color number, etc. when the image is displayed on the display screen, which is not limited.
The color information of the display screen which is not processed by the color processing and the like can be called initial color information, and the initial color information can be color information of image data which is directly imaged on the display screen, or can be initial color information which is not processed by the color adjustment, the color correction and the like.
In some embodiments, when the initial color information is acquired, the color information adopted when the display screen is about to display or the color information adopted when the display screen is in progress is extracted, and the color information is taken as the initial color information.
In other embodiments, the initial color information may be obtained, or the image data may be identified and filtered, the image information corresponding to the display area in the image data may be extracted, the color information corresponding to the image information may be obtained, and the color information may be used as the initial color information, which is not limited thereto.
For example, in the display process of the display screen, color information adopted in the display process of the display screen may be extracted as initial color information, or image information to be displayed may be extracted, and the initial color information may be identified from the image information, which is not limited.
S102: an initial occupancy value of the target type of light in the initial color information is determined.
The light to be processed for color may be referred to as a target type light, and the target type light may be a light of a specific wavelength band, for example, a blue light or a red light of a specific wavelength band, etc., which may be used as the target type light, which is not limited thereto.
The ratio between the energy of the target type light ray and the total energy of the spectrum can be called an initial ratio, and the initial ratio can be used for measuring whether the target type light ray is a main energy component light ray in the initial node color.
In the embodiment of the disclosure, the initial ratio of the target type light in the initial color information may be determined by using a calculation method in image processing, or may be calculated based on the rhinestone eye-protection standard, or may be determined by using any other possible method, which is not limited thereto.
S103: and adjusting the initial color information according to the initial occupancy value to obtain target color information.
The color information generated by adjusting the initial color information may be referred to as target color information, and the target color information may be, for example, color information generated by filtering specific light, or may be obtained by replacing a corresponding color, which is not limited thereto.
In this embodiment of the present disclosure, a threshold value of an initial occupancy rate may be preset, when the initial occupancy rate is greater than the threshold value, it may indicate that the current initial color information does not meet the requirement, and may trigger adjustment of the current initial color information, or may also train a corresponding artificial intelligence model, use the artificial intelligence model in combination with the initial occupancy rate to adjust the initial color information to obtain target color information, or may also use any other possible manner to adjust the initial color information according to the initial occupancy rate to obtain target color information, which is not limited.
S104: and performing display control on the display screen according to the target color information.
In the embodiment of the disclosure, the display screen is controlled according to the target color information, for example, by adjusting a display value corresponding to the initial color information, for example, by adjusting a Red Green Blue (RGB) value corresponding to the representation color in the initial color information, and the display screen is controlled based on the Red Green Blue (RGB) value obtained by the adjustment.
In the embodiment of the disclosure, when the display screen is controlled according to the target color information, for example, the values representing the brightness, the contrast, etc. in the initial color information may be adjusted, and then the adjusted values representing the brightness, the contrast, etc. may be used to perform the display control, or any other possible implementation manner may be used to perform the display control on the display screen according to the target color information, which is not limited.
In this embodiment, the initial occupancy rate of the target type light in the initial color information is determined by acquiring the initial color information of the display screen, the initial color information is adjusted according to the initial occupancy rate to obtain the target color information, and the display control is performed on the display screen according to the target color information.
Fig. 2 is a flowchart of a display control method according to another embodiment of the disclosure.
As shown in fig. 2, the display control method includes:
s201: an initial display look-up table is obtained.
The display Look-Up Table of the display screen which is acquired in the initial stage of display control and is not subjected to color calibration can be called as an initial display Look-Up Table, namely a Look-Up Table (LUT), is essentially a random access memory (Random Access Memory, RAM), and can play a role in color space conversion for a display when the Look-Up Table is searched by inputting an address once every time a signal is input, and the content corresponding to the address is found and output.
Optionally, in the embodiment of the present disclosure, a three-dimensional (3D) display lookup table may be used as an initial display lookup table (3D LUT), and Red (Red), green (Green), and Blue (Blue) are combined to generate a three-dimensional Red Green Blue (RGB) color system, so as to implement color lookup and calibration in a three-dimensional color space.
In the embodiment of the disclosure, the initial display lookup table may be obtained by using an optical measuring instrument, or the initial display lookup table corresponding to the display color of the display screen may be obtained by testing after the production of the display screen is completed, and the display screens of different types may be initialized and configured with the same or different initial display lookup tables due to different materials, manufacturing processes, and the like, which is not limited.
S202: and taking the initial node color in the initial display lookup table as initial color information.
The color node included in the initial display lookup table may be referred to as an initial node color, where the initial node color may be an initial node color of n×n in the three-dimensional space, where n×n is a numerical representation of spectral distribution in visible spectrums such as red, green, and blue.
For example, an optical measurement instrument may be used to find a corresponding plurality of 9 x 9 initial node colors in the spectral distribution between 380nm and 780nm of the visible spectrum.
In the embodiment of the disclosure, the initial node color in the initial display lookup table may be used as initial color information, a three-dimensional RGB color system may be used to scan the initial display lookup table, and then determine the corresponding initial node color in the initial display lookup table, or a pre-trained artificial intelligent model may be used, and the initial node color in the initial display lookup table is obtained through model processing, and is used as initial color information, or any other possible implementation manner may be used to determine the initial node color included in the initial display lookup table, and the initial node color is used as initial color information, which is not limited.
S203: an initial occupancy value of the target type ray for the initial node color is determined.
In the embodiment of the disclosure, the initial occupancy rate of the target type light ray may be determined by using a calculation method in image processing, or the occupancy rate of the light energy of a specific wave band of each initial node color may be calculated based on the rhein eye protection standard, or the initial occupancy rate of the target type light ray may be determined by using any other possible method, which is not limited.
Optionally, when determining the initial duty ratio of the target type light ray of the initial node color, the embodiment of the disclosure may determine energy distribution information of multiple light rays in the initial node color, determine total spectral energy of the multiple light rays according to the energy distribution information, then determine light energy values of the target type light rays in the multiple light rays, and use the ratio between the light energy values and the total spectral energy as the initial duty ratio.
For example, the wavelength band of the harmful blue light is between 415nm and 455nm, the blue light wavelength band between 415nm and 455nm may be used as the target type light, the wavelength band between 380nm and 780nm is used as the whole wavelength band covered by the visible light corresponding to the initial node color, and the initial ratio is determined by calculating the ratio of the light energy value of the harmful blue light wavelength band between 415nm and 455nm to the total spectral energy of the whole wavelength band covered by the visible light between 380nm and 780nm, as shown in the following formula:
Figure BDA0003422059870000121
Wherein Ratio is blue For the case where the light energy value of the harmful blue light band (i.e. the target type of light) is in the proportion of the total energy of the spectrum (i.e. the initial ratio), E j For the light energy value of the harmful blue light band, E i As shown in fig. 3, fig. 3 is a schematic diagram illustrating calculation of an initial occupancy rate according to another embodiment of the present disclosure, if the initial occupancy rate is lower than 50%, it is possible to reduce damage to eyes and achieve an eye protection function, when it is determined that the initial occupancy rate is greater than or equal to 40.55%, the initial node color is triggered to be adjusted according to the initial occupancy rate, so as to obtain a target node color.
S204: and adjusting the initial node color according to the initial occupancy rate to obtain the target node color.
The node color generated by adjusting the initial node color may be referred to as a target node color, and the target node color may be, for example, a node color generated by filtering a specific light ray, or may be a target node color obtained by replacing a corresponding color, which is not limited.
In the embodiment of the disclosure, a threshold value of an initial occupation ratio may be preset, when the initial occupation ratio is greater than the threshold value, it may be indicated that the current initial node color does not meet the requirement, the adjustment of the current initial node color may be triggered, or a corresponding artificial intelligent model may also be trained, the initial node color is processed by using the artificial intelligent model to obtain the target node color, or the initial node color may also be adjusted according to the initial occupation ratio by adopting any other possible manner, so as to obtain the target node color, which is not limited.
S205: and generating a target display lookup table according to the target node color, wherein the target display lookup table is used as target color information.
The target node color is used as a calibration color to perform color adjustment on an initial display lookup table, the generated display lookup table can be called a target display lookup table, and the display condition of the display screen can be controlled through the target display lookup table so as to obtain a required display effect.
In the embodiment of the disclosure, the target node color is used as a color node in the display lookup table, and the target lookup table corresponding to the target node color can be obtained by adjusting the RGB value of the initial node color in the initial display lookup table, or a new display lookup table can be rebuilt according to the adjusted target node color to be used as the target lookup table for display control, which is not limited.
In this embodiment, an initial node color in an initial display lookup table is taken as initial color information, an initial occupancy rate of a target type light ray of the initial node color is determined, the initial node color is adjusted according to the initial occupancy rate to obtain a target node color, and a target display lookup table is generated according to the target node color, wherein the target display lookup table is taken as target color information, and the initial display lookup table is assisted to be optimized according to the initial occupancy rate to obtain the target display lookup table, and the target display lookup table can be taken as target color information, so that the initial node color in the display lookup table can be taken as data information corresponding to color adjustment, and the accuracy of initial color information adjustment is effectively improved.
Fig. 4 is a flowchart of a display control method according to another embodiment of the disclosure.
As shown in fig. 4, the display control method includes:
s401: and acquiring initial color information of the display screen.
S402: an initial occupancy value of the target type of light in the initial color information is determined.
The descriptions of S401 to S402 may be specifically referred to the above embodiments, and are not repeated herein.
S403: and determining a first initial node color and a second initial node color from the plurality of initial node colors, wherein the initial duty ratio of the first initial node color is larger than a duty ratio threshold value, and the initial duty ratio of the second initial node color is smaller than or equal to the duty ratio threshold value.
The threshold value of the preset initial duty ratio may be referred to as a duty ratio threshold value, the duty ratio threshold value may be used to describe a threshold value of an energy duty ratio of the target type light ray in the initial node color, when the threshold value is greater than the duty ratio threshold value, the ratio of the light ray energy value of the target type light ray in the total energy of the spectrum may exceed a preset value, at this time, the initial node color corresponding to the target type light ray may be referred to as a first initial node color, when the threshold value is less than or equal to the duty ratio threshold value, the ratio of the light ray energy value of the target type light ray in the total energy of the spectrum may not exceed a preset value, at this time, the initial node color corresponding to the target type light ray may be referred to as a second initial node color.
For example, the threshold may be set to 50% and the initial node color may be represented as a first initial node color when the initial ratio is greater than 50% and may be represented as a second initial node color when the initial node color is less than 50% to assist in achieving a subsequent targeted color optimization process.
In the embodiment of the disclosure, a pre-trained initial node color prediction model may be used to predict whether the initial node color is greater than the duty ratio threshold, or a model or a device for detecting the duty ratio threshold may be added to the energy detection device, so as to predict whether the initial node color is greater than the duty ratio threshold, which is not limited.
For example, when the target type light is harmful blue light with wavelength of 415-455nm, the preset duty ratio threshold is 50%, the blue light prediction model covering 17 x 17 d LUT full nodes can be trained and formed, according to the initial duty ratio of the energy of the harmful blue light band in the initial node color predicted by the model, determining whether the initial proportion of the energy of the harmful blue light wave band is higher than 50%, if so, the energy can be expressed as high blue light color (first initial node color), and if so, the energy can be expressed as low blue light color (second initial node color), and if so, the energy can be expressed as low blue light color, and if the energy is lower than 50%, the energy can be expressed as high blue light color, and the energy can be expressed as low blue light color.
In the embodiment of the present disclosure, different processing manners may be set for different initial node color types, and specifically, reference may be made to the subsequent embodiments.
S404: and adjusting the corresponding first initial node color according to the initial occupancy rate to obtain a first target node color.
The adjusted initial node color may be referred to as a first target node color, and the first target node color may be obtained after node color adjustment is performed on the first initial node color.
In the embodiment of the disclosure, the first initial node color and the second initial node color can be determined according to the initial duty ratio and the duty ratio threshold, and then the corresponding target type light rays in the first initial node color are adjusted, so that the duty ratio of the adjusted first target node color is lower than the duty ratio threshold.
S405: and generating a target display lookup table according to the first target node color and the second initial node color.
The first target node color and the second initial node color perform color correction on an initial display lookup table, and the generated corrected display lookup table may be referred to as a target display lookup table, which may be used to control the displayed colors.
In the embodiment of the disclosure, the first target node color may be used as a replacement of the first initial node color in the initial display lookup table, the initial display lookup table may be updated to generate the target display lookup table, or the second initial node color may be extracted, and the first target node color are combined according to the region corresponding to the display screen to generate a new display lookup table, so as to be used as the target display lookup table, or the first initial node color and the second initial node color may be processed according to the related data of the first target node color, so as to obtain the processed display lookup table, so as to be used as the target display lookup table, which is not limited.
Optionally, in the embodiment of the present disclosure, when the target display lookup table is generated according to the first target node color and the second initial node color, the color temperature adjustment processing may be performed on the first target node color to obtain a first node color to be processed, the color temperature adjustment processing may be performed on the second initial node color to obtain a second node color to be processed, then the first saturation information corresponding to the first node color to be processed is determined, the second saturation information corresponding to the second node color to be processed is determined, the weighted fusion processing is performed on the first target node color and the first node color to be processed according to the first saturation information to obtain a first reference node color, the weighted fusion processing is performed on the second initial node color and the second node color to be processed according to the second saturation information to obtain a second reference node color, and then the target display lookup table is generated according to the first reference node color and the second reference node color.
The node color generated by performing the color temperature adjustment processing on the first target node color may be referred to as a first node color to be processed, the node color generated by performing the color temperature adjustment processing on the second target node color may be referred to as a second node color to be processed, and the color temperatures of the first node color to be processed and the second node color to be processed may be adjusted to be consistent, or may also be set according to actual needs, which is not limited.
The saturation information corresponding to the color of the first node to be processed may be referred to as first saturation information, the saturation information corresponding to the color of the second node to be processed may be referred to as second saturation information, and the first saturation information and the second saturation information may be the same or different, which is not limited.
The first target node color and the first node color to be processed are processed according to the first saturation information, the generated node color can be called a first reference node color, the second initial node color and the second node color to be processed are weighted and fused according to the second saturation information, the generated node color can be called a second reference node color, and then the first reference node color and the second reference node color can be fused to generate the target display lookup table.
In the embodiment of the disclosure, when the color temperature is adjusted to obtain the first node color to be processed and the second node color to be processed, the color temperature mapping matrix may be used to map the first target node color and the second target node color from the current color temperature to the color temperature of the display requirement, where the color temperature mapping matrix may be as follows:
Figure BDA0003422059870000161
wherein a is ij (i=1, 2, 3..n; j=1, 2, 3..n) is the matrix base, R 0 ,G 0 ,B 0 R is the RGB value of the current color temperature of the first target node color or the second target node color 1 ,G 1 ,B 1 RGB values for the color temperature after mapping for the first target node color or the second target node color.
In the embodiment of the disclosure, a weight W is formed according to a saturation S of a current first node color to be processed and a second node color to be processed in a hue, saturation, brightness (Hue Saturation Value, HSV) space, a first target node color and the first node color to be processed are subjected to weighted fusion processing according to first saturation information to obtain a first reference node color, and a second initial node color and the second node color to be processed are subjected to weighted fusion processing according to second saturation information to obtain a second reference node color, so that:
W=S
Figure BDA0003422059870000171
wherein R is 3 ,G 3 ,B 3 And obtaining the node color required by the target display lookup table through weighted fusion for the RGB value of the first reference node color or the second reference node color after weighted fusion.
In this embodiment, an initial occupancy rate of the target type light in the initial color information is determined, and the initial display lookup table is optimized in an auxiliary manner according to the initial occupancy rate to obtain a target display lookup table, where the target display lookup table can be used for performing display control, so that a color effect of a display screen can be effectively optimized, distortion phenomena in different color modes can be reduced, and a reduction degree of display colors of the display screen can be effectively improved. The method comprises the steps of obtaining initial color information of a display screen, determining an initial ratio of target type light rays in the initial color information, determining a first initial node color and a second initial node color from a plurality of initial node colors, wherein the initial ratio of the first initial node color is larger than a duty ratio threshold, the initial ratio of the second initial node color is smaller than or equal to the duty ratio threshold, adjusting the corresponding first initial node color according to the initial ratio to obtain the first target node color, generating a target display lookup table according to the first target node color and the second initial node color, and comparing the initial ratio with the duty ratio threshold to identify partial first initial node color from the plurality of initial node colors and support adjustment of partial first initial node color to obtain the first target node color.
Fig. 5 is a flowchart illustrating a display control method according to another embodiment of the disclosure.
As shown in fig. 5, the display control method includes:
s501: and acquiring initial color information of the display screen.
S502: an initial occupancy value of the target type of light in the initial color information is determined.
S503: and determining a first initial node color and a second initial node color from the plurality of initial node colors, wherein the initial duty ratio of the first initial node color is larger than a duty ratio threshold value, and the initial duty ratio of the second initial node color is smaller than or equal to the duty ratio threshold value.
The descriptions of S501-S503 may be specifically referred to the above embodiments, and are not repeated herein.
S504: and determining a target duty ratio according to the initial duty ratio.
The ratio of the energy of the target type light ray which is preset and can enable the color display effect to reach the standard to the total energy of the spectrum can be called a target ratio, and the target ratio can be used as an index reference when the initial ratio is adjusted.
For example, the duty ratio threshold value 50% may be selected as the target duty ratio, 40% may be selected as the target duty ratio according to actual situations, and half of the numerical value 30% may be selected as the target duty ratio according to the initial duty ratio 60%.
S505: converting the first initial node color from the initial color space to the first color space to obtain the node color to be adjusted.
The RGB color space generated by overlapping the three basic colors of R (Red), G (Green), and B (Blue) to different degrees may be referred to as an initial color space, a first initial node color corresponds to the initial color space, a color-opposite (Lab) space generated based on luminance (L), a color-opposite dimension (representing a component a from Green to Red, and a component B from Blue to yellow) may be referred to as a first color space, the first color space may be used to adjust basic data such as luminance in the initial node color, a node color of the first color space generated by converting the first initial node color from the initial color space to the first color space may be referred to as a node color to be adjusted, and a display effect of the display screen may be controlled by adjusting a value of L, A, B in the node color to be adjusted.
In the embodiment of the disclosure, the first initial node color may be transferred from the RGB color space to the LAB color space, and the node color to be adjusted is obtained through conversion, and in the first color space, the node color to be adjusted is adjusted by adjusting the brightness (L) of the node color to be adjusted, the values of the component (a) representing the color from green to red, the component (B) representing the color from blue to yellow, and the like, which may be seen in the subsequent embodiment.
S506: an initial adjustment value of a target color dimension corresponding to a node color to be adjusted is determined, wherein the target color dimension is a color dimension in a first color space.
The value to be adjusted for the node color may be referred to as an initial adjustment value, where the initial adjustment value is a value of a target color dimension, and the color dimension corresponding to the first color space may be referred to as a target color dimension, where the target color dimension may be a luminance (L) dimension, a color dimension corresponding to a component (a) representing green to red, and a color dimension corresponding to a component (B) representing blue to yellow, when the first color space is a LAB color space, without limitation.
In the embodiment of the disclosure, the color dimension is adjusted to generate a corresponding initial adjustment value, which may be that a value in a specific target color dimension is selected as a reference value (L, A, B reference value) according to actual requirements, and the initial adjustment value is obtained according to a difference between the mapped value of the first color space and a preset reference value, or a specific initial adjustment value for reference is set, and the mapped value of the first color space is uniformly adjusted, or a color dimension to be adjusted is selected according to a characteristic of the first initial node color before color space conversion, and the corresponding initial adjustment value is determined, which is not limited.
For example, a high blue color node is transferred from an RGB color space to an LAB color space, and the B value is adjusted according to the characteristic of yellow or blue shift of the blue component B dimension control in the LAB space, so as to obtain an initial adjustment value to be adjusted.
S507: and performing calibration processing on the initial adjustment value according to the tone constraint condition to obtain a target adjustment value as adjustment information.
The preset condition of restricting the color tone of the node to be adjusted may be referred to as a tone restriction condition, where the tone restriction condition may be a threshold value of restricting the duty ratio of the target type light of the specific wavelength, or may also be information of restricting the overall brightness, contrast ratio, and the like of the display screen, which is not limited.
And checking whether the initial adjustment value meets the tone constraint condition, if so, the initial adjustment value meeting the tone constraint condition can be called a target adjustment value, and if not, the initial adjustment value can be selected to be subjected to calibration until the tone constraint condition is met, and the calibrated adjustment value is taken as the target adjustment value.
In the embodiment of the disclosure, the initial adjustment value is calibrated according to the tone constraint condition, which may be that the tone constraint condition is preset, the initial occupation ratio is calibrated until the tone constraint condition is met, or that a space vector three-dimensional map of the first color space is built, and the tone constraint condition is used as a constraint line or a constraint range in the space vector three-dimensional map, so as to adjust the initial adjustment value, or any other possible implementation manner is used, which is not limited.
Optionally, determining that the first initial node color maps to an initial hue value in a second color space, the first color space and the second color space being different; after the first initial node color is pre-adjusted based on the initial adjustment value is determined, the obtained adjusted node color is mapped to a target tone value in a second color space; if the change degree between the target tone value and the initial tone value is larger than the tone change threshold value, performing calibration processing on the initial adjustment value to obtain a target adjustment value; if the change degree between the target tone value and the initial tone value is smaller than or equal to the tone change threshold value, the initial adjustment value is used as the target adjustment value, the effect of adjustment processing can be enhanced due to the fact that the second color space is used for carrying out pre-adjustment on the first initial node color, the influence of tone factors on the color display effect is effectively reduced, and the accuracy of color adjustment can be improved due to the fact that the tone change threshold value is used as the basis of calibration processing carried out by the initial adjustment value.
The (Hue Saturation Value, HSV) space consisting of hue, saturation, and brightness may be referred to as a second color space in which hue (H), saturation (S), and brightness (V) may be adjusted as numerical values.
Wherein the tone value of the first initial node color mapping into the second color space may be referred to as an initial tone value and the generated adjusted tone value may be referred to as a target tone value.
The threshold value of the degree of change between the target tone value and the initial tone value, which is set in advance, may be referred to as a tone change threshold value, and the tone change threshold value may be used as a basis for determining whether to continue the calibration process of the initial adjustment value.
In the embodiment of the disclosure, the first initial node color may be mapped to the second color space, so as to obtain a hue (H), saturation (S), brightness (V) and other values of the first initial node color corresponding to the second color space, and adjust the hue, saturation, brightness and other values, so as to obtain the target adjustment value.
In the embodiment of the disclosure, whether the initial adjustment value needs to be calibrated or not can be judged according to the tone change threshold, if the change degree between the target tone value and the initial tone value is greater than the tone change threshold, the difference between the target tone value and the initial tone value can be obvious, and then the initial adjustment value can be calibrated or fine-adjusted to obtain the target adjustment value; if the degree of change between the target tone value and the initial tone value is less than or equal to the tone change threshold value, it may be indicated that the difference between the target tone value and the initial tone value is not significant, and the initial adjustment value may be regarded as the target adjustment value.
For example, the initial node color of Gao Languang is transferred from the RGB color space to the LAB color space, the B value is adjusted according to the characteristic of yellow or blue color control of the B dimension in the LAB space, then the change of the hue H before and after adjustment is judged to be obvious under the HSV space, if the change of the hue H before and after adjustment is too large, the adjustment amplitude of the B under the LAB space is reduced, if the change of the hue H before and after adjustment is tiny, the hue H is transferred back to the RGB color space again, so that the prediction model judges whether the target occupancy value can be reached, and if the target occupancy value is not reached, the B value can be adjusted under the LAB space continuously.
S508: and adjusting the first initial node color according to the adjustment information to obtain a first target node color, wherein the duty ratio of the target type light rays in the first target node color is a target duty ratio.
In the embodiment of the disclosure, according to adjustment information corresponding to a target adjustment value, the first initial node color is adjusted to generate a target node color, the adjustment information may be information of hue, space dimension, contrast, and the like, and by adjusting the first initial node color, a duty ratio of a target type light ray in the first target node color may be determined, and the duty ratio may be smaller than or equal to a duty ratio threshold value by using the duty ratio as the target duty ratio.
S509: and generating a target display lookup table according to the first target node color and the second initial node color.
The description of S509 may be specifically referred to the above embodiments, and will not be repeated here.
In this embodiment, since the initial occupancy rate of the target type light in the initial color information is determined, and the initial display lookup table is optimized in an auxiliary manner according to the initial occupancy rate, so as to obtain the target display lookup table, the target display lookup table can be used for performing display control, so that the color effect of the display screen can be effectively optimized, distortion phenomena in different color modes can be reduced, and the reduction degree of the display color of the display screen can be effectively improved. The method comprises the steps of obtaining initial color information of a display screen, determining an initial ratio of target type light rays in the initial color information, determining a first initial node color and a second initial node color from a plurality of initial node colors, determining the target ratio according to the initial ratio, converting the first initial node color from an initial color space to a first color space to obtain node colors to be adjusted, determining an initial adjustment value of a target color dimension corresponding to the node colors to be adjusted, wherein the target color dimension is the color dimension in the first color space, performing calibration processing on the initial adjustment value according to a tone constraint condition to obtain the target adjustment value as adjustment information, adjusting the first initial node color according to the adjustment information to obtain the first target node color, and generating a target display lookup table according to the first target node color and the second initial node color.
Fig. 6 is a schematic structural diagram of a display control device according to an embodiment of the present disclosure.
As shown in fig. 6, the display control apparatus 60 includes:
an obtaining module 601, configured to obtain initial color information of a display screen;
a determining module 602, configured to determine an initial occupancy value of the target type light in the initial color information;
the adjusting module 603 is configured to adjust the initial color information according to the initial occupancy value to obtain target color information;
and the control module 604 is used for performing display control on the display screen according to the target color information.
In some embodiments of the present disclosure, as shown in fig. 7, fig. 7 is a schematic structural diagram of a display control device according to another embodiment of the present disclosure, and the obtaining module 601 includes:
an acquisition submodule 6011 for acquiring an initial display lookup table;
a processing submodule 6012, configured to take an initial node color in the initial display lookup table as initial color information;
the determining module 602 is specifically configured to:
determining an initial occupancy value of the target type light ray in the initial node color;
wherein, the adjustment module 603 includes:
an adjustment submodule 6031 for adjusting the initial node color according to the initial occupancy value to obtain a target node color;
A generating submodule 6032 is configured to generate a target display lookup table according to the target node color, where the target display lookup table is used as target color information.
In some embodiments of the present disclosure, as shown in fig. 7, the number of initial node colors is a plurality;
the adjusting submodule 6031 is specifically configured to:
determining a first initial node color and a second initial node color from the plurality of initial node colors, wherein the initial duty ratio of the first initial node color is larger than a duty ratio threshold value, and the initial duty ratio of the second initial node color is smaller than or equal to the duty ratio threshold value;
adjusting the corresponding first initial node color according to the initial occupancy rate to obtain a first target node color;
the generating sub-module 6032 is specifically configured to:
and generating a target display lookup table according to the first target node color and the second initial node color.
In some embodiments of the present disclosure, as shown in fig. 7, the determining module 602 is specifically configured to:
determining energy distribution information of various light rays in the initial node color;
determining the total spectral energy of various light rays according to the energy distribution information;
determining the light energy value of a target type light in a plurality of light rays;
The ratio between the light energy value and the total energy of the spectrum is taken as an initial occupation ratio.
In some embodiments of the present disclosure, as shown in fig. 7, the adjustment submodule 6031 is specifically configured to:
determining a target duty ratio according to the initial duty ratio;
determining adjustment information of the color of the first initial node according to the target occupancy rate;
and adjusting the first initial node color according to the adjustment information to obtain a first target node color, wherein the duty ratio of the target type light rays in the first target node color is a target duty ratio.
In some embodiments of the present disclosure, as shown in fig. 7, the first initial node color corresponds to an initial color space;
the adjusting submodule 6031 is specifically configured to:
converting the first initial node color from an initial color space to a first color space to obtain a node color to be adjusted;
determining an initial adjustment value of a target color dimension corresponding to the node color to be adjusted, wherein the target color dimension is a color dimension in a first color space;
and performing calibration processing on the initial adjustment value according to the tone constraint condition to obtain a target adjustment value as adjustment information.
In some embodiments of the present disclosure, as shown in fig. 7, the adjustment submodule 6031 is specifically configured to:
Determining an initial hue value for the first initial node color mapping into a second color space, the first color space and the second color space being different;
after the first initial node color is pre-adjusted based on the initial adjustment value is determined, the obtained adjusted node color is mapped to a target tone value in a second color space;
if the change degree between the target tone value and the initial tone value is larger than the tone change threshold value, performing calibration processing on the initial adjustment value to obtain a target adjustment value;
if the degree of change between the target tone value and the initial tone value is less than or equal to the tone change threshold value, the initial adjustment value is taken as the target adjustment value.
In some embodiments of the present disclosure, as shown in fig. 7, a generation submodule 6032 is specifically configured to:
performing color temperature adjustment processing on the first target node color to obtain a first node color to be processed;
performing color temperature adjustment processing on the second initial node color to obtain a second node color to be processed;
determining first saturation information corresponding to the color of the first node to be processed, and determining second saturation information corresponding to the color of the second node to be processed;
performing weighted fusion processing on the first target node color and the first node color to be processed according to the first saturation information to obtain a first reference node color;
Performing weighted fusion processing on the second initial node color and the second node color to be processed according to the second saturation information to obtain a second reference node color;
and generating a target display lookup table according to the first reference node color and the second reference node color.
Corresponding to the display control method provided by the embodiments of fig. 1 to 5, the present disclosure also provides a display control device, and since the display control device provided by the embodiments of the present disclosure corresponds to the display control method provided by the embodiments of fig. 1 to 5, the implementation of the display control method is also applicable to the display control device provided by the embodiments of the present disclosure, and will not be described in detail in the embodiments of the present disclosure.
In this embodiment, the initial occupancy rate of the target type light in the initial color information is determined by acquiring the initial color information of the display screen, the initial color information is adjusted according to the initial occupancy rate to obtain the target color information, and the display control is performed on the display screen according to the target color information.
In order to implement the above-described embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a display control method as proposed in the foregoing embodiments of the present disclosure.
In order to achieve the above embodiments, the present disclosure further proposes an electronic device including: the display control method according to the foregoing embodiments of the present disclosure is implemented when the processor executes the program.
In order to implement the above-described embodiments, the present disclosure also proposes a computer program product which, when executed by an instruction processor in the computer program product, performs a display control method as proposed in the foregoing embodiments of the present disclosure.
Fig. 8 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 8, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16. Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnection; hereinafter PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive").
Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a compact disk read only memory (Compact Disc Read Only Memory; hereinafter CD-ROM), digital versatile read only optical disk (Digital Video Disc Read Only Memory; hereinafter DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks, such as a local area network (Local Area Network; hereinafter: LAN), a wide area network (Wide Area Net work; hereinafter: WAN) and/or a public network, such as the Internet, via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the display control method mentioned in the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that in the description of the present disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (11)

1. A display control method, characterized by comprising:
acquiring initial color information of a display screen;
determining an initial occupancy value of the target type light ray in the initial color information;
adjusting the initial color information according to the initial occupancy value to obtain target color information;
and performing display control on the display screen according to the target color information.
2. The method of claim 1, wherein the obtaining initial color information for the display screen comprises:
acquiring an initial display lookup table;
taking the initial node color in the initial display lookup table as the initial color information;
wherein, the determining the initial occupancy value of the target type light in the initial color information includes:
determining an initial occupancy value of the target type light ray in the initial node color;
wherein the adjusting the initial color information according to the initial occupancy value to obtain target color information includes:
Adjusting the initial node color according to the initial occupancy rate to obtain a target node color;
and generating a target display lookup table according to the target node color, wherein the target display lookup table is used as the target color information.
3. The method of claim 2, wherein the number of initial node colors is a plurality;
the adjusting the initial node color according to the initial occupancy value to obtain a target node color includes:
determining a first initial node color and a second initial node color from among a plurality of initial node colors, wherein the initial duty ratio of the first initial node color is greater than a duty ratio threshold value, and the initial duty ratio of the second initial node color is less than or equal to the duty ratio threshold value;
adjusting the corresponding first initial node color according to the initial occupancy rate to obtain a first target node color;
wherein the generating a target display lookup table according to the target node color includes:
and generating the target display lookup table according to the first target node color and the second initial node color.
4. The method of claim 2, wherein said determining an initial occupancy value for a target type of ray in the initial node color comprises:
determining energy distribution information of various light rays in the initial node color;
determining the total spectral energy of the plurality of light rays according to the energy distribution information;
determining a ray energy value of the target type of ray in the plurality of rays;
the ratio between the light energy value and the total energy of the spectrum is taken as the initial occupying ratio.
5. The method of claim 3, wherein said adjusting said first initial node color based on said initial occupancy value to obtain a first target node color comprises:
determining a target duty ratio according to the initial duty ratio;
determining the adjustment information of the first initial node color according to the target occupancy rate;
and adjusting the first initial node color according to the adjustment information to obtain the first target node color, wherein the duty ratio of the target type light rays in the first target node color is the target duty ratio.
6. The method of claim 5, wherein the first initial node color corresponds to an initial color space;
Wherein, the determining, according to the target occupancy value, the adjustment information of the first initial node color includes:
converting the first initial node color from the initial color space to a first color space to obtain a node color to be adjusted;
determining an initial adjustment value of a target color dimension corresponding to the node color to be adjusted, wherein the target color dimension is a color dimension in the first color space;
and carrying out calibration processing on the initial adjustment value according to the tone constraint condition to obtain a target adjustment value as the adjustment information.
7. The method of claim 6, wherein the calibrating the initial adjustment value according to the tone constraint to obtain a target adjustment value as the adjustment information includes:
determining an initial hue value for the first initial node color mapping into a second color space, the first color space and the second color space being different;
after the first initial node color is pre-adjusted based on the initial adjustment value is determined, the obtained adjusted node color is mapped to a target tone value in the second color space;
If the change degree between the target tone value and the initial tone value is larger than a tone change threshold value, performing calibration processing on the initial adjustment value to obtain the target adjustment value;
and if the degree of change between the target tone value and the initial tone value is less than or equal to the tone change threshold value, taking the initial adjustment value as the target adjustment value.
8. The method of claim 3, wherein the generating the target display look-up table from the first target node color and the second initial node color comprises:
performing color temperature adjustment processing on the first target node color to obtain a first node color to be processed;
performing color temperature adjustment processing on the second initial node color to obtain a second node color to be processed;
determining first saturation information corresponding to the color of the first node to be processed, and determining second saturation information corresponding to the color of the second node to be processed;
performing weighted fusion processing on the first target node color and the first node color to be processed according to the first saturation information to obtain a first reference node color;
Performing weighted fusion processing on the second initial node color and the second node color to be processed according to the second saturation information to obtain a second reference node color;
and generating the target display lookup table according to the first reference node color and the second reference node color.
9. A display control apparatus, comprising:
the acquisition module is used for acquiring initial color information of the display screen;
the determining module is used for determining the initial occupation ratio of the target type light rays in the initial color information;
the adjustment module is used for adjusting the initial color information according to the initial occupancy value so as to obtain target color information;
and the control module is used for performing display control on the display screen according to the target color information.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the display control method of any one of claims 1-8.
11. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the display control method according to any one of claims 1 to 8.
CN202111566720.0A 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and storage medium Pending CN116309886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111566720.0A CN116309886A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111566720.0A CN116309886A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116309886A true CN116309886A (en) 2023-06-23

Family

ID=86829188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111566720.0A Pending CN116309886A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116309886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117524072A (en) * 2024-01-03 2024-02-06 深圳市尊正数字视频有限公司 Real-time color correction method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117524072A (en) * 2024-01-03 2024-02-06 深圳市尊正数字视频有限公司 Real-time color correction method and system
CN117524072B (en) * 2024-01-03 2024-03-19 深圳市尊正数字视频有限公司 Real-time color correction method and system

Similar Documents

Publication Publication Date Title
CN107945729B (en) Conversion method and circuit, display device and driving method and circuit, and storage medium
CN108877736B (en) Compensation method and device for eliminating uneven screen brightness
JP5430068B2 (en) Display device
JP6614859B2 (en) Display device, display device control method, image processing device, program, and recording medium
US7983506B2 (en) Method, medium and system processing image signals
CN111429827B (en) Display screen color calibration method and device, electronic equipment and readable storage medium
CN111326099B (en) Display correction method, device and system, storage medium and display system
JP4651647B2 (en) Method and apparatus for finding a new color temperature point
CN113516939B (en) Brightness correction method and device, display equipment, computing equipment and storage medium
US20180040307A1 (en) Steady color presentation manager
JPWO2008133195A1 (en) Image quality adjustment capability measurement method, apparatus and program, and image quality adjustment method, apparatus and program
JP2015158626A (en) Calibration device, calibration method and program
CN114981873A (en) Gamma correction method and device, electronic device and readable storage medium
CN112599088A (en) Screen light leakage and ambient light detection method, chip, terminal and storage medium
JP2006332908A (en) Color image display apparatus, color image display method, program, and recording medium
JPWO2018235372A1 (en) Image display device
CN116309886A (en) Display control method, display control device, electronic equipment and storage medium
WO2019004701A1 (en) Method for processing image, and display device
CN107369138B (en) Image optimization display method based on high-order statistical model
JP2020118783A (en) Ambient light correction method
CN114930381A (en) Image processing method, image processing device, electronic equipment and storage medium
US11763777B2 (en) Image display device, image display system, image display method, and computer program for providing a low-luminance grayscale standard display function (GSDF) display
CN114170960B (en) Custom Gamma correction method for silicon-based OLED micro-display screen
KR20100032618A (en) Method and apparatus for correcting white balance
CN113611249B (en) Method and system for reducing IR-drop influence of AMOLED panel

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