Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for extracting main color and eye-catching color of picture

A picture and eye-catching technology, applied in the field of data processing, can solve the problem of not being able to extract the main color and eye-catching color, and achieve the effect of convenient extraction

Active Publication Date: 2019-06-11
ALIBABA GRP HLDG LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is a single-point color picking scheme, and the single-point color picking cannot extract the main color and eye-catching color

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
  • Method and device for extracting main color and eye-catching color of picture
  • Method and device for extracting main color and eye-catching color of picture
  • Method and device for extracting main color and eye-catching color of picture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are only for explaining the present application, and should not be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.

[0026] figure 1 It is a schematic flow chart of a method for extracting the main color and eye-catching color of a picture proposed by an embodiment of the present application. The method includes:

[0027] S11: Obtain the picture currently to be processed, and acquire the color values ​​of the pixels contained in the picture.

[0028] The picture current...

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 invention brings forward a method and apparatus for extracting a dominant color and an assertive color of a picture. The method for extracting the dominant color and the assertive color of the picture comprises the following steps: obtaining a picture currently to be processed, and obtaining color values of pixel points included in the picture; calculating a first average value, and according to the first average value, determining the dominant color of the picture, wherein the first average value is an average value of the color values of the pixel points included in the picture; calculating a first difference, and determining the assertive color of the picture according to the first difference, wherein the first difference is a difference between the color values of the pixel points included by the picture and the first average value. The method provided by the invention can conveniently extract the dominant color and the assertive color of the picture in a webpage.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a method and device for extracting main colors and striking colors of pictures. Background technique [0002] The pictures on the web page will include the main color and the striking color. The main color refers to the color with the largest proportion within a certain color value range in a picture. The striking color refers to the color that forms a strong color contrast with the main color in a picture. color. In order to adjust the coloring scheme of the webpage, etc., it is necessary to extract the main color and striking color of the picture. [0003] In the prior art, a browser color picking plug-in can be used to pick a color at any position of the current webpage browsed by the browser. However, this method is a single-point color picking scheme, and the single-point color picking cannot extract the main color and eye-catching color. Contents o...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/90G06F16/957
Inventor 赵东禹
Owner ALIBABA GRP HLDG LTD