Professional Documents
Culture Documents
Fig. 2: Some RGB CFAs: (a) Bayer CFA [3]. (b) Yamanaka CFA
[4]. (c) Lukac et al. CFA [5]. (d) Vertical stripe CFA. (e) Diagonal
stripe CFA. (f) Modified Bayer CFA. (g) HVS-based CFA [6].
2488
ICASSP 2013
(x, y, t) =
1+
kf (x,y,t)k
2
(2)
f (x,y,t)
(3)
2 f (x, y, t)
f (x, y, t) =
n2
2 f (x, y, t)
2 f (x, y, t)
+
n2
n2
where n is the direction of the gradient, n the normal direction of the gradient, the local curvature, which is given
by (in practice, 1 is added to the denominator to avoid null
values which can occur in constant regions for example):
2489
(5)
f (x,y,t)
t
2 f (x,y,t)
= (x, y, t)
+ [(x, y, t)+
n2
k(x, y, t)k cos (x, y, t)] kf (x, y, t)k
f (x, y, 0) = f (x, y)
0
(6)
f (x,y,t)
= [(x, y, t) + k(x, y, t)k cos (x, y, t)] kf (x, y, t)k
t
f (x, y, 0) = f0 (x, y)
(7)
f (x,y,t)
= [(1 (x, y, t)) k(x, y, t)k cos (x, y, t)] kf (x, y, t)k
t
f (x, y, 0) = f0 (x, y)
(8)
We should note that we have obtained PDE (8) by also noticing the following property regarding the scalar product:
(1 (x, y, t)) f (x, y, t) = (x, y, t) f (x, y, t)
(9)
(11)
However, by strictly applying Eq. (10) iteratively, all the values of the pixels in the image will be modified. This default
behavior needs to be revised since there are locations where
the green color value is exactly known from the mosaiced (or
low-resolution) image (those for which d(x, y)2 = 1, see Section 2). Thus, for taking into account that constraint of pixel
locations where the value of the green color is known, we
modify Eq. (10) as follows:
f (x,y,t)
2490
Fig. 4: (a) and (d) Parts of an original image. (b) and (e) Images
obtained using our diffusion-based generic demosaicing algorithm
with the CFA pattern shown in Fig. 2c (M SE = 10.51). (c) and (f)
Images obtained using the original generic demosaicing algorithm
[8] with the same CFA pattern (M SE = 13.56).
In this paper, we have proposed an enhancement of the edgesensing generic demosaicing algorithm by using a diffusionbased model. The main purpose of the diffusion-based model
is to improve the computation of the green band which plays
a major role in the overall reconstruction of demosaiced images. Experimental results based on various images have confirmed the improvement of the quality of images with the
diffusion-based model since images have less visual artefacts
and smaller MSE values.
Table 1: M SEOriginal M SEImproved for the different images and for the different CFAs shown in Fig. 2.
Image no
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
Average
CFA a
2.15
0.80
0.84
1.09
4.43
1.71
1.03
3.64
0.88
0.85
1.52
0.60
5.36
1.39
0.88
1.81
CFA b
5.04
1.10
1.33
1.70
6.57
4.49
1.27
5.98
1.06
1.25
2.84
0.90
11.82
2.02
1.07
3.23
CFA c
11.93
2.15
3.03
3.29
17.24
10.08
2.67
14.00
2.54
3.15
5.76
2.42
22.27
4.03
3.12
7.18
CFA d
0.54
0.42
0.63
0.46
2.12
1.28
0.64
1.44
0.56
0.53
1.12
0.31
3.21
1.29
0.45
1.00
2491
CFA e
3.52
0.95
1.72
1.95
9.08
3.47
1.72
6.44
1.44
1.76
2.21
1.27
10.13
1.94
1.55
3.28
CFA f
5.80
1.37
1.30
1.58
7.38
3.80
1.62
5.89
1.41
1.63
2.97
1.12
10.15
1.90
1.58
3.30
CFA g
4.52
1.62
0.93
1.53
5.45
3.49
1.32
7.41
1.51
1.83
2.26
0.96
8.77
2.52
1.06
3.01
6. REFERENCES
[1] C. Y. Tsai and K. Y. Song, A new edge-adaptive demosaicing algorithm for color filter arrays, Image and
Vision Computing, vol. 25, no. 9, pp. 14951508, 2007.
[14] J. J. Clark, Authenticating edges produced by zerocrossing algorithms, IEEE Transactions on Pattern
Analysis and Machine Intelligence, vol. 11, no. 1, pp.
4357, 1989.
[15] Kodak, Kodak Lossless True Color Image Suite,
[2] L. S. Lee, W. and J. Kim, Cost-effective color filter array demosaicing using spatial correlation, IEEE Transactions on Consumer Electronics, vol. 52, no. 2, pp.
547554, 2006.
[3] B. E. Bayer, Color imaging array, US patent 3971065,
1976.
[4] S. Yamanaka, Solid state camera, US patent 4054906,
1977.
[5] R. Lukac and K. N. Plataniotis, Color filter arrays: design and performance analysis, IEEE Transactions on
Consumer Electronics, vol. 51, no. 4, pp. 12601267,
2004.
[6] M. Parmar and S. J. Reeves, A perceptually based design methodology for color filter arrays, in IEEE International Conference on Acoustics, Speech, and Signal
Processing (ICASSP), vol. 3, 2004, pp. 473476.
[7] R. Lukac and K. N. Plataniotis, Universal demosaicking for imaging pipelines with an rgb color filter array,
Pattern Recognition, vol. 38, no. 11, pp. 22082212,
2005.
[8] A. Hore and D. Ziou, An edge-sensing generic demosaicing algorithm with application to image resampling, IEEE Transactions on Image Processing, vol. 20,
no. 11, pp. 31363150, 2011.
[9] P. Perona and J. Malik, Scale-space and edge detection
using anisotropic diffusion, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 12, no. 7,
pp. 629639, 1990.
[10] B. K. Gunturk, J. Glotzbach, Y. Altunbasak, R. W.
Schafer, and R. M. Mersereau, Demosaicking: color
filter array interpolation, IEEE Signal Processing Magazine, vol. 22, no. 1, pp. 4454, 2005.
[11] R. Kimmmel, Demosaicing: image reconstruction
from ccd samples, IEEE Transactions on Image Processing, vol. 8, no. 9, pp. 12211228, 1999.
[12] J. Herwig and J. Pauli, Regularized color demosaicing
via luminance approximation, in European Conference
on Colour in Graphics, Imaging, and Vision, 2010, pp.
6269.
[13] D. Ziou and A. Hore, Reducing aliasing in images:
a pde-based diffusion revisited, Pattern Recognition,
vol. 45, no. 3, pp. 11801194, 2012.
2492
http://r0k.us/graphics/kodak/, 2012.