Screen display method and device, readable storage medium and electronic equipment
By adjusting the RGB values of the OLED screen based on ambient light information, the problem of inaccurate colors in bright environments is solved, achieving accurate color display and providing an excellent visual experience.
Patent Information
- Application Number
- CN202210015784.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2042-01-07
AI Technical Summary
In bright environments, the colors of OLED screens are inaccurate due to the superposition of ambient light reflection and self-emissive colors. Existing technology for color gamut calibration in dark scenes cannot meet the requirements for accurate color display in bright environments.
By obtaining the current ambient light intensity and color temperature of the screen, the target RGB value of each pixel in the image to be displayed is determined. Using a three-dimensional color lookup table and the correspondence between ambient light intensity and color temperature, the RGB value of the pixel is adjusted to compensate for the influence of ambient light.
In bright environments, it ensures accurate screen color and provides an excellent visual experience, achieving precise display of screen colors.
Smart Images

Figure CN116453459B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and in particular to a screen display method, apparatus, readable storage medium, and electronic device. Background Technology
[0002] Currently, high-end devices (such as smartphones and tablets) all use screens made of Organic Light-Emitting Diode (OLED) material. OLED screens have advantages such as high color gamut and high contrast. Because the color gamut of OLED screens exceeds the standard red-green-blue (sRGB) color gamut and the wide color gamut P3, system-level color gamut calibration is required before user use. This calibrates the non-standard OLED screen color gamut to the standard sRGB and P3 color gamut to achieve accurate color display. However, current color gamut calibration is performed in dark environments. Users typically use these devices in bright environments, such as indoors or outdoors. In these conditions, the screen usually has about 5% reflection. Therefore, the color entering the human eye is a combination of the screen's own emitted color and the color of reflected ambient light. This results in the color seen by the human eye not being the color used during calibration in dark environments, leading to inaccurate screen colors. Summary of the Invention
[0003] To overcome the problems existing in the related technologies, this disclosure provides a screen display method, apparatus, readable storage medium, and electronic device.
[0004] According to a first aspect of the present disclosure, a screen display method is provided, comprising:
[0005] Obtain the current ambient light illuminance and current ambient light color temperature of the screen;
[0006] Based on the current ambient light illuminance and the current ambient light color temperature, determine the target RGB value of each pixel in the image to be displayed;
[0007] The image to be displayed is shown according to the target RGB value of each pixel.
[0008] Optionally, determining the target RGB value of each pixel in the image to be displayed based on the current ambient light illuminance and the current ambient light color temperature includes:
[0009] Determine the corrected RGB value based on the current ambient illuminance and the current ambient color temperature;
[0010] For each pixel in the image to be displayed, the target RGB value of the pixel is determined based on the corrected RGB value and the original RGB value of the pixel.
[0011] Optionally, determining the target RGB value of the pixel based on the modified RGB value and the original RGB value of the pixel includes:
[0012] The actual RGB value corresponding to the target expected RGB value in the pre-constructed three-dimensional color lookup table is determined as the target RGB value of the pixel. The target expected RGB value is the sum of the corrected RGB value and the original RGB value of the pixel. The three-dimensional color lookup table includes a first correspondence between the expected RGB value and the actual RGB value, and the first correspondence is constructed based on the condition of shielded ambient light.
[0013] Optionally, determining the corrected RGB value based on the current ambient illuminance and the current ambient color temperature includes:
[0014] Based on the pre-established second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values, a target corrected RGB value corresponding to the current ambient illuminance and the current ambient color temperature is determined.
[0015] Optionally, the second correspondence is established in the following way:
[0016] With ambient light blocked, the screen is controlled to sequentially display each color calibration screen in a plurality of color calibration screens, and the first XYZ data of each displayed color calibration screen is acquired;
[0017] Under different ambient light illuminance and ambient light color temperature, the screen is controlled to sequentially display each of the color calibration images, and the second XYZ data of each displayed color calibration image is obtained;
[0018] Based on each of the first XYZ data and each of the second XYZ data, a second correspondence is determined between ambient illuminance, ambient color temperature, and corrected RGB values.
[0019] Optionally, determining the second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values based on each of the first XYZ data and each of the second XYZ data includes:
[0020] Based on each of the first XYZ data and each of the second XYZ data, a third correspondence is determined between ambient light illuminance, ambient light color temperature, XYZ data under ambient light, and XYZ data under shielded ambient light.
[0021] Based on the mapping matrix from XYZ color space to RGB color space and the third correspondence, a fourth correspondence is determined between ambient light illuminance, ambient light color temperature, RGB values under ambient light, and RGB values under shielded ambient light.
[0022] Based on the fourth correspondence, a second correspondence is determined between ambient light illuminance, ambient light color temperature, and corrected RGB value, wherein the corrected RGB value is the difference between the RGB value under ambient light corresponding to the same ambient light illuminance and ambient light color temperature and the RGB value under shielded ambient light.
[0023] Optionally, the plurality of color calibration screens include a white calibration screen, a red calibration screen, a green calibration screen, a blue calibration screen, a low grayscale red calibration screen, a low grayscale green calibration screen, and a low grayscale blue calibration screen.
[0024] According to a second aspect of the present disclosure, a screen display device is provided, comprising:
[0025] The first acquisition module is configured to acquire the current ambient light illuminance and current ambient light color temperature of the screen;
[0026] The first determining module is configured to determine the target RGB value of each pixel in the image to be displayed based on the current ambient light illuminance and the current ambient light color temperature obtained by the first obtaining module.
[0027] The display module is used to display the image to be displayed according to the target RGB value of each pixel determined by the first determining module.
[0028] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, having stored thereon computer program instructions that, when executed by a processor, implement the steps of the screen display method provided in the first aspect of the present disclosure.
[0029] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising:
[0030] Screen;
[0031] processor;
[0032] Memory used to store processor-executable instructions;
[0033] The processor is configured to execute the screen display method provided in the first aspect of this disclosure.
[0034] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: First, the current ambient light illuminance and current ambient light color temperature of the screen are obtained; then, the target RGB value of each pixel in the image to be displayed is determined based on the current ambient light illuminance and current ambient light color temperature; finally, the image to be displayed is displayed according to the target RGB value of each pixel. Specifically, when determining the target RGB value of each pixel in the image to be displayed, the current ambient light information is incorporated, thereby mitigating the influence of screen-reflected ambient light on the displayed color and ensuring accurate screen color. Thus, even in bright environments, users can experience an excellent visual experience brought by accurate screen color.
[0035] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0037] Figure 1 This is a flowchart illustrating a screen display method according to an exemplary embodiment.
[0038] Figure 2 This is a flowchart illustrating a method for determining the target RGB value of each pixel in an image to be displayed based on the current ambient light intensity and the current ambient light color temperature, according to an exemplary embodiment.
[0039] Figure 3 This is a flowchart illustrating a method for establishing a second correspondence between ambient light illuminance, ambient light color temperature, and corrected RGB values, according to an exemplary embodiment.
[0040] Figure 4 This is a flowchart illustrating a method for determining a second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values based on each first XYZ data and each second XYZ data, according to an exemplary embodiment.
[0041] Figure 5 This is a block diagram illustrating a screen display device according to an exemplary embodiment.
[0042] Figure 6 This is a block diagram illustrating a screen display device according to another exemplary embodiment.
[0043] Figure 7 This is a block diagram illustrating a construction apparatus according to an exemplary embodiment.
[0044] Figure 8This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0045] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0046] Figure 1 This is a flowchart illustrating a screen display method according to an exemplary embodiment, wherein the screen display method can be applied to terminals with screens such as smartphones and tablets. Figure 1 As shown, the screen display method may include the following steps S101 to S103.
[0047] In S101, the current ambient light illuminance and current ambient light color temperature of the screen are obtained.
[0048] In this disclosure, the current ambient light illuminance can be collected by an illuminance sensor installed on the terminal, and the current ambient light color temperature can be collected by a color temperature sensor installed on the terminal.
[0049] In S102, the target RGB value of each pixel in the image to be displayed is determined based on the current ambient light illuminance and the current ambient light color temperature.
[0050] In this disclosure, ambient light refers to the ambient light of the environment in which the terminal's screen is located, and ambient light includes, but is not limited to, artificial ambient light and natural ambient light. For example, artificial ambient light includes artificial light, and natural ambient light includes sunlight, moonlight, etc. The target RGB value is the RGB value of the image that the screen will display under the current ambient light, adapted to that ambient light, i.e., the actual RGB value output by the screen.
[0051] In S103, the image to be displayed is shown according to the target RGB value of each pixel.
[0052] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: First, the current ambient light illuminance and current ambient light color temperature of the screen are obtained; then, the target RGB value of each pixel in the image to be displayed is determined based on the current ambient light illuminance and current ambient light color temperature; finally, the image to be displayed is displayed according to the target RGB value of each pixel. Specifically, when determining the target RGB value of each pixel in the image to be displayed, the current ambient light information is incorporated, thereby mitigating the influence of screen-reflected ambient light on the displayed color and ensuring accurate screen color. Thus, even in bright environments, users can experience an excellent visual experience brought by accurate screen color.
[0053] The following is a detailed description of the specific implementation method for determining the target RGB value of each pixel in the image to be displayed based on the current ambient light intensity and current ambient light color temperature in S102. Specifically, it can be achieved by... Figure 2 This is achieved through S1021 and S1022 shown.
[0054] In S1021, the corrected RGB value is determined based on the current ambient illuminance and the current ambient color temperature.
[0055] In this disclosure, a target corrected RGB value corresponding to the current ambient illuminance and the current ambient color temperature can be determined based on a pre-established second correspondence between ambient illuminance, ambient color temperature, and corrected RGB value.
[0056] In S1022, for each pixel in the image to be displayed, the target RGB value of the pixel is determined based on the corrected RGB value and the original RGB value of the pixel.
[0057] In this disclosure, the original RGB value refers to the RGB value of the image to be displayed without color gamut calibration, and it is related to the image to be displayed on the screen. For example, if the image to be displayed is a pure red image, then the original RGB value of any pixel on the display screen is (255, 0, 0).
[0058] Specifically, the target RGB value of a pixel can be determined by combining the corrected RGB value and the original RGB value of the pixel in the following way:
[0059] The actual RGB value corresponding to the target expected RGB value in the pre-built three-dimensional color look-up table (3D-LUT) is determined as the target RGB value of the pixel. The target expected RGB value is the sum of the corrected RGB value and the original RGB value of the pixel.
[0060] In this disclosure, the 3D-LUT includes a first correspondence between desired RGB values and actual RGB values. This first correspondence is constructed based on the condition of shielded ambient light and serves as the basis for color gamut calibration in dark scenes. Using the 3D-LUT, a set of RGB values (i.e., desired RGB values) can be output as another set of RGB values (i.e., actual RGB values), thereby changing the color of the image. The desired RGB values are the original RGB values of the image to be displayed, and the actual RGB values are the RGB values actually output and displayed on the screen.
[0061] For example, the original RGB value of a pixel A in an image to be displayed is (125, 125, 234), which is the expected RGB value. The actual RGB value corresponding to this expected RGB value is (123, 123, 243). Thus, by adjusting the output RGB value of pixel A from (125, 125, 234) to (123, 123, 243), the screen can ensure that the color of pixel A actually seen by the human eye in a dark environment is the color corresponding to the original RGB value (125, 125, 234) of pixel A, thereby achieving color gamut calibration in dark scenes.
[0062] The following section details the method for establishing the second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values in S1021 above. Specifically, it can be achieved through... Figure 3 This is achieved through steps S301 to S303 shown in the diagram.
[0063] In S301, with ambient light blocked, the control screen sequentially displays each color calibration screen in a plurality of color calibration screens, and acquires the first XYZ data of each displayed color calibration screen.
[0064] In this disclosure, shielding from ambient light refers to a dark environment. Multiple color calibration screens may include at least two of a white calibration screen, a red calibration screen, a green calibration screen, a blue calibration screen, a low-grayscale red calibration screen, a low-grayscale green calibration screen, and a low-grayscale blue calibration screen.
[0065] Specifically, in the absence of ambient light, the screen can be controlled to sequentially display each color calibration screen from multiple color calibration screens, and the first XYZ data of each color calibration screen displayed on the screen can be obtained through a sensing module facing the screen. This sensing module can be a camera, illuminance meter, integrating sphere, etc., and can be integrated into the terminal or exist independently of the terminal and connected to it via a wireless or wired network.
[0066] In S302, under different ambient light illuminance and ambient light color temperature, the control screen sequentially displays each color calibration screen and acquires the second XYZ data of each displayed color calibration screen.
[0067] Specifically, under different ambient light levels and different ambient light color temperatures, the screen can be controlled to sequentially display each color calibration image in each color calibration image, and the second XYZ data of each color calibration image displayed on the screen can be obtained through the sensing module facing the screen.
[0068] In S303, based on each first XYZ data and each second XYZ data, a second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values is determined.
[0069] Specifically, based on each first XYZ data obtained in S301 and each second XYZ data obtained in S302, through... Figure 4 S3031 to S3033 shown here determine the second correspondence between ambient light illuminance, ambient light color temperature and corrected RGB values.
[0070] In S3031, based on each first XYZ data and each second XYZ data, a third correspondence is determined between ambient light illuminance, ambient light color temperature, XYZ data under ambient light, and XYZ data under shielded ambient light.
[0071] Specifically, based on each first XYZ data and each second XYZ data, a functional correspondence between the XYZ data under ambient light and the ambient light illuminance, ambient light color temperature, and XYZ data under shielded ambient light can be obtained through data fitting. This functional correspondence is then determined as the third correspondence between ambient light illuminance, ambient light color temperature, XYZ data under ambient light, and XYZ data under shielded ambient light.
[0072] In S3032, based on the mapping matrix from XYZ color space to RGB color space and the third correspondence, the fourth correspondence between ambient light illuminance, ambient light color temperature, RGB values under ambient light, and RGB values under shielded ambient light is determined.
[0073] Specifically, based on the mapping matrix from the XYZ color space to the RGB color space, the XYZ data under ambient light in the third correspondence can be converted into RGB data under ambient light, and the XYZ data under shielded ambient light in the third correspondence can be converted into RGB data under shielded ambient light. This yields a fourth correspondence between ambient light illuminance, ambient light color temperature, RGB values under ambient light, and RGB values under shielded ambient light.
[0074] For example, the functional correspondence (i.e., the third correspondence) between the XYZ data under ambient light and the ambient light illuminance, ambient light color temperature, and XYZ data under shielded ambient light is f([X1, Y1, Z1]) = f([X0, Y0, Z0]) * f(lux) * f(cct). The fourth correspondence between the ambient light illuminance, ambient light color temperature, RGB values under ambient light, and RGB values under shielded ambient light is f([R1, G1, B1]) = f([R0, G0, B0]) * f(lux) * f(cct), where (X1, Y1, Z1) are the XYZ data under ambient light, (X0, Y0, Z0) are the XYZ data under shielded ambient light, lux is the ambient light illuminance, cct is the ambient light color temperature, (R1, G1, B1) are the RGB values under ambient light, and (R0, G0, B0) are the RGB values under shielded ambient light.
[0075] In S3033, based on the fourth correspondence, the second correspondence between ambient illuminance, ambient color temperature, and corrected RGB values is determined.
[0076] In this disclosure, the RGB value is corrected to be the difference between the RGB value under ambient light and the RGB value under shielded ambient light, corresponding to the same ambient light illuminance and ambient light color temperature.
[0077] Specifically, the difference between the R value under ambient light with the same ambient illuminance and ambient color temperature and the R value under shielded ambient light can be determined as the corrected R value, ΔR, for the same ambient illuminance and ambient color temperature; the difference between the G value under ambient light with the same ambient illuminance and ambient color temperature and the G value under shielded ambient light can be determined as the corrected G value, ΔG, for the same ambient illuminance and ambient color temperature; and the difference between the B value under ambient light with the same ambient illuminance and ambient color temperature and the B value under shielded ambient light can be determined as the corrected B value, ΔB, for the same ambient illuminance and ambient color temperature.
[0078] This disclosure also provides a screen display device, such as Figure 5 As shown, the screen display device 500 includes:
[0079] The first acquisition module 501 is configured to acquire the current ambient light illuminance and current ambient light color temperature of the screen;
[0080] The first determining module 502 is configured to determine the target RGB value of each pixel in the image to be displayed based on the current ambient light illuminance and the current ambient light color temperature obtained by the first obtaining module 501.
[0081] Display module 503 is used to display the image to be displayed according to the target RGB value of each pixel determined by the first determining module 502.
[0082] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: First, the current ambient light illuminance and current ambient light color temperature of the screen are obtained; then, the target RGB value of each pixel in the image to be displayed is determined based on the current ambient light illuminance and current ambient light color temperature; finally, the image to be displayed is displayed according to the target RGB value of each pixel. Specifically, when determining the target RGB value of each pixel in the image to be displayed, the current ambient light information is incorporated, thereby mitigating the influence of screen-reflected ambient light on the displayed color and ensuring accurate screen color. Thus, even in bright environments, users can experience an excellent visual experience brought by accurate screen color.
[0083] Figure 6 This is a block diagram illustrating a screen display device according to another exemplary embodiment. Figure 6 As shown, the first determining module 502 includes:
[0084] The first determining submodule 5021 is configured to determine the corrected RGB value based on the current ambient light intensity and the current ambient light color temperature;
[0085] The second determining submodule 5022 is configured to determine the target RGB value of each pixel in the image to be displayed, based on the modified RGB value and the original RGB value of the pixel.
[0086] Optionally, the second determining submodule 5022 is configured to determine the actual RGB value corresponding to the target expected RGB value in a pre-constructed three-dimensional color lookup table as the target RGB value of the pixel, wherein the target expected RGB value is the sum of the corrected RGB value and the original RGB value of the pixel, and the three-dimensional color lookup table includes a first correspondence between the expected RGB value and the actual RGB value, and the first correspondence is constructed based on the shielded ambient light condition.
[0087] Optionally, the first determining submodule 5021 is configured to determine a target corrected RGB value corresponding to the current ambient illuminance and the current ambient color temperature based on a pre-established second correspondence between ambient illuminance, ambient color temperature and corrected RGB value.
[0088] Optionally, the second correspondence is established by a construction device, wherein, as Figure 7 As shown, the construction device 700 includes:
[0089] The second acquisition module 701 is configured to control the screen to sequentially display each color calibration screen in a plurality of color calibration screens when ambient light is blocked, and to acquire the first XYZ data of each displayed color calibration screen.
[0090] The third acquisition module 702 is configured to control the screen to sequentially display each of the color calibration images under different ambient light illuminance and ambient light color temperature, and to acquire the second XYZ data of each displayed color calibration image;
[0091] The second determining module 703 is configured to determine a second correspondence between ambient light illuminance, ambient light color temperature and corrected RGB values based on each of the first XYZ data and each of the second XYZ data.
[0092] Optionally, the second determining module 703 includes:
[0093] The third determining submodule is configured to determine a third correspondence between ambient light illuminance, ambient light color temperature, XYZ data under ambient light and XYZ data under shielded ambient light based on each of the first XYZ data and each of the second XYZ data.
[0094] The fourth determining submodule is configured to determine the fourth correspondence between ambient light illuminance, ambient light color temperature, RGB values under ambient light, and RGB values under shielded ambient light based on the mapping matrix from XYZ color space to RGB color space and the third correspondence.
[0095] The fifth determining submodule is configured to determine a second correspondence between ambient light illuminance, ambient light color temperature, and corrected RGB value based on the fourth correspondence, wherein the corrected RGB value is the difference between the RGB value under ambient light corresponding to the same ambient light illuminance and ambient light color temperature and the RGB value under shielded ambient light.
[0096] Optionally, the plurality of color calibration screens include a white calibration screen, a red calibration screen, a green calibration screen, a blue calibration screen, a low grayscale red calibration screen, a low grayscale green calibration screen, and a low grayscale blue calibration screen.
[0097] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0098] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the screen display method provided in this disclosure.
[0099] Figure 8 This is a block diagram illustrating an electronic device 800 according to an exemplary embodiment. For example, device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0100] Reference Figure 8 The device 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.
[0101] Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the screen display method described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0102] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0103] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 800.
[0104] Multimedia component 808 includes a screen that provides an output interface between the device 800 and the 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0105] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0106] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0107] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0108] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0109] In an exemplary embodiment, the device 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 to perform the screen display method described above.
[0110] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of the device 800 to complete the screen display method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0111] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the screen display method described above when executed by the programmable device.
[0112] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0113] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A screen display method characterized by, The method comprises the following steps: obtaining the current ambient light intensity and the current ambient light color temperature of the screen; determining the target correction RGB value corresponding to the current ambient light intensity and the current ambient light color temperature according to a second correspondence relationship between the ambient light intensity, the ambient light color temperature and the correction RGB value, wherein the second correspondence relationship is established by the following methods: controlling the screen to display each color calibration picture in a plurality of color calibration pictures in turn under shielding ambient light, and obtaining the first XYZ data of each displayed color calibration picture; controlling the screen to display each color calibration picture in turn under different ambient light intensity and ambient light color temperature, and obtaining the second XYZ data of each displayed color calibration picture; determining the second correspondence relationship between the ambient light intensity, the ambient light color temperature and the correction RGB value according to each first XYZ data and each second XYZ data; for each pixel point in the to-be-displayed image, determining the target RGB value of the pixel point according to the correction RGB value and the original RGB value of the pixel point; displaying the to-be-displayed image according to the target RGB value of each pixel point.
2. The method of claim 1, wherein, The method comprises the following steps: determining the actual RGB value corresponding to the target expected RGB value in the pre-constructed three-dimensional color lookup table as the target RGB value of the pixel point, wherein the target expected RGB value is the sum of the correction RGB value and the original RGB value of the pixel point, and the three-dimensional color lookup table comprises a first correspondence relationship between the expected RGB value and the actual RGB value, and the first correspondence relationship is constructed based on the shielding ambient light condition.
3. The method of claim 1, wherein, The method comprises the following steps: determining a third correspondence relationship between the ambient light intensity, the ambient light color temperature, the XYZ data under ambient light and the XYZ data under shielding ambient light according to each first XYZ data and each second XYZ data; determining a fourth correspondence relationship between the ambient light intensity, the ambient light color temperature, the RGB value under ambient light and the RGB value under shielding ambient light according to the mapping matrix from the XYZ color space to the RGB color space and the third correspondence relationship; determining the second correspondence relationship between the ambient light intensity, the ambient light color temperature and the correction RGB value according to the fourth correspondence relationship, wherein the correction RGB value is the difference between the RGB value under ambient light and the RGB value under shielding ambient light corresponding to the same ambient light intensity and ambient light color temperature.
4. The method of claim 1, wherein, The plurality of color calibration pictures comprise a white color calibration picture, a red color calibration picture, a green color calibration picture, a blue color calibration picture, a low gray scale red color calibration picture, a low gray scale green color calibration picture and a low gray scale blue color calibration picture.
5. A screen display device characterized by comprising: The method comprises the following steps: a first obtaining module configured to obtain the current ambient light intensity and the current ambient light color temperature of the screen; The first determining module is configured to determine a target correction RGB value corresponding to the current ambient light illuminance and the current ambient light color temperature according to a second correspondence relationship between the ambient light illuminance, the ambient light color temperature and the correction RGB value; and for each pixel point in the image to be displayed, determine a target RGB value of the pixel point according to the correction RGB value and an original RGB value of the pixel point. The display module is configured to display the image to be displayed according to the target RGB value of each pixel point determined by the first determining module. The second correspondence relationship is established by the following method: In the case of shielding ambient light, the screen is controlled to display each color calibration picture in a plurality of color calibration pictures in turn, and first XYZ data of each displayed color calibration picture is acquired. In different ambient light illuminance and ambient light color temperature, the screen is controlled to display each color calibration picture in turn, and second XYZ data of each displayed color calibration picture is acquired. The second correspondence relationship between the ambient light illuminance, the ambient light color temperature and the correction RGB value is determined according to each first XYZ data and each second XYZ data. For each pixel point in the image to be displayed, a target RGB value of the pixel point is determined according to the correction RGB value and an original RGB value of the pixel point.
6. A computer-readable storage medium having stored thereon computer program instructions, wherein, The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4.
7. An electronic device, comprising: The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4. The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4. The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4. The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4. The program instructions are executed by the processor to implement the steps of the method of any one of claims 1-4.
Citation Information
Patent Citations
Color calibration system
CN101788342A
Interface color adjustment method and apparatus, and webpage color adjustment method and apparatus
CN107179889A
Image processing method and device, storage medium and terminal
CN109729281A