Color adjustment method and device for interface assembly, equipment and medium
A technology of color adjustment and interface components, applied in the direction of program control device, user interface execution, etc., can solve problems such as poor visual effect and single color
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Embodiment 1 of the present disclosure provides a method for adjusting the color of an interface component. The method can be performed by the color adjustment device of the interface component, wherein the device can be implemented by software and / or hardware, and generally can be integrated in a device with a display interface, typically, can be integrated in a server, mobile phone, computer, tablet computer etc. equipment. Figure 1A It is a schematic flowchart of the method for adjusting the color of an interface component provided by Embodiment 1 of the present disclosure, as shown in Figure 1A As shown, the method includes:
[0031] S110. Acquire the image to be displayed in the interface.
[0032] In this embodiment, the image to be displayed may be an image being displayed in the interface or an image to be displayed in the interface, and it may be a key frame of a video being played or to be played in the interface or a picture being displayed or to be display...
Embodiment 2
[0046] figure 2 It is a schematic flowchart of a method for adjusting the color of an interface component provided in Embodiment 2 of the present disclosure. In this embodiment, on the basis of the above-mentioned embodiments, the optimization of "obtaining the image to be displayed in the interface" is as follows: the video frame is obtained from the video of the interface according to the set cycle sampling; frame, as the image to be displayed.
[0047] Further, the optimization of "determining the theme color according to the image to be displayed" is as follows: cluster each pixel in the image to be displayed according to color; calculate and determine the center color value of each type of pixel; Select the target color value in the center color value as the theme color.
[0048] Correspondingly, such as figure 2 As shown, the display method of the interface component provided in this embodiment includes:
[0049] S210. Obtain video frames from the video of the inte...
Embodiment 3
[0063] image 3 It is a schematic flowchart of a method for adjusting the color of an interface component provided by Embodiment 3 of the present disclosure. In this embodiment, on the basis of the above-mentioned embodiments, the optimization of "selecting the target color value from the central color values of various types of pixels as the theme color" is: for the central color value of each type of pixel, calculate the red brightness value, green brightness value The variance between the value and the blue brightness value; the central color value of a class of pixels with the largest variance is selected as the theme color.
[0064] Further, before adjusting the background color of the component in the interface to the theme color, it also includes: converting the red brightness value, green brightness value and blue brightness value of the theme color into hue-saturation color space values , to update the color value of the theme color.
[0065] Correspondingly, such...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com