Black-and-white image colorizing method based on two-sided filter

A bilateral filter and black-and-white image technology, applied in the field of image processing, can solve problems such as wrong coloring of damaged areas, failure to consider the lack of brightness information, and inability to obtain chromaticity space weighting, etc.

Inactive Publication Date: 2010-10-13
SHANGHAI JIAO TONG UNIV
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this technology fails to consider the lack of brightness information, that is, the damage of the original black and white image
In addition, since the luminance i

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
  • Black-and-white image colorizing method based on two-sided filter
  • Black-and-white image colorizing method based on two-sided filter
  • Black-and-white image colorizing method based on two-sided filter

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0047] Example

[0048] This embodiment figure 1 The black-and-white image with a size of 320×256 pixels is shown for colorization, including the following steps:

[0049] The first step is to manually mark the black and white image to be processed in the image processing software Photoshop, and the marked line is 5 pixels wide.

[0050] In this embodiment, five different annotations are made, and the annotated images are as follows: figure 2 , image 3 , Figure 4 , Figure 5 with Image 6 Shown.

[0051] Step 2: Establish a rectangular coordinate system with the pixel in the upper left corner of the annotated image as the origin to obtain the position information and grayscale information of each pixel in the annotated image, and then convert the annotated image into color space to obtain the converted image The luminance component Y, chrominance component U and chrominance component V are divided into m×n sub-images of equal size, and each sub-image is numbered separately.

[0052]...

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 a black-and-white image colorizing method based on a two-sided filter in the field of image processing, comprising the following steps of: labeling a black-and-white image; carrying out distance conversion on the black-and-white image to obtain the processing priority of an image block; calculating a geometrical distance weight and an average gray gradient value between the current block and an adjacent block under the frame of the two-sided filter, wherein if the average gray gradient value is greater than a threshold value, the similarity of the adjacent block and the current block is insufficient, and therefore, the average gray gradient value can not be used for forecasting the current block; conversely, if the average gray gradient value is less than the threshold value, calculating gray value variable weights of the current and the adjacent blocks; and finally obtaining the recovery value of the current block by the current block, the geometrical distance weight and the gray change weight. The invention overcomes the defect of the dependence assumption of brightness and chromaticity in the colorizing process, effectively colorizes the damaged black-and-white image, and has short used time and high signal to noise ratio of an obtained peak value.

Description

technical field [0001] The invention relates to a method in the technical field of image processing, in particular to a black and white image colorization method based on a bilateral filter. Background technique [0002] Black and white image colorization is the process of adding color to black and white images. Early colorization techniques were mainly used for black-and-white photos or movies, and often artificial coloring was used to process photos or movies. The workload of doing this is huge. With the advent of computer technology, computer-aided colorization methods have greatly improved the efficiency of processing. Computer-aided colorization methods are usually divided into: template-based methods and semi-manual intervention methods. The biggest challenge of the former is to obtain a suitable image template; while the latter is to accurately add the target by adding human intervention. color. Therefore, compared with the colorization method of template matching...

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): H04N1/56H04N9/64
Inventor 杨小康姚晨陈立
Owner SHANGHAI JIAO TONG 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