Supercharge Your Innovation With Domain-Expert AI Agents!

Demosaicing method and device

A demosaicing, eight-direction technology, applied in the field of image processing, can solve problems such as increasing hardware resource consumption, achieve the effect of reducing hardware cost and solving the zipper effect

Active Publication Date: 2020-01-24
ALLWINNER TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In addition, the general method of suppressing image false color is usually to convert the image from RGB color space to YUV / YCbCr color space, separate the luminance and chrominance signals, remove the false color of the chrominance signal, and then convert back to RGB Color space for other ISP process processing, such conversion greatly increases the consumption of hardware resources

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
  • Demosaicing method and device
  • Demosaicing method and device
  • Demosaicing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Example 1, such as figure 1 As shown, a demosaic method described in the embodiment of the present invention, wherein the template window of 9*9 pixels is uniformly used for interpolation, and the specific implementation steps of the method are:

[0055] Step 101: Calculate the color difference gradient of the current pixel in eight directions, the eight directions include: North N, South S, West W, East E, Northwest NW, Southeast SE, Northeast NE and Southwest SW;

[0056] Step 102: judging the interpolation direction of the current pixel and calculating the weight of the corresponding interpolation direction;

[0057] Step 103: Calculate the missing G pixel value at the current R pixel and B pixel through the interpolation direction determined in step 102 and the corresponding weight;

[0058] Step 104: Using the interpolation direction determined in step 102 and the corresponding weights to interpolate the missing B pixel at the R pixel and the missing R pixel value...

Embodiment 2

[0141] Example 2, such as figure 2 As shown, the present invention also provides a demosaic device, the device comprising:

[0142] The color difference gradient acquisition module is used to calculate the color difference gradient of the current pixel in eight directions, the eight directions include: North N, South S, West W, East E, Northwest NW, Southeast SE, Northeast NE and Southwest SW, for judging the direction of interpolation;

[0143] A weight calculation module, which is used to judge the interpolation direction of the current pixel and calculate the weight of the corresponding interpolation direction;

[0144] A multi-channel parallel interpolation module, which is used to calculate the missing G pixel value at the current R pixel and B pixel through the interpolation direction and corresponding weight determined by the weight calculation module, and interpolate the missing B pixel and B pixel at the R pixel. The missing R pixel value at the pixel, and the miss...

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 demosaicing method. The method comprises the following steps: calculating the chromatic aberration gradient of a current pixel in eight directions; judging the interpolationdirection of the current pixel and calculating the weight of the corresponding interpolation direction; calculating missing G pixel values at the current R pixel and B pixel according to the determined interpolation direction and the corresponding weight; carrying out interpolation to obtain missing B pixels and R pixel values of the R pixels and the B pixels, and missing R pixels and B pixel values of the G pixels; and finally, carrying out pseudo-color elimination on the interpolated RGB image, and carrying out resolution adjustment. The invention further provides a demosaicing device. The method has the advantages that missing color components on CFA can be recovered more accurately, and the problems of zipper effect, pseudo color, moire, maze effect, edge blurring and the like are solved; and parallel processing is adopted in the processing flow, and R, G, B and other channels are interpolated, and therefore, the hardware cost of the device can be greatly reduced.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a demosaicing method and device. Background technique [0002] In order to reduce cost, reduce volume and facilitate hardware processing, the original (Raw) image collected by a single image sensor (Sensor) is called a color filter array (Color Filter Array, CFA) image, which is a mosaic image , the filter array covered in front of the sensor filters the captured light according to the wavelength. In this way, each pixel in the image regularly only collects one of the multiple color components. A specific CFA type will have Its own corresponding arrangement. The image signal processor (ISP) then processes the CFA data captured by the sensor, and undergoes a demosaic operation to obtain a complete full-color image. The process of reconstructing the missing color components on each pixel in CFA so that its value can be associated with each pixel is called demosai...

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): H04N9/04
CPCH04N23/843H04N25/13
Inventor 李智钟午杨帆彭刚
Owner ALLWINNER TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More