Color filling method and device, equipment and storage medium

A technology of color filling and color, applied in the field of devices, color filling methods, equipment and storage media, can solve problems such as difficult pictures, color matching design, etc., and achieve the effect of improving efficiency, improving reliability, and improving production efficiency

Pending Publication Date: 2021-12-17
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of this application is to provide a color filling method, device, equipment and storage medium, aiming to solve the technical problems in the prior art that it is difficult to color match pictures

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 filling method and device, equipment and storage medium
  • Color filling method and device, equipment and storage medium
  • Color filling method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0045] refer to figure 1 , in order to achieve the purpose of the above invention, the application proposes a color filling method, the method comprising:

[0046] S1: Receive a template picture, perform color extraction on the template picture, and obtain several reference colors;

[0047] S2: Obtain the first pixel value of each of the reference colors in the template picture;

[0048] S3: Identify each filled area in the target picture, and calculate the area ratio value of each filled area to the target picture;

[0049] S4: Determine whether the area ratio value of...

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 relates to the technical field of artificial intelligence, and discloses a color filling method and device, equipment and a storage medium, and the method comprises the steps: receiving a template picture, and extracting a plurality of reference colors; obtaining a first pixel value of each reference color in the template picture; identifying filling areas in a target picture, and calculating an area ratio value of each filling area to the target picture; judging whether the area proportion value of the filling area is smaller than a preset proportion threshold value or not, wherein the filling area with the area proportion value smaller than the proportion threshold value serves as a foreground area; obtaining a corresponding relation between the reference colors and the foreground areas according to the first pixel values of the reference colors and the area proportion value of the foreground areas and the target picture, and filling the corresponding foreground areas with the reference colors according to the corresponding relation; the automatic selection of the filling color is realized, so that the color matching design efficiency of the picture is improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, in particular to a color filling method, device, equipment and storage medium. Background technique [0002] With the development of data visualization, it is usually necessary to use different colors to color fill different statistical items in the chart. [0003] In the prior art, when tableau is used to make charts or kanban boards, users often need to select various colors of the table by themselves. However, in the actual color filling, different charts usually require a variety of different colors to present. In order to achieve the harmonious matching and application of different colors in one icon, the user needs to select, match and adjust the positions of different colors multiple times. , resulting in less efficient graph generation. Contents of the invention [0004] The main purpose of the present application is to provide a color filling method, device,...

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 Applications(China)
IPC IPC(8): G06T11/40
CPCG06T11/40
Inventor 贾梦晓
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products