CN110706634B - Display method and electronic device - Google Patents
Display method and electronic device Download PDFInfo
- Publication number
- CN110706634B CN110706634B CN201910948748.7A CN201910948748A CN110706634B CN 110706634 B CN110706634 B CN 110706634B CN 201910948748 A CN201910948748 A CN 201910948748A CN 110706634 B CN110706634 B CN 110706634B
- Authority
- CN
- China
- Prior art keywords
- area
- region
- pixel
- target
- scale value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/2007—Display of intermediate tones
- G09G3/2074—Display of intermediate tones using sub-pixels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0407—Resolution change, inclusive of the use of different resolutions for different screen areas
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present disclosure provides a display method, including: responding to the lighting instruction, and lighting the display screen; obtaining a target brightness value; determining a target gray-scale value of the first area and a target gray-scale value of the second area based on the target brightness value; the first area and the second area belong to a display area of the display screen; the first area corresponds to a first pixel; the second region corresponds to a second pixel; the density of first pixels of the first region is less than the density of second pixels of the second region; outputting display data based on the target gray-scale value of the first area and the target gray-scale value of the second area; the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area. The present disclosure also provides an electronic device.
Description
Technical Field
The present disclosure relates to a display method and an electronic device.
Background
With the progress of electronic technology, full-screen electronic equipment is produced. The display screen of a full-screen electronic device typically includes two regions, a normal display region and a high-transparency region. Among them, some devices of the electronic device, such as a front camera, an infrared sensor, etc., are usually placed behind the high-transmittance region. In order to improve the light transmittance of the high-transmittance region, the pixel density or arrangement of the high-transmittance region portion is generally different from that of the normal display region.
However, since the pixel density or arrangement of the high-transmittance region portion is different from that of the normal display region, the display effect of the high-transmittance region and the normal display region is different.
Disclosure of Invention
One aspect of the present disclosure provides a display method, including: the method includes the steps of responding to a lighting instruction, lighting a display screen, obtaining a target brightness value, determining a target gray-scale value of a first area and a target gray-scale value of a second area based on the target brightness value, wherein the first area and the second area belong to the display area of the display screen, the first area corresponds to first pixels, the second area corresponds to second pixels, the density of the first pixels of the first area is smaller than that of the second pixels of the second area, and outputting display data based on the target gray-scale value of the first area and the target gray-scale value of the second area, wherein the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
Optionally, a transition region is further included between the first region and the second region.
Optionally, the method further comprises determining a target gray scale value for a transition region based on the target luminance value, the transition region outputting display data based on the target gray scale value.
Optionally, the transition region corresponds to a third pixel, and a density of the third pixel of the transition region is greater than a density of the first pixel of the first region and less than a density of the second pixel of the second region.
Optionally, the method further includes determining a target gray-scale value of the transition region based on the target luminance value, where the target gray-scale value is a gray-scale value obtained by accumulating the second compensation value, or determining a target gray-scale value of the transition region based on the target luminance value, where the target gray-scale value is a gray-scale value embodied by a third pixel corresponding to the transition region.
Another aspect of the present disclosure provides an electronic device including: the display area of the display screen comprises a first area and a second area, the first area corresponds to first pixels, the second area corresponds to second pixels, and the density of the first pixels of the first area is smaller than that of the second pixels of the second area. The camera is arranged below the display screen, an acquisition area of the camera corresponds to the first area, the camera obtains ambient light through an interval between first pixels corresponding to the first area, the processor is used for obtaining a target brightness value, determining a target gray scale value of the first area and a target gray scale value of the second area based on the target brightness value, and outputting display data based on the target gray scale value of the first area and the target gray scale value of the second area.
Optionally, the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used to reduce a difference between the brightness of the first area and the brightness of the second area caused by a difference between the pixel density of the first area and the pixel density of the second area.
Optionally, the aperture ratio of the second pixel is smaller than the aperture ratio of the first pixel.
Optionally, a transition region is further included between the first region and the second region, and the processor is further configured to determine a target gray scale value of the transition region based on the target luminance value, the transition region outputting display data based on the target gray scale value, and the transition region belonging to the second region.
Optionally, a transition region is further included between the first region and the second region, the transition region corresponds to a third pixel, and a density of the third pixel of the transition region is greater than a density of the first pixel of the first region and less than a density of the second pixel of the second region. The processor is further configured to determine a target gray-scale value of the transition region based on the target brightness value, where the target gray-scale value is the gray-scale value obtained by accumulating the second compensation value, or determine a target gray-scale value of the transition region based on the target brightness value, where the target gray-scale value is the gray-scale value embodied by the third pixel corresponding to the transition region.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of a display method according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a display method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic view in which a second region may include a transition region, according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a schematic view of a transition region according to an embodiment of the disclosure;
fig. 5A schematically illustrates a pixel arrangement of a second region non-transition region according to an embodiment of the present disclosure;
fig. 5B schematically illustrates a schematic diagram of a pixel arrangement of a second region transition region according to an embodiment of the present disclosure;
fig. 5C schematically illustrates a schematic diagram of a pixel arrangement of the first region according to an embodiment of the present disclosure; and
fig. 6 schematically shows a block diagram of an electronic device adapted to implement a display method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that these descriptions are illustrative only and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides a display method and an electronic device. The method comprises the step of acquiring a target brightness value of a display screen under the condition that the display screen is lightened. And determining a target gray-scale value of a first area in the display screen and a target gray-scale value of a second area in the display screen according to the target brightness value. The first region corresponds to the first pixels, the second region corresponds to the second pixels, and the density of the first pixels is smaller than that of the second pixels. Next, display data is output based on the target grayscale value of the first region and the target grayscale value of the second region. The target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
Fig. 1 schematically illustrates an application scenario of a display method according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, an electronic device 100 may be included in the application scenario. The electronic device 100 may be, for example, a full-screen mobile phone, a tablet computer, or any other electronic device including a display screen.
Electronic components such as a camera of the electronic apparatus 100 may be disposed behind the display screen so as to be hidden inside the electronic apparatus 100. As shown in fig. 1, for example, a camera of the electronic device may be hidden behind one display area 110 in the display screen.
According to the embodiment of the present disclosure, a camera is placed behind the display area 110, and in order to improve the light transmittance of the display area 110, the pixel density of the display area 110 may be less than that of other areas on the display screen. However, the pixel density of the display area 110 is different from that of other areas, so that the display effect of the display area 110 is different from that of other areas.
The present disclosure provides a display method, which may reduce a difference between a display effect of the display area 110 and display effects of other areas, make the display effect of the display screen more natural, and improve user experience.
Fig. 2 schematically shows a flow chart of a display method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S204.
In operation S201, a display screen is lit in response to a lighting instruction.
According to an embodiment of the present disclosure, the lighting instruction may be, for example, a lighting instruction generated by a user clicking an unlock button when the electronic device is in a screen lock state. Alternatively, the lighting instruction may be, for example, an instruction for controlling the electronic device to display the content on the display screen.
In operation S202, a target brightness value is obtained.
The target brightness value may be, for example, a brightness value of the display screen determined by the electronic device according to the brightness of the current environment. The target brightness may be adapted to the brightness of the current environment to enable the user to see the display content on the display screen clearly.
According to the embodiment of the disclosure, for example, a corresponding relationship table between the brightness of the current environment and the target brightness value may be stored in the electronic device, and the electronic device determines the target brightness value by sensing the brightness of the current environment and looking up the corresponding relationship table.
According to the embodiment of the present disclosure, the target brightness value may also be set by the user himself, for example. And under the condition that the target brightness value is set by the user, the electronic equipment acquires the target brightness value set by the user.
In operation S203, a target grayscale value of the first region and a target grayscale value of the second region are determined based on the target luminance values. The first area and the second area belong to a display area of a display screen. The first region corresponds to the first pixel, and the second region corresponds to the second pixel. The density of the first pixels of the first region is less than the density of the second pixels of the second region. The target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
According to an embodiment of the present disclosure, the target gray scale value may be a gray scale value that the pixel should output in order for the display screen to reach the target brightness. According to the embodiments of the present disclosure, since different colors are output even at the same gray scale value, the luminance may be visually different for the different colors. For example, blue may be visually brighter than yellow. Therefore, in order to achieve the same target brightness of the display screen, pixels outputting different colors may correspond to different target gray scale values. For example, to achieve a target brightness for the display screen, the target gray scale value for the pixel outputting blue may be less than the target gray scale value for the pixel outputting white.
Specifically, for example, the target brightness of the electronic device may be half of the maximum brightness that can be achieved by the electronic device, and when an image is output on the display screen, the electronic device needs to determine the target gray-scale value of each pixel according to the image that needs to be output currently and the target brightness that needs to be achieved. For example, the image may include yellow, the pixel in the display screen may be caused to output yellow by controlling the ratio of R, G, B, and the electronic device may determine to output yellow and the luminance of the display screen reaches half of the maximum luminance, for example, by looking up the correspondence between yellow, the target luminance, and the target gray scale value, and output the target gray scale value for the yellow pixel. For another example, the image may further include purple, the pixel displaying purple outputs purple by controlling the proportion of R, G, B, and the electronic device may determine to output purple by querying the corresponding relationship between purple, the target brightness and the target gray-scale value, and the brightness of the display screen reaches half of the maximum brightness, and output the target gray-scale value of the pixel displaying purple.
In operation S203, a target gray-scale value of each pixel may be determined according to the target brightness value and the color output by each pixel. And the target gray-scale value of the pixel of the first area and the target gray-scale value of the pixel of the second area are different for the same color due to the difference of the pixel density of the second area and the first area.
According to an embodiment of the present disclosure, for example, in the electronic device 100 shown in fig. 1, the first region may be, for example, the display region 110. The second area may be, for example, an area of the electronic device 100 other than the display area 110. The pixel density of the first region is less than the pixel density of the second region.
According to the embodiment of the disclosure, since the pixel density of the first region is less than that of the second region, if the pixels in the first region and the second region output the same gray-scale value, the luminance of the first region is less than that of the second region, which results in inconsistent display effect of the electronic device 100.
In order to make the display effects of the first and second regions of the electronic device 100 consistent, a target gray scale value of the first region is determined based on a target brightness value, and a target gray scale value of the second region is determined based on the target brightness value in operation S203. The target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
For example, in order to make the luminance of the display area 110 of the electronic device 100 reach a target luminance value, that is, the luminance of the other areas except the display area 110 are consistent, a target gray-scale value of the first area and a target gray-scale value of the second area may be determined according to the target luminance value, respectively, in operation S203. And the target gray-scale value of the first area is the gray-scale value after the first compensation value is accumulated.
Specifically, for example, the target luminance is reached when the target gray-scale value output by the second region is 128, and the target gray-scale value output by the first region for reaching the target luminance may be 128+ offset. Wherein, the offset is the first compensation value, and the offset is greater than 0.
According to an embodiment of the present disclosure, for example, a first correspondence table and a second correspondence table may be stored in the electronic device. The first corresponding table is used for indicating that the pixels of the first area output target gray-scale values corresponding to different colors under different target brightness, and the second corresponding table is used for indicating that the pixels of the second area output target gray-scale values corresponding to different colors under different target brightness.
Specifically, the target luminance is half of the maximum luminance. For example, one pixel in the first area needs to output red, and the other pixel in the second area also outputs red, and the target gray-scale value corresponding to the pixel in the first area outputting red and having the brightness reaching half of the maximum brightness is determined by querying the first corresponding table. For example, querying the first mapping table to determine that the target grayscale value may be 128+ offset. Similarly, the target gray-scale value corresponding to the pixel of the second region outputting red and having a luminance reaching half of the maximum luminance may be 128, for example, by referring to the second correspondence table.
In operation S204, display data is output based on the target grayscale value of the first region and the target grayscale value of the second region.
For example, the pixels of the first and second regions may be controlled to output colors according to respective target gray-scale values.
According to an embodiment of the present disclosure, a transition region is further included between the first region and the second region. For example, a portion of the first region close to the second region is set as a transition region, or a portion of the second region close to the first region is set as a transition region, or a portion of the first region close to the second region and a portion of the second region close to the first region are set as transition regions.
The following description is schematically made by taking an example in which a portion of the second region close to the first region includes a transition region.
Fig. 3 schematically illustrates a schematic view in which the second region may include a transition region according to an embodiment of the present disclosure.
In the electronic device shown in fig. 3, a display screen 200 of the electronic device may include a first region 210 and a second region 220. The pixel density of the first region 210 is less than the pixel density of the second region 220.
As shown in fig. 3, the second region 220 may include a transition region 221 and a non-transition region 222.
According to an embodiment of the present disclosure, the display method may further include determining a target gray scale value of a transition region based on the target luminance value, the transition region outputting the display data based on the target gray scale value, the transition region belonging to the second region.
According to an embodiment of the present disclosure, the target gray-scale value of the transition region is controlled based on the target luminance value such that the display effect of the transition region is between the non-transition region 222 and the first region 210.
For example, the target grayscale value of the transition region may be controlled to be greater than the target grayscale value of the first region and less than the target grayscale value of the second region, where the transition region belongs to the second region.
According to the embodiment of the disclosure, the transition area is arranged between the second area and the first area, and the target gray-scale value of the transition area is controlled between the first area and the second area, so that the brightness of the first area and the second area is gradually changed, the user cannot feel suddenly changed, the brightness of the display screen looks more consistent, and the visual effect of the display screen is better.
It should be understood that in the embodiment shown in fig. 3, the transition region is disposed in the second region 220, and similarly, the transition region may be disposed in the first region 210, or both the first region 210 and the second region 220 may be disposed in the transition region.
Embodiments according to the present disclosure are described below with the transition region disposed in the second region, it being understood that the following embodiments may also be applied to embodiments in which the first region includes the transition region.
Fig. 4 schematically illustrates a schematic view of a transition region 221 according to an embodiment of the present disclosure.
As shown in fig. 4, the transition region 221 includes a plurality of first pixel circles, which may be, for example, pixel circles R1 to R4, around the first region.
According to the embodiment of the present disclosure, the target gray-scale values of the pixel circles R1 to R4 may be sequentially increased, for example.
According to an embodiment of the present disclosure, the transition region corresponds to a third pixel, and a density of the third pixel of the transition region is greater than a density of the first pixel of the first region and less than a density of the second pixel of the second region.
According to the embodiment of the disclosure, the method can reduce the difference in the display effect of the first area and the second area through a hardware technical means. The following describes a specific embodiment of this embodiment with reference to fig. 5A to 5C.
Fig. 5A schematically illustrates a schematic diagram of a pixel arrangement of a second region non-transition region according to an embodiment of the present disclosure.
Fig. 5B schematically illustrates a schematic diagram of a pixel arrangement of a second region transition region according to an embodiment of the present disclosure.
Fig. 5C schematically illustrates a schematic view of a pixel arrangement of the first region according to an embodiment of the present disclosure.
As shown in fig. 5A to 5C, the pixel density of the non-transition region of the second region is greater than the pixel density of the transition region of the second region, and the pixel density of the transition region of the second region is greater than the pixel density of the first region.
According to an embodiment of the present disclosure, the transition region may have a pixel arrangement in which pixels of the non-transition region are deleted according to a first predetermined rule, and the first region may have a pixel arrangement in which pixels of the transition region are deleted according to a second predetermined rule. As shown in fig. 5A and 5B, the pixels of the transition region may be arranged in such a manner that pixels of one row and one column in the middle of the non-transition region are removed. As shown in fig. 5B and 5C, the arrangement of the pixels of the first region may be an arrangement in which some rows of pixels and some columns of pixels are removed in the transition region.
According to the embodiment of the disclosure, the arrangement of the first pixels of the first region may be in accordance with a specific arrangement rule to ensure regular consistency of intervals formed between the pixels, so as to ensure convenience of the electronic device in performing later data optimization. For example, the first pixels may be evenly distributed in the first area.
According to an embodiment of the present disclosure, the density of the third pixels of the transition region may also be graded. For example, the density of the third pixels near the first region is less than the density of the third pixels far from the first region.
According to an embodiment of the present disclosure, in the transition region, the third pixel corresponds to the third pixel, and the density of the third pixel of the transition region is greater than the density of the first pixel of the first region and less than the density of the second pixel of the second region, the display method shown in fig. 2 may further include, on the basis of operations S201 to S204: and determining a target gray level value of the transition region based on the target brightness value, wherein the target gray level value is the gray level value obtained by accumulating the second compensation value, or determining the target gray level value of the transition region based on the target brightness value, and the target gray level value is the gray level value embodied by the third pixel corresponding to the transition region.
For example, in the scenario shown in fig. 3, a target gray level of the transition region 221 is determined according to the target brightness value, and the target gray level is a gray level obtained by accumulating the second compensation value. The target gray-scale value after accumulating the second compensation value may be between the target gray-scale value of the first area and the non-transition area of the second area. The method reduces the difference in the display effect of the first area and the second area through the combined action of hardware and software.
According to an embodiment of the disclosure, the transition region may be in the second region, for example, and the target grayscale value that is the grayscale value embodied by the third pixel corresponding to the transition region may be a grayscale value determined according to the color of the second region, the target brightness, and the second correspondence table of the target grayscale value. In other words, the target gray-scale value output by the third pixel of the transition region does not need to be compensated.
Another aspect of the present disclosure provides an electronic device. The electronic device may include a camera, a display screen, and a processor. The display area of the display screen includes a first area and a second area. The first region corresponds to the first pixel, and the second region corresponds to the second pixel. The density of the first pixels of the first region is less than the density of the second pixels of the second region. The camera sets up in the display screen below, and the collection region of camera corresponds with first region. The camera obtains ambient light through the interval between the first pixels corresponding to the first area. The processor is used for obtaining a target brightness value, determining a target gray-scale value of the first area and a target gray-scale value of the second area based on the target brightness value, and outputting display data based on the target gray-scale value of the first area and the target gray-scale value of the second area.
According to an embodiment of the present disclosure, the processor may, for example, perform operations S201-S204 described above with reference to fig. 2.
According to an embodiment of the present disclosure, the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used to reduce a difference between the luminance of the first area and the luminance of the second area caused by a difference between the pixel density of the first area and the pixel density of the second area.
According to an embodiment of the present disclosure, a transition region is further included between the first region and the second region. The processor is further configured to determine a target gray scale value for a transition region based on the target luminance value, the transition region outputting display data based on the target gray scale value, the transition region belonging to the second region.
According to the embodiment of the present disclosure, a transition region is further included between the first region and the second region, the transition region corresponds to a third pixel, and the density of the third pixel of the transition region is greater than the density of the first pixel of the first region and less than the density of the second pixel of the second region. The processor is further configured to determine a target gray-scale value of the transition region based on the target brightness value, where the target gray-scale value is a gray-scale value obtained by accumulating the second compensation value, or determine a target gray-scale value of the transition region based on the target brightness value, where the target gray-scale value is a gray-scale value represented by a third pixel corresponding to the transition region.
According to an embodiment of the present disclosure, the aperture ratio of the second pixel is smaller than the aperture ratio of the first pixel.
According to the embodiment of the disclosure, the aperture opening ratio of the first pixel in the first region is large, so that more external light enters the camera through the first pixel, and the light transmittance of the first region is improved.
According to an embodiment of the present disclosure, the aperture ratio refers to a ratio of an area of a light passing portion after removing wiring, a transistor, and the like of each pixel to an entire area of the pixel.
According to an embodiment of the present disclosure, for example, the pixel structure of the second pixel of the second region may include 6 TFT transistors, and the pixel structure of the first pixel of the first region may include 4 TFT transistors, for example, so that the aperture ratio of the first region is greater than that of the second region.
According to an embodiment of the present disclosure, a transition region may be included between the first region and the second region. The aperture ratio of the pixel structure of the third pixel of the transition region may be between the aperture ratios of the first and second regions.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a display method according to an embodiment of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 includes a processor 610, a computer-readable storage medium 620. The electronic device 600 may perform a method according to an embodiment of the present disclosure.
In particular, the processor 610 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 610 may also include onboard memory for caching purposes. The processor 610 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 620, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 620 may include a computer program 621, which computer program 621 may include code/computer-executable instructions that, when executed by the processor 610, cause the processor 610 to perform a method according to an embodiment of the disclosure, or any variation thereof.
The computer program 621 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 621 may include one or more program modules, including 621A, modules 621B, … …, for example. It should be noted that the division and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 610 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 610.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be appreciated by those skilled in the art that various combinations and/or combinations of the features recited in the various embodiments of the disclosure and/or the claims may be made even if such combinations or combinations are not explicitly recited in the disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (8)
1. A display method, comprising:
lighting the display screen in response to the lighting instruction;
obtaining a target brightness value;
based on the target brightness value and the color output by each pixel, determining a target gray-scale value of a first area according to a preset first corresponding table, and determining a target gray-scale value of a second area according to a preset second corresponding table, wherein the first area and the second area belong to a display area of the display screen, the first area corresponds to a first pixel, the second area corresponds to a second pixel, the density of the first pixel of the first area is smaller than that of the second pixel of the second area, the first corresponding table is used for indicating that the pixels of the first area output the target gray-scale values corresponding to different colors under different target brightness, and the second corresponding table is used for indicating that the pixels of the second area output the target gray-scale values corresponding to different colors under different target brightness; the camera positioned below the display screen obtains more ambient light through the opening of the first pixel corresponding to the first area, and the opening ratio of the second pixel is smaller than that of the first pixel; and
outputting display data based on the target grayscale values of the first region and the second region,
the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
2. The method of claim 1, further comprising a transition region between the first region and the second region.
3. The method of claim 2, further comprising:
and determining a target gray scale value of a transition region based on the target brightness value, wherein the transition region outputs display data based on the target gray scale value of the transition region, and the transition region belongs to the second region.
4. The method of claim 2, wherein the transition region corresponds to a third pixel having a density that is greater than a density of a first pixel of the first region and less than a density of a second pixel of the second region.
5. The method of claim 4, further comprising:
determining a target gray-scale value of a transition region based on the target brightness value, wherein the target gray-scale value of the transition region is a gray-scale value obtained by accumulating a second compensation value; or
And determining a target gray-scale value of a transition region based on the target brightness value, wherein the target gray-scale value of the transition region is a gray-scale value embodied by a third pixel corresponding to the transition region.
6. An electronic device, comprising:
a camera;
the display screen comprises a display area and a control area, wherein the display area of the display screen comprises a first area and a second area, the first area corresponds to first pixels, the second area corresponds to second pixels, and the density of the first pixels in the first area is smaller than that of the second pixels in the second area;
the camera is arranged below the display screen, an acquisition area of the camera corresponds to the first area, and the camera obtains ambient light through an interval between first pixels corresponding to the first area; the camera obtains more ambient light through the opening of the first pixel corresponding to the first area, and the opening ratio of the second pixel is smaller than that of the first pixel;
a processor, configured to obtain a target brightness value, determine a target gray scale value of a first region according to a preset first correspondence table based on the target brightness value and a color output by each pixel, determine a target gray scale value of a second region according to a preset second correspondence table, and output display data based on the target gray scale value of the first region and the target gray scale value of the second region, where the first correspondence table is used to indicate that pixels of the first region output target gray scale values corresponding to different colors at different target brightnesses, and the second correspondence table is used to indicate that pixels of the second region output target gray scale values corresponding to different colors at different target brightnesses;
the target gray-scale value of the first area is a gray-scale value obtained by accumulating a first compensation value, and the first compensation value is used for reducing the difference between the brightness of the first area and the brightness of the second area caused by the difference between the pixel density of the first area and the pixel density of the second area.
7. The electronic device of claim 6, further comprising a transition region between the first region and the second region, the processor further to:
and determining a target gray scale value of a transition region based on the target brightness value, wherein the transition region outputs display data based on the target gray scale value of the transition region, and the transition region belongs to the second region.
8. The electronic device of claim 6, further comprising a transition region between the first region and the second region, the transition region corresponding to a third pixel, a density of the third pixel of the transition region being greater than a density of the first pixel of the first region and less than a density of the second pixel of the second region,
the processor is further configured to determine a target gray scale value of a transition region based on the target brightness value, where the target gray scale value of the transition region is a gray scale value obtained by accumulating a second compensation value;
or alternatively
The processor is further configured to determine a target gray scale value of a transition region based on the target brightness value, where the target gray scale value of the transition region is a gray scale value embodied by the third pixel corresponding to the transition region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910948748.7A CN110706634B (en) | 2019-09-30 | 2019-09-30 | Display method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910948748.7A CN110706634B (en) | 2019-09-30 | 2019-09-30 | Display method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110706634A CN110706634A (en) | 2020-01-17 |
CN110706634B true CN110706634B (en) | 2022-07-26 |
Family
ID=69197799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910948748.7A Active CN110706634B (en) | 2019-09-30 | 2019-09-30 | Display method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110706634B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111650996A (en) * | 2020-05-21 | 2020-09-11 | Oppo广东移动通信有限公司 | Image display method and device, mobile terminal and storage medium |
CN111650995A (en) * | 2020-05-21 | 2020-09-11 | Oppo广东移动通信有限公司 | Image display method and device, mobile terminal and storage medium |
CN111833794A (en) * | 2020-06-30 | 2020-10-27 | 昆山国显光电有限公司 | Brightness compensation method and device, parameter determination method and device and display device |
CN111866482B (en) * | 2020-07-09 | 2022-06-24 | Oppo广东移动通信有限公司 | Display method, terminal and storage medium |
CN113963658B (en) * | 2020-07-21 | 2023-05-30 | Oppo广东移动通信有限公司 | Brightness compensation method, brightness data determination method, device and chip |
CN111816112B (en) * | 2020-07-24 | 2022-04-08 | 昆山国显光电有限公司 | Method and device for determining compensation parameters of display panel |
CN111816113A (en) * | 2020-07-29 | 2020-10-23 | 昆山工研院新型平板显示技术中心有限公司 | Brightness compensation method, device and equipment of display panel |
CN112214141A (en) * | 2020-09-30 | 2021-01-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN112199065A (en) | 2020-10-22 | 2021-01-08 | Tcl通讯(宁波)有限公司 | Method and device for determining local display area compensation value, storage medium and terminal equipment |
CN112416282A (en) * | 2020-11-30 | 2021-02-26 | Oppo广东移动通信有限公司 | Compensation method, terminal and computer storage medium |
CN113140196B (en) * | 2021-04-19 | 2022-06-10 | Oppo广东移动通信有限公司 | Display module compensation method and device, electronic equipment and readable storage medium |
CN113242339B (en) * | 2021-06-15 | 2023-08-29 | Oppo广东移动通信有限公司 | Display method, display device, electronic equipment and storage medium |
CN113470576A (en) * | 2021-06-30 | 2021-10-01 | 合肥维信诺科技有限公司 | Display screen evaluation method, device, equipment and computer readable storage medium |
CN113393798A (en) * | 2021-06-30 | 2021-09-14 | 合肥维信诺科技有限公司 | Driving method of display panel, driving chip and display device |
CN113903306B (en) * | 2021-10-13 | 2023-04-07 | 昆山国显光电有限公司 | Compensation method and compensation device of display panel |
CN114338873A (en) * | 2021-12-28 | 2022-04-12 | 维沃移动通信有限公司 | Image processing circuit, method and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105096856B (en) * | 2015-07-23 | 2018-03-20 | 深圳市华星光电技术有限公司 | The driving method and drive device of liquid crystal panel |
CN108257514A (en) * | 2017-09-30 | 2018-07-06 | 昆山国显光电有限公司 | Display screen, display panel drive method and its display device |
CN108648679B (en) * | 2018-05-18 | 2020-06-26 | 京东方科技集团股份有限公司 | Display panel driving method and device and display equipment |
CN108538206B (en) * | 2018-05-25 | 2021-02-09 | 武汉天马微电子有限公司 | Display panel and display device |
CN108766347A (en) * | 2018-06-13 | 2018-11-06 | 京东方科技集团股份有限公司 | A kind of display panel, its display methods and display device |
CN209070895U (en) * | 2018-11-07 | 2019-07-05 | 云谷(固安)科技有限公司 | Display panel and display terminal |
CN110112200A (en) * | 2019-05-21 | 2019-08-09 | 武汉天马微电子有限公司 | Display panel and display device |
-
2019
- 2019-09-30 CN CN201910948748.7A patent/CN110706634B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110706634A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110706634B (en) | Display method and electronic device | |
US10504461B2 (en) | Display apparatus and display method | |
CA2845950C (en) | System and method of audio information display on video playback timeline | |
CN104240674B (en) | A kind of method regulating display unit and a kind of electronic equipment | |
US20130147981A1 (en) | System and method for adjusting brightness of a display screen of an electronic device | |
US9390646B2 (en) | Color calibration apparatus and method usable with display device | |
CN101512630A (en) | Image display method and image display device | |
CN113763856B (en) | Method and device for determining ambient illumination intensity and storage medium | |
CN109740519B (en) | Control method and electronic device | |
CN107452348B (en) | Method and system for reducing noise of display picture, computer device and readable storage medium | |
TW201101277A (en) | Display device | |
RU2014139709A (en) | MULTI-SCREEN DISPLAY DEVICE | |
KR102076312B1 (en) | Display device | |
CN116194958A (en) | Selective coloring of thermal imaging | |
CN114093323A (en) | Screen control method and device, electronic equipment and storage medium | |
CN109714484B (en) | Data processing method and electronic equipment | |
CN109599068B (en) | VR equipment and control method thereof | |
DE102008042200A1 (en) | Manipulation of the environment-synchronized interface | |
US11295700B2 (en) | Display apparatus, display method, image processing device and computer program product for image processing | |
CN107564456B (en) | Display panel, driving method thereof and display device | |
CN111653250B (en) | Screen display demonstration method and device and terminal equipment | |
WO2018130909A3 (en) | Images with virtual reality backgrounds | |
CN110364104B (en) | Picture color overflow method, device, equipment and computer readable storage medium for display equipment | |
JP2020184001A (en) | Display device, visibility evaluation method and viewing object size determination method | |
CN115578961A (en) | Screen detection method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |