Method for replacing color of image based on color harmony

A color and image technology, applied in the field of re-coloring of images based on color harmony, can solve the problems of not being able to give more reasonable color recommendations, not considering color harmony, and not having knowledge of art theory.

Active Publication Date: 2021-04-13
ZHEJIANG GONGSHANG UNIVERSITY
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the image processing operation similar to color migration does not consider the harmony of the combination of colors, and does not refer to the artistic theory of color combination, and directly replaces the original image with ordinary color based on experience.
Even if some people later studied the harmony of the combination of color blocks, they were all under the premise of fixing the number of color blocks, and did not consider the proportion of each color block
However, there is no research on the spatial position layout of colors. Similar studies only count the frequency of colors in a certain direction based on probability. Although this method can calculate the color possibility of some directions, it is only a large range. The following possibilities are not aimed at the inherent color premise of the scene or the rest of the original image, and cannot give a more reasonable color recommendation

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 for replacing color of image based on color harmony
  • Method for replacing color of image based on color harmony
  • Method for replacing color of image based on color harmony

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Such as figure 1 and figure 2 Shown, the technical solution step that the present invention adopts is as follows:

[0035] Part 1: Database Preparation

[0036] 1) Carry out an online crawler on the online website colorpalettes, and obtain all pictures of the Contrasting Palettes type in the website as a data set. The neural network of deep learning performs unsupervised segmentation of each image according to the color, and obtains the initial segmentation map, the initial color block type of the initial segmentation map, and the corresponding number of each color block.

[0037] 2) Optimize the initial segmentation map, the type of initial color blocks and the corresponding number of each color block. According to the method of merging two color blocks with similar color differences, the first optimization operation is performed first, and the two color blocks that are set to be smaller than a certain threshold are merged in sequence through the CIEDE2000 color di...

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 belongs to the technical field of image processing, and particularly relates to a method for replacing a color of an image based on color harmony. The method comprises the following steps: firstly, carrying out online crawler on an online website Colorpalettes to obtain all pictures as a data set; performing unsupervised segmentation on each image according to colors to obtain an initial segmentation image, an initial color block type of the initial segmentation image and the number corresponding to each color block; secondly, optimizing the initial segmentation map, the types of the initial color blocks and the number corresponding to each kind of color blocks; segmenting and optimizing the input image, matching a proper color block combination in a database, and giving three color replacement schemes; and finally, optimizing the color lump combination obtained by the three color replacement schemes according to the artistic theory of color matching, and completing color replacement on the original image. The method can adapt to images of any number of color themes in a scene.

Description

technical field [0001] The invention belongs to the technical field of image processing, in particular to a method for re-coloring an image based on color harmony. Background technique [0002] Beauty is an indispensable part of people's daily life. The beauty of color always surrounds people's mood and makes people feel aesthetically pleasing. The beauty of design lies in the combination of form, color and material. However, at the moment of viewing the work, the first thing that attracts the eye is the combination of colors, which is the harmonious and beautiful form of colors. [0003] Color Palettes is an old color matching website that has existed for a long time. It is not an online color matching tool, but a color matching inspiration website that shares exquisite images. There are many types of images, including nature, scenery, architecture, art, people, festivals Mood pictures, trinkets or baubles, you name it, there are images of just about anything, and each im...

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): G06T7/90G06T7/11G06T7/62G06F16/951
CPCG06T7/90G06T7/11G06T7/62G06F16/951
Inventor 杨柏林王庆旭虞静怡魏天祥
Owner ZHEJIANG GONGSHANG UNIVERSITY
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