CN112905141A - Screen display method and device and computer storage medium - Google Patents

Screen display method and device and computer storage medium Download PDF

Info

Publication number
CN112905141A
CN112905141A CN201911229407.0A CN201911229407A CN112905141A CN 112905141 A CN112905141 A CN 112905141A CN 201911229407 A CN201911229407 A CN 201911229407A CN 112905141 A CN112905141 A CN 112905141A
Authority
CN
China
Prior art keywords
target
color
determining
screen
color temperature
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.)
Granted
Application number
CN201911229407.0A
Other languages
Chinese (zh)
Other versions
CN112905141B (en
Inventor
翟东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201911229407.0A priority Critical patent/CN112905141B/en
Publication of CN112905141A publication Critical patent/CN112905141A/en
Application granted granted Critical
Publication of CN112905141B publication Critical patent/CN112905141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to a screen display method and device and a computer storage medium, belonging to the technical field of computers; wherein the method comprises the following steps: acquiring the ambient light color temperature of a screen; determining a target color temperature of the screen according to the ambient light color temperature; determining a target red, green and blue (RGB) value of each pixel point in the image to be displayed according to the target color temperature; and displaying the image to be displayed according to the target RGB value corresponding to each pixel point.

Description

Screen display method and device and computer storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a screen display method and apparatus, and a computer storage medium.
Background
At present, some electronic devices support an eye protection mode, and the white point coordinates of a screen are adjusted by changing the proportion of red, green and blue in a display screen, so that the eye protection mode with a paper-like effect is realized. However, the red, green and blue are proportionally adjusted for each color, and the eye protection mode often has the problem of color distortion of the screen display.
Disclosure of Invention
The disclosure provides a screen display method and device and a computer storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a screen display method, the method including:
acquiring the ambient light color temperature of a screen;
determining a target color temperature of the screen according to the ambient light color temperature;
determining a target Red Green Blue (RGB) value of each pixel point in the image to be displayed according to the target color temperature;
and displaying the image to be displayed according to the target RGB value corresponding to each pixel point.
In the above scheme, the determining the target color temperature of the screen according to the color temperature of the ambient light includes:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
In the foregoing solution, the determining a target RGB value of each pixel point in an image to be displayed according to the target color temperature includes:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
In the foregoing solution, the determining a target transformation matrix according to the target color temperature includes:
determining a color conversion matrix based on a color adaptation matrix, wherein the color adaptation matrix comprises at least one of a first type element, a second type element and a third type element, wherein the first type element represents a component of R under a dominant color system in G or B, the second type element represents a component of G under the dominant color system in R or B, and the third type element represents a component of B under the dominant color system in G or R;
determining a first conversion matrix for color space conversion from RGB to International Commission on illumination (CIE) XYZ and a second conversion matrix for color space conversion from CIE XYZ to RGB using a color space where the screen operates;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
In the foregoing solution, the determining a color conversion matrix based on a color adaptation matrix includes:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen display device, the device including:
a detection module configured to acquire an ambient light color temperature of a screen;
a first determination module configured to determine a target color temperature of the screen according to the ambient light color temperature;
the second determination module is configured to determine a target RGB value of each pixel point in the image to be displayed according to the target color temperature;
and the display control module is configured to display the image to be displayed according to the target RGB value corresponding to each pixel point.
In the foregoing solution, the first determining module is configured to:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
In the foregoing solution, the first determining module is configured to:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
In the foregoing solution, the first determining module is configured to:
determining a color conversion matrix based on a color adaptation matrix, wherein the color adaptation matrix comprises at least one of a first type element, a second type element and a third type element, wherein the first type element represents a component of R under a dominant color system in G or B, the second type element represents a component of G under the dominant color system in R or B, and the third type element represents a component of B under the dominant color system in G or R;
determining a first conversion matrix for converting from RGB to CIE XYZ color space and a second conversion matrix for converting from CIE XYZ to RGB color space by using the color space of the screen work;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
In the foregoing solution, the first determining module is configured to:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen display device including:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to: executing the executable instructions to implement the screen display method of any one of the preceding aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer storage medium having stored therein executable instructions, which when executed by a processor, cause the processor to execute the screen display method according to any one of the preceding aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
acquiring the ambient light color temperature of a screen; determining a target color temperature of the screen according to the ambient light color temperature; determining a target RGB value of each pixel point in the image to be displayed according to the target color temperature; and displaying the image to be displayed according to the target RGB value corresponding to each pixel point. Therefore, the color temperature of the screen display can be changed along with the change of the environmental color temperature, and the problem of color distortion of the screen display can be solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow diagram illustrating a method of screen display according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating one implementation of a screen display process in accordance with an illustrative embodiment;
FIG. 3 is a diagram illustrating a determination of a target transformation matrix M according to an exemplary embodimentRGBA schematic flow diagram of (a);
FIG. 4 is a block diagram of a screen display device shown in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus 800 to implement on-screen display processing in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the examples of the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the embodiments of the application, as detailed in the appended claims.
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of embodiments of the present disclosure. The words "if" and "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
Example one
Fig. 1 is a flowchart illustrating a screen display method applied to an electronic device displaying a screen, as shown in fig. 1, according to an exemplary embodiment. The electronic devices include, but are not limited to, stationary devices and mobile devices, for example, the stationary devices include, but are not limited to: personal Computers (PCs), televisions, and the like; the mobile devices include, but are not limited to: cell-phones, tablet computer, wearable equipment etc.. The screen display method includes the steps of:
in step S11, acquiring an ambient light color temperature of the screen;
in step S12, determining a target color temperature of the screen according to the ambient light color temperature;
in step S13, determining a target red, green, and blue (RGB) value of each pixel point in the image to be displayed according to the target color temperature;
in step S14, the image to be displayed is displayed according to the target RGB value corresponding to each pixel point.
In this embodiment, the ambient light refers to the ambient light of the environment where the screen of the electronic device is located.
In the present embodiment, the ambient light includes, but is not limited to, artificial ambient light and natural ambient light. Illustratively, the artificial ambient light includes a lamp light, and the natural ambient light includes sunlight, moonlight, and the like.
In the present embodiment, the target color temperature is a target color temperature to which the color temperature of the current ambient light should be set.
In practical application, the eye protection mode supported by the electronic equipment is realized by adjusting the color temperature of the screen.
By adopting the technical scheme of the embodiment, when the screen displays, the display color temperature of the screen changes along with the change of the environmental color temperature, and the problem of screen display color distortion can be solved. In addition, the screen color temperature and the ambient light color temperature are combined, so that the effect that the output color of the screen can achieve eye protection and accurate display can be ensured by adjusting the screen color temperature under different ambient light color temperatures.
In some embodiments, determining a target color temperature for the screen from the ambient light color temperature comprises:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
Here, the english of the blackbody radiation locus is all called: black Body Locus.
In some embodiments, a curve (Xd, Yd, Zd) of XYZ with Correlated Color Temperature (CCT) is fitted to the black body radiation locus, where f (CCT) represents a target Color Temperature curve and (Xd, Yd, Zd) represents target coordinate values of pixel points at the target Color Temperature.
So, make target colour temperature and ambient light relevant to guarantee that the eyeshield mode that the user used is strongly correlated with the environment, and then make screen output color can reach the eyeshield, can guarantee the effect of accurate demonstration again.
In some embodiments, determining a target RGB value of each pixel point in an image to be displayed according to the target color temperature includes:
determining a target transformation matrix M according to the target color temperatureRGB
According to the target conversion matrix MRGBAnd determining the target RGB value corresponding to each pixel point according to the original RGB value of each pixel point in the image to be displayed.
Here, the raw RGB values may be understood as RGB values of an image to be displayed on a screen without performing eye protection processing.
Here, the target RGB values are RGB values of an image corresponding to a target color temperature adapted to the ambient light to be displayed by the screen under the current ambient light.
So, make the eyeshield mode that the user used and environment strong correlation, and then make the color of screen output image can reach the eyeshield, can guarantee the effect of accurate demonstration again.
In some embodiments, determining a target conversion matrix from the target color temperature comprises:
based on the color adaptation matrix MADetermining a color conversion matrix M;
determining a first conversion matrix M for converting RGB to International Commission on illumination (CIE) XYZ color space using a color space where a screen is operatedtAnd a second conversion matrix M for conversion from CIE XYZ to RGB color spacet’;
According to the color conversion matrix M and the first conversion matrix MtAnd said second conversion matrix Mt', determining a target transformation matrix MRGB
Wherein the target transformation matrix MRGBEqual to the second conversion matrix Mt' and the color conversion matrix M and the first conversion matrix MtThe product of (a). Namely: mRGB=Mt’*M*Mt
Wherein the color adaptation matrix MAThe color filter comprises at least one of a first element, a second element and a third element, wherein the first element is used for representing the component of R under the dominant color system in G or B, the second element is used for representing the component of G under the dominant color system in R or B, and the third element is used for representing the component of B under the dominant color system in G or R.
The human eye Color adaptation mechanism means that even though the Color coordinates X, Y, Z of two colors are the same, the colors appearing under different lighting conditions are different, which is the Color Appearance model (Color Appearance) of human eyes. The fundamental reason for the appearance of color is the color adaptation mechanism of the human eye, which is the ability of the human eye's visual system to maintain the color appearance of an object in accordance with the color variations of the illumination source.
Thus, it is aDetermining a target transformation matrix M based on a color adaptation matrixRGBThe color temperature of the eye protection of the screen, the color temperature of the ambient light and the visual perception of human eyes can be combined, so that the screen has the capability of keeping the color appearance of an object according to the color change of the illumination light source when displaying images.
In some embodiments, determining the color conversion matrix based on the color adaptation matrix comprises:
determining a target white point coordinate (X) from a target color temperatureWD,YWD,ZWD);
Determining the current white point coordinate (X) of the screenWS,YWS,ZWS);
According to the target white point coordinate (X)WD,YWD,ZWD) The current white point coordinate (X)WS,YWS,ZWS) And the color adaptation matrix MAAnd determining a color conversion matrix M of all current colors of the screen.
Wherein determining the target white point coordinates according to the target color temperature comprises: and obtaining the coordinates of the target white point according to the blackbody radiation curve and the target color temperature.
Wherein the color adaptation matrix MAThe color conversion matrix M and the target conversion matrix MRGBAll are 3x3 matrices. Wherein,
Figure BDA0002303122940000061
wherein e is11、e22And e33R, G, B respectively; e.g. of the type12Represents a component of G in the case where R is a dominant color system; e.g. of the type13Represents a component of B in the case where R is a dominant color system; e.g. of the type21Represents a component of R in the case where G is a dominant color system; e.g. of the type23Represents a component of B in the case where G is a dominant color system; e.g. of the type31Represents a component of R in the case where B is a dominant color system; e.g. of the type32The component of G in the case where B is a dominant color system is shown. For example,
Figure BDA0002303122940000071
in this embodiment, the color is adapted to the matrix MAThe improvement to a 3 × 3 matrix further considers the component of R in the dominant color system of G or B, the component of G in the dominant color system of G or B, and the component of B in the dominant color system of G or R, compared to the 3 × 1 color adaptation matrix adopted in the related art, so that the model can realize adjustment of the color gamut boundary.
In the above embodiment, at least one of the component of R in the dominant color system of G or B, the component of G in the dominant color system of G or B, and the component of B in the dominant color system of G or R is a non-zero element. Alternatively, the calculation may be performed in consideration of appropriate components (other components are set to 0) according to the adjustment requirement of the user on the color gamut boundary.
In a preferred embodiment, the target transformation matrix MRGBAll 9 elements of (a) are non-zero elements. The target conversion matrix M of 3x3 is obtained through the above processingRGBAfter the matrix, the pure red, green and blue colors of the gamut boundary may be doped with other color components, so that the gamut boundary may be modified.
Therefore, the target conversion matrix model with the human eye color adaptation mechanism is added, and the defect that the existing model cannot adjust the color gamut boundary is overcome.
According to the technical scheme of the embodiment of the disclosure, the ambient light color temperature of a screen is obtained; determining a target color temperature of the screen according to the ambient light color temperature; determining a target RGB value of each pixel point in the image to be displayed according to the target color temperature; and displaying the image to be displayed according to the target RGB value corresponding to each pixel point. Therefore, when the screen displays, the display color temperature of the screen changes along with the change of the environmental color temperature, and the problem of screen display color distortion can be solved.
Example two
Fig. 2 is a flowchart illustrating an implementation screen display process according to an exemplary embodiment, and the implementation screen display process flow includes the following steps, as shown in fig. 2.
In step S201, an ambient light Correlated Color Temperature (CCT) of the screen is acquired;
in step S202, a blackbody radiation locus curve is determined;
in step S203, a target CCT of the screen is determined;
in step S204, a color conversion matrix M is determined;
in step S205, a target conversion matrix M is determinedRGB
In step S206, raw RGB data is acquired;
in step S207, the converted RGB data is determined.
Thus, the ambient light color temperature of the screen is obtained; determining the target color temperature of the screen according to the ambient light color temperature and the black body radiation trajectory curve; determining a color conversion matrix M and a target conversion matrix M according to the target color temperatureRGB(ii) a Acquiring an original RGB value of each pixel point in an image to be displayed; transforming the matrix M according to the targetRGBObtaining a target RGB value corresponding to each pixel point; and displaying the image to be displayed according to the target RGB value corresponding to each pixel point. Therefore, when the screen displays, the display color temperature of the screen changes along with the change of the environmental color temperature, and the problem of screen display color distortion can be solved.
It should be understood that the flow shown in fig. 2 is only illustrative and is not limited in this application.
EXAMPLE III
FIG. 3 is a diagram illustrating a determination of a target transformation matrix M according to an exemplary embodimentRGBAs shown in fig. 3, the process mainly includes:
in step S301, a target CCT of the screen is determined;
in step S302, a blackbody radiation locus curve is determined;
in step S303, a target white point coordinate of the screen is determined;
in step S304, a color adaptation matrix M is determinedA
In step S305, screen work white point coordinates are determined;
in step S306, a color conversion matrix M is determined;
in step S307, a working color space of the screen is determined;
in step S308, an XYZ domain RGB interconversion matrix M is determinedtAnd Mt’;
In step S309, a target conversion matrix M is determinedRGB
Thus, the target white point coordinate of the screen is obtained according to the target color temperature and the black body radiation trajectory curve of the screen; adapting matrix M according to white point coordinate and color of screen workADetermining a target white point coordinate of the screen to obtain a color conversion matrix M; determining an XYZ domain RGB interconversion matrix M according to a working color space of a screentAnd Mt'; m, M according to the color conversion matrixtAnd Mt' determination of target transformation matrix MRGB
It should be understood that the flow shown in fig. 3 is only illustrative and is not limited in this application.
Example four
Fig. 4 is a block diagram illustrating a screen display apparatus according to an exemplary embodiment. Referring to fig. 4, the apparatus includes a detection module 10, a first determination module 20, a second determination module 30, and a display control module 40.
The detection module 10 is configured to acquire an ambient light color temperature of the screen;
the first determining module 20 is configured to determine a target color temperature of the screen according to the ambient light color temperature;
the second determining module 30 is configured to determine a target RGB value of each pixel point in the image to be displayed according to the target color temperature;
the display control module 40 is configured to display the image to be displayed according to the target RGB value corresponding to each pixel point.
In the foregoing solution, the first determining module 20 is configured to:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
In the foregoing solution, the first determining module 20 is configured to:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
In the foregoing solution, the first determining module 20 is configured to:
determining a color conversion matrix based on a color adaptation matrix, wherein the color adaptation matrix comprises at least one of a first type element, a second type element and a third type element, wherein the first type element represents a component of R under a dominant color system in G or B, the second type element represents a component of G under the dominant color system in R or B, and the third type element represents a component of B under the dominant color system in G or R;
determining a first conversion matrix for converting from RGB to CIE XYZ color space and a second conversion matrix for converting from CIE XYZ to RGB color space by using the color space of the screen work;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
In the foregoing solution, the first determining module 20 is configured to:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In practical applications, the specific structures of the detection module 10, the first determination module 20, the second determination module 30 and the display control module 40 can be implemented by a Central Processing Unit (CPU), a Microprocessor (MCU), a Digital Signal Processor (DSP), a Programmable Logic Controller (PLC), etc. in the screen display device or the electronic device to which the screen display device belongs.
The screen display device of the embodiment can be arranged in an electronic device with a display screen.
Of course, the screen display device may also exist as a separate device.
It should be understood by those skilled in the art that the functions of the processing modules in the screen display device according to the embodiment of the present disclosure may be understood by referring to the description of the screen display method, and the processing modules in the screen display device according to the embodiment of the present disclosure may be implemented by an analog circuit that implements the functions described in the embodiment of the present disclosure, or may be implemented by running software that performs the functions described in the embodiment of the present disclosure on an electronic device.
The screen display device disclosed by the embodiment of the disclosure can enable the color temperature of screen display to change along with the change of the environmental color temperature, and can solve the problem of color distortion of screen display.
The disclosed embodiment also recites a screen display device, the device comprising: the screen display device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the screen display method provided by any one of the technical schemes is realized.
As an embodiment, the processor, when executing the program, implements:
acquiring the ambient light color temperature of a screen;
determining a target color temperature of the screen according to the ambient light color temperature;
determining a target RGB value of each pixel point in the image to be displayed according to the target color temperature;
and displaying the image to be displayed according to the target RGB value corresponding to each pixel point.
As an embodiment, the processor, when executing the program, implements:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
As an embodiment, the processor, when executing the program, implements:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
As an embodiment, the processor, when executing the program, implements:
determining a color conversion matrix based on the color adaptation matrix;
determining a first conversion matrix for converting from RGB to CIE XYZ color space and a second conversion matrix for converting from CIE XYZ to RGB color space by using the color space of the screen work;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
As an embodiment, the processor, when executing the program, implements:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
The screen display device provided by the embodiment of the application can enable the color temperature of screen display to change along with the change of the environmental color temperature, and can solve the problem of color distortion of screen display.
The embodiment of the application also describes a computer storage medium, and computer-executable instructions are stored in the computer storage medium and used for executing the screen display method described in each embodiment. That is, after being executed by a processor, the computer-executable instructions can implement the screen display method provided by any one of the foregoing technical solutions.
It should be understood by those skilled in the art that the functions of the programs in the computer storage medium of the present embodiment can be understood by referring to the related description of the screen display method described in the foregoing embodiments.
EXAMPLE five
FIG. 5 is a block diagram illustrating an apparatus 800 to implement on-screen display processing in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an Input/Output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 804 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random-Access Memory (SRAM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge-coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for executing the above control Processing method applied to the electronic Device side.
In an exemplary embodiment, a non-transitory computer storage medium including executable instructions, such as the memory 804 including executable instructions, that are executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A method for on-screen display, the method comprising:
acquiring the ambient light color temperature of a screen;
determining a target color temperature of the screen according to the ambient light color temperature;
determining a target red, green and blue RGB value of each pixel point in the image to be displayed according to the target color temperature;
and displaying the image to be displayed according to the target RGB value corresponding to each pixel point.
2. The screen display method of claim 1, wherein the determining a target color temperature for the screen from the ambient light color temperature comprises:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
3. The screen display method of claim 1, wherein the determining the target RGB value for each pixel point in the image to be displayed according to the target color temperature comprises:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
4. The screen display method of claim 3, wherein the determining a target transformation matrix from the target color temperature comprises:
determining a color conversion matrix based on a color adaptation matrix, wherein the color adaptation matrix comprises at least one of a first type element, a second type element and a third type element, wherein the first type element represents a component of R under a dominant color system in G or B, the second type element represents a component of G under the dominant color system in R or B, and the third type element represents a component of B under the dominant color system in G or R;
determining a first conversion matrix for conversion from RGB to CIE XYZ color space and a second conversion matrix for conversion from CIE XYZ to RGB color space using the color space of the screen work;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
5. The screen display method of claim 4, wherein the determining a color conversion matrix based on a color adaptation matrix comprises:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
6. An on-screen display device, the device comprising:
a detection module configured to acquire an ambient light color temperature of a screen;
a first determination module configured to determine a target color temperature of the screen according to the ambient light color temperature;
the second determination module is configured to determine a target RGB value of each pixel point in the image to be displayed according to the target color temperature;
and the display control module is configured to display the image to be displayed according to the target RGB value corresponding to each pixel point.
7. The screen display device of claim 6, wherein the first determination module is configured to:
obtaining a black body radiation track curve;
and determining the target color temperature of the screen based on the black body radiation track curve and the ambient light color temperature.
8. The screen display device of claim 6, wherein the first determination module is configured to:
determining a target conversion matrix according to the target color temperature;
and determining a target RGB value corresponding to each pixel point according to the target conversion matrix and the original RGB value of each pixel point in the image to be displayed.
9. The screen display device of claim 8, wherein the first determination module is configured to:
determining a color conversion matrix based on a color adaptation matrix, wherein the color adaptation matrix comprises at least one of a first type element, a second type element and a third type element, wherein the first type element represents a component of R under a dominant color system in G or B, the second type element represents a component of G under the dominant color system in R or B, and the third type element represents a component of B under the dominant color system in G or R;
determining a first conversion matrix for converting from RGB to CIE XYZ color space and a second conversion matrix for converting from CIE XYZ to RGB color space by using the color space of the screen work;
and determining a target conversion matrix according to the color conversion matrix, the first conversion matrix and the second conversion matrix.
10. The screen display device of claim 9, wherein the first determination module is configured to:
determining a target white point coordinate according to the target color temperature;
determining the current white point coordinate of the screen;
and determining a color conversion matrix of all current colors of the screen according to the target white point coordinate, the current white point coordinate and the color adaptation matrix.
11. A screen display device comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to: executing the executable instructions to implement the screen display method of any of claims 1 to 5.
12. A computer storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform the screen display method of any one of claims 1 to 5.
CN201911229407.0A 2019-12-04 2019-12-04 Screen display method and device and computer storage medium Active CN112905141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911229407.0A CN112905141B (en) 2019-12-04 2019-12-04 Screen display method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911229407.0A CN112905141B (en) 2019-12-04 2019-12-04 Screen display method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN112905141A true CN112905141A (en) 2021-06-04
CN112905141B CN112905141B (en) 2024-09-03

Family

ID=76110731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911229407.0A Active CN112905141B (en) 2019-12-04 2019-12-04 Screen display method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN112905141B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002435A (en) * 2022-05-26 2022-09-02 展讯半导体(南京)有限公司 Display parameter determination method and related equipment
CN115412711A (en) * 2022-09-16 2022-11-29 集创北方(珠海)科技有限公司 Color temperature adjusting method, color temperature adjusting device and display device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050059522A (en) * 2003-12-15 2005-06-21 엘지.필립스 엘시디 주식회사 Method and apparatus for correcting image displaying device
US20080303918A1 (en) * 2007-06-11 2008-12-11 Micron Technology, Inc. Color correcting for ambient light
CN101521001A (en) * 2008-02-26 2009-09-02 瑞昱半导体股份有限公司 Color correcting method and device of display device
CN104335581A (en) * 2012-06-13 2015-02-04 索尼公司 Display apparatus, display controlling method and program
CN106128385A (en) * 2016-08-25 2016-11-16 北京小米移动软件有限公司 Liquid crystal display control method and device
US20170263174A1 (en) * 2016-03-09 2017-09-14 Apple Inc. Electronic Device with Ambient-Adaptive Display
CN108376539A (en) * 2018-04-09 2018-08-07 青岛海信电器股份有限公司 A kind of color compensation method and equipment of image
CN108877733A (en) * 2018-06-04 2018-11-23 Oppo广东移动通信有限公司 Color temperature adjusting method and relevant apparatus
CN109729281A (en) * 2019-01-04 2019-05-07 Oppo广东移动通信有限公司 Image processing method, device, storage medium and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050059522A (en) * 2003-12-15 2005-06-21 엘지.필립스 엘시디 주식회사 Method and apparatus for correcting image displaying device
US20080303918A1 (en) * 2007-06-11 2008-12-11 Micron Technology, Inc. Color correcting for ambient light
CN101521001A (en) * 2008-02-26 2009-09-02 瑞昱半导体股份有限公司 Color correcting method and device of display device
CN104335581A (en) * 2012-06-13 2015-02-04 索尼公司 Display apparatus, display controlling method and program
US20170263174A1 (en) * 2016-03-09 2017-09-14 Apple Inc. Electronic Device with Ambient-Adaptive Display
CN106128385A (en) * 2016-08-25 2016-11-16 北京小米移动软件有限公司 Liquid crystal display control method and device
CN108376539A (en) * 2018-04-09 2018-08-07 青岛海信电器股份有限公司 A kind of color compensation method and equipment of image
CN108877733A (en) * 2018-06-04 2018-11-23 Oppo广东移动通信有限公司 Color temperature adjusting method and relevant apparatus
CN109729281A (en) * 2019-01-04 2019-05-07 Oppo广东移动通信有限公司 Image processing method, device, storage medium and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHARINOV, IO ET AL.: "The research of the automatic temperature condition control systems for LCD screens of avionics indication equipment", MECHANICAL SCIENCE AND TECHNOLOGY UPDATE (MSTU-2018), 17 September 2018 (2018-09-17) *
麻祥才;王晓红;朱明;张建青;: "基于LCD显示器光谱特性的图像颜色一致性研究", 发光学报, no. 05, 15 May 2017 (2017-05-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002435A (en) * 2022-05-26 2022-09-02 展讯半导体(南京)有限公司 Display parameter determination method and related equipment
CN115412711A (en) * 2022-09-16 2022-11-29 集创北方(珠海)科技有限公司 Color temperature adjusting method, color temperature adjusting device and display device

Also Published As

Publication number Publication date
CN112905141B (en) 2024-09-03

Similar Documents

Publication Publication Date Title
CN107038037B (en) Display mode switching method and device
RU2628532C1 (en) Method and device for colour adjustment
CN111508450B (en) Screen color conversion method and device, storage medium and electronic equipment
US10490162B2 (en) Display control method and device, and computer readable storage medium
US20170032725A1 (en) Method, device, and computer-readable medium for setting color gamut mode
CN107992182B (en) Method and device for displaying interface image
CN104934016B (en) Screen display method and device
CN108492767A (en) Prevent the method, apparatus and storage medium of display burn-in
US20180338029A1 (en) Method and device for switching display mode
CN107391073B (en) Display module and electronic equipment
CN112905141B (en) Screen display method and device and computer storage medium
CN105677352B (en) Method and device for setting application icon color
CN109167921A (en) Image pickup method, device, terminal and storage medium
CN115546035A (en) Data processing method and device, electronic equipment and storage medium
CN112331158A (en) Terminal display adjusting method, device, equipment and storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN116453459A (en) Screen display method and device, readable storage medium and electronic equipment
CN108538261B (en) Display control method and device and display equipment
CN111429854B (en) Method and device for driving display panel to display, display screen and terminal
CN113254118B (en) Skin color display device
CN113296644B (en) Display control method and device, electronic equipment and computer readable storage medium
CN110876015B (en) Method and device for determining image resolution, electronic equipment and storage medium
CN116820367A (en) Image display method, device, electronic equipment and storage medium
CN115809105A (en) Display picture adjusting method, display picture adjusting device and storage medium
CN118552628A (en) Skin tone adjustment method, device, equipment and storage medium

Legal Events

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