Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 the inability to obtain chromaticity space weighting, black and white image damage, failure to consider the lack of brightness information, etc.

Inactive Publication Date: 2012-04-25
SHANGHAI JIAO TONG UNIV
View PDF3 Cites 0 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 information of the damaged area is lost, the correct weighting of the chromaticity space cannot be obtained, which brings the problem of wrong coloring of the damaged area

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

Embodiment

[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 color space...

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 method for colorizing a black and white image based on a bilateral filter. Background technique [0002] Colorization of black and white images is the process of adding color to black and white images. Early colorization technology was mainly used for black-and-white photos or movies, and artificial dyeing methods were usually used to process photos or movies. The amount of work done in this way 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 method and semi-manual intervention method. The biggest challenge of the former is to obtain a suitable image template for colorization; while the latter is to accurately add targets by adding manual intervention. colour. Therefore, compared with the colori...

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): H04N1/56H04N9/64
Inventor 杨小康姚晨陈立
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products