CN101917629B - Green component and color difference space-based Bayer format color interpolation method - Google Patents
Green component and color difference space-based Bayer format color interpolation method Download PDFInfo
- Publication number
- CN101917629B CN101917629B CN2010102514232A CN201010251423A CN101917629B CN 101917629 B CN101917629 B CN 101917629B CN 2010102514232 A CN2010102514232 A CN 2010102514232A CN 201010251423 A CN201010251423 A CN 201010251423A CN 101917629 B CN101917629 B CN 101917629B
- Authority
- CN
- China
- Prior art keywords
- component
- green
- current point
- red
- point
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004075 alteration Effects 0.000 claims description 66
- 238000005070 sampling Methods 0.000 claims description 47
- 230000008034 disappearance Effects 0.000 claims description 14
- 235000021384 green leafy vegetables Nutrition 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 abstract description 8
- 238000011084 recovery Methods 0.000 abstract description 6
- 239000003086 colorant Substances 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 abstract description 2
- 230000035772 mutation Effects 0.000 abstract 1
- 238000000205 computational method Methods 0.000 description 41
- 230000008569 process Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 150000001875 compounds Chemical class 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
Abstract
The invention relates to a green component and color difference space-based Bayer format color interpolation method. Two main errors which are jaggies and pseudo colors respectively exist in the conventional color interpolation methods. In the method, in a full-color image recovery process, color recovery is realized by adopting a combined way of interpolating green components, red components and blue components in steps; and the method comprises the reconstruction of the full-resolution green components G, the calculation of pixel point color differences R-G or B-G comprising the red or blue components, the reconstruction of full-resolution color difference images R-G and B-G, and the recovery of the red components R and the blue components B by the addition of the reconstructed full-resolution green components and the reconstructed color difference images. The method of the invention has the advantages of effectively solving the problem that the images have blurry edges and unsharp detail textures, reducing the color distortion of the images, preventing color mutation and improving color smoothness.
Description
Technical field
The invention belongs to the digital image processing techniques field, relate to a kind of Bayer form color interpolation method based on green component and aberration space, specifically is the method for the compound mode realization color restoration of a kind of green component and red blue component substep interpolation.
Background technology
The continuous maturation of Along with computer technology is digitized into the trend into social development, is the attention that the digital imaging technology of representative has caused academia and industrial circle with the digital camera.In in the past 20 years, during CCD and cmos digital camera are applied to daily life more and more and produce.Consider cost and volume, most of digital camera generally adopts single CCD or CMOS as the transducer that receives image.In order accurately intactly to describe a color pixel cell, need three kinds of color components of red, green, blue at least, therefore can on the digital camera imageing sensor, cover the color filter array.Because Bayer form color filter array has good color signal sensitiveness and color restoration characteristic, therefore be applied in widely on the various imageing sensors.Each sensitive spot in the Bayer form color filter array only allows a kind of color component to pass through, so each pixel of image all has only a kind of color gray value, and is as shown in Figure 1.Therefore, for the coloured image that regains one's integrity, need calculate other two kinds of disappearance color components through the color around each sampled point of color interpolation techniques make use.
In the digital camera system, most of color filter arrays have only a kind of color component that higher sample frequency is arranged at present, and it is also more to compare other two kinds of color component samplings.In Bayer form color filter array, green component (G) is account for the total sampled point of image half the, is the twice of red component (R) or blue component (B), therefore comprises more images information, and human eye is red and blue responsive to green.So the green component of present general first each pixel of reconstructed image of most color interpolation algorithm, and then rebuild other two kinds of color components.More typical color interpolation algorithm has following three kinds at present:
Bilinearity (Bilinear) interpolation algorithm: early stage owing to receive the restriction of hardware condition, be more prone to adopt that algorithm is simple, the interpolation algorithm of fast operation, bilinear interpolation algorithm a kind of algorithm of being used widely that comes to this.This algorithm utilizes the to be asked color component of the mean value of color component of the same race in the neighbor sampled point as current pixel.
Edge guiding (Edge Adaptive) interpolation algorithm: in the Interpolation Process, at first on the comparison level direction with vertical direction on gradient magnitude, the pixel of getting during interpolation on the less direction of gradient calculates a color component value current to be asked as estimation point.In order to reduce algorithm complex as far as possible, at first utilize the green component of this each pixel of algorithm reconstructed image, utilize bilinearity then and the compensation correction of the green component rebuild recovers redness and blue component.
Adaptability color layers (Adapted Color Plane) interpolation algorithm: this algorithm leads on the edge of to improve on the interpolation algorithm and obtains; Different is that this method is when considering the image border; Confirm through green component G and red R or blue B component, and all adopt this algorithm to carry out interpolation to three kinds of components of red, green, blue and recover.Likewise, rebuild earlier the green component of full resolution, utilize the reconstruction of the red and blue component of the green component correction of having rebuild again.
Bilinear interpolation algorithm the earliest is not owing to there is the edge of differentiate between images in computational process; Just simply average interpolation through contiguous pixel; The image restored effect is unsatisfactory; Edge distortion is apparent in view, and image detail and texture performance are not accurate enough, and have produced serious color distortion.In order to overcome problems such as soft edge, be greatly improved than the bilinear interpolation algorithm based on the edge guiding interpolation algorithm texture of gradient and the performance at edge.And it is more accurate to the location of image border to improve the adaptability color layers interpolation algorithm that obtains on the interpolation algorithm that leads on the edge of, has further reduced the fuzzy and cross-color of edge of image, and the image restored effect is more satisfactory.Though this algorithm has solved the soft edge problem, do not consider the color high correlation of image, can not prevent the color sudden change of image effectively, effect is relatively poor aspect the color smoothness.
Summary of the invention
The object of the present invention is to provide a kind of Bayer form color interpolation method based on green component and aberration space, it is a kind of novel Bayer format-pattern color interpolation method that makes full use of image space correlation and color correlation.This method is recovered the green component of disappearance earlier, and the correction-compensation that utilizes the green component that has recovered again is to rebuild red blue component, simultaneously in the process of rebuilding red blue component; Introduced image aberration rule; Be specifically designed to the false colour that produces in the inhibition Interpolation Process, prevent the color saltus step, strengthen the color smoothness; Reduce the fog-level at edge, improve the performance accuracy of image texture and details.
Bayer format-pattern color interpolation method provided by the invention adopts the compound mode of green component and red blue component substep interpolation to realize color restoration in the process of rebuilding full-color image.At first utilize the strict differentiate between images of the spatial coherence edge of image, rebuild the full resolution green component; Utilize the color correlation of image to carry out the interpolation calculation in aberration (R-G and B-G) space then, rebuild the red blue component of full resolution through the correction-compensation of the green component that recovered again.Than interpolation algorithms such as Traditional use bilinearity, edge guiding and adaptability color layers, the full-color image effect that recovery obtains is even more ideal, and the Y-PSNR of color of image signal is also higher, also has the low advantage of algorithm computational complexity simultaneously.
The inventive method comprises reconstruction and four contents of reconstruction of full resolution red component R and blue component B of reconstruction, the calculating at pixel aberration R-G that comprises redness or blue component or B-G, full resolution color difference image R-G and the B-G of full resolution green component G.
In Bayer form color filter array, the green component sampling number accounts for the half the of the total sampling number of image, is the twice of red component or blue component sampling number; Therefore comprise more images information; And human eye is red and blue responsive to green, to brightness than color sensitivity, and in the color space conversion from RGB to YUV; Near 60%, brightness Y calculates green component to the contribution of brightness Y:
Y=0.299R+0.587G+0.114B. (1)
Therefore the full resolution green component be reconstituted in the full-color image recovery process most importantly, its concrete grammar is:
At the pixel sampling point place that comprises red component R, take all factors into consideration the green component G and the red component R of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction
GrWith vertical gradient V
Gr, select the edge direction of the less direction of gradient as the current pixel sampled point.
1) works as H
Gr>V
GrThe time, then vertical direction selects two adjacent on current point vertical direction green component G and two red component R and current red component R to calculate the green component G that current point lacks as the edge direction of current point;
2) work as H
Gr<V
GrThe time, then horizontal direction selects two adjacent on current point horizontal direction green component G and two red component R and current red component R to calculate the green component G that current point lacks as the edge direction of current point;
3) work as H
Gr=V
GrThe time, then select four adjacent green component G of current point and four red component R and current red component R to calculate the green component G that current point lacks on every side.
At the pixel sampling point place that comprises blue component B, take all factors into consideration the green component G and the blue component B of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction
GbWith vertical gradient V
Gb, select the edge direction of the less direction of gradient as current point.
1) works as H
Gb>V
GbThe time, then vertical direction selects two adjacent on current point vertical direction green component G and two blue component B and current blue component B to calculate the green component G that current point lacks as the edge direction of current point;
2) work as H
Gb<V
GbThe time, then horizontal direction selects two adjacent on current point horizontal direction green component G and two blue component B and current blue component B to calculate the green component G that current point lacks as the edge direction of current point;
3) work as H
Gb=V
GbThe time, then select four adjacent green component G of current point and four blue component B and current blue component B to calculate the green component G that current point lacks on every side.
In different Color plane, have high correlation between each chrominance component, just color ratio rule and aberration rule, the color-values of pixel is more approaching in a little neighborhood.The present invention utilizes the aberration rule to carry out the recovery of red component R and blue component B, at first will calculate the color difference image R-G and the B-G of Bayer form, its concrete grammar:
Comprising the pixel sampling point of red component R, on the basis of step 1, the green component G that current point includes original red color component R and rebuild, calculated difference R-G obtains the red green difference image of Bayer form.
Comprising the pixel sampling point of blue component B, on the basis of step 1, the green component G that current point includes original blue component B and rebuild, calculated difference B-G obtains the blue-green difference image of Bayer form.
The red green difference R-G and the bluish-green aberration B-G image of Bayer form in step 2, have been obtained.Red green almost comprises red component R sample point in original Bayer formatted data, blue-green almost comprises blue component B sample point in original Bayer formatted data.Through step 1 obtain rebuild full resolution green component G and current point image border confirm to rebuild respectively full resolution color difference image R-G and B-G, its detailed process:
(1), rebuild the concrete grammar of full resolution color difference image R-G:
Comprising aberration B-G but the sample point of disappearance aberration R-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the red green difference R-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
R-gWith upper right lower left to Grad V
R-g, select the edge direction of the less direction of Grad as current point.
1) works as H
R-g>V
R-gThe time; As the edge direction of current point, the green component G that two red green difference R-G that select that the upper right lower left of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks under the then upper right left side;
2) work as H
R-g<V
R-gThe time; Then upper left bottom right is as the edge direction of current point, and the green component G that two red green difference R-G that select that the upper left lower right of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks;
3) work as H
R-g=V
R-gThe time, the green component G that then selects four adjacent red green difference R-G of two miter angle tilted directions of current point and four green component G that rebuild and current point to rebuild calculates the red green difference R-G that current point lacks.
At the pixel sampling point place that only comprises green component G; Adjacent on every side has two red greens not good enough; Employing is got mean deviation to two adjacent red green difference R-G and is revised with not good enough green component and the current point green component G that locates of adjacent red green, obtains the red green difference R-G that current point lacks.
(2), rebuild the concrete grammar of full resolution color difference image B-G:
Comprising aberration R-G but the sample point of disappearance aberration B-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the bluish-green aberration B-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
B-gWith upper right lower left to Grad V
B-g, select the edge direction of the less direction of Grad as current point.
1) works as H
B-g>V
B-gThe time; As the edge direction of current point, the green component G that two red green difference R-G that select that the upper right lower left of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks under the then upper right left side;
2) work as H
B-g<V
B-gThe time; Then upper left bottom right is as the edge direction of current point, and the green component G that two red green difference R-G that select that the upper left lower right of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks;
3) work as H
B-g=V
B-gThe time, the green component G that then selects four adjacent red green difference R-G of two miter angle tilted directions of current point and four green component G that rebuild and current point to rebuild calculates the red green difference R-G that current point lacks.
Only comprising the pixel sampling point of green component G; Adjacent on every side has two blue-greens not good enough; Employing is got mean deviation to two adjacent bluish-green aberration B-G and is revised with not good enough green component and the current point green component G that locates of adjacent blue-green, obtains the bluish-green aberration B-G that current point lacks.
Step 4. is rebuild full resolution red component R and blue component B
Obtained full resolution color difference image R-G and B-G in step 3, promptly each pixel sampling point of image all includes red green difference R-G and blue-green difference B-G.Obtained full resolution green component G in step 1, promptly each pixel sampling point of image all includes green component G.The concrete grammar of rebuilding full resolution red component R is:
With red green difference R-G in each pixel sampling point of image and the green component G addition in the current sampling point, calculate all sampled points of image and promptly obtained full resolution red component R, promptly each pixel sampling point of image all includes red component R.
The concrete grammar of rebuilding full resolution blue component B is:
With blue-green difference B-G in each pixel sampling point of image and the green component G addition in the current sampling point, calculate all sampled points of image and promptly obtained full resolution blue component B, promptly each pixel sampling point of image all includes blue component B.
The inventive method effectively reduces in the color interpolation process and to produce edge blurry and color distortion, has solved that the image effect that bilinear interpolation method brought is undesirable, edge blurry, image texture and problem such as the details performance is inaccurate, color distortion is serious.Edge guiding commonly used is more accurate with adaptability color layers interpolation method imaging effect is better, the edge is judged, the color smoothness is higher and each color component Y-PSNR of image restored is higher, and computing cost is little.
Description of drawings
Fig. 1 is a Bayer form color filter array sketch map;
Fig. 2 is a flow chart of the present invention;
Fig. 3 is the reconstruction strategy sketch map of red, green, blue three primary colors of the present invention;
Fig. 4 is 6 * 6 original reference pixel sampling point sketch mapes of Bayer form;
6 * 6 green component G sketch mapes of Fig. 5 for having rebuild;
Fig. 6 is 6 * 6 corresponding sampled point aberration sketch map as a result of Bayer form;
6 * 6 red green difference R-G sketch mapes of Fig. 7 for having rebuild;
6 * 6 bluish-green aberration B-G sketch mapes of Fig. 8 for having rebuild;
6 * 6 red component R sketch mapes of Fig. 9 for having rebuild;
6 * 6 blue component B sketch mapes of Figure 10 for having rebuild.
Embodiment
Below in conjunction with accompanying drawing the present invention is described further.
The present invention is applicable to the color interpolation in any Bayer format digital camera imaging system, and Fig. 1 has showed the arrangement mode figure of each color component of Bayer form hypograph.
In the elaborate process of embodiment, symbol R, G, B be red component, green component, the blue component of presentation video respectively, symbol R
Ij, G
Ij, B
IjRespectively red component, green component, the blue component of the capable and j row pixel of presentation video i, symbol R-G, B-G represent redness and green difference, blueness and green difference, symbol R respectively
Ij-G
Ij, B
Ij-G
IjRespectively redness and green difference, blueness and the green difference of the capable and j row pixel of presentation video i, and image is listed as since the 0th row and the 0th.
Fig. 2 and Fig. 3 represent the reconstruction strategy sketch map of schematic flow sheet of the present invention and red, green, blue three primary colors respectively; Recover to obtain full-color image from the Bayer original image; The first step is to rebuild full resolution green component G; Second step was to calculate aberration R-G or B-G at the pixel that comprises redness or blue component; The 3rd step was to rebuild full resolution color difference image R-G and B-G, was that the green component G that has rebuild is recovered red component R and blue component B with color difference image R-G that has rebuild and B-G respectively mutually at last.
The reconstruction of step 1. full resolution green component G
(1), rebuild the green component G of disappearance, take all factors into consideration the green component G and the red component R of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction at the pixel sampling point that comprises red component R
GrWith vertical gradient V
GrCurrent point is R
Ij, the gradient H that then image i is capable and j is listed as
GrijAnd V
GrijFor:
H
grij=|-R
i(j-2)+2R
ij-R
i(j+2)|+|G
i(j-1)-G
i(j+1)|. (2)
V
grij=|-R
(i-2)j+2R
ij-R
(i+2)j|+|G
(i-1)j-G
(i+1)j|. (3)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
Grij<V
GrijThe time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point R
I (j-2), R
Ij, R
I (j+2), g
I (j-1)And G
I (j+1)Calculate current point R
IjThe green component G that is lacked
Ij, computational methods are following:
2) work as H
Grij>V
GrijThe time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point R
(i-2) j, R
Ij, R
(i+2) j, G
(i-1) jAnd G
(i+1) jCalculate current point R
IjThe green component G that is lacked
Ij, computational methods are following:
3) work as H
Grij=V
GrijThe time, then select R
(i-2) j, R
I (j-2), R
Ij, R
(i+2) j, R
I (j+2), G
(i-1) j, G
J (j-1), G
(i+1) jAnd G
I (j+1)Calculate current point R
IjThe green component G that is lacked
Ij, computational methods are following:
(2), rebuild the green component G of disappearance, take all factors into consideration the green component G and the blue component B of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction at the pixel sampling point that comprises blue component B
GbWith vertical gradient V
GbCurrent point is B
Ij, the gradient H that then image i is capable and j is listed as
GbijAnd V
GbijFor:
H
gbij=|-B
i(j-2)+2B
ij-B
i(j+2)|+|G
i(j-1)-G
i(j+1)|. (7)
V
gbij=|-B
(i-2)j+2B
ij-B
(i+2)j|+|G
(i-1)j-G
(i+1)j|. (8)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
Gbij<V
GbijThe time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point B
I (j-2), B
Ij, B
I (j+2), G
I (j-1)And G
I (j+1)Calculate current point B
IjThe green component G that is lacked
Ij, computational methods are following:
2) work as H
Gbij>V
GbijThe time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point B
(i-2) j, B
Ij, B
(i+2) j, G
(i-1) jAnd G
(i+1) jCalculate current point B
IjThe green component G that is lacked
Ij, computational methods are following:
3) work as H
Gbij=V
GbijThe time, then select B
(i-2) j, B
I (j-2), B
Ij, B
(i+2) j, B
I (j+2), G
(i-1) j, G
I (j-1), G
(i+1) jAnd G
I (j+1)Calculate current point B
IjThe green component G that is lacked
Ij, computational methods are following:
Fig. 4 has provided 6 * 6 original reference pixel sampling point sketch mapes of a Bayer form, further the reconstruction of full resolution green component G is described and describes below in conjunction with the concrete arrangement mode of data of Fig. 4, so that understand method of the present invention.
(1), rebuild the green component G of disappearance, take all factors into consideration the green component G and the red component R of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction at the pixel sampling point that comprises red component R
GrWith vertical gradient V
Gr
With current pixel point R
22Be example, then the gradient H of image the 2nd row and the 2nd row
Gr22And V
Hr22For:
H
gr22=|-R
20+2R
22-R
24|+|G
21-G
23|. (12)
V
gr22=|-R
02+2R
22-R
42|+|G
12-G
32|. (13)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
Gr22<V
Gr22The time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point R
20, R
22, R
24, G
21And G
23Calculate current point R
22The green component G that is lacked
22, computational methods are following:
2) work as H
Gr22>V
Gr22The time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point R
02, R
22, R
42, G
12And G
32Calculate current point R
22The green component G that is lacked
22, computational methods are following:
3) work as H
Gr22=V
Gr22The time, then select R
02, R
20, R
22, R
42, R
24, G
12, G
21, G
32And G
23Calculate current point R
22The green component G that is lacked
22, computational methods are following:
With special pixel point R
02Be example, then the gradient H of image the 0th row and the 2nd row
Gr02And V
Gr02For:
H
gr02=|-R
00+2R
02-R
04|+|G
01-G
03|. (17)
V
gr02=|R
02-R
22|+|G
12|. (18)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
Gr02<V
Gr02The time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point R
00, R
02, R
04, G
01And G
03Calculate current point R
02The green component G that is lacked
02, computational methods are following:
2) work as H
Gr02>V
Gr02The time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point R
02, R
22, G
12Calculate current point R
02The green component G that is lacked
02, computational methods are following:
3) work as H
Gr02=V
Gr02The time, then select R
00, R
02, R
22, R
04, G
12, G
01And G
03Calculate current point R
02The green component G that is lacked
02, computational methods are following:
(2), rebuild the green component G of disappearance, take all factors into consideration the green component G and the blue component B of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction at the pixel sampling point that comprises blue component B
GbWith vertical gradient V
Gb
With current pixel point B
33Be example, then the gradient H of image the 3rd row and the 3rd row
Gb33And V
Gb33For:
H
gb33=|-B
31+2B
33-B
35|+|G
32-G
34|. (22)
V
gb33=|-B
13+2B
33-B
53|+|G
23-G
43|. (23)
Above two Grad are selected the edge direction of less direction as current point.
1) works as G
Gb33<V
Gb33The time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point B
31, B
33, B
35, G
32And G
34Calculate current point B
33The green component G that is lacked
33, computational methods are following:
2) work as H
Gb33>V
Gb33The time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point B
13, B
33, B
53, G
23And G
43Calculate current point B
33The green component G that is lacked
33, computational methods are following:
3) work as H
Gb33=V
Gb33The time, then select B
13, B
31, B
33, B
53, B
35, G
32, G
34, G
23And G
43Calculate current point B
33The green component G that is lacked
33, computational methods are following:
With special pixel point B
55Be example, then the gradient H of image the 5th row and the 5th row
Gb55And B
Gb55For:
H
gb55=|B
55-B
53|+|G
54|. (27)
V
gb55=|B
55-B
35|+|G
45|. (28)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
Gb55<V
Gb55The time, promptly horizontal direction edge difference is less, and then horizontal direction is as the edge direction of current point, choice point B
53, B
55, and G
54Calculate current point B
55The green component G that is lacked
55, computational methods are following:
2) work as H
Gb55>V
Gb55The time, promptly vertical direction edge difference is less, and then vertical direction is as the edge direction of current point, choice point B
35, B
55, and G
45Calculate current point B
55The green component G that is lacked
55, computational methods are following:
3) work as H
Gb55=V
Gb55The time, then select B
35, B
53, B
55, G
54And G
45Calculate current point B
55The green component G that is lacked
55, computational methods are following:
The span of green component G is 0 to 255, therefore when more than the green component G that calculates need overflow compensation deals when exceeding this span, promptly when the result of calculation of G less than 0 the time, the then current green component G that rebuilds is 0; When the result of calculation of G greater than 255 the time, the then current green component G that rebuilds is 255.Fig. 5 has showed 6 * 6 green component G that rebuild that calculate through step 1.
On the basis of step 1, obtained the full resolution green component G that rebuild, promptly each pixel sampling point of image all includes green component G.
(1), comprising the pixel sampling point of red component R, current point is R
Ij, the green component that comprises is G
Ij, then image i red green differences capable and the j row are R
Ij-G
Ij
(2), comprising the pixel sampling point of blue component B, current point is B
Ij, the green component that comprises is G
Ij, then image i bluish-green aberration capable and the j row are B
Ij-G
Ij
Further the calculating of aberration R-G or B-G is described and describes below in conjunction with the concrete arrangement mode of data of Fig. 4 and the green component of rebuilding of Fig. 5, so that understand method of the present invention.
(1), comprising the pixel sampling point of red component R, with the R of Fig. 4
22G with Fig. 5
22Be example, then the red green difference of image the 2nd row and the 2nd row is R
22-G
22
(2), comprising the pixel sampling point of blue component B, with the B of Fig. 4
55G with Fig. 5
55Be example, then the bluish-green aberration of image the 5th row and the 5th row is R
55-G
55
6 * 6 respective pixel sampled point aberration that Fig. 6 has showed the Bayer form that calculates through step 2 are sketch map as a result.
The reconstruction of step 3. full resolution color difference image R-G and B-G
On the basis of step 2, obtained the red green difference R-G and the bluish-green aberration B-G image of Bayer form.
(1), the reconstruction of full resolution color difference image R-G
A), comprising aberration B-G but the sample point of disappearance aberration R-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the red green difference R-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
R-gWith upper right lower left to Grad V
R-gCurrent point is B
Ij-G
Ij, the aberration gradient H that then image i is capable and j is listed as
(r-g) ijAnd V
(r-g) ijFor:
H
(r-g)ij=|(R
(i-1)(j-1)-G
(i-1)(j-1))-(R
(i+1)(j+1)-G
(i+1)(j+1))|
(32)
+|-G
(i-1)(j-1)+2G
ij-G
(i+1)(j+1)|.
V
(r-g)ij=|(R
(i-1)(j+1)-G
(i-1)(j+1))-(R
(i+1)(j-1)-G
(i+1)(j-1))|
(33)
+|-G
(i-1)(j+1)+2G
ij-G
(i+1)(j-1)|.
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
(r-g) ij<V
(r-g) ijThe time, then upper left bottom right is as the edge direction of current point, choice point R
(i-1) (j-1)-G
(i-1) (j-1), R
(i+1) (j+1)-G
(i+1) (j+1), G
(i-1) (j-1), G
IjAnd G
(i+1) (j+1)Calculate current point B
Ij-G
IjThe red green difference R that is lacked
Ij-G
Ij, computational methods are following:
2) work as H
(r-g) ij>V
(r-g) ijThe time, under the then upper right left side as the edge direction of current point, choice point R
(i-1) (j+1)-G
(i-1) (j+1), R
(i+1) (j-1)-G
(i+1) (j-1), G
(i-1) (j+1), G
IjAnd G
(i+1) (j-1)Calculate current point B
Ij-G
IjThe red green difference R that is lacked
Ij-G
Ij, computational methods are following:
3) work as H
(r-g) ij=V
(r-g) ijThe time, then select R
(i-1) (j-1)-G
(i-1) (j-1), R
(i+1) (j+1)-G
(i+1) (j+1), R
(i-1) (j+1)-G
(i-1) (j+1), R
(i+1) (j-1)-G
(i+1) (j-1), G
(i-1) (j-1), G
(i+1) (j+1), G
(i-1) (j+1), G
(i+1) (j-1)And G
IjCalculate current point B
Ij-G
IjThe red green difference R that is lacked
Ij-G
Ij, computational methods are following:
B), only comprising the pixel sampling point of green component G, adjacent on every side has only two red greens on horizontal direction or the vertical direction not good enough, current point is G
Ij
1) when two adjacent red greens almost at current point G
IjHorizontal direction on, promptly put R
I (j-1)-G
I (j-1)And R
I (j+1)-G
I (j+1), current point G then
IjThe red green difference R that is lacked
Ij-G
IjComputational methods be:
2) when two adjacent red greens almost at current point G
IjVertical direction on, i.e. R
(i-1) j-G
(i-1) jAnd R
(i+1) j-G
(i+1) j, current point G then
IjThe red green difference R that is lacked
Ij-G
IjComputational methods be:
Further the reconstruction of full resolution aberration R-G is described and describes below in conjunction with the concrete arrangement mode of Bayer form chromatism data of Fig. 6 and the green component of rebuilding of Fig. 5, so that understand method of the present invention.
A), comprising aberration B-G but the sample point of disappearance aberration R-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the red green difference R-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
R-gWith upper right lower left to Grad V
R-g
With aberration point B
33-G
33Be example, then the gradient H of the 3rd row and the 3rd row
(r-g) 33And V
(r-g) 33For:
H
(r-g)33=|(R
22-G
22)-(G
44-G
44)|+|-G
22+2G
33-G
44|. (39)
V
(r-g)33=|(R
24-G
24)-(R
42-G
42)|+|-G
24+2G
33-G
42|. (40)
Above two Grad are selected the edge direction of less direction as current point.
1) works as G
(r-g) 33<V
(r-g) 33The time, then upper left bottom right is as the edge direction of current point, choice point R
22-G
22, R
44-G
44, G
22, G
33And G
44Calculate current point B
33-G
33The red green difference R that is lacked
33-G
33, computational methods are following:
2) work as H
(r-g) 33>V
(r-g) 33The time, under the then upper right left side as the edge direction of current point, choice point R
24-G
24, R
42-G
42, G
24, G
33And G
42Calculate current point B
33-G
33The red green difference R that is lacked
33-G
33, computational methods are following:
3) work as H
(r-g) 33=V
(r-g) 33The time, then select R
22-G
22, R
44-G
44, R
24-G
24, R
42-G
42, G
22, G
44, G
24, G
42And G
33Calculate current point B
33-G
33The red green difference R that is lacked
33-G
33, computational methods are following:
With particular point B
15-G
15Be example, then the gradient H of the 1st row and the 5th row
(r-g) 15And V
(r-g) 15For:
H
(r-g)15=|(R
04-G
04)|+|G
15-G
04|. (44)
V
(r-g)15=|(R
24-G
24)|+|G
15-G
24|. (45)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
(r-g) 15<V
(r-g) 15The time, then upper left bottom right is as the edge direction of current point, choice point R
04-G
04, G
15And G
04Calculate current point B
15-G
15The red green difference R that is lacked
15-G
15, computational methods are following:
2) work as H
(r-g) 15>V
(r-g) 15The time, under the then upper right left side as the edge direction of current point, choice point R
24-G
24, G
15And G
24Calculate current point B
15-G
15The red green difference R that is lacked
15-G
15, computational methods are following:
3) work as H
(r-g) 15=V
(r-g) 15The time, then select R
04-G
04, R
24-G
24, G
04, G
15And G
24Calculate current point B
15-G
15The red green difference R that is lacked
15-G
15, computational methods are:
B), only comprising the pixel sampling point of green component G, adjacent on every side has only two red greens on horizontal direction or the vertical direction not good enough.
1) with a G
23Be example, two adjacent red greens almost on the horizontal direction of current point, are promptly put R
22-G
22And R
24-G
24, current point G then
23The red green difference R that is lacked
23-G
23Computational methods be:
2) with particular point G
52Be example, an adjacent red green almost on the vertical direction of current point, is promptly put R
42-G
42, current point G then
52The red green difference R that is lacked
52-G
52Computational methods be:
Fig. 7 has showed 6 * 6 red green difference R-G that rebuild that calculate through step 3.
(2), the reconstruction of full resolution color difference image B-G
A), comprising aberration R-G but the sample point of disappearance aberration B-G; Adjacent on every side has four blue-greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the bluish-green aberration B-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
B-gWith upper right lower left to Grad V
B-gCurrent point is R
Ij-G
Ij, the aberration gradient H that then image i is capable and j is listed as
(b-g) ijAnd V
(b-g) ijFor:
H
(b-g)ij=|(B
(i-1)(j-1)-G
(i-1)(j-1))-(B
(i+1)(j+1)-G
(i+1)(j+1))|
(51)
+|-G
(i-1)(j-1)+2G
ij-G
(i+1)(j+1)|.
V
(b-g)ij=|(B
(i-1)(j+1)-G
(i-1)(j+1))-(B
(i+1)(j-1)-G
(i+1)(j-1))|
(52)
+|-G
(i-1)(j+1)+2G
ij-G
(i+1)(j-1)|.
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
(b-g) ij<V
(b-g) ijThe time, then upper left bottom right is as the edge direction of current point, choice point B
(i-1) (j-1)-G
(i-1) (j-1), B
(i+1) (j+1)-G
(i+1) (j+1), G
(i-1) (j-1), G
IjAnd G
(i+1) (j+1)Calculate current point R
Ij-G
IjThe bluish-green aberration B that is lacked
Ij-G
Ij, computational methods are following:
2) work as H
(b-g) ij>V
(b-g) ijThe time, under the then upper right left side as the edge direction of current point, choice point B
(i-1) (j+1)-G
(i-1) (j+1), B
(i+1) (j-1)-G
(i+1) (j-1), G
(i-1) (j+1), G
IjAnd G
(i+1) (j-1)Calculate current point R
Ij-G
IjThe bluish-green aberration B that is lacked
Ij-G
Ij, computational methods are following:
3) work as H
(b-g) ij=V
(b-g) ijThe time, then select B
(i-1) (j-1)-G
(i-1) (j-1), B
(i+1) (j+1)-G
(i+1) (j+1), B
(i-1) (j+1)-G
(i-1) (j+1), B
(i+1) (j-1)-G
(i+1) (j-1), G
(i-1) (j-1), G
(i+1) (j+1), G
(i-1) (j+1), G
(i+1) (j-1)And G
IjCalculate current point R
Ij-G
IjThe bluish-green aberration B that is lacked
Ij-G
Ij, computational methods are following:
B), only comprising the pixel sampling point of green component G, adjacent on every side has only two blue-greens on horizontal direction or the vertical direction not good enough, current point is G
Ij
1) when two adjacent blue-greens almost at current point G
IjHorizontal direction on, promptly put B
I (j-1)-G
I (j-1)And B
I (j+1)-G
I (j+1), current point G then
IjThe bluish-green aberration B that is lacked
Ij-G
IjComputational methods be:
2) when two adjacent blue-greens almost at current point G
IjVertical direction on, i.e. B
(i-1) j-G
(i-1) jAnd B
(i+1) j-G
(i+1) j, current point G then
IjThe bluish-green aberration B that is lacked
Ij-G
IjComputational methods be:
Further the reconstruction of full resolution aberration B-G is described and describes below in conjunction with the concrete arrangement mode of Bayer form chromatism data of Fig. 6 and the green component of rebuilding of Fig. 5, so that understand method of the present invention.
A), comprising aberration R-G but the sample point of disappearance aberration B-G; Adjacent on every side has four blue-greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the bluish-green aberration B-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
B-gWith upper right lower left to Grad V
B-g
With aberration point R
22-G
22Be example, then the gradient H of the 2nd row and the 2nd row
(b-g) 22And V
(b-g) 22For:
H
(b-g)22=|(B
11-G
11)-(B
33-G
33)|+|-G
11+2G
22-G
33|. (58)
V
(b-g)22=|(B
13-G
13)-(B
31-G
31)|+|-G
13+2G
22-G
31|. (59)
Above two Grad are selected the edge direction of less direction as current point.
1) works as H
(b-g) 22<V
(b-g) 22The time, then upper left bottom right is as the edge direction of current point, choice point B
11-G
11, B
33-G
33, G
11, G
22And G
33Calculate current point R
22-G
22The red green difference B that is lacked
22-G
22, computational methods are following:
2) work as H
(b-g) 22>V
(b-g) 22The time, under the then upper right left side as the edge direction of current point, choice point B
13-G
13, B
31-G
31, G
13, G
22And G
31Calculate current point R
22-G
22The red green difference B that is lacked
22-G
22, computational methods are following:
3) work as H
(b-g) 22=V
(b-g) 22The time, then select B
11-G
11, B
13-G
13, B
31-G
31, B
33-G
33, G
11, G
33, G
13, G
22And G
31Calculate current point R
22-G
22The red green difference B that is lacked
22-G
22, computational methods are following:
With particular point R
00-G
00Be example, the bluish-green aberration that this point is adjacent has only B
11-G
11, the bluish-green aberration B that lacked of this point then
00-G
00For
B), only comprising the pixel sampling point of green component G, adjacent on every side has only two blue-greens on horizontal direction or the vertical direction not good enough.
1) with a G
32Be example, two adjacent blue-greens almost on the horizontal direction of current point, are promptly put B
31-G
31And B
33-G
33, current point G then
32The bluish-green aberration B that is lacked
32-G
32Computational methods be:
2) with a G
23Be example, two adjacent blue-greens almost on the vertical direction of current point, are promptly put B
13-G
13And B
33-G
33, current point G then
23The bluish-green aberration B that is lacked
23-G
23Computational methods be:
Fig. 8 has showed 6 * 6 bluish-green aberration B-G that rebuild that calculate through step 3.
The reconstruction of step 4. full resolution red component R and blue component B
On the basis of step 1, obtained the full resolution green component G that rebuild, promptly each pixel sampling point of image all includes green component G.On the basis of step 3, obtained the full resolution color difference image R-G and the B-G that have rebuild, promptly each pixel sampling point of image all includes aberration R-G and B-G.
(1), the reconstruction of full resolution red component R
The image current pixel point includes the aberration R that has rebuild
Ij-G
IjWith green component G
Ij, the red component R that current point red green difference and green component values addition are promptly obtained current point and lacked
Ij
The R-G of the reconstruction color difference image of rebuilding green component and Fig. 7 in conjunction with Fig. 5 describes and describes.G with Fig. 5
23R with Fig. 7
23-G
23Be example, then the red component of image the 2nd row and the 3rd row is (R
23-G
23)+G
23
The span of red component R is 0 to 255, therefore when more than the red component R that calculates need overflow compensation deals when exceeding this span, promptly when the result of calculation of R less than 0 the time, the then current red component R that rebuilds is 0; When the result of calculation of R greater than 255 the time, the then current red component R that rebuilds is 255.Fig. 9 has showed 6 * 6 red component R that rebuild that calculate.
(2), the reconstruction of full resolution blue component B
The image current pixel point includes the aberration B that has rebuild
Ij-G
IjWith green component G
Ij, the blue component B that current point blue-green difference and green component values addition are promptly obtained current point and lacked
Ij
The B-G of the reconstruction color difference image of rebuilding green component and Fig. 8 in conjunction with Fig. 5 describes and describes.G with Fig. 5
42B with Fig. 8
42-G
42Be example, then the blue component of image the 4th row and the 2nd row is (B
42-G
42)+G
42
The span of blue component B is 0 to 255, therefore when more than the blue component B ultrasonic that calculates need overflow compensation deals when going out this span, promptly when the result of calculation of B less than 0 the time, the then current blue component B that rebuilds is 0; When the result of calculation of B greater than 255 the time, the then current blue component B that rebuilds is 255.Figure 10 has showed 6 * 6 blue component B that rebuild that calculate.
Claims (1)
1. the Bayer form color interpolation method based on green component and aberration space is characterized in that this method comprises the steps:
Step 1. is rebuild full resolution green component G, and concrete grammar is:
At the pixel sampling point place that comprises red component R, take all factors into consideration the green component G and the red component R of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction
GrWith vertical gradient V
Gr
1-1. work as H
Gr>V
GrThe time, then vertical direction selects two adjacent on current point vertical direction green component G and two red component R and current red component R to calculate the green component G that current point lacks as the edge direction of current point;
1-2. work as H
Gr<V
GrThe time, then horizontal direction selects two adjacent on current point horizontal direction green component G and two red component R and current red component R to calculate the green component G that current point lacks as the edge direction of current point;
1-3. work as H
Gr=V
GrThe time, then select four adjacent green component G of current point and four red component R and current red component R to calculate the green component G that current point lacks on every side;
At the pixel sampling point place that comprises blue component B, take all factors into consideration the green component G and the blue component B of current point neighborhood, calculated level direction gradient H from horizontal direction and vertical direction
GbWith vertical gradient V
Gb, select the edge direction of the less direction of gradient as current point;
1-4. work as H
Gb>V
GbThe time, then vertical direction selects two adjacent on current point vertical direction green component G and two blue component B and current blue component B to calculate the green component G that current point lacks as the edge direction of current point;
1-5. work as H
Gb<V
GbThe time, then horizontal direction selects two adjacent on current point horizontal direction green component G and two blue component B and current blue component B to calculate the green component G that current point lacks as the edge direction of current point;
1-6. work as H
Gb=V
GbThe time, then select four adjacent green component G of current point and four blue component B and current blue component B to calculate the green component G that current point lacks on every side;
Step 2. is calculated the pixel aberration R-G that comprises red component and is calculated the pixel aberration B-G that comprises blue component, and concrete grammar is:
Comprising the pixel sampling point of red component R, on the basis of step 1, the green component G that current point includes original red color component R and rebuild, calculated difference R-G obtains the red green difference image of Bayer form;
Comprising the pixel sampling point of blue component B, on the basis of step 1, the green component G that current point includes original blue component B and rebuild, calculated difference B-G obtains the blue-green difference image of Bayer form;
Step 3. is rebuild full resolution color difference image R-G and color difference image B-G, and concrete grammar is:
Rebuild the concrete grammar of full resolution color difference image R-G:
Comprising aberration B-G but the sample point of disappearance aberration R-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the red green difference R-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
R-gWith upper right lower left to Grad V
R-g, select the edge direction of the less direction of Grad as current point;
3-1. work as H
R-g>V
R-gThe time; As the edge direction of current point, the green component G that two red green difference R-G that select that the upper right lower left of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks under the then upper right left side;
3-2. work as H
R-g<V
R-gThe time; Then upper left bottom right is as the edge direction of current point, and the green component G that two red green difference R-G that select that the upper left lower right of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks;
3-3. work as H
R-g=V
R-gThe time, the green component G that then selects four adjacent red green difference R-G of two miter angle tilted directions of current point and four green component G that rebuild and current point to rebuild calculates the red green difference R-G that current point lacks;
At the pixel sampling point place that only comprises green component G; Adjacent on every side has two red greens not good enough; Employing is got mean deviation to two adjacent red green difference R-G and is revised with not good enough green component and the current point green component G that locates of adjacent red green, obtains the red green difference R-G that current point lacks;
Rebuild the concrete grammar of full resolution color difference image B-G:
Comprising aberration R-G but the sample point of disappearance aberration B-G; Adjacent on every side has four red greens not good enough; Lay respectively at upper left, left following, bottom right, upper right; Following two miter angle tilted directions are taken all factors into consideration the green component G and the bluish-green aberration B-G of current point neighborhood from a upper left bottom right and a upper right left side, calculate upper left lower right respectively to Grad H
B-gWith upper right lower left to Grad V
B-g, select the edge direction of the less direction of Grad as current point;
3-4. work as H
B-g>V
B-gThe time; As the edge direction of current point, the green component G that two red green difference R-G that select that the upper right lower left of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks under the then upper right left side;
3-5. work as H
B-g<V
B-gThe time; Then upper left bottom right is as the edge direction of current point, and the green component G that two red green difference R-G that select that the upper left lower right of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks and works as H
B-g<V
B-gThe time; Then upper left bottom right is as the edge direction of current point, and the green component G that two red green difference R-G that select that the upper left lower right of current point makes progress adjacent and two green component G that rebuild and current point have been rebuild calculates the red green difference R-G that current point lacks;
3-6. work as H
B-g=V
B-gThe time, the green component G that then selects four adjacent red green difference R-G of two miter angle tilted directions of current point and four green component G that rebuild and current point to rebuild calculates the red green difference R-G that current point lacks;
Only comprising the pixel sampling point of green component G; Adjacent on every side has two blue-greens not good enough; Employing is got mean deviation to two adjacent bluish-green aberration B-G and is revised with not good enough green component and the current point green component G that locates of adjacent blue-green, obtains the bluish-green aberration B-G that current point lacks;
Step 4. is rebuild full resolution red component R and blue component B;
The concrete grammar of rebuilding full resolution red component R is:
With red green difference R-G in each pixel sampling point of image and the green component G addition in the current sampling point, calculate all sampled points of image and promptly obtained full resolution red component R, promptly each pixel sampling point of image all includes red component R;
The concrete grammar of rebuilding full resolution blue component B is:
With blue-green difference B-G in each pixel sampling point of image and the green component G addition in the current sampling point, calculate all sampled points of image and promptly obtained full resolution blue component B, promptly each pixel sampling point of image all includes blue component B.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102514232A CN101917629B (en) | 2010-08-10 | 2010-08-10 | Green component and color difference space-based Bayer format color interpolation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102514232A CN101917629B (en) | 2010-08-10 | 2010-08-10 | Green component and color difference space-based Bayer format color interpolation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101917629A CN101917629A (en) | 2010-12-15 |
CN101917629B true CN101917629B (en) | 2012-03-07 |
Family
ID=43324996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102514232A Expired - Fee Related CN101917629B (en) | 2010-08-10 | 2010-08-10 | Green component and color difference space-based Bayer format color interpolation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101917629B (en) |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075750B (en) * | 2011-01-07 | 2014-06-18 | 深圳市融创天下科技股份有限公司 | Method, device and system for encoding and decoding videos of red green and blue (RGB) space |
CN102665030B (en) * | 2012-05-14 | 2014-11-12 | 浙江大学 | Improved bilinear Bayer format color interpolation method |
CN103236036B (en) * | 2013-04-01 | 2016-09-14 | 北京开明智达科技有限责任公司深圳分公司 | A kind of color plane interpolation method based on direction |
CN104143176A (en) * | 2013-05-10 | 2014-11-12 | 富士通株式会社 | Image magnification method and device |
CN103347190B (en) * | 2013-07-25 | 2015-01-21 | 华北电力大学 | Edge-related and color-combined demosaicing and amplifying method |
CN104202583B (en) * | 2014-08-07 | 2017-01-11 | 华为技术有限公司 | Image processing device and method |
CN105635700B (en) * | 2014-11-24 | 2017-09-29 | 上海复旦微电子集团股份有限公司 | CFA image color processing method and device |
CN104537625A (en) * | 2015-01-05 | 2015-04-22 | 中国科学院光电技术研究所 | Bayer color image interpolation method based on direction flag bit |
CN105578160A (en) * | 2015-12-23 | 2016-05-11 | 天津天地伟业数码科技有限公司 | Fine definition demosaicking interpolation method based on FPGA platform |
CN107517367B (en) * | 2017-07-28 | 2019-11-01 | 建荣半导体(深圳)有限公司 | Baeyer area image interpolation method, device, picture processing chip and storage device |
CN109788261B (en) * | 2017-11-15 | 2021-06-22 | 瑞昱半导体股份有限公司 | Color offset correction method and device |
CN108024100A (en) * | 2017-12-15 | 2018-05-11 | 上海交通大学 | Based on the Bayer format image interpolation method for improving edge guiding |
CN108701353B (en) * | 2018-04-13 | 2021-12-10 | 深圳市锐明技术股份有限公司 | Method and device for inhibiting false color of image |
CN109302593A (en) * | 2018-11-02 | 2019-02-01 | 南京邮电大学盐城大数据研究院有限公司 | A kind of demosaicing algorithms towards single-sensor camera imaging system |
CN109658358B (en) * | 2018-12-25 | 2023-05-12 | 辽宁工程技术大学 | Rapid Bayer color reconstruction method based on multi-guide filtering |
CN109934215B (en) * | 2019-03-09 | 2021-05-04 | 东北大学秦皇岛分校 | Identification card identification method |
CN110009553A (en) * | 2019-03-19 | 2019-07-12 | 上海珏能电子科技有限公司 | A kind of algorithm obtaining each pixel RGB values from Bayer format |
CN111340693B (en) * | 2019-08-29 | 2023-12-01 | 杭州海康慧影科技有限公司 | Interpolation method and device of Bayer image and electronic equipment |
CN110852953B (en) * | 2019-11-15 | 2022-09-02 | 展讯通信(上海)有限公司 | Image interpolation method and device, storage medium, image signal processor and terminal |
CN111445403A (en) * | 2020-03-23 | 2020-07-24 | 北京空间机电研究所 | Image interpolation method suitable for on-satellite image preprocessing |
WO2022061879A1 (en) * | 2020-09-28 | 2022-03-31 | 深圳市大疆创新科技有限公司 | Image processing method, apparatus and system, and computer-readable storage medium |
JP6910680B1 (en) * | 2020-12-25 | 2021-07-28 | 株式会社SensAI | Imaging system |
CN113242389A (en) * | 2021-07-12 | 2021-08-10 | 深圳市艾为智能有限公司 | Multi-frame dynamic range extension method and system for RCCB (Rich communication Circuit Board) image sensor |
CN116977173B (en) * | 2023-07-12 | 2024-03-22 | 武汉大学 | Edge optimization Bayer interpolation method based on chromatic aberration and chromatic ratio |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1747556A (en) * | 2004-09-10 | 2006-03-15 | 上海杰得微电子有限公司 | Method for realizing array image interpolation hard soft reposition of color sensor |
CN1780405A (en) * | 2005-05-26 | 2006-05-31 | 智多微电子(上海)有限公司 | Conversion and module from primitive Bayer interpolation to full color |
US7333678B1 (en) * | 2003-05-20 | 2008-02-19 | Micronas Usa, Inc. | Edge adaptive demosaic system and method |
CN101399996A (en) * | 2007-09-27 | 2009-04-01 | 比亚迪股份有限公司 | Color filter lens array interpolation method |
CN101511031A (en) * | 2008-12-15 | 2009-08-19 | 四川虹微技术有限公司 | Method for Bayer Data interplation |
-
2010
- 2010-08-10 CN CN2010102514232A patent/CN101917629B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7333678B1 (en) * | 2003-05-20 | 2008-02-19 | Micronas Usa, Inc. | Edge adaptive demosaic system and method |
CN1747556A (en) * | 2004-09-10 | 2006-03-15 | 上海杰得微电子有限公司 | Method for realizing array image interpolation hard soft reposition of color sensor |
CN1780405A (en) * | 2005-05-26 | 2006-05-31 | 智多微电子(上海)有限公司 | Conversion and module from primitive Bayer interpolation to full color |
CN101399996A (en) * | 2007-09-27 | 2009-04-01 | 比亚迪股份有限公司 | Color filter lens array interpolation method |
CN101511031A (en) * | 2008-12-15 | 2009-08-19 | 四川虹微技术有限公司 | Method for Bayer Data interplation |
Also Published As
Publication number | Publication date |
---|---|
CN101917629A (en) | 2010-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101917629B (en) | Green component and color difference space-based Bayer format color interpolation method | |
CN102665030B (en) | Improved bilinear Bayer format color interpolation method | |
CN104159091A (en) | Color interpolation method based on edge detection | |
WO2011108290A2 (en) | Image processing device, image processing method, and program | |
JP4946581B2 (en) | Image processing device | |
KR100818447B1 (en) | Method of interpolating color detected using color filter | |
CN101511031B (en) | Method for Bayer Data interplation | |
CN102170572A (en) | Novel edge adaptive color filter array (CFA) color image interpolation method | |
JP2011091483A (en) | Image processor, image processing method, and program | |
CN110852953B (en) | Image interpolation method and device, storage medium, image signal processor and terminal | |
KR100932217B1 (en) | Color interpolation method and device | |
CN102055988A (en) | Image processing apparatus and control method therefor | |
US20110043671A1 (en) | Signal processing device, imaging device, and signal processing method | |
TW201026079A (en) | Apparatus for demosaicing colors and method thereof | |
CN105577981A (en) | Edge self-adaptive color restoration method and system | |
US20210377497A1 (en) | Image sensor down-up sampling using a compressed guide | |
JP3458080B2 (en) | Color imaging device | |
CN116503259B (en) | Mosaic interpolation method and system | |
CN105046631A (en) | Image processing apparatus, and image processing method | |
Zhou et al. | An effective color image interpolation algorithm | |
KR20050051437A (en) | Apparatus and method for reconstructing missing color values in a color filter array | |
US20030095703A1 (en) | Color interpolation processor and the color interpolation calculation method thereof | |
US7978908B2 (en) | Color signal interpolation system and method | |
Hua et al. | A color interpolation algorithm for Bayer pattern digital cameras based on green components and color difference space | |
CN114359050B (en) | Image processing method, apparatus, computer device, storage medium, and program product |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120307 Termination date: 20140810 |
|
EXPY | Termination of patent right or utility model |