CN108877697B - Method and device for displaying image - Google Patents

Method and device for displaying image Download PDF

Info

Publication number
CN108877697B
CN108877697B CN201710317936.0A CN201710317936A CN108877697B CN 108877697 B CN108877697 B CN 108877697B CN 201710317936 A CN201710317936 A CN 201710317936A CN 108877697 B CN108877697 B CN 108877697B
Authority
CN
China
Prior art keywords
image
displayed
image data
channel
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710317936.0A
Other languages
Chinese (zh)
Other versions
CN108877697A (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 CN201710317936.0A priority Critical patent/CN108877697B/en
Publication of CN108877697A publication Critical patent/CN108877697A/en
Application granted granted Critical
Publication of CN108877697B publication Critical patent/CN108877697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • G09G3/3607Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention discloses a method and a device for displaying an image, and belongs to the technical field of display. The method is applied to a terminal, the terminal comprises a display panel, the display panel comprises a plurality of display units corresponding to pixels, each display unit comprises a sub-display unit corresponding to a white channel and sub-display units corresponding to a plurality of primary color channels, and the method comprises the following steps: the method comprises the steps of obtaining the image type of an image to be displayed, determining the image data of the image to be displayed under the white channel if the image to be displayed is a gray image, and displaying and outputting the determined image data based on a sub-display unit corresponding to the white channel in the display panel. By adopting the invention, the electric energy consumed by the terminal when the gray level image is displayed can be saved.

Description

Method and device for displaying image
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and an apparatus for displaying an image.
Background
The display panel is one of the most common input and output devices of electronic devices, the display panel has the capability of displaying text information and image information, and the liquid crystal display panel is a common display panel.
The liquid crystal display panel comprises a plurality of pixel display units, the display unit of each pixel can be divided into sub-display units corresponding to red, green and blue channels, and each sub-display unit can be composed of a driving circuit, a liquid crystal layer and a color filter. The liquid crystal display panel may further include a backlight source for supplying light to each of the sub display units, and a polarizing plate for changing a direction of the light.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in any image, each pixel of the image is composed of red, green and blue light rays formed by the light rays passing through the color filter, and the light transmission capability of the color filter is poor, so that more electric energy is consumed when the image is displayed.
Disclosure of Invention
In order to solve the problems of the prior art, embodiments of the present invention provide a method and apparatus for displaying an image. The technical scheme is as follows:
in a first aspect, a method for displaying an image is provided, where the method is applied to a terminal, where the terminal includes a display panel, where the display panel includes a plurality of display units corresponding to pixels, and each display unit includes a sub-display unit corresponding to a white channel and sub-display units corresponding to a plurality of primary color channels, respectively, where the method includes:
acquiring the image type of an image to be displayed;
if the image to be displayed is a gray image, determining image data of the image to be displayed only under the white channel;
and displaying and outputting the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
Optionally, if the image to be displayed is a grayscale image, determining that the image to be displayed is only image data in the white channel, including:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through a CPU or a GPU when the image to be displayed is generated.
Therefore, when the terminal generates the gray image, the image data of the terminal under the white channel can be directly determined, and further, in the processes of transmission, storage and rendering of subsequent image data, the processing resource of the image data can be effectively saved, so that the power consumption in displaying the image can be saved.
Optionally, if the image to be displayed is a grayscale image, determining that the image to be displayed is only image data in the white channel, including:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only by a transmission controller before the application processor transmits the primary color image data of the image to be displayed to the display panel.
In this way, after the terminal determines the primary color image data of the image to be displayed, the transmission controller may convert the primary color image data of the image to be displayed, and then transmit the converted image data in the white channel to the display panel. And then in the transmission, storage, rendering process of the subsequent image data, can save the processing resource of the image data effectively, thus can save the power consumption while revealing the picture.
Optionally, if the image to be displayed is a grayscale image, determining that the image to be displayed is only image data in the white channel, including:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through the data circuit after the data circuit of the display panel acquires the primary color image data of the image to be displayed.
In this way, after transmitting the primary image data to the display panel, the data circuit of the display panel may convert the primary image data first and then perform image display based on the converted image data in the white channel. Therefore, the processing resource of the image data can be effectively saved, and the power consumption when the image is displayed can be saved.
Optionally, the display areas of the sub-display units corresponding to the multiple primary color channels are equal, and the display area of the sub-display unit corresponding to the white channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
Thus, for a certain screen brightness, the required backlight intensity is lower, so that the power consumed by the backlight when displaying images can be saved.
In a second aspect, an apparatus for displaying an image is provided, the apparatus including a display panel, the display panel including a plurality of display units corresponding to pixels, each display unit including a sub-display unit corresponding to a white channel and a sub-display unit corresponding to a plurality of primary color channels, the apparatus including:
the acquisition module is used for acquiring the image type of the image to be displayed;
the determining module is used for determining the image data of the image to be displayed under the white channel if the image to be displayed is a gray image;
and the display module is used for displaying and outputting the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
Optionally, the determining module is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through a CPU or a GPU when the image to be displayed is generated.
Optionally, the determining module is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only by a transmission controller before the application processor transmits the primary color image data of the image to be displayed to the display panel.
Optionally, the determining module is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through the data circuit after the data circuit of the display panel acquires the primary color image data of the image to be displayed.
Optionally, the display areas of the sub-display units corresponding to the multiple primary color channels are equal, and the display area of the sub-display unit corresponding to the white channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
In a third aspect, there is provided an apparatus for displaying an image, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the image is displayed, if the image to be displayed is a gray image, the terminal can determine that the image to be displayed is only image data under the white channel, and then the sub-display unit corresponding to the white channel can be started to display the image to be displayed. Therefore, the white filter in the sub-display unit corresponding to the white channel has stronger light transmission capability, so that when certain screen brightness is required, the light intensity requirement of backlight is lower, and the electric energy consumed by the backlight when an interface is displayed is less. Meanwhile, compared with a red, green and blue channel, the gray image is displayed by only adopting the white channel, so that the data volume needing to be processed in the display process can be effectively reduced, and the electric quantity consumed by the terminal for processing the image data can be saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a display panel according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for displaying an image according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display area of a sub-display unit according to an embodiment of the present invention
Fig. 4 is a schematic structural diagram of a display unit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a display unit according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for displaying images according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for displaying an image, wherein an execution main body of the method is a terminal. The terminal can be any terminal with a function of displaying images, such as a mobile phone, a computer, and the like, and the images can be any images capable of being displayed on the terminal, such as photos, video images, application images, and the like. The terminal may be provided with a processor, a memory, and a screen, wherein the processor may be configured to process a process of displaying an image, the memory may be configured to store data required in the following process and generated data, the screen may be configured to display content, such as a target image, required to be displayed to a user in the following process, and the screen may include a display panel, the display panel includes a plurality of display units corresponding to pixels, and each display unit includes a sub-display unit corresponding to a white channel and a sub-display unit corresponding to a plurality of primary color channels, as shown in fig. 1. The terminal can also be provided with a screen, an input unit and a communication component, wherein the input unit can be used for inputting instructions or setting information to the terminal by a user. In this embodiment, the terminal is used as a mobile phone, and the plurality of primary color channels are red, green, and blue channels to perform detailed description of the scheme.
The process flow shown in fig. 2 will be described in detail below with reference to the specific embodiments, and the contents may be as follows:
step 201, obtaining the image type of the image to be displayed.
The image type may be type information capable of representing color composition of the image, and may be divided into a black-and-white image, a gray-scale image, and a color image.
In implementation, when the terminal is in a standby state, the backlight of the screen of the terminal is turned off, no display content exists on the screen, the user can operate on the terminal to control the terminal to display an image browsed by the user (i.e., an image to be displayed), and before the image to be displayed is displayed, the terminal can receive a display instruction of the image to be displayed, so that the image type of the image to be displayed can be acquired. Here, the image type of the image to be displayed may be determined by image data of the image to be displayed, the image data may include pixel values corresponding to all pixels of the image to be displayed, and the pixel value corresponding to each pixel may be composed of channel values of a plurality of primary color channels. Specifically, image data of an image to be displayed may be obtained first, and then the image type of the image to be displayed is determined by comparing channel values of each primary color channel in the image data, and if the channel values of each primary color channel in any one pixel of the image to be displayed are the same and are 255 or 0, the image to be displayed may be considered as a black-and-white image; if the channel values of the primary color channels in any pixel of the image to be displayed are the same, the image to be displayed can be regarded as a gray image; if the channel values of the primary color channels of each pixel of the image to be displayed are disordered, the image to be displayed can be regarded as a color image.
Step 202, if the image to be displayed is a gray image, determining that the image to be displayed is only image data under a white channel.
In the implementation, because the image data of the existing image is generally the image data of the fixed red, green and blue three primary colors, that is, the image data of each pixel only contains the channel values of the three primary color channels of the red channel, the green channel and the blue channel, when the channel values of the red, green and blue three primary color channels are the same, the gray scale pixel can be formed. In this way, if it is detected that the channel values of the respective primary color channels of any one pixel in the image to be displayed are the same, the image to be displayed can be considered as a grayscale image. At this time, considering that the terminal related to the scheme includes a plurality of primary color channels and a white channel at the same time, when a gray image needs to be displayed, the sub-display unit corresponding to the white channel can be started, and image data of the image to be displayed only under the white channel is determined, that is, channel values of red, green and blue primary color channels are converted into channel values of the white channel.
Optionally, before displaying the image to be displayed, the terminal may perform the above-mentioned determination processing on the image data at different times, and accordingly, step 202 may have the following multiple processing manners:
in the first mode, if the image to be displayed is a gray image, when the image to be displayed is generated, the CPU or the GPU determines that the image data of the image to be displayed is only in the white channel.
In implementation, when the terminal displays an image to be displayed, a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit) may generate image data of the corresponding image to be displayed according to operation data of an application to which the image to be displayed belongs, and then the application processor of the terminal may transmit the image data of the image to be displayed to a display panel of the terminal, and then a data circuit of the display panel of the terminal may convert the received image data into a voltage signal and provide the voltage signal to a display Unit of each pixel, so that the display panel displays the image to be displayed. Based on the process, before the terminal generates the image to be displayed, if the image to be displayed is judged to be a gray image by the application running data, the image data of the image to be displayed under a white channel is determined directly by a CPU or a GPU, and the image data under red, green and blue channels is not selected to be generated. Therefore, it can be understood that, compared with a red, green and blue three-color channel, the data volume of the image data under the white channel can be reduced to one third, and then, when the subsequent image data is stored, transmitted and rendered, only one third of the data volume needs to be processed, so that the corresponding processing resources can be saved, and the electric energy loss when the image to be displayed is reduced.
In the second mode, if the image to be displayed is a gray image, before the application processor transmits the primary color image data of the image to be displayed to the display panel, the transmission controller determines that the image to be displayed is only the image data in the white channel.
The primary image data may be image data including only primary color channels, for example, each pixel in most images is composed of three primary color channels of red, green and blue, and the primary image data may be channel values of three primary color channels of red, green and blue.
In implementation, when the terminal displays an image to be displayed, the CPU or the GPU may generate corresponding primary color image data of the image to be displayed according to the running data of the application to which the image to be displayed belongs, and then the application processor of the terminal may transmit the primary color image data to the display panel of the terminal, and then the data circuit of the display panel of the terminal may convert the received primary color image data into a voltage signal and provide the voltage signal to the display unit of each pixel, so that the display panel displays the image to be displayed. Based on the above process, after the terminal generates the image to be displayed, if the image to be displayed is judged to be a gray image, before the application processor transmits the primary color image data to the display panel, the transmission controller determines the image data of the image to be displayed only under the white channel, that is, before the primary color image data is transmitted to the display panel, the image data under the red, green and blue channels is converted into the image data under the white channel. Therefore, it can be understood that, compared with a red, green and blue three-color channel, the data volume of the image data under the white channel can be reduced to one third, and then, when the subsequent image data is transmitted and rendered, only one third of the data volume needs to be processed, so that the corresponding processing resources can be saved, and the electric energy loss when the image to be displayed is reduced.
And if the image to be displayed is a gray image, after the data circuit of the display panel acquires the primary color image data of the image to be displayed, determining the image data of the image to be displayed under the white channel only through the data circuit.
In implementation, when the terminal displays an image to be displayed, the CPU or the GPU may generate corresponding primary color image data of the image to be displayed according to the running data of the application to which the image to be displayed belongs, and then the application processor of the terminal may transmit the primary color image data to the display panel of the terminal, and then the data circuit of the display panel of the terminal may convert the received primary color image data into a voltage signal and provide the voltage signal to the display unit of each pixel, so that the display panel displays the image to be displayed. Based on the above process, after the terminal generates the image to be displayed and the display panel acquires the primary color image data of the image to be displayed transmitted by the application processor, if the image to be displayed is a gray image, the data circuit of the display panel can determine the image data of the image to be displayed only under the white channel before the image to be displayed is rendered, that is, the image data under the red, green and blue channels is converted into the image data under the white channel. Therefore, it can be understood that, compared with a red, green and blue three-color channel, the data volume of the image data under the white channel can be reduced to one third, and then, when the subsequent image data is rendered, only one third of the data volume needs to be processed, so that the corresponding processing resources can be saved, and the electric energy loss when the image to be displayed is reduced. Further, if a memory is configured in the display panel for storing the image data of the image to be displayed transmitted by the application processor, only a small amount of memory space may be occupied when the image to be displayed is a grayscale image. Moreover, if the terminal is specially used for displaying gray images, the display panel can adopt a smaller memory, so that the manufacturing cost of the display panel is saved, meanwhile, the area of the display panel IC can be properly reduced, and in addition, the related functions of the intelligent panel smart panel can be realized by using the smaller memory.
And step 203, displaying and outputting the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
In implementation, after the image data of the image to be displayed is converted, the terminal may start the sub-display unit corresponding to the white channel, and convert the determined image data into the voltage signal, so that the voltage signal is provided to the sub-display unit corresponding to the white channel through the data circuit, and then the terminal may display and output the determined image data based on the sub-display unit corresponding to the white channel in the display panel. Therefore, as the light transmission capability of the optical filter of the sub-display unit corresponding to the white channel is stronger, when a gray image with certain brightness needs to be displayed, the requirement of the sub-display unit corresponding to the white channel on the backlight intensity is lower, and the electric energy consumed by the backlight when the gray image is displayed can be saved.
It can be understood that the above three ways of determining the image data of the image to be displayed near the white channel occur at different times in the process of displaying the image, and regarding the occurrence time, the first way precedes the second way precedes the third way, which is not difficult to see, the earlier the image data of the white channel is determined, the more power consumption is saved, that is, under the condition permission, the image display processing can be performed in the first preferred way.
In the embodiment of the invention, when the image is displayed, if the image to be displayed is a gray image, the terminal can determine that the image to be displayed is only image data under the white channel, and then the sub-display unit corresponding to the white channel can be started to display the image to be displayed. Therefore, the white filter in the sub-display unit corresponding to the white channel has stronger light transmission capability, so that when certain screen brightness is required, the light intensity requirement of backlight is lower, and the electric energy consumed by the backlight when an interface is displayed is less. Meanwhile, compared with a red, green and blue channel, the gray image is displayed by only adopting the white channel, so that the data volume needing to be processed in the display process can be effectively reduced, and the electric quantity consumed by the terminal for processing the image data can be saved.
Another embodiment of the present invention further discloses a display panel, which is used for implementing the method for displaying images, and the content can be as follows:
the display panel includes a plurality of display units of pixels, each display unit includes a sub-display unit corresponding to a white channel and a sub-display unit corresponding to a plurality of primary color channels, wherein, as shown in fig. 3, the display areas of the sub-display units corresponding to the plurality of primary color channels are equal, and the display area of the sub-display unit corresponding to the white channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
Optionally, the plurality of primary color channels includes a red color channel, a blue color channel, and a green color channel.
In this way, pixels of different colors can be formed based on the three primary color channels of red, green, and blue.
Optionally, the display areas of the sub-display units corresponding to the multiple primary color channels and the sub-display units corresponding to the white color channels are rectangular display areas arranged in parallel and equal in length.
Optionally, the rectangular display areas of the sub-display units in each display unit are arranged in parallel in a manner that the long sides are vertical according to the same arrangement sequence.
Optionally, the rectangular display areas of the sub-display units in each display unit are arranged in parallel in a manner that the long sides are horizontal according to the same arrangement sequence.
Optionally, the display area of the sub-display unit corresponding to the white channel is smaller than half of the display area of the display unit.
In this way, it is possible to avoid that the white channel has too much influence on the accuracy of the pixel color.
Optionally, the display area of the sub-display unit corresponding to the white channel occupies 1/3 of the display area of the display unit.
Alternatively, each sub-display unit includes a TFT (Thin Film Transistor).
Alternatively, as shown in fig. 4, the display panel includes a gate circuit and a data circuit, the gate of each TFT is connected to the gate circuit, and the source is connected to the data circuit.
Thus, the uniform gate circuit can control the on/off of the TFT in the sub-display unit corresponding to the white color channel and each primary color channel.
Alternatively, as shown in fig. 5, the display panel includes a first gate circuit, a second gate circuit and a data circuit, the source of each TFT switch is connected to the data circuit, the gate of the TFT switch of the sub-display unit corresponding to each primary color channel is connected to the first gate circuit, and the gate of the TFT switch of the sub-display unit corresponding to each white color channel is connected to the second gate circuit.
Thus, the first gate circuit and the second gate circuit can respectively control the conduction or non-conduction of the TFTs in the sub-display units corresponding to the white color channel and each primary color channel.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for displaying an image, where the apparatus includes a display panel, the display panel includes a plurality of display units corresponding to pixels, each display unit includes a sub-display unit corresponding to a white channel and sub-display units corresponding to a plurality of primary color channels, as shown in fig. 6, the apparatus includes:
an obtaining module 601, configured to obtain an image type of an image to be displayed;
a determining module 602, configured to determine, if the image to be displayed is a grayscale image, image data of the image to be displayed only in the white channel;
and a display module 603, configured to display and output the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
Optionally, the determining module 602 is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through a CPU or a GPU when the image to be displayed is generated.
Optionally, the determining module 602 is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only by a transmission controller before the application processor transmits the primary color image data of the image to be displayed to the display panel.
Optionally, the determining module 602 is configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through the data circuit after the data circuit of the display panel acquires the primary color image data of the image to be displayed.
Optionally, the display areas of the sub-display units corresponding to the multiple primary color channels are equal, and the display area of the sub-display unit corresponding to the white channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
In the embodiment of the invention, when the image is displayed, if the image to be displayed is a gray image, the terminal can determine that the image to be displayed is only image data under the white channel, and then the sub-display unit corresponding to the white channel can be started to display the image to be displayed. Therefore, the white filter in the sub-display unit corresponding to the white channel has stronger light transmission capability, so that when certain screen brightness is required, the light intensity requirement of backlight is lower, and the electric energy consumed by the backlight when an interface is displayed is less. Meanwhile, compared with a red, green and blue channel, the gray image is displayed by only adopting the white channel, so that the data volume needing to be processed in the display process can be effectively reduced, and the electric quantity consumed by the terminal for processing the image data can be saved.
It should be noted that: in the device for displaying an image according to the above embodiment, when displaying an image, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for displaying an image and the method for displaying an image provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Yet another exemplary embodiment of the present disclosure shows a schematic structural diagram of a terminal. The terminal may be a mobile phone, a tablet computer, a computer, etc.
Referring to fig. 7, terminal 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the terminal 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the terminal 700. Examples of such data include instructions for any application or method operating on terminal 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
Power component 706 provides power to the various components of terminal 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the audio output device 700.
The multimedia component 708 comprises a screen providing an output interface between the terminal 700 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 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 708 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 terminal 700 is in an operation mode, such as a photographing 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 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the audio output device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716.
The I/O interface 712 provides an interface between the processing component 702 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 714 includes one or more sensors for providing various aspects of state assessment for the terminal 700. For example, sensor assembly 714 can detect an open/closed state of terminal 700, relative positioning of components, such as a display and keypad of terminal 700, change in position of terminal 700 or a component of terminal 700, presence or absence of user contact with terminal 700, orientation or acceleration/deceleration of terminal 700, and temperature change of terminal 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communications between the terminal 700 and other devices in a wired or wireless manner. The terminal 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 716 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 716 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 Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 700 can 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the terminal 700 to perform the above-described method is also provided. For example, the non-transitory computer readable 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.
Yet another embodiment of the present disclosure provides a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a terminal, enable the terminal to perform the method of displaying an image in the above-described embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A method for displaying images, the method being applied to a terminal, the terminal including a display panel, the display panel including a plurality of display units corresponding to pixels, each display unit including a sub-display unit corresponding to a white channel and sub-display units corresponding to a plurality of primary color channels, the method comprising:
acquiring image data of an image to be displayed;
comparing the channel values of the primary color channels in the image data, and determining the image type of the image to be displayed, wherein the method comprises the following steps: if the channel values of all primary color channels in any pixel of the image data are the same, determining that the image to be displayed is a gray image;
if the image to be displayed is a gray image, determining that the image to be displayed is only the image data under the white channel, including: the method comprises the steps that a CPU or a GPU determines image data of a corresponding image to be displayed according to running data of an application to which the image to be displayed belongs, wherein the image data are channel values of a red-green-blue three-primary-color channel;
and displaying and outputting the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
2. The method of claim 1, wherein determining that the image to be displayed is only image data in the white channel if the image to be displayed is a grayscale image further comprises:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only by a transmission controller before the application processor transmits the primary color image data of the image to be displayed to the display panel.
3. The method of claim 1, wherein determining that the image to be displayed is only image data in the white channel if the image to be displayed is a grayscale image further comprises:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through the data circuit after the data circuit of the display panel acquires the primary color image data of the image to be displayed.
4. The method according to claim 1, wherein the sub-display units corresponding to the plurality of primary color channels have equal display areas, and the display area of the sub-display unit corresponding to the white color channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
5. An apparatus for displaying an image, the apparatus comprising a display panel, the display panel comprising a plurality of display elements corresponding to pixels, each display element comprising a sub-display element corresponding to a white channel and a plurality of sub-display elements corresponding to primary color channels, the apparatus comprising:
the acquisition module is used for acquiring image data of an image to be displayed;
the first determining module is configured to compare channel values of the primary color channels in the image data, and determine an image type of an image to be displayed, and includes: if the channel values of all primary color channels in any pixel of the image data are the same, determining that the image to be displayed is a gray image;
a second determining module, configured to determine, if the image to be displayed is a grayscale image, image data of the image to be displayed only in the white channel, where the determining module includes: the method comprises the steps that a CPU or a GPU determines image data of a corresponding image to be displayed according to running data of an application to which the image to be displayed belongs, wherein the image data are channel values of a red-green-blue three-primary-color channel;
and the display module is used for displaying and outputting the determined image data based on the sub-display unit corresponding to the white channel in the display panel.
6. The apparatus of claim 5, wherein the determining module is further configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only by a transmission controller before the application processor transmits the primary color image data of the image to be displayed to the display panel.
7. The apparatus of claim 5, wherein the determining module is further configured to:
and if the image to be displayed is a gray image, determining the image data of the image to be displayed under the white channel only through the data circuit after the data circuit of the display panel acquires the primary color image data of the image to be displayed.
8. The apparatus of claim 5, wherein the sub-display units corresponding to the plurality of primary color channels have equal display areas, and the display area of the sub-display unit corresponding to the white color channel is larger than the display area of the sub-display unit corresponding to each primary color channel.
9. An apparatus for displaying an image, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of claims 1-4 above.
CN201710317936.0A 2017-05-08 2017-05-08 Method and device for displaying image Active CN108877697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317936.0A CN108877697B (en) 2017-05-08 2017-05-08 Method and device for displaying image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317936.0A CN108877697B (en) 2017-05-08 2017-05-08 Method and device for displaying image

Publications (2)

Publication Number Publication Date
CN108877697A CN108877697A (en) 2018-11-23
CN108877697B true CN108877697B (en) 2020-12-29

Family

ID=64287769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317936.0A Active CN108877697B (en) 2017-05-08 2017-05-08 Method and device for displaying image

Country Status (1)

Country Link
CN (1) CN108877697B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889824A (en) * 2019-04-15 2019-06-14 湖南德雅坤创科技有限公司 A kind of video color mode detection method, device and computer readable storage medium
CN113596425B (en) * 2021-06-21 2023-02-07 深圳市沃特沃德信息有限公司 Image processing method and device for ink screen terminal, storage medium and intelligent device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102160112A (en) * 2008-07-16 2011-08-17 全球Oled科技有限责任公司 Converting three-component to four-component image
CN103779388A (en) * 2014-01-17 2014-05-07 京东方科技集团股份有限公司 Organic electroluminescence display device and driving method thereof, and display apparatus
CN105096801A (en) * 2015-08-14 2015-11-25 京东方科技集团股份有限公司 Display unit, display panel and driving method thereof and display device
WO2016115049A2 (en) * 2015-01-13 2016-07-21 Magic Leap, Inc. Improved color sequential display
CN106057155A (en) * 2016-07-28 2016-10-26 武汉华星光电技术有限公司 Control method and control device for reducing power consumption of liquid crystal display module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102160112A (en) * 2008-07-16 2011-08-17 全球Oled科技有限责任公司 Converting three-component to four-component image
CN103779388A (en) * 2014-01-17 2014-05-07 京东方科技集团股份有限公司 Organic electroluminescence display device and driving method thereof, and display apparatus
WO2016115049A2 (en) * 2015-01-13 2016-07-21 Magic Leap, Inc. Improved color sequential display
CN105096801A (en) * 2015-08-14 2015-11-25 京东方科技集团股份有限公司 Display unit, display panel and driving method thereof and display device
CN106057155A (en) * 2016-07-28 2016-10-26 武汉华星光电技术有限公司 Control method and control device for reducing power consumption of liquid crystal display module

Also Published As

Publication number Publication date
CN108877697A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN105489194B (en) A kind of method and apparatus of display image
US9858885B2 (en) Method and device for reducing display brightness
CN104599642B (en) Backlight control method and backlight control device
JP6401785B2 (en) Liquid crystal display method and apparatus
CN106710539B (en) Liquid crystal display method and device
US10269287B2 (en) Power saving method and device for displaying content in display screen
US10234924B2 (en) Method and apparatus for displaying time on mobile device
CN109215578B (en) Screen display method and device
US10134326B2 (en) Device for and method of saving power when refreshing a display screen when displayed content does not change
CN105511852A (en) Screen display processing method, and device and equipment
CN112116670A (en) Information processing method and device, electronic device and storage medium
CN108877700B (en) Method and device for displaying image
CN108877701B (en) Method and device for displaying image
CN108184103B (en) Method and apparatus for displaying image
CN108877697B (en) Method and device for displaying image
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN108874332B (en) Interface display method and device
CN113946398A (en) Display control method and device of terminal and storage medium
CN108877702B (en) Method and device for displaying image
CN108538261B (en) Display control method and device and display equipment
CN112527160A (en) Method and device for displaying icons on information screen, processor and display equipment
CN111381407A (en) Display panel, display device, scanning method and device
WO2023220929A1 (en) Interface display method and apparatus, terminal, and storage medium
US11961488B2 (en) Method and device for controlling screen of electronic device, related electronic device and storage medium
CN106708460B (en) Method and device for displaying pixel points

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