WO2018036526A1 - 显示方法及装置 - Google Patents
显示方法及装置 Download PDFInfo
- Publication number
- WO2018036526A1 WO2018036526A1 PCT/CN2017/098676 CN2017098676W WO2018036526A1 WO 2018036526 A1 WO2018036526 A1 WO 2018036526A1 CN 2017098676 W CN2017098676 W CN 2017098676W WO 2018036526 A1 WO2018036526 A1 WO 2018036526A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- layer
- pixels
- enhancement
- gradation value
- layers
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000008859 change Effects 0.000 claims description 49
- 230000035772 mutation Effects 0.000 claims description 24
- 238000013507 mapping Methods 0.000 claims description 10
- 230000002708 enhancing effect Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 6
- 230000000869 mutational effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 24
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000013459 approach Methods 0.000 abstract 4
- 238000012545 processing Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000001514 detection method Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001965 increasing effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
Definitions
- the present disclosure relates to the field of display technologies, and in particular, to a display method and apparatus.
- Terminals such as smartphones and tablets are used in different usage scenarios.
- the display effect of the text or photo displayed by the terminal may be deteriorated.
- the display content of the terminal is enhanced in some usage scenarios.
- the present disclosure provides a display method and apparatus.
- the technical solution is as follows:
- a display method comprising:
- the display content formed by superimposing the enhanced layers is displayed.
- the layer enhancement manner includes at least one of a readability enhancement mode, a saturation enhancement mode, a gamut mapping mode, and a contrast enhancement mode.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- Identify the layer type of each layer based on the layer feature information including:
- the layer type of the layer is a user interface layer
- the adjacent gradation value refers to two gradation values whose value difference is less than a predetermined value.
- the mutational trends include:
- the difference between the number of pixels corresponding to the n 1 set of adjacent tone scale values is greater than the first threshold
- n 1 and n 2 are positive integers.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- Identify the layer type of each layer based on the layer feature information including:
- the layer type of the layer is a user interface layer
- the layer type of the layer is a natural layer.
- the regular features include:
- n 3 , n 4 , n 5 , and n 6 are positive integers.
- the method further includes:
- the gradation value whose number of pixels is lower than the noise threshold is filtered.
- acquiring layer feature information of the at least one layer corresponding to the display content includes:
- the image enhancement mode corresponding to the layer type is selected, and the layer is enhanced by using an image enhancement manner, including:
- the layer is enhanced using the first layer enhancement mode
- the layer type is a user interface layer
- the layer is enhanced by using the second layer enhancement mode, or the layer layer data is kept unchanged;
- the enhancement level of the second layer enhancement mode is lower than the enhancement level of the first layer enhancement mode.
- the method further includes:
- the step of acquiring the layer feature information of the layer is performed.
- a display device comprising:
- An acquiring module configured to acquire layer feature information of at least one layer corresponding to the display content
- An identification module configured to identify a layer type of each layer according to the layer feature information
- an enhancement module configured to: select, for each of the layers, a layer enhancement manner corresponding to a layer type, and enhance the layer by using a layer enhancement manner;
- the display module is configured to display the display content formed by the superimposed layers.
- the layer enhancement manner includes at least one of a readability enhancement mode, a saturation enhancement mode, a gamut mapping mode, and a contrast enhancement mode.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- the identification module is configured to detect, for each layer, whether a change trend of the number of pixels corresponding to the adjacent color gradation value in the current layer belongs to a mutation change trend; if the change trend does not belong to the sudden change trend, determine the layer The layer type is a natural layer; if the change trend is a mutation change feature, it is determined that the layer type of the layer is a user interface layer;
- the adjacent gradation value refers to two gradation values whose value difference is less than a predetermined value.
- the mutational trends include:
- the difference between the number of pixels corresponding to the n 1 set of adjacent tone scale values is greater than the first threshold
- n 1 and n 2 are positive integers.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- the identification module is configured to, for each layer, detect whether the gradation value and/or the number of pixels in the current layer conform to the regularity feature; if the gradation value and/or the number of pixels have a regularity feature, determine the layer
- the layer type is the user interface layer; if the level value and/or the number of pixels do not have regular features, it is determined that the layer type of the layer is a natural layer.
- the regular features include:
- n 3 , n 4 , n 5 , and n 6 are positive integers.
- the apparatus further includes:
- the filtering module is configured to filter the gradation value of the pixel number lower than the noise threshold in the pixel distribution correspondence.
- the obtaining module is configured to mark an effective display area of each layer according to a superposition order of at least one layer in the display content; extract a layer feature of the effective display area in each layer information.
- the enhancement module is configured to enhance the layer by using a first readability enhancement when the layer type is a natural layer; when the layer type is a user interface layer, use The second readability enhancement method enhances the layer, or keeps the layer data of the layer unchanged;
- the enhancement level of the second readability enhancement mode is lower than that of the first readability enhancement mode, etc. level.
- the apparatus further includes:
- Opening a module configured to detect whether an open condition of the readability enhancement function is satisfied
- the obtaining module is configured to perform the step of acquiring layer feature information of the layer when the enhancement condition is satisfied.
- a display device comprising:
- a memory for storing processor executable instructions
- processor is configured to:
- For each layer select the layer enhancement method corresponding to the layer type, and enhance the layer using the layer enhancement method;
- a computer readable medium storing at least one executable instruction that is loaded and executed by a processor for implementing the following steps:
- a computer program product storing at least one executable instruction that is loaded and executed by a processor for implementing the following steps:
- the display content formed by superimposing the enhanced layers is displayed.
- Each layer is enhanced to display the display content superimposed by the enhanced layer; and the problem that the aesthetic level of the UI layer is reduced when the same enhancement mode is used for each frame display content in the terminal is solved; Achieving a layer for each frame in the terminal, different layer types can adopt different layer enhancement methods, and each layer type layer can obtain a better enhancement effect, thereby improving the final display content as a whole. display effect.
- FIG. 1A is a flowchart of a display method according to an exemplary embodiment
- FIG. 1B is a schematic structural diagram of display content according to an exemplary embodiment
- FIG. 2A is a schematic diagram of a natural layer and a “gradation value-pixel number” histogram of the natural layer, according to an exemplary embodiment
- FIG. 2B is a schematic diagram of a UI layer and a “gradation value-pixel number” histogram of the UI layer, according to an exemplary embodiment
- FIG. 2C is a schematic diagram of a UI layer and a “gradation value-pixel number” histogram of the UI layer, according to another exemplary embodiment
- FIG. 2D is a schematic diagram of a UI layer and a “gradation value-pixel number” histogram of the UI layer, according to another exemplary embodiment
- FIG. 3 is a flowchart of a display method according to another exemplary embodiment
- FIG. 4 is a flowchart of a display method according to another exemplary embodiment
- FIG. 5 is a flowchart of a display method according to another exemplary embodiment
- FIG. 6 is a flowchart of a display method according to another exemplary embodiment
- FIG. 7 is a block diagram of a display device according to an exemplary embodiment
- FIG. 8 is a block diagram of a display device according to another exemplary embodiment.
- the same display effect enhancement method is generally adopted for each frame display content displayed in the terminal.
- a frame of display content is usually superimposed by multiple layers (English: layer), but not every layer is suitable for display enhancement.
- the lock screen interface of the smartphone includes: a status bar layer, a wallpaper layer, and a desktop icon layer, wherein the status bar layer and the desktop icon layer belong to a user interface (UI) layer, and the UI layer It is an artificially designed layer.
- the original display effect of the UI layer is already very good, so the UI layer is greatly enhanced in display effect, which will reduce the aesthetics of the UI layer.
- the present disclosure provides the following exemplary embodiments.
- FIG. 1A is a flowchart of a display method according to an exemplary embodiment. This embodiment is exemplified by applying the method to a terminal having image processing capability. The method includes:
- step 102 layer feature information of at least one layer corresponding to the display content is acquired.
- step 104 the layer type of each layer is identified based on the layer feature information.
- step 106 for each layer, the layer enhancement mode corresponding to the layer type is selected, and the layer enhancement is performed by using the layer enhancement mode.
- the layer enhancement method is a way to enhance the display of the layer.
- the layer enhancement manner includes at least one of a readability enhancement mode, a saturation enhancement mode, a color gamut mapping mode, and a contrast enhancement mode.
- the readability enhancement mode is a way to enhance the readability of the layer
- the saturation enhancement mode is a way to enhance the saturation of the layer
- the gamut mapping mode is to perform the gamut mapping effect of the layer.
- Enhanced mode contrast enhancement is the way to enhance the contrast of a layer.
- step 108 the display content superimposed by the enhanced layer is displayed.
- the display method provided in this embodiment obtains the layer feature information of at least one layer corresponding to the display content, identifies the graphic type of each layer according to the layer feature information, and selects a layer type corresponding to the layer type.
- the layer enhancement mode uses the layer enhancement mode to enhance each layer, and displays the display content superimposed by the enhanced layer; and solves the same display effect for each frame display content in the terminal. Enhance the way, it will reduce the aesthetics of the UI layer; For each frame layer in the terminal, different layer types can adopt different readability enhancement methods, and the layers of each layer type can get better display effects, thereby improving the display of the final display content as a whole. effect.
- FIG. 1B is a schematic diagram showing the structure of a frame display content 10 according to an exemplary embodiment.
- the display content 10 is a mobile phone homepage.
- the mobile home page includes three layers: a status bar layer 12, a desktop icon layer 14, and a wallpaper layer 16.
- the status bar layer 12 is located at the uppermost layer
- the desktop icon layer 14 is located at the middle layer
- the wallpaper layer 16 is located at the lowermost layer.
- the layer on the top layer has the ability to cover the layer on the lower layer.
- the order of superposition between layers is determined by the z-order value of the layer.
- Z-order refers to the hierarchical relationship between layers (also called display objects). Typically, the layer corresponding to the higher z-order value is placed on top of the layer corresponding to the lower z-order value.
- the display content 10 is synthesized from the above three layers.
- the source of each layer may be the same or different.
- the source of the layer includes at least one of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and a video decoding chip. These layers are combined in the AP (Application Processor) and displayed on the display.
- AP Application Processor
- the layer types include: natural layers and UI layers.
- a natural layer is a layer that is produced from an object that exists naturally, or that simulates a layer that is produced by an object that exists naturally.
- Common natural layers include: layers captured by the camera, layer frames obtained by decoding the video, and layer frames in the simulated world rendered in real time according to the game rendering engine.
- a UI layer is a layer used for human-computer interaction. The UI layer is designed by hand.
- a frame layer includes pixels distributed in X rows and Y columns, that is, a total of X*Y pixels.
- Each pixel includes three color channels: red channel R, green channel G, and blue channel B.
- red channel R red channel
- green channel G green channel
- blue channel B blue channel
- the gradation value ranges from [0, 255].
- the gradation values of a pixel in three color channels are (255, 0, 0), that is, the gradation value of the red channel R is 255, the gradation value of the green channel G is 0, and the blue channel B is The gradation value is 0.
- color gradation value may also be referred to as: brightness value, gradation value, channel value, and the like.
- the embodiment of the present disclosure is exemplified by a color channel of three channels, but is not limited thereto.
- a frame layer may have 4 color channels or more colors. Color channel.
- 2A shows a natural layer of a frame and a "gradation value-pixel number" histogram of the natural layer in three color channels.
- the natural layer is an outdoor landscape
- the histogram shows the pixel distribution correspondence in the natural layer in a graph form, and the pixel distribution correspondence relationship includes each color gradation value and the number of pixels having the gradation value.
- Correspondence In the histogram, the abscissa is the gradation value, and the ordinate is the number of pixels in the layer having the gradation value.
- the range of the gradation value is [0, 255].
- the number of pixels having a gradation value of 0 is 1, the number of pixels having a gradation value of 1 is 2, and the number of pixels having a gradation value of 2 is 2.
- the number of pixels of 3 is five, ..., the number of pixels having a gradation value of 67 is 130, ..., and the number of pixels having a gradation value of 255 is one.
- the number of pixels having a gradation value of 0 is 0, the number of pixels having a gradation value of 1 is 0, and the number of pixels having a gradation value of 2 is 1, and the gradation value is
- the number of pixels of 3 is five, ..., the number of pixels having a gradation value of 102 is 130, ..., and the number of pixels having a gradation value of 255 is zero.
- the number of pixels with a gradation value of 0 is 0, ..., the number of pixels having a gradation value of 24 is 50, and the number of pixels having a gradation value of 25 is 52.
- the number of pixels having a step value of 26 is 56, ..., and the number of pixels having a gradation value of 255 is one.
- the change trend of the number of pixels corresponding to the adjacent gradation values is a gradual trend, that is, the characteristics of the normal distribution are not changed, and the mutation does not occur.
- the number of pixels corresponding to various gradation values has randomness and spuriousness.
- the ratio of the number of pixels corresponding to adjacent gradation values is 0.90007635, which is data that is difficult to divide.
- FIG. 2B shows a frame of a UI layer and a "gradation value - number of pixels" histogram of the UI layer in three color channels.
- the UI layer includes various color squares that vary according to the gradient.
- the number of pixels corresponding to each gradation value is periodically distributed, and a larger value (vertical line in the figure) appears every X gradation values.
- 2C shows another UI layer and a "gradation value-pixel number" histogram of the UI layer in three color channels.
- the UI layer includes a color band that changes in accordance with the gradient.
- the number of pixels corresponding to each gradation value is periodically distributed, the number of pixels corresponding to one gradation value is Y, and the number of pixels corresponding to another gradation value is 2Y, and the two gradation values are It appears alternately periodically on the abscissa.
- 2D shows another UI layer and a "gradation value-pixel number" histogram of the UI layer in three color channels.
- the UI layer includes a monochrome background and a floral pattern in the center portion. Since the gradation values of each pixel in the monochrome background are identical, most of the gradation values are in the corresponding histogram. The value of 0 or no more than 50, only a small part of the gradation value in the middle of the left has obtained a larger value, and the pixel corresponding to the gradation value of this part and the pixel corresponding to the gradation value adjacent to both sides The number exhibits a mutation characteristic that mutates from a larger value to a smaller value. Optionally, the smaller value is a value within (0, 50).
- the UI layer is an artificially designed layer, a monochrome background, or a combination of several basic colors, or a regular design pattern is usually adopted; therefore, the UI layer is The number of pixels corresponding to the adjacent gradation values in the histogram has a sudden change characteristic, or the gradation value in the UI layer, the number of pixels having a certain gradation value, and the gradation value of some pixels in each color channel are Certain dimensions have regular characteristics.
- the layer type of how to identify the layer in step 104 is explained in detail.
- the mutation type is used to identify the layer type; in the embodiment of FIG. 4, the regular feature is used to identify the layer type; in the embodiment of FIG. 5, the mutation variation feature and the regular feature are used to perform the layer layer.
- Type identification is used to identify the layer type.
- FIG. 3 is a flowchart of a display method according to another exemplary embodiment. This embodiment is exemplified by applying the method to a terminal having image processing capability. The method includes:
- step 301 at least one layer corresponding to the display content is acquired.
- the terminal During normal operation, the terminal generates a frame of display content to be displayed.
- the display content of each frame is usually formed by superimposing several layers.
- the layer is the UI layer generated by the operating system, or the UI layer generated by the application, or the natural layer played by the video player, or generated by the game program. Natural layers, or photos taken by camera programs, etc.
- the terminal Before each layer is superimposed as the display content, the terminal acquires each layer and the superimposed order of each layer.
- step 302 layer feature information of each layer is acquired, and the layer feature information includes a pixel distribution correspondence of at least one color channel.
- the pixel distribution correspondence relationship includes a correspondence between each color gradation value and a number of pixels having the gradation value. That is, the correspondence shown in FIGS. 2A to 2D.
- the terminal calculates the pixel distribution correspondence of at least one color channel of the current layer by using the layer data as the layer feature information of the current layer.
- the terminal calculates a pixel distribution correspondence relationship of one color channel; optionally, the terminal calculates a pixel distribution correspondence relationship of the two color channels; optionally, the terminal calculates a pixel distribution correspondence relationship of all the color channels. It is determined by factors such as the computing power, calculation speed, and real-time requirements of the terminal.
- step 303 in the pixel distribution correspondence, the gradation value whose number of pixels is lower than the noise threshold is filtered.
- the terminal filters the tone scale values whose number of pixels is lower than the noise threshold. "Filtering” refers to removing the gradation value whose number of pixels is lower than the noise threshold, or when the number of pixels corresponding to a gradation value is lower than the noise threshold, the number of pixels corresponding to the gradation value is set to zero.
- the noise threshold is a numerical threshold, such as a noise threshold of 60; alternatively, the noise threshold is a proportional threshold, such as one ten thousandth of a total pixel.
- step 304 for each layer, it is detected whether the change trend of the number of pixels corresponding to the adjacent color gradation value of the current layer belongs to a sudden change trend.
- the change trend of the mutation includes: the difference between the number of pixels corresponding to the n 1 set of adjacent tone scale values is greater than the first threshold; or the ratio of the number of pixels corresponding to the n 2 set of adjacent tone scale values is greater than a second threshold; wherein n 1 , n 2 are positive integers.
- the adjacent gradation values are: the i-th gradation value and the i+k gradation value, i is an integer, and k is a preset value.
- k is 1, the first gradation value and the second gradation value are adjacent gradation values; the 102th gradation value and the 103th gradation value are adjacent gradation values; , k is 2, the first gradation value and the third gradation value are adjacent gradation values, and the 99th gradation value and the 101st gradation value are adjacent gradation values.
- the value of k is predefined by the developer.
- the terminal detects whether the change trend of the number of pixels corresponding to the n sets of adjacent gradation values belongs to a sudden change trend.
- the terminal performs detection on all adjacent color gradation values, or the terminal performs detection on a set of adjacent gradation values every predetermined number of times.
- the layer type of the layer is a natural layer, and the process proceeds to step 305; if it belongs to the change trend of the mutation, the layer type of the layer is a UI layer, and the process proceeds to step 306.
- the layer type of the layer is a UI layer; when the difference between the number of pixels corresponding to all adjacent gradation values The values are all less than 80.
- the layer type of the layer is a natural layer.
- step 305 it is determined that the layer type is a natural layer, and the layer is enhanced by using the first layer enhancement manner;
- step 306 it is determined that the layer type is a UI layer, the layer is enhanced by using the second layer enhancement manner, or the layer data of the layer is kept unchanged.
- the enhancement level of the second layer enhancement mode is lower than the enhancement level of the first layer enhancement mode.
- the layer enhancement mode is a way to enhance the display effect of the layer.
- the layer enhancement manner includes at least one of a readability enhancement mode, a saturation enhancement mode, a gamut mapping mode, and a contrast enhancement mode.
- the layer enhancement method includes the readability enhancement mode:
- Readability enhancements include: Global (integrated) enhancements and Local (local) enhancements.
- Global enhancement mode adjust the data of the same gray level in the entire frame layer in the same way (such as the same gamma curve), regardless of the content of surrounding pixels; for example, adjust all grayscale values 5 to grayscale values. 10.
- the Global enhancement method is fast and easy to implement.
- each layer block is 64 pixels * 64 pixels; then for the gray level value below the threshold in each layer block, according to the gray level
- the grayscale value of the surrounding pixels of the value is calculated as an enhancement value, and then the grayscale value is enhanced by using the enhancement value; for example, in the first layer block, for the grayscale value 5, the grayscale value of the surrounding pixels is calculated.
- the obtained enhancement to 1 increases the grayscale value 5 to the grayscale value of 6; for the grayscale value of 5, the enhancement calculated to the grayscale value of the surrounding pixels is 4, and the grayscale value 5 is enhanced to grayscale
- the order value is 9.
- the grayscale value is calculated using a tone scale value in the RGB channel; optionally, the grayscale value is converted to a HSV (Hue, Saturation, Value; hue, dark contrast, lightness) format
- HSV Hue, Saturation, Value; hue, dark contrast, lightness
- readability enhancement refers to the enhancement of shadow details (grayscale values below the threshold) in the layer.
- the layer enhancement method includes the saturation enhancement mode:
- the first saturation enhancement mode is to convert each pixel of the image from the original color format to the HSV (Hue, Saturation, Value; hue, saturation, lightness) format, and take the saturation S component of each pixel.
- the value is increased by a predetermined value A1, and then each pixel in the enhanced image is converted back to the original color format by the HSV format, and the saturation of the image is enhanced.
- the second saturation enhancement mode refers to: converting each pixel of the image from the original color format to the HSV format, increasing the value of the saturation S component of each pixel by a predetermined value A2, and then Each pixel in the enhanced image is then converted from the HSV format back to the original color format, and the saturation of the image is enhanced.
- the predetermined value A2 is smaller than the predetermined value A1, that is, the saturation enhancement level for the natural image is greater than the saturation enhancement level for the UI image.
- the layer enhancement mode includes the gamut mapping mode:
- the first color gamut refers to the sRGB color gamut and the second color gamut refers to the NTSC.
- the color gamut types of the first color gamut and the second color gamut are not limited, and the above sRGB and NTSC are only illustrative.
- step 305 can be ignored.
- step 306 can be ignored.
- the layer enhancement method includes contrast enhancement mode:
- a contrast enhancement mode is used to enhance dark portion contrast and/or bright portion contrast.
- a first contrast enhancement curve and a second contrast enhancement curve are preset in the terminal.
- the layer type is a natural layer
- the contrast of each pixel in the natural layer is converted to the first enhanced contrast by the first contrast enhancement curve
- the layer type is a UI layer
- the UI layer is The contrast of each pixel is converted to the second enhanced contrast by a second contrast enhancement curve.
- the layer enhancement mode is not limited in this embodiment, and the above layer enhancement mode is only a schematic description.
- one frame of display content generally corresponds to multiple layers, it is necessary to perform 304 to step 306 for each layer.
- Step 307 displaying the display content superimposed by the enhanced layer.
- the enhanced layers are superimposed and combined to obtain one frame of display content.
- the terminal displays the synthesized display content.
- the display method provided in this embodiment obtains the layer feature information of at least one layer corresponding to the display content, identifies the graphic type of each layer according to the layer feature information, and selects a layer type corresponding to the layer type.
- the layer enhancement mode uses the layer enhancement mode to enhance each layer, and displays the display content superimposed by the enhanced layer; and solves the same display effect for each frame display content in the terminal.
- the enhancement mode is used, the aesthetics of the UI layer is reduced; for each frame layer in the terminal, different layer types can adopt different readability enhancement methods, and the layers of each layer type can be compared. Good display effect, thus improving the overall display of the display content.
- the display method provided by the embodiment further reduces the interference of the noise data to the subsequent detection process by filtering the noise data in the pixel distribution correspondence relationship, thereby improving the calculation accuracy.
- the terminal uses the "mutation change feature” to detect the layer type.
- the terminal uses a "regular feature” to detect the layer type.
- steps 304 to 306 can be implemented instead of steps 304a to 306a, as shown in FIG.
- step 304a for each layer, it is detected whether the gradation value and/or the number of pixels in the current layer conform to the regularity feature.
- the UI layer is an artificially designed layer
- the UI layer has regular features, including but not limited to at least one of the following features:
- the ratio of the number of pixels corresponding to n 3 sets of adjacent tone scale values is an integer multiple.
- the number of pixels corresponding to the i-th gradation value is X
- the number of pixels corresponding to the i-th gradation value is X.
- There is a ratio of the number of pixels corresponding to the color gradation values of a plurality of groups is 1;
- the number of pixels corresponding to the i-th gradation value is Y
- the number of pixels corresponding to the i-th gradation value is 2Y.
- the number of pixels corresponding to each gradation value in the red channel R, the green channel G, and the blue channel B is the same.
- a UI layer that includes only a first type of pixel having a gradation value of (255, 0, 0) and a second type of pixel having a gradation value of (0, 255, 0), and the first type of pixel occupies the total pixel. 1/3 of the number, the second type of pixel occupies 2/3 of the total number of pixels.
- the gradation value 0 is in the red channel.
- the ratio of the number of pixels in the green channel is 2, and the ratio of the number of pixels in the green channel and the blue channel is 1/2.
- a monochrome layer or the layer shown in Figure 2D there are more than 100 pixels with identical gradation values (a, b, c).
- n 3 , n 4 , n 5 , and n 6 are positive integers.
- the terminal For each layer, the terminal detects whether the level values and/or the number of pixels in the current layer conform to the regularity feature. Optionally, the terminal performs detection on all of the tone scale values and/or the number of pixels, or the terminal samples perform detection on a portion of the tone scale values and/or the number of pixels.
- step 305a If the gradation value and/or the pixel number have no regularity feature, it is determined that the layer type of the layer is a natural layer, and the process proceeds to step 305a; if the gradation value and/or the pixel number has a regularity feature, determining the The layer type of the layer is the UI layer, and the process proceeds to step 306a.
- step 305a determining that the layer type is a natural layer, and enhancing the layer by using the first layer enhancement manner
- step 306a it is determined that the layer type is a UI layer, the layer is enhanced by using the second layer enhancement manner, or the layer data of the layer is kept unchanged.
- the enhancement level of the second layer enhancement mode is lower than the enhancement level of the first layer enhancement mode.
- the display method provided in this embodiment detects whether the color gradation value and/or the number of pixels meet the regularity feature; if there is no regularity feature, the layer is recognized as a natural layer, and the first image is used.
- the layer enhancement mode is enhanced. If there is a regular feature, the layer is identified as a UI layer, and the second layer enhancement mode is used to enhance or not enhance; the same display is used for each frame layer in the terminal.
- the effect enhancement mode the aesthetics of the UI layer is reduced; for each layer in the terminal, different layer types can adopt different readability enhancement methods, and layers of each layer type can be obtained. Better readability, thus improving the display effect of the terminal as a whole.
- steps 304 to 307 may be alternately implemented as step 304b, step 305b, step 306b, step 307b, and step 308, as shown in FIG.
- step 304b for each layer, it is detected whether the gradation value and/or the number of pixels of the current layer conform to the regularity feature.
- the UI layer has regular features, including but not limited to at least one of the following features:
- the ratio of the number of pixels corresponding to n 3 sets of adjacent tone scale values is an integer multiple.
- n 3 , n 4 , n 5 , and n 6 are positive integers.
- step 305b If the gradation value and/or the pixel number do not have the regularity feature, proceed to step 305b to continue the detection; if the gradation value and/or the pixel number have the regularity feature, determine that the layer type of the layer is a UI layer, Proceed to step 307b.
- step 305b it is detected whether the change trend of the number of pixels corresponding to the adjacent gradation value of the current layer belongs to a sudden change trend.
- the change trend of the mutation includes: the difference between the number of pixels corresponding to the n 1 set of adjacent tone scale values is greater than the first threshold; or the ratio of the number of pixels corresponding to the n 2 set of adjacent tone scale values is greater than a second threshold; wherein n 1 , n 2 are positive integers.
- the layer type of the layer is a natural layer, and the process proceeds to step 506; if it belongs to the change trend of the mutation, the layer type of the layer is a UI layer, and the process proceeds to step 507.
- step 306b if the layer type is a natural layer, the layer is enhanced by using the first layer enhancement mode
- step 307b if the layer type is a UI layer, the layer is enhanced by using the second layer enhancement mode, or the layer data of the layer is kept unchanged.
- the enhancement level of the second layer enhancement mode is lower than the enhancement level of the first layer enhancement mode.
- step 308 the display content superimposed by the enhanced layer is displayed.
- the layer method provided in this embodiment uses the two-detection mechanism of “regularity feature” and “mutation change feature” to accurately identify the layer type of the layer, and then to the natural layer.
- the first readability enhancement is performed, and the second readability enhancement or non-enhancement of the UI layer is performed, so that each layer corresponding to the display content can be reasonably enhanced; and the layer of each frame in the terminal is solved.
- the same display effect enhancement mode is adopted, the aesthetic degree of the UI layer is reduced; for each frame layer in the terminal, different layer types can be different layer enhancement modes, and layers of each layer type are used. Can get better readability, so as to improve the display effect of the terminal as a whole.
- the display method provided by the embodiment further reduces the interference of the noise data to the subsequent detection process by filtering the noise data in the pixel distribution correspondence relationship, thereby improving the calculation accuracy.
- step 302 can be implemented instead as step 302a and step 302b, as shown in FIG. 6:
- Step 302a marks the effective display area of each layer according to the superimposed order of at least one layer in the display content.
- the order of superposition between the individual layers is determined by the corresponding z-order value of the layer.
- the layer corresponding to the higher z-order value is placed in the upper layer step 302b of the layer corresponding to the lower z-order value, and the layer feature information of the effective display area in each layer is extracted.
- the pixels in each layer can be divided into: transparent pixels and non-transparent pixels.
- Transparent pixels include fully transparent pixels and translucent pixels.
- the terminal calculates a first area where the non-transparent pixel located in the layer of the upper layer is located, and subtracts the first area from the whole area of the layer located in the lower layer to obtain the second area.
- the second area is the effective display area of the layer located in the lower layer.
- Step 302b extracting layer feature information of the effective display area in each layer.
- the display device provided in this embodiment can reduce the calculation amount of the terminal and mark the calculation speed of the terminal when the display effect of the layer is enhanced by marking the effective display area of each layer.
- the terminal when the display effect of the layer is enhanced, the terminal only enhances the display effect of the effective display area in the layer.
- FIG. 7 is a block diagram showing the structure of a display device according to an exemplary embodiment.
- the display device can be implemented as a whole or a part of a terminal having image processing capability by a dedicated hardware circuit, and/or a combination of hardware and software.
- the device includes:
- the obtaining module 720 is configured to acquire layer feature information of at least one layer corresponding to the display content
- the identification module 740 is configured to identify a layer type of each layer according to the layer feature information
- the enhancement module 760 is configured to select a map corresponding to the layer type for each of the layers Layer enhancement mode, which uses the layer enhancement method to enhance the layer;
- the display module 780 is configured to display the display content formed by the superimposed layers.
- the layer enhancement manner includes at least one of a readability enhancement mode, a saturation enhancement mode, a gamut mapping mode, and a contrast enhancement mode.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- the identification module 740 is configured to detect, for each layer, whether a change trend of the number of pixels corresponding to the adjacent color gradation value in the current layer belongs to a mutation change trend; if the change trend does not belong to the sudden change trend, determine the layer The layer type is a natural layer; if the change trend is a mutation change feature, it is determined that the layer type of the layer is a user interface layer;
- the adjacent gradation value refers to two gradation values whose value difference is less than a predetermined value.
- the change trend of the mutation includes: the difference between the number of pixels corresponding to the n 1 set of adjacent tone scale values is greater than the first threshold; or there is the pixel corresponding to the n 2 sets of adjacent tone scale values The ratio of the numbers is greater than the second threshold; wherein n 1 , n 2 are positive integers.
- the layer feature information includes a pixel distribution correspondence relationship of the at least one color channel, and the pixel distribution correspondence relationship includes a correspondence relationship between the color gradation value and the number of pixels having the gradation value;
- the identification module 740 is configured to, for each layer, detect whether the color gradation value and/or the number of pixels in the current layer meet the regularity feature; if the color gradation value and/or the pixel number have a regularity feature, determine the image
- the layer type of the layer is the user interface layer; if the level value and/or the number of pixels does not have regular features, it is determined that the layer type of the layer is a natural layer.
- the regularity feature includes: the ratio of the number of pixels corresponding to the n 3 sets of adjacent gradation values is an integer multiple; or, there are n 4 gradation values corresponding to each color channel The number of pixels is equal; or, there are n 5 gradation values corresponding to the predetermined number of pixels in each color channel, and the predetermined ratio is not equal to 1; or, there are n 6 pixels in each color channel The same gradation value; wherein n 3 , n 4 , n 5 , n 6 are positive integers.
- the apparatus further includes:
- the filtering module is configured to filter the gradation value of the pixel number lower than the noise threshold in the pixel distribution correspondence.
- the obtaining module 720 is configured to mark an effective display area of each layer according to a superposition order of at least one layer in the display content; extract a layer of the effective display area in each layer Feature information.
- the enhancement module 760 is configured to enhance the layer by using the first layer enhancement mode when the layer type is a natural layer; when the layer type is a user interface layer, use The second layer enhancement mode enhances the layer, or keeps the layer layer data unchanged;
- the enhancement level of the second layer enhancement mode is lower than the enhancement level of the first layer enhancement mode.
- the apparatus further includes:
- Opening a module configured to detect whether an open condition of the layer enhancement function is satisfied
- the obtaining module is configured to perform the step of acquiring layer feature information of the layer when the open condition is satisfied.
- An exemplary embodiment of the present disclosure provides a display device capable of implementing the display method provided by the present disclosure, the display device comprising: a processor, a memory for storing processor-executable instructions; wherein the processor is configured to:
- the layer type of each layer is identified based on the layer feature information.
- For each layer select the layer enhancement method corresponding to the layer type, and use this layer enhancement to enhance the layer.
- FIG. 8 is a block diagram of a display device, according to an exemplary embodiment.
- device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- apparatus 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and Communication component 816.
- Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 802 can include one or more processors 818 to execute instructions to perform all or part of the steps described above.
- processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
- processing component 802 can include a multimedia module to facilitate multimedia component 808 and processing components Interaction between 802.
- Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Electrically erasable programmable read only memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 806 provides power to various components of device 800.
- Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
- the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input an audio signal.
- the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
- the audio component 810 also includes a speaker for outputting an audio signal.
- the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
- sensor component 814 can detect an open/closed state of device 800, relative positioning of components, such as a display and a keypad of device 800, and sensor component 814 can also The position of one component of the detection device 800 or device 800 changes, the presence or absence of contact of the user with the device 800, the orientation of the device 800 or acceleration/deceleration, and temperature changes of the device 800.
- Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD layer sensor, for use in imaging applications.
- the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
- the device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof.
- communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Implemented by a gate array (FPGA), controller, microcontroller, microprocessor or other electronic component, the memory in device 800 storing at least one instruction for being loaded and executed by the processor to achieve the above The display method described in each of the embodiments.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable Implemented by a gate array
- controller microcontroller, microprocessor or other electronic component
- non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 818 of apparatus 800 to perform the display method described above.
- the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- Embodiments of the present invention also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the display method described in the various embodiments above.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
一种显示方法及装置,属于显示技术领域。所述方法,包括:获取显示内容对应的至少一个图层的图层特征信息;根据图层特征信息识别每个图层的图层类型;对于每个图层,选择与图层类型所对应的图层增强方式,使用该图层增强方式对图层进行增强;对增强后的图层所叠加形成的显示内容进行显示。本公开解决了对终端中的每帧显示内容进行采用相同的图层增强方式时,会降低UI图层的美观程度;达到了对于终端中的每帧图层,不同图层类型采用不同的图层增强方式,每种图层类型的图层都能得到较好的显示效果,从而整体上提升最终的显示内容的显示效果。
Description
本申请要求于2016年8月24日提交中国专利局、申请号为201610720316.7且发明名称为“可读性增强方法及装置”、申请号为201610717997.1且发明名称为“饱和度增强方法及装置”、申请号为201610720356.1且发明名称为“色域映射方法及装置”、申请号为201610718402.4且发明名称为“对比度增强方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本公开涉及显示技术领域,特别涉及一种显示方法及装置。
诸如智能手机、平板电脑之类的终端会在不同的使用场景下使用。当终端处于强光照射环境下时,终端所显示的文字或照片的显示效果会变差。相关技术中,会在一些使用场景下对终端的显示内容进行显示效果增强。
发明内容
本公开提供一种显示方法及装置。所述技术方案如下:
根据本公开的第一方面,提供了一种显示方法,该方法包括:
获取显示内容对应的至少一个图层的图层特征信息;
根据所述图层特征信息识别每个所述图层的图层类型;
对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;
对增强后的所述图层所叠加形成的所述显示内容进行显示。
在一个可选的实施例中,所述图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
在一个可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
根据图层特征信息识别每个图层的图层类型,包括:
对于每个图层,检测当前图层中相邻的色阶值对应的像素数的变化趋势是否属于突变变化趋势;
若变化趋势不属于突变变化趋势,则确定图层的图层类型是自然图层;
若变化趋势属于突变变化特征,则确定图层的图层类型是用户界面图层;
其中,相邻的色阶值是指取值差小于预定值的两个色阶值。
在一个可选的实施例中,突变变化趋势包括:
存在n1组相邻的色阶值对应的像素数的差值大于第一阈值;
或,
存在n2组相邻的色阶值对应的像素数的比值大于第二阈值;
其中,n1、n2为正整数。
在一个可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
根据图层特征信息识别每个图层的图层类型,包括:
对于每个图层,检测当前图层中的色阶值和/或像素数是否符合规律性特征;
若色阶值和/或像素数具有规律性特征,则确定图层的图层类型是用户界面图层;
若色阶值和/或像素数不具有规律性特征,则确定图层的图层类型是自然图层。
在一个可选的实施例中,规律性特征,包括:
存在n3组相邻的色阶值对应的像素数的比值是整数倍;
或,
存在n4个色阶值在每种颜色通道中对应的像素数均相等;
或,
存在n5个色阶值在每种颜色通道中对应的像素数符合预定比例,且预定比例不等于1;
或,
存在n6个像素在每种颜色通道中具有相同的色阶值;
其中,n3、n4、n5、n6为正整数。
在一个可选的实施例中,该方法还包括:
在像素分布对应关系中,将像素数低于噪声阈值的色阶值进行过滤。
在一个可选的实施例中,获取显示内容对应的至少一个图层的图层特征信息,包括:
根据显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域;
提取每个图层中的有效显示区域的图层特征信息。
在一个可选的实施例中,选择与图层类型所对应的图像增强方式,使用图像增强方式对所述图层进行增强,包括:
若图层类型为自然图层,则使用第一图层增强方式对图层进行增强;
若图层类型为用户界面图层,则使用第二图层增强方式对图层进行增强,或,将图层的图层数据保持不变;
其中,第二图层增强方式的增强等级低于第一图层增强方式的增强等级。
在一个可选的实施例中,该方法还包括:
检测是否满足图层增强功能的开启条件;
若满足开启条件,则执行获取图层的图层特征信息的步骤。
根据本公开的第二方面,提供了一种显示装置,装置包括:
获取模块,被配置为获取显示内容对应的至少一个图层的图层特征信息;
识别模块,被配置为根据图层特征信息识别每个图层的图层类型;
增强模块,被配置为对于每个所述图层,选择与图层类型所对应的图层增强方式,使用图层增强方式对图层进行增强;
显示模块,被配置为对增强后的图层所叠加形成的显示内容进行显示。
在一个可选的实施例中,所述图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
在一个可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
识别模块,被配置为对于每个图层,检测当前图层中相邻的色阶值对应的像素数的变化趋势是否属于突变变化趋势;若变化趋势不属于突变变化趋势,则确定图层的图层类型是自然图层;若变化趋势属于突变变化特征,则确定图层的图层类型是用户界面图层;
其中,相邻的色阶值是指取值差小于预定值的两个色阶值。
在一个可选的实施例中,突变变化趋势包括:
存在n1组相邻的色阶值对应的像素数的差值大于第一阈值;
或,
存在n2组相邻的色阶值对应的像素数的比值大于第二阈值;
其中,n1、n2为正整数。
在可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
识别模块,被配置为对于每个图层,检测当前图层中的色阶值和/或像素数是否符合规律性特征;若色阶值和/或像素数具有规律性特征,则确定图层的图层类型是用户界面图层;若色阶值和/或像素数不具有规律性特征,则确定图层的图层类型是自然图层。
在一个可选的实施例中,规律性特征,包括:
存在n3组相邻的色阶值对应的像素数的比值是整数倍;
或,
存在n4个色阶值在每种颜色通道中对应的像素数均相等;
或,
存在n5个色阶值在每种颜色通道中对应的像素数符合预定比例,且预定比例不等于1;
或,
存在n6个像素在每种颜色通道中具有相同的色阶值;
其中,n3、n4、n5、n6为正整数。
在一个可选的实施例中,该装置还包括:
过滤模块,被配置为在像素分布对应关系中,将像素数低于噪声阈值的色阶值进行过滤。
在可选的实施例中,获取模块,被配置为根据显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域;提取每个图层中的有效显示区域的图层特征信息。
在可选的实施例中,增强模块,被配置为当图层类型为自然图层时,使用第一可读性增强方式对图层进行增强;当图层类型为用户界面图层时,使用第二可读性增强方式对图层进行增强,或,将图层的图层数据保持不变;
其中,第二可读性增强方式的增强等级低于第一可读性增强方式的增强等
级。
在一个可选的实施例中,该装置还包括:
开启模块,被配置为检测是否满足可读性增强功能的开启条件;
获取模块,被配置为当满足增强条件时,执行获取图层的图层特征信息的步骤。
根据本公开的第三方面,提供了一种显示装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
获取显示内容对应的至少一个图层的图层特征信息;
根据所图层特征信息识别每个图层的图层类型;
对于每个图层,选择与图层类型所对应的图层增强方式,使用图层增强方式对图层进行增强;
对增强后的图层所叠加形成的显示内容进行显示。
根据本公开的第四方面,提供了一种计算机可读介质,所述计算机可读介质存储有至少一个可执行指令,所述可执行指令被处理器加载并执行用于实现如下步骤:
获取显示内容对应的至少一个图层的图层特征信息;
根据所述图层特征信息识别每个所述图层的图层类型;
对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;
对增强后的所述图层所叠加形成的所述显示内容进行显示。根据本公开的第五方面,提供了一种计算机程序产品,所述计算机程序产品存储有至少一个可执行指令,所述可执行指令被处理器加载并执行用于实现如下步骤:
获取显示内容对应的至少一个图层的图层特征信息;
根据所述图层特征信息识别每个所述图层的图层类型;
对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;
对增强后的所述图层所叠加形成的所述显示内容进行显示。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过获取显示内容对应的至少一个图层的图层特征信息,根据图层特征信息识别每个图层的图形类型,选择与图层类型所对应的图层增强方式,使用该图层增强方式对各个图层进行增强,对增强后的图层所叠加形成的显示内容进行显示;解决了对终端中的每帧显示内容进行采用相同的增强方式时,会降低UI图层的美观程度的问题;达到了对于终端中的每帧图层,不同图层类型可以采用不同的图层增强方式,每种图层类型的图层都能得到较好的增强效果,从而整体上提升最终的显示内容的显示效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1A是根据一示例性实施例示出的一种显示方法的流程图;
图1B是根据一示例性实施例示出的显示内容的结构示意图;
图2A是根据一示例性实施例示出的一种自然图层及该自然图层的“色阶值-像素数”直方图的示意图;
图2B是根据一示例性实施例示出的一种UI图层及该UI图层的“色阶值-像素数”直方图的示意图;
图2C是根据另一示例性实施例示出的一种UI图层及该UI图层的“色阶值-像素数”直方图的示意图;
图2D是根据另一示例性实施例示出的一种UI图层及该UI图层的“色阶值-像素数”直方图的示意图;
图3是根据另一示例性实施例示出的一种显示方法的流程图;
图4是根据另一示例性实施例示出的一种显示方法的流程图;
图5是根据另一示例性实施例示出的一种显示方法的流程图;
图6是根据另一示例性实施例示出的一种显示方法的流程图;
图7是根据一示例性实施例示出的一种显示装置的框图;
图8是根据另一示例性实施例示出的一种显示装置的框图。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
相关技术中,通常对终端中所显示的每帧显示内容采用相同的显示效果增强方法。一帧显示内容通常由多个图层(英文:layer)叠加而成,但并不是每帧图层都适合进行显示效果增强。例如,智能手机的锁屏界面包括:状态栏图层、壁纸图层和桌面图标图层,其中的状态栏图层和桌面图标图层属于用户界面(User Interface,UI)图层,UI图层是人工设计的图层,UI图层的原始显示效果已经很好,所以对UI图层进行大幅度的显示效果增强,反而会降低UI图层的美观程度。为此,本公开提供有如下示例性的实施例。
图1A是根据一示例性实施例示出的显示方法的流程图。本实施例以该方法应用于具有图像处理能力的终端中来举例说明。该方法包括:
在步骤102中,获取显示内容对应的至少一个图层的图层特征信息。
在步骤104中,根据图层特征信息识别每个图层的图层类型。
在步骤106中,对于每个图层,选择与图层类型所对应的图层增强方式,使用图层增强方式对图层进行增强。
图层增强方式是对图层的显示效果进行增强的方式。可选地,图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种或任意一种。
其中,可读性增强方式是对图层的可读性进行增强的方式;饱和度增强方式是对图层的饱和度进行增强的方式;色域映射方式是对图层的色域映射效果进行增强的方式;对比度增强方式是对图层的对比度进行增强的方式。
在步骤108中,对增强后的图层所叠加形成的显示内容进行显示。
综上所述,本实施例提供的显示方法,通过获取显示内容对应的至少一个图层的图层特征信息,根据图层特征信息识别每个图层的图形类型,选择与图层类型所对应的图层增强方式,使用该图层增强方式对各个图层进行增强,对增强后的图层所叠加形成的显示内容进行显示;解决了对终端中的每帧显示内容进行采用相同的显示效果增强方式时,会降低UI图层的美观程度;达到了
对于终端中的每帧图层,不同图层类型可以采用不同的可读性增强方式,每种图层类型的图层都能得到较好的显示效果,从而整体上提升最终的显示内容的显示效果。
图1B是根据一示意性实施例示出的一帧显示内容10的结构示意图。该显示内容10是一个手机主页。该手机主页包括三个图层:状态栏(Status bar)图层12、桌面图标图层14和壁纸图层16。其中,状态栏图层12位于最上层,桌面图标图层14位于中间层,壁纸图层16位于最下层。位于上层的图层具有遮盖位于下层的图层的能力。各个图层之间的叠加顺序,由图层对应的z-order值决定。z-order是指图层(也称显示对象)之间的层次关系。通常,较高的z-order值对应的图层置于较低的z-order值对应的图层的上层。
在终端中,显示内容10是由上述三个图层合成得到的。每个图层的来源可能相同,也可能不同。可选地,图层的来源包括CPU(Central Processing Unit,中央处理器)、GPU(Graphics Processing Unit,图形处理器)和视频解码芯片中的至少一种。这些图层在AP(Application Processor,应用处理器)中进行合成后,交由显示屏进行显示。
可选地,图层类型包括:自然图层和UI图层。自然图层是指根据自然存在的物体所产生的图层,或者,模拟自然存在的物体所产生的图层。常见的自然图层包括:相机拍摄得到的图层、对视频进行解码后得到的图层帧、根据游戏渲染引擎所实时渲染出的模拟世界中的图层帧等。UI图层是指用于进行人机交互的图层。UI图层由人工设计得到。
自然图层和UI图层具有不同的图层特征信息。以图层采用红绿蓝(Red Green Blue,RGB)颜色格式为例,一帧图层包括按照X行Y列分布的像素,也即共X*Y个像素。每个像素包括三个颜色通道:红色通道R、绿色通道G、蓝色通道B。对于一个像素,该像素的每种颜色通道具有一个色阶值,色阶值的取值范围为【0,255】。比如,一个像素在三种颜色通道的色阶值分别为(255,0,0),也即红色通道R的色阶值为255,绿色通道G的色阶值为0,蓝色通道B的色阶值为0。
需要说明的是,该色阶值也可称为:亮度值,灰度值、通道取值等其它名称。本公开实施例以颜色通道为3个通道来举例说明,但对此不加以限定。在图层采用不同的颜色格式时,一帧图层还可能具有4个颜色通道或者更多个颜
色通道。
图2A示出了一帧自然图层以及该自然图层在三种颜色通道中的“色阶值-像素数”直方图。该自然图层是一处户外风景,该直方图以图表形式示出了该自然图层中的像素分布对应关系,像素分布对应关系包括各个色阶值与具有该色阶值的像素数之间的对应关系。在该直方图中,横坐标是色阶值,纵坐标是该图层中具有该色阶值的像素数。通常,色阶值的取值范围是[0,255]。例如:
对于图层的红色通道R来讲,色阶值为0的像素数为1个、色阶值为1的像素数为2个、色阶值为2的像素数为2个、色阶值为3的像素数为5个,…,色阶值为67的像素数为130个,…,色阶值为255的像素数为1个。
对于图层的绿色通道G来讲,色阶值为0的像素数为0个、色阶值为1的像素数为0个、色阶值为2的像素数为1个、色阶值为3的像素数为5个,…,色阶值为102的像素数为130个,…,色阶值为255的像素数为0个。
对于图层的蓝色通道B来讲,色阶值为0的像素数为0个,…,色阶值为24的像素数为50个、色阶值为25的像素数为52个、色阶值为26的像素数为56个,…,色阶值为255的像素数为1个。
从该直方图中能够看出,相邻色阶值对应的像素数的变化趋势是渐变趋势,也即符合正态分布的特性,不会发生突变。各种色阶值对应的像素数具有随机性和散乱性。比如,相邻的色阶值对应的像素数的比值是0.9907635,是难以整除的数据。
图2B示出了一帧UI图层以及该UI图层在三种颜色通道中的“色阶值-像素数”直方图。该UI图层包括按照渐变变化的各种颜色方块。在对应的直方图中,各个色阶值对应的像素数呈周期性分布,每隔X个色阶值会出现一个较大值(图中竖线)。
图2C示出了另一UI图层以及该UI图层在三种颜色通道中的“色阶值-像素数”直方图。该UI图层包括按照渐变变化的颜色带。在对应的直方图中,各个色阶值对应的像素数呈周期性分布,一部分色阶值对应的像素数是Y个,另一部分色阶值对应的像素数是2Y个,两部分色阶值在横坐标上交替地周期性出现。
图2D示出了另一UI图层以及该UI图层在三种颜色通道中的“色阶值-像素数”直方图。该UI图层包括单色背景和中心部分的花卉图案。由于单色背景中的每个像素的色阶值是完全相同的,所以在对应的直方图中,大部分色阶值
的取值为0或者不超过50,只有位于中间靠左的一小部分色阶值取得了较大值,而且这一部分色阶值对应的像素数与两侧相邻的色阶值对应的像素数呈现出了突变特征,从较大值突变为较小值。可选地,较小值为(0,50)内的取值。
从图2B至图2D可以看出,由于UI图层是人工设计的图层,通常采用单色背景,或,几种基本色彩的组合设计,或,规律性地设计图案;所以UI图层的直方图中的相邻色阶值对应的像素数具有突变变化特征,或者,UI图层中的色阶值、具有某一色阶值的像素数、某些像素在各个颜色通道的色阶值在某些维度会出现规律性特征。
下述图3至图5实施例中,对步骤104中如何识别图层的图层类型进行详细阐述。其中,图3实施例中使用突变变化特征进行图层类型的识别;图4实施例中使用规律性特征进行图层类型的识别;图5实施例中使用突变变化特征和规律性特征进行图层类型的识别。
图3是根据另一示例性实施例示出的显示方法的流程图。本实施例以该方法应用于具有图像处理能力的终端中来举例说明。该方法包括:
在步骤301中,获取显示内容对应的至少一个图层。
终端在正常运行过程中,会产生一帧帧待显示的显示内容。每帧显示内容通常都是有若干个图层叠加后所形成。对于每个图层来讲,图层是操作系统所生成的UI图层,或者,应用程序所生成的UI图层,或者,视频播放器所播放的自然图层,或者,游戏程序所生成的自然图层,或者,相机程序所拍摄的照片等。
在各个图层叠加成为显示内容之前,终端获取各个图层,以及各个图层的叠加顺序。
在步骤302中,获取每个图层的图层特征信息,该图层特征信息包括至少一个颜色通道的像素分布对应关系。
可选地,像素分布对应关系包括各个色阶值与具有该色阶值的像素数之间的对应关系。也即图2A至图2D中所示出的对应关系。
对于每个图层,终端在获得当前图层的图层数据后,通过图层数据计算得到当前图层的至少一个颜色通道的像素分布对应关系,作为当前图层的图层特征信息。
可选地,终端计算得到其中一个颜色通道的像素分布对应关系;可选地,终端计算得到其中两个颜色通道的像素分布对应关系;可选地,终端计算得到全部颜色通道的像素分布对应关系,视终端的计算能力、计算速度和实时性要求等因素确定。
在步骤303中,在像素分布对应关系中,将像素数低于噪声阈值的色阶值进行过滤。
由于像素分布对应关系中,存在一些色阶值所对应的像素数非常少,属于无意义的噪声。可选地,终端将像素数低于噪声阈值的色阶值进行过滤。“过滤”是指将像素数低于噪声阈值的色阶值进行去除,或者说,在某一色阶值对应的像素数低于噪声阈值时,将该色阶值对应的像素数置为0。
可选地,噪声阈值是一个数值阈值,比如噪声阈值是60;可选地,噪声阈值是一个比例阈值,比如:总像素的万分之一。
在步骤304中,对于每个图层,检测当前图层的相邻的色阶值对应的像素数的变化趋势是否属于突变变化趋势。
可选地,突变变化趋势包括:存在n1组相邻的色阶值对应的像素数的差值大于第一阈值;或,存在n2组相邻的色阶值对应的像素数的比值大于第二阈值;其中,n1、n2为正整数。
相邻的色阶值是指:第i个色阶值和第i+k个色阶值,i为整数,k为预设值。比如:k为1,第1个色阶值和第2个色阶值是相邻的色阶值;第102个色阶值和第103个色阶值是相邻的色阶值;又比如,k为2,第1个色阶值和第3个色阶值是相邻的色阶值,第99个色阶值和第101个色阶值是相邻的色阶值。可选地,k的取值由研发人员预先定义。
以当前图层为例,终端会检测n组相邻的色阶值所对应的像素数的变化趋势是否属于突变变化趋势。可选地,终端对所有的相邻色阶值执行检测,或者,终端每隔预定个数对一组相邻色阶值执行检测。
若不属于突变变化趋势,则该图层的图层类型是自然图层,进入步骤305;若属于突变变化趋势,则该图层的图层类型是UI图层,进入步骤306。
比如,当存在4组相邻的色阶值对应的像素数的差值大于80时,确定该图层的图层类型是UI图层;当所有相邻的色阶值对应的像素数的差值均小于80,或者,仅存在1组或2组或3组相邻的色阶值对应的像素数的差值大于80时,确定该图层的图层类型是自然图层。
在步骤305中,确定图层类型为自然图层,使用第一图层增强方式对图层进行增强;
在步骤306中,确定图层类型为UI图层,使用第二图层增强方式对图层进行增强,或,将图层的图层数据保持不变。
其中,第二图层增强方式的增强等级低于第一图层增强方式的增强等级。
可选地,图层增强方式是对图层的显示效果进行增强的方式。可选地,图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
第一,当图层增强方式包括可读性增强方式时:
可读性增强方式包括:Global(整体)增强方式和Local(局部)增强方式。
Global增强方式:将整帧图层当中相同灰阶的数据以相同的方式(比如相同的伽马曲线)调整,而不考虑周围像素的内容;比如,将所有灰阶值5调整为灰阶值10。Global增强方式的计算速度快,实现简单。
Local增强方式:将整帧图层划分为多个图层块,比如每个图层块为64像素*64像素;然后对于每个图层块中低于阈值的灰阶值,根据该灰阶值的周围像素的灰阶值计算出增强值,然后使用该增强值对该灰阶值进行增强;比如,第1个图层块中,对于灰阶值5,根据周围像素的灰阶值计算得到的增强至为1,则将灰阶值5增强为灰阶值6;对于灰阶值5,根据周围像素的灰阶值计算得到的增强至为4,则将灰阶值5增强为灰阶值9。
可选地,该灰阶值使用RGB通道中的色阶值来计算得到;可选地,该灰阶值采用将图层转换至HSV(Hue,Saturation,Value;色相、暗部对比度、明度)格式后的V分量来表示,本实施例对图层中每个像素的灰阶值的计算方式或表示方式不加以限定。通常情况下,可读性增强是指对图层中的暗部细节(低于阈值的灰阶值)进行增强。
第二,当图层增强方式包括饱和度增强方式时:
第一饱和度增强方式是指:将图像的每个像素从原始的颜色格式变换至HSV(Hue,Saturation,Value;色相、饱和度、明度)格式,将每个像素的饱和度S分量的取值增加预定值A1,然后将增强后的图像中的每个像素再冲HSV格式变换回原始的颜色格式,则该图像的饱和度会增强。
可选地,第二饱和度增强方式是指:将图像的每个像素从原始的颜色格式变换至HSV格式,将每个像素的饱和度S分量的取值增加预定值A2,然后将
增强后的图像中的每个像素再从HSV格式变换回原始的颜色格式,则该图像的饱和度会增强。
可选地,预定值A2小于预定值A1,也即对自然图像的饱和度增强等级大于对UI图像的饱和度增强等级。
第三,当图层增强方式包括色域映射方式时:
可选地,第一色域是指sRGB色域,第二色域是指NTSC。
需要说明的是,本实施例对第一色域和第二色域的色域类型不做限定,上述sRGB和NTSC仅为示意性说明。当图层的原始色域与第一色域相同时,步骤305可忽略执行,当图层的原始色域与第二色域相同时,步骤306可忽略执行。
第四,当图层增强方式包括对比度增强方式时:
可选地,对比度增强方式用于增强暗部对比度和/或亮部对比度。可选地,终端中预先设置有第一对比度增强曲线和第二对比度增强曲线。当图层类型为自然图层时,将自然图层中每个像素的对比度通过第一对比度增强曲线换算至第一增强后的对比度;当图层类型为UI图层时,将UI图层中每个像素的对比度通过第二对比度增强曲线换算至第二增强后的对比度。
需要说明的是,本实施例对图层增强方式不做限定,上述图层增强方式仅为示意性说明。另外,由于一帧显示内容通常对应多个图层,所以需要对每个图层均执行304至步骤306。
步骤307,对增强后的图层所叠加形成的显示内容进行显示。
在对每个图层进行不同程度(包括不增强)的显示效果增强后,对增强后的各个图层进行叠加合成,得到一帧显示内容。终端对合成得到的显示内容进行显示。
综上所述,本实施例提供的显示方法,通过获取显示内容对应的至少一个图层的图层特征信息,根据图层特征信息识别每个图层的图形类型,选择与图层类型所对应的图层增强方式,使用该图层增强方式对各个图层进行增强,对增强后的图层所叠加形成的显示内容进行显示;解决了对终端中的每帧显示内容进行采用相同的显示效果增强方式时,会降低UI图层的美观程度;达到了对于终端中的每帧图层,不同图层类型可以采用不同的可读性增强方式,每种图层类型的图层都能得到较好的显示效果,从而整体上提升最终的显示内容的显示效果。
本实施例提供的显示方法,还通过对像素分布对应关系中的噪声数据进行过滤,能够降低噪声数据对后续检测过程的干扰,提高计算准确度。
在图3实施例中,终端采用“突变变化特征”来检测图层类型。作为可替代的实现方式,终端采用“规律性特征”来检测图层类型。此时,步骤304至步骤306可替代实现成为步骤304a至步骤306a,如图4所示。
在步骤304a中,对于每个图层,检测当前图层中的色阶值和/或像素数是否符合规律性特征。
由于UI图层是人工设计的图层,在色阶值、具有某些色阶值的像素数、色阶值和与色阶值对应的像素数之间的对应关系、某些像素值所具有的色阶值等维度,具有规律性特征。
可选地,UI图层具有的规律性特征,包括但不限于如下几种特征中的至少一种:
1、存在n3组相邻的色阶值对应的像素数的比值是整数倍。
以图2B为例,存在第i个色阶值对应的像素数是X个,存在第i+k个色阶值对应的像素数是X个。存在很多组相邻的色阶值对应的像素数的比值是1;
以图2C为例,存在第i个色阶值对应的像素数是Y个,存在第i+k个色阶值对应的像素数是2Y个。存在很多组相邻的色阶值对应的像素数的比值是2。
2、存在n4个色阶值在每种颜色通道中对应的像素数均相等。
以图2B或图2C或图2D为例,每个色阶值在红色通道R、绿色通道G、蓝色通道B中所对应的像素数均相同。
3、存在n5个色阶值在每种颜色通道中对应的像素数符合预定比例,且预定比例不等于1。
比如,存在一种UI图层,仅包括色阶值为(255,0,0)的第一类型像素和色阶值为(0,255,0)的第二类型像素,第一类型像素占据总像素数的1/3,第二类型像素占据总像素数的2/3。假设对于色阶值0,在红色通道R对应的像素数为200,在绿色通道G对应的像素数为100,在蓝色通道B对应的像素数为200,则该色阶值0在红色通道与绿色通道中的像素数比例为2,在绿色通道和蓝色通道中的像素数比例为1/2。
4、存在n6个像素在每种颜色通道中具有相同的色阶值。
比如,对于单色图层或者图2D所示的图层,存在超过100个像素具有完全相同的色阶值(a,b,c)。
其中,n3、n4、n5、n6为正整数。
对于每个图层,终端会检测当前图层中的色阶值和/或像素数是否符合规律性特征。可选地,终端对所有的色阶值和/或像素数执行检测,或者,终端抽样对一部分色阶值和/或像素数执行检测。
若色阶值和/或像素数不具有规律性特征,则确定该图层的图层类型是自然图层,进入步骤305a;若色阶值和/或像素数具有规律性特征,则确定该图层的图层类型是UI图层,进入步骤306a。
在步骤305a中,确定图层类型为自然图层,使用第一图层增强方式对图层进行增强;
在步骤306a中,确定图层类型为UI图层,使用第二图层增强方式对图层进行增强,或,将图层的图层数据保持不变。
其中,第二图层增强方式的增强等级低于第一图层增强方式的增强等级。
综上所述,本实施例提供的显示方法,通过检测色阶值和/或像素数是否符合规律性特征;若不具有规律性特征,则将图层识别为自然图层,使用第一图层增强方式进行增强,若具有规律性特征,则将图层识别为UI图层,使用第二图层增强方式进行增强或不增强;解决了对终端中的每帧图层进行采用相同的显示效果增强方式时,会降低UI图层的美观程度;达到了对于终端中的每帧图层,不同图层类型可以采用不同的可读性增强方式,每种图层类型的图层都能得到较好的可读性,从而整体上提升终端的显示效果。
在图3实施例中,终端采用“突变变化特征”来检测图层类型;在图4实施例中,终端采用“规律性特征”来检测图层类型。在可选的实施例中,终端同时采用“突变变化特征”和“规律性特征”来检测图层类型。此时,步骤304至步骤307可替代实现成为步骤304b、步骤305b、步骤306b、步骤307b和步骤308,如图5所示。
在步骤304b中,对于每个图层,检测当前图层的色阶值和/或像素数是否符合规律性特征。
可选地,UI图层具有的规律性特征,包括但不限于如下几种特征中的至少一种:
1、存在n3组相邻的色阶值对应的像素数的比值是整数倍。
2、存在n4个色阶值在每种颜色通道中对应的像素数均相等。
3、存在n5个色阶值在每种颜色通道中对应的像素数符合预定比例,且预定比例不等于1。
4、存在n6个像素在每种颜色通道中具有相同的色阶值。
其中,n3、n4、n5、n6为正整数。
若色阶值和/或像素数不具有规律性特征,则进入步骤305b继续检测;若色阶值和/或像素数具有规律性特征,则确定该图层的图层类型是UI图层,进入步骤307b。
在步骤305b中,检测当前图层的相邻的色阶值对应的像素数的变化趋势是否属于突变变化趋势。
可选地,突变变化趋势包括:存在n1组相邻的色阶值对应的像素数的差值大于第一阈值;或,存在n2组相邻的色阶值对应的像素数的比值大于第二阈值;其中,n1、n2为正整数。
若不属于突变变化趋势,则该图层的图层类型是自然图层,进入步骤506;若属于突变变化趋势,则该图层的图层类型是UI图层,进入步骤507。
在步骤306b中,若图层类型为自然图层,则使用第一图层增强方式对图层进行增强;
在步骤307b中,若图层类型为UI图层,则使用第二图层增强方式对图层进行增强,或,将图层的图层数据保持不变。
其中,第二图层增强方式的增强等级低于第一图层增强方式的增强等级。
在步骤308中,对增强后的图层所叠加形成的显示内容进行显示。
综上所述,本实施例提供的图层方法,通过“规律性特征”和“突变变化特征”的两重检测机制,对图层的图层类型进行非常准确的识别,进而对自然图层进行第一可读性增强,对UI图层进行第二可读性增强或不增强,使得显示内容对应的每个图层都能获得合理的增强;解决了对终端中的每帧图层进行采用相同的显示效果增强方式时,会降低UI图层的美观程度;达到了对于终端中的每帧图层,不同图层类型可以采用不同的图层增强方式,每种图层类型的图层都能得到较好的可读性,从而整体上提升终端的显示效果。
本实施例提供的显示方法,还通过对像素分布对应关系中的噪声数据进行过滤,能够降低噪声数据对后续检测过程的干扰,提高计算准确度。
由于位于上层的图层中的非透明像素会覆盖位于下层的图层中的像素,所以位于下层的图层中,实际上有些区域是不会最终显示给用户的。换句话说,一个图层可能全部是有效显示区域,或者,一个图层包括有效显示区域和无效显示区域。有效显示区域是最终会出现在显示内容中的区域,无效显示区域是不会出现在显示区域中的区域。为了减少计算量,步骤302可被替代实现成为步骤302a和步骤302b,如图6所示:
步骤302a,根据显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域。
可选地,各个图层之间的叠加顺序由图层对应的z-order值确定。较高的z-order值对应的图层置于较低的z-order值对应的图层的上层步骤302b,提取每个图层中的有效显示区域的图层特征信息。
每个图层中像素可分为:透明像素和非透明像素。透明像素包括完全透明像素和半透明像素。终端计算位于上层的图层中的非透明像素所在的第一区域,将位于下层的图层的整体区域减去第一区域,得到第二区域。第二区域即为位于下层的图层的有效显示区域。
步骤302b,提取每个图层中的有效显示区域的图层特征信息。
综上所述,本实施例提供的显示装置,通过标记每个图层的有效显示区域,能够减少终端的计算量,提高终端在图层的显示效果增强时的计算速度。可选地,终端在对图层的显示效果增强时,也仅对图层中的有效显示区域进行显示效果增强即可。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图7是根据一示例性实施例示出的显示装置的结构方框图。该显示装置可以通过专用硬件电路,和/或,软硬件的组合实现成为具有图像处理能力的终端的全部或一部分。该装置包括:
获取模块720,被配置为获取显示内容对应的至少一个图层的图层特征信息;
识别模块740,被配置为根据图层特征信息识别每个图层的图层类型;
增强模块760,被配置为对于每个所述图层,选择与图层类型所对应的图
层增强方式,使用该图层增强方式对图层进行增强;
显示模块780,被配置为对增强后的图层所叠加形成的显示内容进行显示。
在可选的实施例中,图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
在可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
识别模块740,被配置为对于每个图层,检测当前图层中相邻的色阶值对应的像素数的变化趋势是否属于突变变化趋势;若变化趋势不属于突变变化趋势,则确定图层的图层类型是自然图层;若变化趋势属于突变变化特征,则确定图层的图层类型是用户界面图层;
其中,相邻的色阶值是指取值差小于预定值的两个色阶值。
在可选的实施例中,突变变化趋势包括:存在n1组相邻的色阶值对应的像素数的差值大于第一阈值;或,存在n2组相邻的色阶值对应的像素数的比值大于第二阈值;其中,n1、n2为正整数。
在可选的实施例中,图层特征信息包括至少一个颜色通道的像素分布对应关系,像素分布对应关系包括色阶值与具有色阶值的像素数之间的对应关系;
识别模块740,被配置为对于每个图层,检测当前图层中的色阶值和/或像素数是否符合规律性特征;若色阶值和/或像素数具有规律性特征,则确定图层的图层类型是用户界面图层;若色阶值和/或像素数不具有规律性特征,则确定图层的图层类型是自然图层。
在可选的实施例中,规律性特征,包括:存在n3组相邻的色阶值对应的像素数的比值是整数倍;或,存在n4个色阶值在每种颜色通道中对应的像素数均相等;或,存在n5个色阶值在每种颜色通道中对应的像素数符合预定比例,且预定比例不等于1;或,存在n6个像素在每种颜色通道中具有相同的色阶值;其中,n3、n4、n5、n6为正整数。
在可选的实施例中,该装置还包括:
过滤模块,被配置为在像素分布对应关系中,将像素数低于噪声阈值的色阶值进行过滤。
在可选的实施例中,获取模块720,被配置为根据显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域;提取每个图层中的有效显示区域的图层特征信息。
在可选的实施例中,增强模块760,被配置为当图层类型为自然图层时,使用第一图层增强方式对图层进行增强;当图层类型为用户界面图层时,使用第二图层增强方式对图层进行增强,或,将图层的图层数据保持不变;
其中,第二图层增强方式的增强等级低于第一图层增强方式的增强等级。
在可选的实施例中,该装置还包括:
开启模块,被配置为检测是否满足图层增强功能的开启条件;
获取模块,被配置为当满足开启条件时,执行获取图层的图层特征信息的步骤。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开一示例性实施例提供了一种显示装置,能够实现本公开提供的显示方法,该显示装置包括:处理器、用于存储处理器可执行指令的存储器;其中,处理器被配置为:
获取显示内容对应的至少一个图层的图层特征信息。
根据图层特征信息识别每个图层的图层类型。
对于每个图层,选择与图层类型所对应的图层增强方式,使用该图层增强方式对图层进行增强。
对增强后的图层所叠加形成的显示内容进行显示。
图8是根据一示例性实施例示出的一种显示装置的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器818来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件
802之间的交互。
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如组件为装置800的显示器和小键盘,传感器组件814还可以
检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图层传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,装置800中的存储器中存储有至少一个指令,该至少一个指令用于被处理器加载并执行,以实现如上各个实施例所述的显示方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器818执行以完成上述显示方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本发明实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的显示方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结
构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。
Claims (20)
- 一种显示方法,其特征在于,所述方法包括:获取显示内容对应的至少一个图层的图层特征信息;根据所述图层特征信息识别每个所述图层的图层类型;对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;对增强后的所述图层所叠加形成的所述显示内容进行显示。
- 根据权利要求1所述的方法,其特征在于,所述图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
- 根据权利要求1所述的方法,其特征在于,所述图层特征信息包括至少一个颜色通道的像素分布对应关系,所述像素分布对应关系包括色阶值与具有所述色阶值的像素数之间的对应关系;所述根据所述图层特征信息识别每个所述图层的图层类型,包括:对于每个所述图层,检测当前图层中相邻的所述色阶值对应的所述像素数的变化趋势是否属于突变变化趋势;若所述变化趋势不属于所述突变变化趋势,则确定所述图层的图层类型是自然图层;若所述变化趋势属于所述突变变化特征,则确定所述图层的图层类型是用户界面图层;其中,相邻的所述色阶值是指取值差小于预定值的两个色阶值。
- 根据权利要求3所述的方法,其特征在于,所述突变变化趋势包括:存在n1组相邻的所述色阶值对应的所述像素数的差值大于第一阈值;或,存在n2组相邻的所述色阶值对应的所述像素数的比值大于第二阈值;其中,n1、n2为正整数。
- 根据权利要求2所述的方法,其特征在于,所述图层特征信息包括至少一个颜色通道的像素分布对应关系,所述像素分布对应关系包括色阶值与具有所述色阶值的像素数之间的对应关系;所述根据所述图层特征信息识别每个所述图层的图层类型,包括:对于每个所述图层,检测当前图层中的所述色阶值和/或所述像素数是否符合规律性特征;若所述色阶值和/或所述像素数具有所述规律性特征,则确定所述图层的图层类型是用户界面图层;若所述色阶值和/或所述像素数不具有所述规律性特征,则确定所述图层的图层类型是自然图层。
- 根据权利要求4所述的方法,其特征在于,所述规律性特征,包括:存在n3组相邻的所述色阶值对应的所述像素数的比值是整数倍;或,存在n4个所述色阶值在每种颜色通道中对应的像素数均相等;或,存在n5个所述色阶值在每种颜色通道中对应的像素数符合预定比例,且所述预定比例不等于1;或,存在n6个像素在每种颜色通道中具有相同的所述色阶值;其中,n3、n4、n5、n6为正整数。
- 根据权利要求3至6任一所述的方法,其特征在于,所述方法还包括:在所述像素分布对应关系中,将所述像素数低于噪声阈值的所述色阶值进行过滤。
- 根据权利要求1至6任一所述的方法,其特征在于,所述获取显示内容对应的至少一个图层的图层特征信息,包括:根据所述显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域;提取每个图层中的所述有效显示区域的图层特征信息。
- 根据权利要求2至6任一所述的方法,其特征在于,所述选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强,包括:若所述图层类型为自然图层,则使用第一图层增强方式对所述图层进行增强;若所述图层类型为用户界面图层,则使用第二图层增强方式对所述图层进行增强,或,将所述图层的图层数据保持不变;其中,所述第二图层增强方式的增强等级低于所述第一图层增强方式的增强等级。
- 一种显示装置,其特征在于,所述装置包括:获取模块,被配置为获取显示内容对应的至少一个图层的图层特征信息;识别模块,被配置为根据所述图层特征信息识别每个所述图层的图层类型;增强模块,被配置为对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;显示模块,被配置为对增强后的所述图层所叠加形成的所述显示内容进行显示。
- 根据权利要求10所述的装置,其特征在于,所述图层增强方式包括:可读性增强方式、饱和度增强方式、色域映射方式和对比度增强方式中的至少一种。
- 根据权利要求10所述的装置,其特征在于,所述图层特征信息包括至少一个颜色通道的像素分布对应关系,所述像素分布对应关系包括色阶值与具有所述色阶值的像素数之间的对应关系;所述识别模块,被配置为对于每个所述图层,检测当前图层中相邻的所述色阶值对应的所述像素数的变化趋势是否属于突变变化趋势;若所述变化趋势不属于所述突变变化趋势,则确定所述图层的图层类型是自然图层;若所述变化趋势属于所述突变变化特征,则确定所述图层的图层类型是用户界面图层;其中,相邻的所述色阶值是指取值差小于预定值的两个色阶值。
- 根据权利要求10所述的装置,其特征在于,所述突变变化趋势包括:存在n1组相邻的所述色阶值对应的所述像素数的差值大于第一阈值;或,存在n2组相邻的所述色阶值对应的所述像素数的比值大于第二阈值;其中,n1、n2为正整数。
- 根据权利要求10所述的装置,其特征在于,所述图层特征信息包括至少一个颜色通道的像素分布对应关系,所述像素分布对应关系包括色阶值与具有所述色阶值的像素数之间的对应关系;所述识别模块,被配置为对于每个所述图层,检测当前图层中的所述色阶值和/或所述像素数是否符合规律性特征;若所述色阶值和/或所述像素数具有所述规律性特征,则确定所述图层的图层类型是用户界面图层;若所述色阶值和/或所述像素数不具有所述规律性特征,则确定所述图层的图层类型是自然图层。
- 根据权利要求14所述的装置,其特征在于,所述规律性特征,包括:存在n3组相邻的所述色阶值对应的所述像素数的比值是整数倍;或,存在n4个所述色阶值在每种颜色通道中对应的像素数均相等;或,存在n5个所述色阶值在每种颜色通道中对应的像素数符合预定比例,且所述预定比例不等于1;或,存在n6个像素在每种颜色通道中具有相同的所述色阶值;其中,n3、n4、n5、n6为正整数。
- 根据权利要求12至15任一所述的装置,其特征在于,所述装置还包括:过滤模块,被配置为在所述像素分布对应关系中,将所述像素数低于噪声阈值的所述色阶值进行过滤。
- 根据权利要求10至15任一所述的装置,其特征在于,所述获取模块,被配置为根据所述显示内容中至少一个图层的叠加顺序,标记每个图层的有效显示区域;提取每个图层中的所述有效显示区域的图层特征信息。
- 根据权利要求10至15任一所述的装置,其特征在于,所述增强模块,被配置为当所述图层类型为自然图层时,使用第一图层增强方式对所述图层进行增强;当所述图层类型为用户界面图层时,使用第二图层增强方式对所述图层进行增强,或,将所述图层的图层数据保持不变;其中,所述第二图层增强方式的增强等级低于所述第一图层增强方式的增强等级。
- 一种显示装置,其特征在于,所述装置包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为:获取显示内容对应的至少一个图层的图层特征信息;根据所述图层特征信息识别每个所述图层的图层类型;对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;对增强后的所述图层所叠加形成的所述显示内容进行显示。
- 一种计算机可读介质,其特征在于,所述计算机可读介质存储有至少一个可执行指令,所述可执行指令被处理器加载并执行用于实现如下步骤:获取显示内容对应的至少一个图层的图层特征信息;根据所述图层特征信息识别每个所述图层的图层类型;对于每个所述图层,选择与所述图层类型所对应的图层增强方式,使用所述图层增强方式对所述图层进行增强;对增强后的所述图层所叠加形成的所述显示内容进行显示。
Applications Claiming Priority (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610718402.4A CN106339992A (zh) | 2016-08-24 | 2016-08-24 | 对比度增强方法及装置 |
CN201610720356.1 | 2016-08-24 | ||
CN201610717997.1A CN106331427B (zh) | 2016-08-24 | 2016-08-24 | 饱和度增强方法及装置 |
CN201610720316.7A CN106339224B (zh) | 2016-08-24 | 2016-08-24 | 可读性增强方法及装置 |
CN201610720356.1A CN106341574B (zh) | 2016-08-24 | 2016-08-24 | 色域映射方法及装置 |
CN201610720316.7 | 2016-08-24 | ||
CN201610717997.1 | 2016-08-24 | ||
CN201610718402.4 | 2016-08-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018036526A1 true WO2018036526A1 (zh) | 2018-03-01 |
Family
ID=61245524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/098676 WO2018036526A1 (zh) | 2016-08-24 | 2017-08-23 | 显示方法及装置 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018036526A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111462292A (zh) * | 2020-03-20 | 2020-07-28 | 稿定(厦门)科技有限公司 | 图层化渲染方法、介质、设备及装置 |
CN113412470A (zh) * | 2019-04-23 | 2021-09-17 | 华为技术有限公司 | 处理图层的方法和装置 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007105918A1 (en) * | 2006-03-15 | 2007-09-20 | Ktf Technologies, Inc. | Apparatuses for overlaying images, portable devices having the same and methods of overlaying images |
CN101621608A (zh) * | 2008-07-04 | 2010-01-06 | 华晶科技股份有限公司 | 数字影像的色调调整方法及其电子装置 |
CN103425452A (zh) * | 2013-08-06 | 2013-12-04 | 广东欧珀移动通信有限公司 | 一种用于移动终端的多图层叠加显示方法及其装置 |
CN104811677A (zh) * | 2015-05-22 | 2015-07-29 | 广东欧珀移动通信有限公司 | 移动终端的显示控制方法及装置 |
CN106331427A (zh) * | 2016-08-24 | 2017-01-11 | 北京小米移动软件有限公司 | 饱和度增强方法及装置 |
CN106339992A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 对比度增强方法及装置 |
CN106341574A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 色域映射方法及装置 |
CN106339224A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 可读性增强方法及装置 |
-
2017
- 2017-08-23 WO PCT/CN2017/098676 patent/WO2018036526A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007105918A1 (en) * | 2006-03-15 | 2007-09-20 | Ktf Technologies, Inc. | Apparatuses for overlaying images, portable devices having the same and methods of overlaying images |
CN101621608A (zh) * | 2008-07-04 | 2010-01-06 | 华晶科技股份有限公司 | 数字影像的色调调整方法及其电子装置 |
CN103425452A (zh) * | 2013-08-06 | 2013-12-04 | 广东欧珀移动通信有限公司 | 一种用于移动终端的多图层叠加显示方法及其装置 |
CN104811677A (zh) * | 2015-05-22 | 2015-07-29 | 广东欧珀移动通信有限公司 | 移动终端的显示控制方法及装置 |
CN106331427A (zh) * | 2016-08-24 | 2017-01-11 | 北京小米移动软件有限公司 | 饱和度增强方法及装置 |
CN106339992A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 对比度增强方法及装置 |
CN106341574A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 色域映射方法及装置 |
CN106339224A (zh) * | 2016-08-24 | 2017-01-18 | 北京小米移动软件有限公司 | 可读性增强方法及装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113412470A (zh) * | 2019-04-23 | 2021-09-17 | 华为技术有限公司 | 处理图层的方法和装置 |
CN113412470B (zh) * | 2019-04-23 | 2023-09-08 | 华为技术有限公司 | 处理图层的方法和装置 |
CN111462292A (zh) * | 2020-03-20 | 2020-07-28 | 稿定(厦门)科技有限公司 | 图层化渲染方法、介质、设备及装置 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106339224B (zh) | 可读性增强方法及装置 | |
CN106713696B (zh) | 图像处理方法及装置 | |
CN106341574B (zh) | 色域映射方法及装置 | |
WO2018120238A1 (zh) | 用于处理文档的设备、方法和图形用户界面 | |
US10204403B2 (en) | Method, device and medium for enhancing saturation | |
RU2669511C2 (ru) | Способ и устройство для идентификации типа изображения | |
JP6352427B2 (ja) | 画像処理方法、画像処理装置、及び電子機器 | |
CN106331427B (zh) | 饱和度增强方法及装置 | |
EP3285474B1 (en) | Colour gamut mapping method and apparatus, computer program and recording medium | |
CN111338743B (zh) | 一种界面处理方法、装置及存储介质 | |
US10951816B2 (en) | Method and apparatus for processing image, electronic device and storage medium | |
KR20160085211A (ko) | 페이지 디스플레이 방법 및 장치 | |
CN110618852B (zh) | 视图处理方法、视图处理装置及终端设备 | |
WO2018036526A1 (zh) | 显示方法及装置 | |
CN106775548B (zh) | 页面处理方法及装置 | |
US10068151B2 (en) | Method, device and computer-readable medium for enhancing readability | |
CN106339992A (zh) | 对比度增强方法及装置 | |
KR20210145071A (ko) | 디스플레이 방법, 장치 및 저장 매체 | |
CN118075576A (zh) | 所捕获的图像的修改 | |
KR20150079356A (ko) | 전자장치의 이미지 표시 장치 및 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17842948 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17842948 Country of ref document: EP Kind code of ref document: A1 |