CN110444181A - Display methods, device, terminal and computer readable storage medium - Google Patents
Display methods, device, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110444181A CN110444181A CN201910767000.7A CN201910767000A CN110444181A CN 110444181 A CN110444181 A CN 110444181A CN 201910767000 A CN201910767000 A CN 201910767000A CN 110444181 A CN110444181 A CN 110444181A
- Authority
- CN
- China
- Prior art keywords
- color
- display screen
- transparent display
- colouring information
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application belongs to user interaction techniques field, more particularly to a kind of display methods, device, terminal and computer readable storage medium, wherein, the display methods includes: the second colouring information of the first colouring information and the first transparent display screen display interface that obtain terminal local environment;If the matching degree of first colouring information and second colouring information obtains the color of object to match with first colouring information less than the first preset threshold;The color of object is set by the color of the second transparent display screen display interface;Interference of the color of terminal local environment to content is shown in the first transparent display screen is effectively reduced, the display quality of transparent display screen is improved.
Description
Technical field
The application belongs to user interaction techniques field more particularly to a kind of display methods, device, terminal and computer-readable
Storage medium.
Background technique
After transparent display screen refers to that the display screen with certain light peneration, user can see display screen through display screen
The object of side, good appearance are greatly favored by consumers.
However, the display content of transparent display screen is often not clear enough, has and show ropy problem.
Summary of the invention
The embodiment of the present application provides a kind of display methods, device, terminal and computer readable storage medium, can solve
Obvious display screen shows ropy technical problem.
The embodiment of the present application first aspect provides a kind of display methods, and the terminal includes the first transparent display screen and sets
The second transparent display screen in first transparent display screen back side, light can penetrate the first transparent display screen and second simultaneously
Transparent display screen;The display methods includes:
Obtain the first colouring information of terminal local environment and the second face of the first transparent display screen display interface
Color information;
If the matching degree of first colouring information and second colouring information less than the first preset threshold, obtain with
The color of object that first colouring information matches;
The color of object is set by the color of the second transparent display screen display interface.
In the embodiment of the present application, by the first colouring information and first transparence display that obtain terminal local environment
Shield the second colouring information of display interface, and is less than in advance in the matching degree of first colouring information and second colouring information
If threshold value, the color of object to match with first colouring information is obtained, then, second transparent display screen is shown into boundary
The color in face is set as the color of object, so that the color of the content of the first transparence display screen display and second transparent
Show that the color of the content of screen display has higher contrast, the color for effectively reducing terminal local environment is transparent to first
The interference that content is shown in display screen improves the display quality of transparent display screen.
The embodiment of the present application second aspect provides a kind of display device, is configured at terminal, and the terminal includes first transparent
Display screen and the second transparent display screen set on first transparent display screen back side, it is transparent that light can penetrate first simultaneously
Display screen and the second transparent display screen;The display device includes:
Acquiring unit, the first colouring information and first transparent display screen for obtaining terminal local environment are shown
Second colouring information at interface;
Matching unit, if default less than first for the matching degree of first colouring information and second colouring information
Threshold value then obtains the color of object to match with first colouring information;
Display unit, for setting the color of object for the color of the second transparent display screen display interface.
The embodiment of the present application third aspect provides a kind of terminal, including memory, processor and storage are in memory
And the computer program that can be run on a processor, the terminal further include: the first transparent display screen and be set to described first
Second transparent display screen at the transparent display screen back side, light can penetrate the first transparent display screen and the second transparence display simultaneously
Screen;The step of processor realizes the above method when executing computer program.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, computer-readable recording medium storage
The step of having computer program, the above method is realized when computer program is executed by processor.
It is understood that the beneficial effect of above-mentioned second aspect to fourth aspect may refer in above-mentioned first aspect
Associated description, details are not described herein.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of first implementation flow schematic diagram of display methods provided by the embodiments of the present application;
Fig. 2 a is the first schematic diagram of the first transparent display screen display interface provided by the embodiments of the present application;
Fig. 2 b is the second schematic diagram of the first transparent display screen display interface provided by the embodiments of the present application;
Fig. 3 is a kind of the first specific implementation flow schematic diagram of display methods step 101 provided by the embodiments of the present application;
Fig. 4 is a kind of the second specific implementation flow schematic diagram of display methods step 101 provided by the embodiments of the present application;
Fig. 5 is the third schematic diagram of the first transparent display screen display interface provided by the embodiments of the present application;
Fig. 6 is a kind of specific implementation flow schematic diagram of display methods step 102 provided by the embodiments of the present application;
Fig. 7 is a kind of specific implementation flow schematic diagram of display methods step 103 provided by the embodiments of the present application;
Fig. 8 is a kind of the second implementation process schematic diagram of display methods provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of display device provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.Meanwhile in the description of the present application, term " first ", " second " etc. are only used for distinguishing description, without
It can be interpreted as indication or suggestion relative importance.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
When transparent display screen is applied to terminal, terminal can be made to become the terminal of appearance transparent, realize that vision penetrates,
Has the characteristics that good appearance.
However, being influenced by surrounding enviroment, the display content of transparent display screen is often not clear enough.
For example, the information such as picture, text that transparent display screen is shown are easy dry by light in the higher environment of brightness
It disturbs, occurs showing ropy problem, seriously affect user experience.
In another example when user opens the application interface of some application, if in picture, text that the application interface is shown etc.
When the color of appearance and the more similar color of terminal local environment, then the content of the application interface of transparence display screen display can be by
To the influence of environmental colors, the problem with display effect difference.
Based on this, the embodiment of the present application provides a kind of display methods, device, terminal and computer readable storage medium, can
It is influenced to avoid the display content of terminal transparent display screen by surrounding enviroment, improves transparent display screen and show quality.In order to
Illustrate the technical solution of the application, the following is a description of specific embodiments.
A kind of implementation process schematic diagram of display methods provided by the embodiments of the present application as shown in figure 1, this method can be with
It is executed by the display device configured in terminal, suitable for the display content of terminal transparent display screen need to be avoided by surrounding enviroment
It influences, improves the situation that transparent display screen shows quality.
It should be noted that in the embodiment of the present application, above-mentioned terminal can be mobile phone, tablet computer, wearable device
Equal intelligent terminals, also, the terminal includes the first transparent display screen and set on the second of the above-mentioned first transparent display screen back side
Transparent display screen, light can penetrate the first transparent display screen and the second transparent display screen simultaneously, so that terminal may be implemented to regard
Feel penetrates effect, has transparent appearance.Terminal based on the appearance transparent, above-mentioned display method may include step 101 to step
Rapid 103.
Step 101, the first colouring information and above-mentioned first transparent display screen display interface of terminal local environment are obtained
The second colouring information.
Wherein, above-mentioned first colouring information may include the colouring information of one of terminal local environment color, can also
To be the colouring information for including multiple color in terminal local environment.For example, user on lawn use above-mentioned terminal when, on
State terminal local environment the first colouring information can be lawn primary color green colouring information, also may include lawn
The multiple colors such as green, the blue of sky, the grey of the red of flower and cobblestone colouring information.
Specifically, the first colouring information of above-mentioned acquisition terminal local environment may include: to obtain terminal local environment
First color image determines the first of above-mentioned terminal local environment according to the rgb pixel value of each pixel of the first color image
Colouring information.
Wherein, the rgb pixel value of each pixel of the first color image refer to each pixel of the first color image it is red,
The color value of green, blue (R, G, B) three Color Channels.
It, can be by upper when obtaining the first colouring information of terminal local environment in some embodiments of the present application
The camera for stating terminal obtains the first color image of terminal local environment, further according to the above-mentioned each pixel of first color image
Rgb pixel value determine the first colouring information of above-mentioned terminal local environment;It can also be obtained by the color temperature sensor of terminal
The light color temperature value of above-mentioned terminal local environment, and light color temperature value is handled by processor to obtain the first color letter
Breath.
Likewise, above-mentioned second colouring information may include a kind of color of color in the first transparent display screen display interface
Information also may include the colouring information of the multiple color in the first transparent display screen display interface.
Specifically, the second colouring information of above-mentioned acquisition the first transparent display screen display interface may include: to obtain
The screenshot capture of first transparent display screen determines the first transparent display screen according to the rgb pixel value of each pixel of screenshot capture
Second colouring information of display interface.
For example, can obtain the screenshot capture of the first transparent display screen of terminal by the sectional drawing softwares of terminal, obtain first
Second colouring information of transparent display screen display interface.
In some embodiments of the application, the second colouring information of above-mentioned the first transparent display screen of acquisition display interface
It can also include: to obtain the first transparent display screen of control to show the display signal of corresponding contents, and parse the display signal, obtain
Second colouring information of the first transparent display screen display interface.
Wherein, the display signal is for determining the corresponding pixel value of each pixel of the first transparent display screen.
Step 102, if the matching degree of the first colouring information and the second colouring information is less than the first preset threshold, obtain with
The color of object that first colouring information matches.
In the embodiment of the present application, the matching degree of the first colouring information and the second colouring information is greater than or equal to the first default threshold
When value, indicate terminal local environment environmental colors and the first transparent display screen display interface show content color contrast compared with
Greatly;That is, the environmental colors of terminal local environment will not interfere the display content of the first transparent display screen display interface.The
When the matching degree of one colouring information and the second colouring information is less than the first preset threshold, the environmental colors of terminal local environment are indicated
Show that the color contrast of content is smaller with the first transparent display screen display interface;That is, the environmental colors meeting of terminal local environment
The display content of first transparent display screen display interface is interfered, therefore, it is necessary to obtain to match with the first colouring information
Color of object, so that the color of object is set by the color of above-mentioned second transparent display screen display interface, to avoid first
Interference of the display content of transparent display screen display interface by environmental colors.
It should be noted that the above-mentioned color of object to match with the first colouring information, can be with it is above-mentioned first transparent
The color contrast of display screen display interface is optimal, interferes the smallest one or more colors.
For example, the color of the first transparent display screen display interface is peony, then color of object can be light blue, light gray
Color, light green color, light brown, white etc..
In practical applications, each color is all previously provided with matched color of object.For example, can be by searching for
The mode that color corresponds to table searches the color of object to match with the first colouring information.The color, which corresponds to table record, each color
With the matching degree between other colors.When the matching degree of certain color m and another color n are greater than matching threshold, then with face
The color of object that color m matches may include color n, and vice versa.
Step 103, above-mentioned color of object is set by the color of the second transparent display screen display interface.
In order to avoid interference of the display content by environmental colors of the first transparent display screen display interface, determine with
It, can be by the second transparent display screen display interface when the color of object that the color of the first transparent display screen display interface matches
Color is set as above-mentioned color of object, to improve the display quality of the first transparent display screen.
In some embodiments of the present application, the above-mentioned color by the second transparent display screen display interface is set as target face
Color may include: to load mesh in the display interface of terminal after getting the color of object to match with the first colouring information
Color selection interface is marked, receives the color of object selection instruction that user triggers in color of object selection interface, and transparent by second
The color of display screen display interface is set as color of object corresponding with the color of object selection instruction.
For example, as shown in Figure 2 a, after getting the color of object to match with the first colouring information, in the aobvious of terminal
Show that interface 21 loads color of object selection interface 22, receives the color of object choosing that user triggers in color of object selection interface 22
Instruction is selected, and sets target face corresponding with the color of object selection instruction for the color of the second transparent display screen display interface
Color 221 obtains the second transparent display screen display interface schematic diagram as shown in Figure 2 b.That is, above-mentioned color of object can root
It is configured according to the hobby of user.It should be noted that the scenery such as trees are the scapes in environment described in terminal in Fig. 2 a and 2b
Object, and user can view the scenery through the first transparent display screen and the second transparent display screen." XX " is first transparent
Show the word content of screen display.It can be seen that from Fig. 2 b by setting the color of the second transparent display screen display interface to
Color of object corresponding with the color of object selection instruction, so that the word content of the first transparence display screen display is with higher
Display quality, reduce the interference of environmental colors.
In addition, above-mentioned color of object can also be all color of objects of acquisition in some embodiments of the application
Middle user's selection rate highest and/or the highest color of object of color degree of compatibility with application interface.
For example, the color of object that terminal will acquire is sent to server, and receive the most preferably target of server return
Color.Wherein, the most preferably color of object can be user's selection rate highest and/or the color degree of compatibility with application interface
Highest color of object.
In order to more accurately obtain the first colouring information, in some embodiments of the present application, as shown in figure 3, above-mentioned
Determine that the first colouring information of the terminal local environment can be with according to the rgb pixel value of each pixel of the first color image
It include: step 301 to step 303.
Step 301, the rgb pixel value of each pixel of the first color image is obtained.
Step 302, the pixel number that rgb pixel value belongs to the same pixel value range is calculated, pixel number is obtained
Greater than one or more target pixel value ranges of the second preset threshold.
In embodiments herein, above-mentioned calculating rgb pixel value belongs to the pixel number of the same pixel value range
It may include: the pixel value for obtaining three Color Channels of each pixel red, green, blue (R, G, B) in above-mentioned first color image,
When the pixel value of tri- Color Channels of pixel R, G, B is respectively positioned on same R, G, B pixel value range, then the pixel value range
Pixel number adds one.
For example, some pixel R, G, B value be (25,100,200), drop into pixel value range (20~30,95~110,
195~225), then the pixel quantity of above-mentioned pixel value range (20~30,95~110,195~225) adds one;In another example separately
One pixel R, G, B value is (22,111,220), equally drop into pixel value range (20~30,95~110,195~
225), then the pixel quantity of pixel value range (20~30,95~110,195~225) adds one again, until having been calculated above-mentioned the
One or more object pixels that pixel number is greater than the second preset threshold can be obtained in all pixels point of one color image
It is worth range.
It should be noted that in the embodiment of the present application, above-mentioned pixel value range is intended to for similar color being divided in
The same section, specific division mode can be set according to practical application scene, and the application is without limitation, only
It can be realized and similar color is divided in the same section.
Step 303, the corresponding pixel average of each target pixel value range is determined as above-mentioned terminal local environment
First colouring information.
For example, user when using above-mentioned terminal on lawn, has the primary color on lawn green in above-mentioned terminal local environment
Color also may include green, the blue of sky, the red of flower and the grey of cobblestone on lawn etc., it is color to obtain above-mentioned first
The rgb pixel value of each pixel of chromatic graph piece, after calculating rgb pixel value belongs to the pixel number of the same pixel value range,
The pixel number for obtaining falling into pixel value range a has 1,500,000, which is the green on lawn;Fall into pixel value
The pixel number of range b has 1,000,000, which is the blue of sky;Fall into the pixel of pixel value range c
Number has 400,000, which is the red of flower;The pixel number for falling into pixel value range d has 100,000, the pixel
It is worth the grey that range is cobblestone.If the second preset threshold is 500,000, target pixel value range includes above-mentioned pixel value model
Enclose a and pixel value range b.First colouring information of the above-mentioned terminal local environment finally determined includes above-mentioned pixel value range a
The corresponding pixel average of each pixel and above-mentioned pixel value range b in the corresponding pixel average of each pixel.
Wherein, the corresponding pixel average of each above-mentioned target pixel value range is determined as above-mentioned terminal local environment
First colouring information, three colors of red, green, blue (R, G, B) that can be each pixel within the scope of above-mentioned target pixel value are logical
The respective color average in road.
For example, the color average in the channel R of each pixel within the scope of some target pixel value is a1, object pixel
The color average for being worth the channel G of each pixel in range is a2, and the B of each pixel within the scope of target pixel value is logical
The color average in road is a3, then the first colouring information of above-mentioned terminal local environment includes (a1, a2, a3).
By the above method, color that can be smaller to avoid accounting in terminal local environment, above-mentioned first is color in other words
The pixel value range that pixel quantity is few in chromatic graph piece influences the acquisition of the first colouring information, to guarantee to be got according to above-mentioned
The first colouring information adjustment color of object can better adapt to environment, avoid the display content of the first transparent display screen of terminal
By the interference of surrounding enviroment color.
In order to more accurately obtain the second colouring information, likewise, the above-mentioned RGB picture according to each pixel of screenshot capture
Element value, determines the second colouring information of the first transparent display screen display interface, may include: that acquisition above-mentioned first is transparent aobvious
The rgb pixel value of each pixel of the screenshot capture of display screen;Calculate the pixel that rgb pixel value belongs to the same pixel value range
Number obtains one or more target pixel value ranges that pixel number is greater than the 4th preset threshold;By each above-mentioned target
The corresponding pixel average of pixel value range is determined as the second colouring information of above-mentioned first transparent display screen display interface.
By the above method, color that can be small to avoid above-mentioned first transparent display screen display interface accounting, in other words
The pixel value range that pixel quantity is few in the screenshot capture of one transparent display screen influences the acquisition of the second colouring information.
In some embodiments of the present application, as shown in figure 4, the above-mentioned RGB according to each pixel of the first color image
Pixel value determines the first colouring information of above-mentioned terminal local environment, can also include: step 401 value step 404.
Step 401, the rgb pixel value of each pixel of the first color image is obtained.
Step 402, the difference for calculating the rgb pixel value of each pixel and the rgb pixel value of neighbor pixel, determines difference
Less than the connected region that the pixel of preset difference value range forms, and calculate the second pixel number of each connected region.
In the embodiment of the present application, the difference between neighbor pixel in above-mentioned connected region is respectively less than preset difference value range,
Therefore, belong to and should be that color is close, the lesser pixel of contrast with the neighbor pixel in a piece of connected region.
For example, as shown in figure 5, terminal local environment is made of the green and the red of a piece of gradual change of a piece of gradual change, and on
The red pixel neighbors point for stating the green or above-mentioned gradual change of gradual change is respectively less than preset difference value range, but in green and red boundary
The difference at place, neighbor pixel is greater than or equal to preset difference value range, then above-mentioned terminal local environment is divided into connected region
51 with connected region 52.
Step 403, the connected region that the second pixel number is greater than third predetermined threshold value is determined as target connected region.
Step 404, respectively using the pixel average of each above-mentioned target connected region as the target connected region pair
The the first sub-color information answered.
In some embodiments of the present application, since the lesser connected region of area shows content to the first transparent display screen
Influence it is smaller, it may be considered that the color of the connected region therefore, can be only by the second picture in order to reduce the operand of terminal
The connected region that vegetarian refreshments number is greater than third predetermined threshold value is determined as target connected region, and is respectively connected to each above-mentioned target
The pixel average in region is as the corresponding first sub-color information of the target connected region.
It should be noted that above-mentioned target connected region may include one or more connected regions.
Wherein, using the pixel average of each above-mentioned target connected region as the target connected region corresponding first
Sub-color information, three Color Channels of red, green, blue (R, G, B) that can be each pixel in above-mentioned target connected region are each
From color average.
For example, the color average in the channel R of each pixel in target connected region is b1, in target connected region
The color average in the channel G of each pixel be b2, the color of the channel B of each pixel in target connected region is flat
Mean value is b3, then the first colouring information of above-mentioned terminal local environment includes (b1, b2, b3).
By the above method, color that can be small to avoid accounting in above-mentioned terminal local environment, above-mentioned first is color in other words
The connected region that pixel quantity is few in chromatic graph piece influences the acquisition to above-mentioned first colouring information, to guarantee to be obtained according to above-mentioned
The color of object for the first colouring information adjustment got can better adapt to environment, avoid the display content of the first display screen of terminal
By the interference of surrounding enviroment color.
After obtaining multiple connected regions by the method for above-mentioned Fig. 4 to Fig. 5, as shown in fig. 6, above-mentioned steps 102 are also
It may include: step 601 to step 602.
Step 601, the first sub-color information of above-mentioned target connected region is shown into boundary with the first transparent display screen respectively
Second sub-color information of face corresponding region is matched.
Step 602, if the first sub-color information of target connected region area corresponding with the first transparent display screen display interface
The matching degree of the second sub-color information in domain then obtains and believes with the first sub-color of target connected region less than the first preset threshold
The matched first sub-goal color of manner of breathing.
In the embodiment of the present application, if the first sub-color information of above-mentioned target connected region and the first transparent display screen are shown
When the matching degree of second sub-color information of interface corresponding region is greater than or equal to above-mentioned first preset threshold, indicate locating for terminal
The color of environment and the display content color contrast of the first transparent display screen display interface corresponding region are larger, therefore, above-mentioned
The color of terminal local environment will not interfere the display content of above-mentioned first transparent display screen display interface corresponding region.
For example, as shown in figure 5, above-mentioned terminal local environment is made of the green and the red of a piece of gradual change of a piece of gradual change,
And the red pixel neighbors point of the green or above-mentioned gradual change of above-mentioned gradual change is respectively less than preset difference value range, but in green and red
Intersection, neighbor pixel are not less than preset difference value range, then above-mentioned terminal local environment is divided into connected region 51 and connects
Logical region 52, above-mentioned connected region 51 are greater than third predetermined threshold value with the pixel number in connected region 52, then above-mentioned target
Connected region is above-mentioned connected region 51 and connected region 52.Thoroughly with first by the first sub-color information of above-mentioned connected region 51
Second sub-color information of obvious display screen display interface corresponding region is matched, by the first sub-color of above-mentioned connected region 52
Information is matched with the second sub-color information of the first transparent display screen display interface corresponding region, if above-mentioned connected region 51
The matching degree of the first sub-color information and the second sub-color information of the first transparent display screen display interface corresponding region be less than
Above-mentioned first preset threshold, and the first sub-color information of above-mentioned connected region 52 and the first transparent display screen display interface pair
Answer the matching degree of the second sub-color information in region again smaller than above-mentioned first preset threshold, then above-mentioned first sub-goal color includes
The color of object to match with the first sub-color information of above-mentioned connected region 51, and the first son with above-mentioned connected region 52
The color of object that colouring information matches.
In some embodiments of the application, obtained and above-mentioned target connected region by above-mentioned method shown in fig. 6
It is above-mentioned by above-mentioned second transparent display screen display interface after the first sub-goal color that the first sub-color information in domain matches
Color be set as above-mentioned color of object, may include: by the face of corresponding region in above-mentioned second transparent display screen display interface
Color is set as the first sub-goal color corresponding with corresponding region.
That is, the color in the second transparent display screen display interface may include believing respectively with each first sub-color
The matched first sub-goal color of manner of breathing, so that the color in each region can be with first in the second transparent display screen display interface
Color is adapted in transparent display screen display interface, further increases the display quality of the first transparent display screen, and
The color of two transparent display screen display interfaces is also more abundant.
In addition, in some embodiments of the present application, as shown in fig. 7, above-mentioned steps 103, by above-mentioned second transparence display
It can also include: step 701 to step 702 that the color of screen display interface, which is set as above-mentioned color of object,.
Step 701, the corresponding second sub-goal color of each first sub-goal color is obtained.
Step 702, the second sub-goal color is set by the color of the second transparent display screen display interface.
In some embodiments of the present application, it is equal to can be each first sub-goal color for above-mentioned second sub-goal color
The color for including.For example, the corresponding first sub-goal color in a-quadrant includes blue, green, pink colour, B in the first transparent display screen
The corresponding first sub-goal color in region includes blue, black, yellow, pink colour, then above-mentioned second sub-goal color may include
Blue and pink colour, thus can set any in the second sub-goal color for the color of the second transparent display screen display interface
A kind of color.
In some embodiments of the present application, some needs containing privacy information are opened when user states terminal in use
When carrying out interface (such as: address list interface, financial class application interface) of secret protection, above-mentioned privacy information is let out in order to prevent
Dew, in some embodiments of the application, as shown in figure 8, above-mentioned display method can also include: step 801 to step
802。
Step 801, whether the display interface for detecting the first transparent display screen is the interface for needing to carry out secret protection.
Step 802, if the display interface of the first transparent display screen is the interface for needing to carry out secret protection, second is reduced
The transparency of transparent display screen, alternatively, deepening the color of the second transparent display screen display interface.
For example, when detecting when the first transparent display screen of terminal opens address list, if the second of above-mentioned terminal is saturating
Red, green, blue and the value in four channels opacity (R, G, B, A) of obvious display screen are (100,100,100,0.1), then
Will be low by the transparency of above-mentioned second transparent display screen, for example, setting the color RGBA value of above-mentioned second transparent display screen to
(100,100,100,0.5), alternatively, deepening the color of above-mentioned second transparent display screen display interface, such as thoroughly by above-mentioned second
The color RGBA value of obvious display screen is set as (50,50,50,0.1).
By the above method, above-mentioned first transparence display can be got by above-mentioned second transparent display screen to avoid the external world
The privacy information of screen display, achievees the effect that secret protection.
Fig. 9 shows a kind of structural schematic diagram of display device 900 provided by the embodiments of the present application, the display device 900
It is configured at terminal, which includes the first transparent display screen and set on the second transparent aobvious of first transparent display screen back side
Display screen, light can penetrate the first transparent display screen and the second transparent display screen simultaneously;Display device may include acquiring unit
901, matching unit 902 and display unit 903.
Acquiring unit 901, for obtaining the first colouring information and first transparent display screen of terminal local environment
Second colouring information of display interface;
Matching unit 901, if for the matching degree of first colouring information and second colouring information less than first
Preset threshold then obtains the color of object to match with first colouring information;
Display unit 901, for setting the color of object for the color of the second transparent display screen display interface.
In some embodiments of the application, above-mentioned acquiring unit 901 is also used to obtain the first of terminal local environment
Color image determines the first of the terminal local environment according to the rgb pixel value of each pixel of the first color image
Colouring information;The screenshot capture for obtaining first transparent display screen, according to the rgb pixel value of each pixel of screenshot capture,
Determine the second colouring information of the first transparent display screen display interface.
In some embodiments of the application, it is each to be also used to obtain first color image for above-mentioned acquiring unit 901
The rgb pixel value of a pixel;It calculates rgb pixel value and belongs to the first pixel number of the same pixel value range, obtain the
One pixel number is greater than one or more target pixel value ranges of the second preset threshold;By each target pixel value model
Enclose the first colouring information that corresponding pixel average is determined as the terminal local environment.
In some embodiments of the application, it is each to be also used to obtain first color image for above-mentioned acquiring unit 901
The rgb pixel value of a pixel;The difference of the rgb pixel value of each pixel and the rgb pixel value of neighbor pixel is calculated, is determined
The difference is less than the connected region that the pixel of preset difference value range forms, and calculates the second pixel of each connected region
Number;The connected region that the second pixel number is greater than third predetermined threshold value is determined as target connected region;Respectively will
The pixel average of each target connected region is as the corresponding first sub-color information of the target connected region.
In some embodiments of the application, above-mentioned matching unit 902 is also used to the of the target connected region
One sub-color information is matched with the second sub-color information of the first transparent display screen display interface corresponding region respectively;
If the first sub-color information of the target connected region and the second of the first transparent display screen display interface corresponding region
The matching degree of sub-color information is less than first preset threshold, then obtains and believe with the first sub-color of the target connected region
The matched first sub-goal color of manner of breathing.
In some embodiments of the application, above-mentioned display unit 903 is also used to the second transparence display screen display
Show that the color of corresponding region described in interface is set as the first sub-goal color corresponding with the corresponding region.
In some embodiments of the application, above-mentioned display unit 903 is also used to obtain each first sub-goal
The corresponding second sub-goal color of color;Second specific item is set by the color of the second transparent display screen display interface
Mark color.
In some embodiments of the application, above-mentioned display device can also include adjustment unit, which uses
In the display interface for detecting first transparent display screen whether be the interface for needing to carry out secret protection;If described first is transparent
The display interface of display screen is the interface for needing to carry out secret protection, then reduces the transparency of second transparent display screen, or
Person deepens the color of the second transparent display screen display interface.
It should be noted that for convenience and simplicity of description, the specific work process of the display device 900 of foregoing description,
Can be with reference to the corresponding process of method described in above-mentioned Fig. 1 to Fig. 8, details are not described herein.
As shown in Figure 10, the application provides a kind of terminal for realizing above-mentioned display method, which may include: place
Manage device 11, memory 14, one or more input equipments 16 (one is only shown in Figure 10) and one or more output equipments 15
(one is only shown in Figure 10).Processor 11, memory 14, input equipment 16 and output equipment 15 are connected by bus 17.Institute
Stating terminal can also include the first transparent display screen 12 and set on the second transparent aobvious of 12 back side of the first transparent display screen
Display screen 13, light can penetrate the first transparent display screen 12 and the second transparent display screen 13 simultaneously.
It should be appreciated that in the embodiment of the present application, alleged processor 11 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 16 may include that dummy keyboard, Trackpad, fingerprint adopt sensor (for acquiring the finger print information of user
With the directional information of fingerprint), microphone etc., output equipment 15 may include display, loudspeaker etc..
Memory 14 may include read-only memory and random access memory, and provide instruction sum number to processor 11
According to.Part or all of memory 14 can also include nonvolatile RAM.For example, memory 14 can be with
The information of storage device type.
Above-mentioned memory 14 is stored with computer program, and above-mentioned computer program can be run on above-mentioned processor 11, example
Such as, above-mentioned computer program is the program of display methods.Above-mentioned processor 11 is realized above-mentioned aobvious when executing above-mentioned computer program
Show the step in embodiment of the method, such as step 101 shown in FIG. 1 is to step 103.Alternatively, above-mentioned processor 11 execute it is above-mentioned
The function of each unit in above-mentioned apparatus embodiment, such as the function of unit 901 to 903 shown in Fig. 9 are realized when computer program.
Above-mentioned computer program can be divided into one or more module/units, and said one or multiple modules/mono-
Member is stored in above-mentioned memory 14, and is executed by above-mentioned processor 11, to complete the application.Said one or multiple moulds
Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is above-mentioned based on
Implementation procedure of the calculation machine program in the above-mentioned first terminal shown.For example, above-mentioned computer program can be divided into
Acquiring unit, matching unit and display unit, each unit concrete function are as follows:
Acquiring unit, the first colouring information and first transparent display screen for obtaining terminal local environment are shown
Second colouring information at interface;
Matching unit, if default less than first for the matching degree of first colouring information and second colouring information
Threshold value then obtains the color of object to match with first colouring information;
Display unit, for setting the color of object for the color of the second transparent display screen display interface.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal and method can pass through
Other modes are realized.For example, device/terminal embodiment described above is only schematical, for example, above-mentioned module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, above-mentioned meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, above-mentioned computer program includes computer program code, above-mentioned computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry above-mentioned computer program code
Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice,
It such as does not include electric carrier signal and telecommunications according to legislation and patent practice, computer-readable medium in certain jurisdictions
Signal.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of display methods is applied to terminal, which is characterized in that the terminal is including the first transparent display screen and is set to institute
State second transparent display screen at the first transparent display screen back side, light can penetrate the first transparent display screen and second transparent simultaneously
Display screen;The display methods includes:
Obtain the first colouring information of terminal local environment and the second color letter of the first transparent display screen display interface
Breath;
If the matching degree of first colouring information and second colouring information less than the first preset threshold, obtain with it is described
The color of object that first colouring information matches;
The color of object is set by the color of the second transparent display screen display interface.
2. display methods as described in claim 1, which is characterized in that the first color letter for obtaining terminal local environment
Breath, comprising:
The first color image for obtaining terminal local environment, according to the rgb pixel value of each pixel of the first color image
Determine the first colouring information of the terminal local environment;
Second colouring information for obtaining the first transparent display screen display interface, comprising:
The screenshot capture for obtaining first transparent display screen determines institute according to the rgb pixel value of each pixel of screenshot capture
State the second colouring information of the first transparent display screen display interface.
3. display methods as claimed in claim 2, which is characterized in that described according to each pixel of the first color image
Rgb pixel value determine the first colouring information of the terminal local environment, comprising:
Obtain the rgb pixel value of each pixel of the first color image;
The first pixel number that rgb pixel value belongs to the same pixel value range is calculated, the first pixel number is obtained and is greater than
One or more target pixel value ranges of second preset threshold;
The corresponding pixel average of each target pixel value range is determined as to the first color of the terminal local environment
Information.
4. display methods as claimed in claim 2, which is characterized in that described according to each pixel of the first color image
Rgb pixel value determine the first colouring information of the terminal local environment, comprising:
Obtain the rgb pixel value of each pixel of the first color image;
It is default to determine that the difference is less than for the difference for calculating the rgb pixel value of each pixel and the rgb pixel value of neighbor pixel
The connected region of the pixel composition of difference range, and calculate the second pixel number of each connected region;
The connected region that the second pixel number is greater than third predetermined threshold value is determined as target connected region;
Respectively using the pixel average of each target connected region as the corresponding first sub- face of the target connected region
Color information.
5. display methods as claimed in claim 4, which is characterized in that if first colouring information and second face
The matching degree of color information then obtains the color of object to match with first colouring information less than the first preset threshold, comprising:
By the first sub-color information of target connected region area corresponding with the first transparent display screen display interface respectively
The second sub-color information in domain is matched;
If the first sub-color information of the target connected region and the first transparent display screen display interface corresponding region
The matching degree of second sub-color information is less than first preset threshold, then obtains the first sub- face with the target connected region
The first sub-goal color that color information matches;
The color by the second transparent display screen display interface is set as the color of object, comprising:
Set corresponding with the corresponding region for the color of corresponding region described in the second transparent display screen display interface
The first sub-goal color.
6. display methods as claimed in claim 5, which is characterized in that described by the second transparent display screen display interface
Color is set as the color of object, further includes:
Obtain the corresponding second sub-goal color of each first sub-goal color;
The second sub-goal color is set by the color of the second transparent display screen display interface.
7. display methods as described in claim 1, which is characterized in that the display methods of the terminal, further includes:
Whether the display interface for detecting first transparent display screen is the interface for needing to carry out secret protection;
If the display interface of first transparent display screen is the interface for needing to carry out secret protection, it is transparent to reduce described second
The transparency of display screen, alternatively, deepening the color of the second transparent display screen display interface.
8. a kind of display device, is configured at terminal, which is characterized in that the terminal is including the first transparent display screen and is set to institute
State second transparent display screen at the first transparent display screen back side, light can penetrate the first transparent display screen and second transparent simultaneously
Display screen;The display device includes:
Acquiring unit, for obtaining the first colouring information and the first transparent display screen display interface of terminal local environment
The second colouring information;
Matching unit, if for the matching degree of first colouring information and second colouring information less than the first default threshold
Value then obtains the color of object to match with first colouring information;
Display unit, for setting the color of object for the color of the second transparent display screen display interface.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor
Computer program, which is characterized in that the terminal further include the first transparent display screen and be set to first transparence display
Shield second transparent display screen at the back side, light can penetrate the first transparent display screen and the second transparent display screen simultaneously;The place
It manages when device executes the computer program and realizes such as the step of claim 1 to 7 any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the step of claim 1 to 7 any one the method when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910767000.7A CN110444181B (en) | 2019-08-19 | 2019-08-19 | Display method, display device, terminal and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910767000.7A CN110444181B (en) | 2019-08-19 | 2019-08-19 | Display method, display device, terminal and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110444181A true CN110444181A (en) | 2019-11-12 |
CN110444181B CN110444181B (en) | 2021-01-08 |
Family
ID=68436628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910767000.7A Active CN110444181B (en) | 2019-08-19 | 2019-08-19 | Display method, display device, terminal and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110444181B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612564A (en) * | 2020-12-17 | 2021-04-06 | 平安普惠企业管理有限公司 | Interface display method, device, equipment and medium |
WO2022246945A1 (en) * | 2021-05-28 | 2022-12-01 | 歌尔股份有限公司 | Information display method and apparatus, ar device and storage medium |
CN115623120A (en) * | 2021-07-13 | 2023-01-17 | 海信视像科技股份有限公司 | Screen-folding display device and image display definition adjusting method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130162673A1 (en) * | 2011-12-23 | 2013-06-27 | David D. Bohn | Pixel opacity for augmented reality |
CN105549249A (en) * | 2016-02-23 | 2016-05-04 | 武汉华星光电技术有限公司 | Liquid crystal display panel and mobile phone |
CN106339197A (en) * | 2016-08-31 | 2017-01-18 | 北海华源电子有限公司 | Display device |
CN106775543A (en) * | 2017-01-19 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal display control method and device |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN207234903U (en) * | 2017-09-18 | 2018-04-13 | 郑州大学第二附属医院 | A kind of mobile terminal with brightness control function |
CN207731070U (en) * | 2017-12-31 | 2018-08-14 | 深圳焦点伟业科技有限公司 | A kind of projection screen of environment resistant light |
CN108845785A (en) * | 2018-05-28 | 2018-11-20 | 维沃移动通信有限公司 | A kind of display methods and terminal |
CN208424468U (en) * | 2018-07-13 | 2019-01-22 | Oppo广东移动通信有限公司 | Electronic equipment |
CN109257484A (en) * | 2017-07-14 | 2019-01-22 | 西安中兴新软件有限责任公司 | A kind of brightness of display screen processing method and terminal device |
-
2019
- 2019-08-19 CN CN201910767000.7A patent/CN110444181B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130162673A1 (en) * | 2011-12-23 | 2013-06-27 | David D. Bohn | Pixel opacity for augmented reality |
CN105549249A (en) * | 2016-02-23 | 2016-05-04 | 武汉华星光电技术有限公司 | Liquid crystal display panel and mobile phone |
CN106339197A (en) * | 2016-08-31 | 2017-01-18 | 北海华源电子有限公司 | Display device |
CN106775543A (en) * | 2017-01-19 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal display control method and device |
CN109257484A (en) * | 2017-07-14 | 2019-01-22 | 西安中兴新软件有限责任公司 | A kind of brightness of display screen processing method and terminal device |
CN207234903U (en) * | 2017-09-18 | 2018-04-13 | 郑州大学第二附属医院 | A kind of mobile terminal with brightness control function |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN207731070U (en) * | 2017-12-31 | 2018-08-14 | 深圳焦点伟业科技有限公司 | A kind of projection screen of environment resistant light |
CN108845785A (en) * | 2018-05-28 | 2018-11-20 | 维沃移动通信有限公司 | A kind of display methods and terminal |
CN208424468U (en) * | 2018-07-13 | 2019-01-22 | Oppo广东移动通信有限公司 | Electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612564A (en) * | 2020-12-17 | 2021-04-06 | 平安普惠企业管理有限公司 | Interface display method, device, equipment and medium |
WO2022246945A1 (en) * | 2021-05-28 | 2022-12-01 | 歌尔股份有限公司 | Information display method and apparatus, ar device and storage medium |
CN115623120A (en) * | 2021-07-13 | 2023-01-17 | 海信视像科技股份有限公司 | Screen-folding display device and image display definition adjusting method |
CN115623120B (en) * | 2021-07-13 | 2024-02-06 | 海信视像科技股份有限公司 | Screen-overlapping display equipment and image display definition adjusting method |
Also Published As
Publication number | Publication date |
---|---|
CN110444181B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106898026B (en) | A kind of the dominant hue extracting method and device of picture | |
CN104076928B (en) | A kind of method for adjusting text importing image | |
CN108320312B (en) | Image color matching method and device and computer terminal | |
CN110444181A (en) | Display methods, device, terminal and computer readable storage medium | |
CN113160094A (en) | Image processing method and device, electronic equipment and storage medium | |
CN108198250B (en) | Virtual object model dyeing method and device, storage medium and electronic equipment | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
CN113132704B (en) | Image processing method, device, terminal and storage medium | |
KR20070090224A (en) | Method of electronic color image saturation processing | |
CN108337496A (en) | White balancing treatment method, processing unit, processing equipment and storage medium | |
CN107025464A (en) | A kind of colour selecting method and terminal | |
CN108024105A (en) | Image color adjusting method, device, electronic equipment and storage medium | |
CN109408177A (en) | Method and device for configuring color of characters in picture and electronic equipment | |
JP2015512194A (en) | Method and wireless handheld device for determining the hue of an image | |
US20230074060A1 (en) | Artificial-intelligence-based image processing method and apparatus, electronic device, computer-readable storage medium, and computer program product | |
CN113808120A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN107682685A (en) | White balancing treatment method and device, electronic installation and computer-readable recording medium | |
CN109286758A (en) | A kind of generation method of high dynamic range images, mobile terminal and storage medium | |
CN110084204A (en) | Image processing method, device and electronic equipment based on target object posture | |
CN109859283A (en) | One kind taking color method, takes color device, electronic equipment and can storage medium | |
CN106600524A (en) | Image processing method and terminal | |
WO2017143812A1 (en) | Method and device for differentiating objects | |
CN108810397A (en) | A kind of image color misregistration correction method and terminal device | |
CN111562955B (en) | Method and device for configuring theme colors of terminal equipment and terminal equipment | |
CN107507601A (en) | A kind of method and system of the camera supervised interface display effect of adjust automatically |
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 |