CN101352047B - Method and device for removing grid noise - Google Patents

Method and device for removing grid noise Download PDF

Info

Publication number
CN101352047B
CN101352047B CN200680049994XA CN200680049994A CN101352047B CN 101352047 B CN101352047 B CN 101352047B CN 200680049994X A CN200680049994X A CN 200680049994XA CN 200680049994 A CN200680049994 A CN 200680049994A CN 101352047 B CN101352047 B CN 101352047B
Authority
CN
China
Prior art keywords
pattern
correction coefficient
mean value
bayer format
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200680049994XA
Other languages
Chinese (zh)
Other versions
CN101352047A (en
Inventor
李浩瑛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maira Co.,Ltd.
Original Assignee
MtekVision Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MtekVision Co Ltd filed Critical MtekVision Co Ltd
Publication of CN101352047A publication Critical patent/CN101352047A/en
Application granted granted Critical
Publication of CN101352047B publication Critical patent/CN101352047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/843Demosaicing, e.g. interpolating colour pixel values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths

Abstract

A device and a method for removing grid noises are disclosed. The device for removing grid noises in accordance with an embodiment of the present invention calculates an average value of each line of an inputted Bayer pattern image, calculates an estimate value estimating an average of even number lines placed between the odd number lines of a Bayer pattern image and odd number lines placed between the even number lines of a Bayer pattern image, calculates a difference value between the estimate value and the average value, calculates a correction coefficient by using the difference value, and applies the correction coefficient to the Bayer pattern image and outputs a corrected Bayer pattern image.

Description

Be used to remove the apparatus and method of grid noise
Technical field
The present invention relates to a kind of apparatus and method that are used to remove grid noise, relate in particular to a kind of apparatus and method that are used for removing the grid noise of image processing system.
Background technology
In the Bayer format-pattern in being input to image processing system, because the capable value difference of Gr (red green) and Gb (blue-green) grid noise can occur usually during color interpolation is handled.Be explained below with reference to accompanying drawing.
Fig. 1 has represented the example of the mean value of typical B ayer format-pattern green pixel in the horizontal direction.
In the drawings as can be seen, there is essential difference between the mean value of the green pixel between even number line and the odd-numbered line in the horizontal direction.As shown in Figure 2, this difference causes grid noise by color interpolation, and Fig. 2 has represented the example of the grid noise that color interpolation produces in the conventional image processing system.
Usually use Gaussian filter or median filter to remove these noises.Although these filters can be removed grid noise, they have also damaged image detail (for example, high frequency edge or border).In other words, in fact can not when keeping image detail, remove grid noise by the method for utilizing usual filter to remove grid noise.
Summary of the invention
In order to address the above problem, the invention provides a kind of apparatus and method that are used to remove grid noise, their center pixels in mask (mask) are under the situation of green, remove grid noise and can not damage image by the difference of utilizing the mean value between even number line and the odd-numbered line.
Other purposes of the present invention will be by execution mode described below and clearer.
To achieve these goals, one aspect of the present invention is characterised in that a kind of device that is used to remove grid noise.
The device that is used to remove grid noise according to an embodiment of the invention can have: average calculation unit, and it is used to calculate mean value of each row of the Bayer format-pattern of input; Estimation unit, it is used to calculate the estimated value of the mean value that is arranged on the odd-numbered line between the even number line that is arranged on even number line between the odd-numbered line and Bayer format-pattern of estimating the Bayer format-pattern; Difference computational unit, it is used to calculate by the estimated value of this estimation unit calculating with by the difference between the mean value of this average calculation unit calculating; And correction coefficient calculation, it is used for by utilizing the difference that is generated by this difference computational unit to come the calculation correction coefficient.
Herein, this device preferably also has correcting unit, and this correcting unit is used for this correction coefficient is applied to the Bayer format-pattern that this Bayer format-pattern and output calibration are crossed.
Preferably, the correction coefficient that is obtained by this correction coefficient calculation is the value that the mean value of the difference that will be calculated by this difference computational unit obtains divided by 2.Can determine correction coefficient at each green component of Bayer format-pattern.
Correcting unit can deduct the correction coefficient of each green component from each green component of the odd-numbered line of Bayer format-pattern, and the correction coefficient of each green component can be added on each green component of even number line of Bayer format-pattern.
In order to realize above purpose, another aspect of the present invention is characterised in that a kind of method of removing grid noise.
In the method that is used for removing grid noise, can calculate each mean value of going of the Bayer format-pattern of input according to an embodiment of the invention; Can calculate the estimated value of the mean value that is arranged on the odd-numbered line between the even number line that is arranged on even number line between the odd-numbered line and Bayer format-pattern of estimating the Bayer format-pattern; Can calculate the difference between this estimated value and this mean value; Can come the calculation correction coefficient by utilizing this difference; And this correction coefficient can be applied to this Bayer format-pattern, and the Bayer format-pattern of can output calibration crossing.
Description of drawings
Fig. 1 has represented the example of the mean value of typical B ayer format-pattern green pixel in the horizontal direction;
Fig. 2 has represented in the image processing system of routine the example of the grid noise that produced by color difference;
Fig. 3 has represented to be input to the example of mask of the Bayer format-pattern of removal device of the present invention;
Fig. 4 has represented the structure of device that is used to remove grid noise according to an embodiment of the invention;
Fig. 5 illustration the correction coefficient generation unit how to generate correction coefficient;
Fig. 6 illustration correcting unit shown in Figure 4 how to carry out correction;
Fig. 7 has represented the curve chart according to the mean value of the green pixel on the horizontal direction after removing grid noise of an embodiment of the invention;
Fig. 8 has represented the enlarged drawing of the part of the dashed lines labeled among Fig. 7;
Fig. 9 has represented the example of having removed the image of grid noise according to of the present invention;
Figure 10 is the optimized example of the correction coefficient that obtained according to the present invention of illustration; And
Figure 11 has represented the example according to the correction coefficient that obtains from 6 * 6 masks of an embodiment of the invention.
Embodiment
By the description below with reference to accompanying drawing, above-mentioned purpose, feature and advantage will become more apparent.Should be noted that to parts identical in the accompanying drawing identical Reference numeral all is provided and no matter figure number how.Below, an embodiment of the invention will be described with reference to the drawings.
Fig. 3 is the example of the mask of the illustration Bayer format-pattern that is input to device of the present invention.The present invention is applied to 5 * 5 masks, and as shown in Figure 3, the center pixel of this mask is green.Although for ease of describing 5 * 5 masks are used as example, the present invention is not limited to 5 * 5 masks.
Fig. 4 is the structure of device that is used to remove grid noise according to an embodiment of the invention.
As shown in the figure, the device that is used to remove grid noise according to the present invention comprises capable average calculation unit 410, row estimation unit 420, difference computational unit 430, correction coefficient generation unit 440 and correcting unit 450.
Row average calculation unit 410 is calculated each mean value of going of the Bayer format-pattern of input as shown in Figure 3.Calculate the mean value of each row by one of following formula:
[formula 1]
G 1 + G 2 + G 3 3
[formula 2]
G 4 + G 5 2
[formula 3]
G 6 + G 7 + G 8 3
[formula 4]
G 9 + G 10 2
[formula 5]
G 11 + G 12 + G 13 3
Row estimation unit 420 utilizes the mean value of each row, estimates the mean value between the row.That is, utilize the mean value of the pixel of first row and the third line to come second row is estimated, utilize the mean value of the pixel of second row and fourth line to come the third line is estimated, utilize the mean value of the pixel of the third line and fifth line to come fourth line is estimated.Because have difference in the mean value, as shown in Figure 1, this will estimate to be provided with the row between being expert at, since even number line (or odd-numbered line) does not have the information about odd-numbered line (or even number line).
Difference between the mean value that calculates by the estimated value that will obtain by above-mentioned steps with by row average calculation unit 410 averages, and with averaged result divided by 2, will obtain corresponding to the even number line among Fig. 1 and half value at interval between the odd-numbered line.Will further describe this point after a while.
The estimated value of second row, the third line and the fourth line of being estimated by row estimation unit 420 is illustrated among the following formula 6-8.Carry out the estimation of capable estimation unit 420 by the mean value that calculates two row.
[formula 6]
G 1 + G 2 + G 3 - G 6 + G 7 + G 8 6
[formula 7]
G 4 + G 5 + G 9 + G 10 4
[formula 8]
G 6 + G 7 + G 8 + G 11 + G 12 + G 13 6
Follow with reference to figure 4, difference computational unit 430 is calculated by the estimated value of row estimation unit 420 acquisitions with by the difference between the mean value of row average calculation unit 410 acquisitions.In other words, obtain as shown in Figure 1 the even number line curve and the difference between the odd-numbered line curve.Therefore, as follows by the difference of difference computational unit 430 acquisitions:
[formula 9]
G 1 + G 2 + G 3 + G 6 + G 7 + G 8 6 - G 4 + G 5 2
= 2 × ( G 1 + G 2 + G 3 + G 6 + G 7 + G 8 ) - 6 × ( G 4 + G 5 ) 12
[formula 10]
G 6 + G 7 + G 8 3 - G 4 + G 5 + G 9 + G 10 4
= 4 × ( G 6 + G 7 + G 8 ) - 3 × ( G 4 + G 5 + G 9 + G 10 ) 12
[formula 11]
G 6 + G 7 + G 8 + G 11 + G 12 + G 13 6 - G 9 + G 10 2
= 2 × ( G 6 + G 7 + G 8 + G 11 + G 12 + G 13 ) - 6 × ( G 9 + G 10 ) 12
Herein, the dual numbers row has been used the calculating of (estimated value)-(mean value), and the calculating that odd-numbered line has been used (mean value)-(estimated value), because as shown in Figure 1, even number line generally has the mean value less than estimated value, and odd-numbered line generally has the mean value greater than estimated value.Therefore, use in the back during the correction coefficient, odd-numbered line is carried out subtraction, and the dual numbers row is carried out addition.
Correction coefficient generation unit 440 among Fig. 4 utilizes the difference that obtains by formula 9-11 to generate the correction coefficient alpha that will be used for the Bayer format-pattern.As shown in Equation 12, correction coefficient alpha is half of the mean value that obtains by formula 9-11.
[formula 12]
α = 2 G 1 - 2 G 2 + 2 G 3 - 9 G 4 - 9 G 5 + 8 G 6 + 8 G 7 - 8 G 8 - 9 G 9 - 9 G 10 + 2 G 11 + 3 G 12 + 2 G 13 12 × 3 × 2
Fig. 5 has carried out diagram to this formula, wherein illustration this correction coefficient generation unit be how to generate correction coefficient.As shown in the figure, can multiply by a constant by 5 * 5 masks and generate correction coefficient as shown in Figure 3 Bayer form.In the drawings, " .X " expression is positioned at the multiple of the component of same position.
The Bayer format-pattern that the correction coefficient alpha that correcting unit 450 obtains aforementioned calculation is applied to import is to remove grid noise.In other words, correcting unit 450 correction coefficient alpha that will obtain at last is added to the green component of Bayer format-pattern as shown in Figure 3 or deducts this last correction coefficient alpha that obtains from the green component of this Bayer format-pattern.Below with reference to Fig. 6 this is further described.
Fig. 6 illustration the correcting unit 450 among Fig. 4 be how to carry out correction.
As shown in the figure, correction coefficient alpha is added to the green component of Bayer format-pattern or deducts from the green component of Bayer format-pattern.As previously mentioned, when using correction coefficient, odd-numbered line is carried out subtraction, and the dual numbers row is carried out addition.
Fig. 7 is the curve chart of expression according to the mean value of the green pixel on horizontal direction behind the removal grid noise of one embodiment of the present invention, and Fig. 8 has represented the zoomed-in view of the part of the with dashed lines mark among Fig. 7.
As shown in the figure, as can be seen, compared to Figure 1, the difference of the mean value of the pixel on the horizontal direction has diminished.
Fig. 9 is that expression is according to the example that has been removed the image of grid noise of the present invention.As shown in the figure, as can be seen, compare with the image processing system of routine, grid noise has been removed basically.
Figure 10 is the optimized example of illustration to the correction coefficient of acquisition according to the present invention.In this example, at system the correction coefficient alpha that obtains by above-mentioned steps is carried out optimization.
Although 5 * 5 masks are described as example, the present invention is not limited to 5 * 5 masks.
Figure 11 represents the example according to the correction coefficient that obtains from 6 * 6 masks of one embodiment of the present invention.
As shown in the figure, according to the device that is used to remove grid noise of the present invention, the green component that can also this correction coefficient be added to input picture by the correction coefficient of obtaining N * N mask removes grid noise.
As mentioned above, the present invention has improved traditional filtered method of removing grid noise, and this traditional filtered method can damage image detail (for example, having the edge or the border of a large amount of high fdrequency components), can cause deterioration of image quality.The present invention is by proofreading and correct and adjusting the attribute that keeps the pixel of even number line and odd-numbered line with even number line in the delegation and the difference between the odd-numbered line simultaneously, can remove grid noise and can not damage image detail.
Drawings and detailed description only are examples of the present invention, only are used to describe the present invention and by no means to the spirit and scope of the present invention restrictions or restriction.Thus, any one technical staff of this area should understand can have a large amount of replacements and other to be equal to execution mode.True scope of the present invention should be only limited by the main idea of appended claim.

Claims (5)

1. device that is used to remove grid noise, this device comprises:
Average calculation unit, it is used to calculate mean value of each row of the Bayer format-pattern of input;
Estimation unit, it is used to calculate estimated value, and this estimated value is estimated the mean value that is arranged on the even number line between the odd-numbered line of Bayer format-pattern and the mean value that is arranged on the odd-numbered line between the even number line of Bayer format-pattern;
Difference computational unit, it is used to calculate by the estimated value of this estimation unit calculating with by the difference between the mean value of this average calculation unit calculating;
Correction coefficient calculation, it is used for by utilizing the difference that is generated by this difference computational unit to come the calculation correction coefficient, wherein, the correction coefficient that is obtained by this correction coefficient calculation is the value that the mean value of the difference that will be calculated by this difference computational unit obtains divided by 2; And
Correcting unit, this correcting unit is used for this correction coefficient is applied to the Bayer format-pattern that this Bayer format-pattern and output calibration are crossed, wherein, this correcting unit deducts this correction coefficient from each green component of the odd-numbered line of Bayer format-pattern, and this correcting unit adds this correction coefficient to each green component of the even number line of Bayer format-pattern.
2. device according to claim 1, wherein, this difference computational unit deducts the mean value that is calculated by this average calculation unit by the estimated value from even number line and comes calculated difference.
3. device according to claim 1, wherein, this difference computational unit deducts estimated value by the mean value by this average calculation unit calculating from odd-numbered line and comes calculated difference.
4. device according to claim 1, wherein, for each green component of this Bayer format-pattern is determined this correction coefficient.
5. method of removing grid noise, this method may further comprise the steps:
Calculate the mean value of every row of the Bayer format-pattern of importing;
Calculate estimated value, this estimated value is estimated the mean value that is arranged on the even number line between the odd-numbered line of Bayer format-pattern and the mean value that is arranged on the odd-numbered line between the even number line of Bayer format-pattern;
Difference between the mean value that calculates this estimated value and calculate by the mean value calculation step;
Mean value by the difference that will be calculated comes the calculation correction coefficient divided by 2; And
Deduct this correction coefficient from each green component of the odd-numbered line of Bayer format-pattern, and add the Bayer format-pattern that this correction coefficient and output calibration are crossed to each green component of the even number line of Bayer format-pattern.
CN200680049994XA 2005-12-29 2006-05-26 Method and device for removing grid noise Active CN101352047B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2005-0132894 2005-12-29
KR1020050132894A KR100617651B1 (en) 2005-12-29 2005-12-29 Apparatus and method for removing grid noise
KR1020050132894 2005-12-29
PCT/KR2006/002022 WO2007074958A1 (en) 2005-12-29 2006-05-26 Device and method for removing grid noise

Publications (2)

Publication Number Publication Date
CN101352047A CN101352047A (en) 2009-01-21
CN101352047B true CN101352047B (en) 2011-02-16

Family

ID=37625500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200680049994XA Active CN101352047B (en) 2005-12-29 2006-05-26 Method and device for removing grid noise

Country Status (3)

Country Link
KR (1) KR100617651B1 (en)
CN (1) CN101352047B (en)
WO (1) WO2007074958A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107424131B (en) * 2017-07-14 2019-11-12 智慧眼科技股份有限公司 Image based on deep learning removes grid method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351521A1 (en) * 2001-01-09 2003-10-08 Sony Corporation Imaging device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077930A (en) 2000-08-24 2002-03-15 Seiko Epson Corp Method for preventing pseudocolor by single ccd solid- state image pickup element and recording medium with pseudocolor preventing program for single ccd solid- state image pickup element
JP4641675B2 (en) 2001-07-18 2011-03-02 三洋電機株式会社 Image signal processing device
JP2005072786A (en) 2003-08-21 2005-03-17 Matsushita Electric Ind Co Ltd Color separation processing circuit, color separation processing method, program, and digital camera
KR100566270B1 (en) * 2004-03-31 2006-03-29 삼성전자주식회사 Video interpolation method
US20050231607A1 (en) * 2004-03-31 2005-10-20 Samsung Electronics Co., Ltd. Image interpolation method
KR100967742B1 (en) * 2004-09-07 2010-07-06 크로스텍 캐피탈, 엘엘씨 Method for color interpolation of image sensor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351521A1 (en) * 2001-01-09 2003-10-08 Sony Corporation Imaging device

Also Published As

Publication number Publication date
WO2007074958A1 (en) 2007-07-05
CN101352047A (en) 2009-01-21
KR100617651B1 (en) 2006-09-01

Similar Documents

Publication Publication Date Title
EP2278788B1 (en) Method and apparatus for correcting lens shading
EP3079353B1 (en) Image processing device, image processing method, electronic apparatus, and program
US8005297B2 (en) Method and apparatus for adaptive and self-calibrated sensor green channel gain balancing
WO2011152174A1 (en) Image processing device, image processing method and program
CN102265595B (en) Method and apparatus for image processing and on-vehicle camera apparatus
JP2007300179A (en) Image processing method and image processing circuit
CN103907134B (en) Image processing apparatus, image processing method and camera head
JP3309941B2 (en) Noise detection circuit, noise elimination circuit and contour enhancement circuit
US9240035B2 (en) Methods for reducing row and column patterns in a digital image
JP2020524958A (en) Method for recovering highlight and saturation regions in digital images and extending dynamic range
EP2103979B1 (en) Method for correcting chromatic aberration
CN101352047B (en) Method and device for removing grid noise
CN110097513A (en) A method of it is denoised based on impulse type ToF depth image
JP2005538396A (en) Method and apparatus for converting color images
US10091442B2 (en) Image processing apparatus and image processing method
JP2013106151A (en) Image processing apparatus and image processing method
JP2009194721A (en) Image signal processing device, image signal processing method, and imaging device
CN101854468B (en) Repairing method for removing image noise
KR100826215B1 (en) Color Interpolation Method and Device Considering Edge Direction and Cross Stripe Noise
CN104205805B (en) Image processing apparatus and method
JP2009239608A (en) Image processing apparatus and digital camera
US8106969B2 (en) Device and method for removing grid noise
JP3899144B2 (en) Image processing device
JP2010193093A (en) Image processor, imaging apparatus and image processing method
KR100784162B1 (en) Apparatus for color interpolation by using grid noise removing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: Han Guoshouer

Patentee after: Maira Co.,Ltd.

Address before: Han Guoshouer

Patentee before: MTEKVISION Co.,Ltd.