Grayscaleimage coloring method based on reference image color style

A grayscale image and reference image technology, applied in the field of computer technology and image processing, can solve the problems of complex loss function design and blurred results, and achieve the effect of color balance

Pending Publication Date: 2021-11-30
ZHEJIANG UNIV
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the application of convolutional neural network is still a relatively mainstream method, it still has the problem of complex loss function design. In the face

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
  • Grayscaleimage coloring method based on reference image color style
  • Grayscaleimage coloring method based on reference image color style
  • Grayscaleimage coloring method based on reference image color style

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The method of the present invention will be further described below in conjunction with the accompanying drawings.

[0029] Such as image 3 As shown, a grayscale image coloring method based on the color style of the reference image, its specific implementation steps are as follows:

[0030] Step (1): Collect anime character images according to image categories and build a database. In this embodiment, the Danbooru2017 anime character dataset is used, which contains 14224 training images and 3454 test images. Then, the bilinear interpolation algorithm is used to preprocess the image, and the image size in the Danbooru2017 dataset is adjusted to a uniform size of 512*512. Figure 4 An example of a color image dataset.

[0031] Step (2): From the color image data set obtained in step (1), use the XDoG operator (eXtended Difference of Gaussian) to extract the line draft to obtain the line draft of the shoe image.

[0032] Among them, the calculation formula for line dr...

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 discloses a grayscale image coloring method based on a reference image color style. The grayscale image coloring method can be used as a solution for the problems of line draft coloring and black-and-white image coloring. The specific implementation of the method comprises the following steps: 1, drawing up a coloring image category library, collecting a color image data set according to categories, carrying out line draft extraction or graying on the color image data set, and extracting color histogram information of the color image data set; 2, taking the color image, the line draft or the gray level image and the color histogram information as a training set, inputting the training set into the network for training, and obtaining a coloring model corresponding to the category; and 3, re-inputting the image to be colored into the network, and coloring the image by using the model obtained in the step 2; and 4, evaluating a coloring result. The grayscale image coloring method based on the reference image color style can solve the coloring problem of various types of line manuscripts and black-and-white images, and it is proved that the coloring effect is good in practice.

Description

technical field [0001] The invention belongs to the field of computer technology and image processing, in particular to a grayscale image coloring method based on the color style of a reference image. Background technique [0002] Image coloring is to restore and enhance the expressive effect of the original image, improve its visual experience, enrich the semantics of the image, and increase its application value. As early as the 19th century, it was popular to restore black and white photos by manual coloring. With the development of technology, image coloring has been widely used in film and television processing, animation art and other fields. For example, in the comics industry, the use of image coloring technology can solve the time-consuming and labor-intensive problems of coloring a large number of black and white line drafts, saving drawing costs without affecting the reading experience of buyers; in the film industry, the viewing experience of early black and whit...

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): G06T11/00G06T11/40G06N3/04G06N3/08
CPCG06T11/001G06T11/40G06N3/08G06N3/045
Inventor 丁勇阮翊婷夏靖雯汤峻
Owner ZHEJIANG UNIV
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