Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2019-05-21
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF12 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the colors of videos and pictures in the display area will change constantly, while the colors of the areas where components adjacent to the display area are usually not changed, the color is single, and the visual effect is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Color adjustment method and device for interface assembly, equipment and medium
  • Color adjustment method and device for interface assembly, equipment and medium
  • Color adjustment method and device for interface assembly, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a color adjustment method and device for an interface component, equipment and a medium. The method comprises the steps of obtaining a to-be-displayed image in an interface; determining a theme color according to the to-be-displayed image; and adjusting the background color of the component in the interface to the theme color. According to the technical scheme, the background color of the component in the interface can be changed along with the color change of the image to be displayed, the colors of various components in the interface are effectivelyimproved, and the color display effect of the interface is better.

Description

technical field [0001] Embodiments of the present disclosure relate to application program processing technologies, and in particular to a method, device, device and medium for adjusting the color of an interface component. Background technique [0002] With the development of the Internet and smart terminals, various application programs increase, and the functions of interfaces presented by the application programs become more and more abundant. [0003] The interface often includes various components, such as a text box for displaying text, a component for displaying pictures, and a player for displaying videos. In order to receive user input, there are many control components, such as buttons, input boxes, and so on. While displaying diverse information, various components make the presentation of the interface richer and more flexible. [0004] However, the colors of videos and pictures in the display area are constantly changing, while the colors of the areas where t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/451
Inventor 黄晨婕王竞豪余涛
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products