Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Color interpolation method based on edge detection

An edge detection and color interpolation technology, applied in the field of image processing, can solve the problems of lowering the quality of collected images, low accuracy, and poor real-time performance

Active Publication Date: 2014-11-19
SYSU CMU SHUNDE INT JOINT RES INST +1
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The color interpolation algorithm that has been proposed so far is better for smooth area interpolation, but there will be different degrees of distortion at the edge, such as Zipper effect, color moiré and false color, etc., which reduce the quality and accuracy of the collected image. lower
In addition, most of the current color interpolation algorithms have complicated calculation processes and poor real-time performance.

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
  • Color interpolation method based on edge detection
  • Color interpolation method based on edge detection
  • Color interpolation method based on edge detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0166] Input an image sampled in Bayer format arranged in accordance with "RG-GB", such as Figure 7 Shown.

[0167] The process of calculating the green pixel from the sampling point of the known red pixel R or blue pixel B is:

[0168] (1) Select a 5×5 pixel window with the pixel to be determined as the center, and detect the image edge in the 5×5 window.

[0169] Such as Figure 8 As shown, taking the 5×5 window of the central sampling point R(3,3) as an example, the edge detection operator for interpolating the green component is:

[0170] Hg(3,3)=|G(3,2)-G(3,4)|+|2R(3,3)-R(3,1)-R(3,5)|,

[0171] Vg(3,3)=|G(2,3)-G(4,3)|+|2R(3,3)-R(1,3)-R(5,3)|

[0172] When Hg(3,3)Vg(3,3), the center point is determined R(3,3) is at the vertical edge; when Hg(3,3)=Vg(3,3), it is determined that the center point R(3,3) is not at the edge position.

[0173] Such as Picture 9 As shown, taking the 5×5 window of the central sampling point B(4,4) as an example, the edge detection operator for interpolatin...

Embodiment 2

[0194] The specific process of finding the blue pixel B for the sampling point of the known red pixel R and finding the red pixel R for the sampling point of the known blue pixel B is:

[0195] (1) Select a 5×5 pixel window with the pixel to be determined as the center, and detect the image edge in the 5×5 window.

[0196] Such as Figure 8 As shown, taking the 5×5 window of the central sampling point R(3,3) as an example, the edge detection operator for interpolating the blue component is:

[0197] Hb(3,3)=|B(2,2)-B(4,4)|+|2g(3,3)-g(2,2)-g(4,4)|,

[0198] Vb(3,3)=|B(2,4)-B(4,2)|+|2g(4,4)-g(2,4)-g(4,2)|

[0199] Among them, B (2, 4) is a pixel with a known sampling point, and g (3, 3) is a pixel obtained by interpolation.

[0200] When Hb(3,3)Vb(3,3) ), it is determined that the center point R(3,3) is at the edge of the lower left and upper right diagonal; when Hb(3,3)=Vb(3,3), it is determined that the center point R(3,3) is not at edge.

[0201] Such as Picture 9 As shown, the 5×5 wi...

Embodiment 3

[0223] The specific process of calculating the red pixel R and the blue pixel B for the sampling points of the known green pixel G is:

[0224] (1) Select a 5×5 pixel window with the pixel to be determined as the center, and calculate the missing red component R or blue component B of the pixel to be determined in the 5×5 window.

[0225] Such as Picture 10 As shown, taking the 5×5 window of the central sampling point G(3,4) as an example, interpolating the red and blue pixels, then:

[0226] r ( 3,4 ) = R ( 3,3 ) + R ( 3,5 ) 2 + 2 g ( 3,4 ) - g ( 3,3 ) - g ( 3,5 ) 2

[0227] b ( 3,4 ) = B ( 2,4 ) + B ( 4 , 4 ) 2 + 2 g ( 3,4 ) - g ( 2,4 ) - g ( 4,4 ) 2

[0228] Such as Picture 11 As shown, taking the 5×5 window of the central sampling point G(4,3) as an example, interpolating the red and blue pixels, then: ...

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 color interpolation method based on edge detection. The color interpolation method comprises the following steps: according to the edge detection result, green pixel interpolation, blue pixel interpolation and red pixel interpolation are performed on a sampled image, and chromatic aberration prediction estimation and chromatic aberration gradient weighing are carried out according to the chromatic aberration law, so that a Bayer-format image is restored to a full-color image; the edge oriented directivity interpolation and the gradient weighing in four directions are combined to correct interpolation pixels, so that color distortion caused by non-edge interpolation is effectively reduced, the quality of the acquired image is improved, and the acquired image is more accurate; the local window image traversal method is adopted to traverse the image, and addition, subtraction, multiplication and division are adopted to carry out simple operation in a local window, so that the complicated operation process is avoided, and the algorithmic instantaneity is improved. The color interpolation method can be widely applied to the field of image processing.

Description

Technical field [0001] The invention relates to the field of image processing, in particular to a color interpolation method based on edge detection. Background technique [0002] Digital imaging technology represented by digital still camera gradually replaces traditional analog imaging technology and has become a research hotspot in academia and industry. Digital cameras are gradually replacing traditional cameras as the mainstream consumer imaging products in the industry, while digital imaging systems are more widely used in fields such as intelligent transportation, medical imaging, and intelligent surveillance. [0003] Most digital cameras and consumer electronics products use CMOS or CCD cameras for image capture. In order to reduce costs, a single CMOS or CCD sensor is usually used to capture images with a color filter array (CFA) in front of it. Bayer format color filtering The array is the most widely used of all CFAs. [0004] The color interpolation algorithm is the co...

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/04H04N9/64
Inventor 庞志勇陈弟虎张媛
Owner SYSU CMU SHUNDE INT JOINT RES INST
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
Eureka Blog
Learn More
PatSnap group products