HOME JOURNALS CONTACT

Information Technology Journal

Year: 2008 | Volume: 7 | Issue: 8 | Page No.: 1200-1203
DOI: 10.3923/itj.2008.1200.1203
Adaptive Weighted Color Interpolation from Noisy Single Sensor Digital Camera Images
S.S. Vinsley

Abstract: In this study, a novel adaptive edge preserving, edge directed interpolating technique is proposed for color reproduction from Bayer mosaic images along with a nonlinear filter is proposed for removing the impulse noise. In which, the noisy pixels are replaced with the suitable neighboring minimum difference pixel value. Depending on the sharpness of image, the adaptive weighting technique is introduced for interpolation. Experimental results show that the proposed method performs much better than other latest joint denoising and demosaicing techniques in terms of color peak signal to noise ratio.

Fulltext PDF Fulltext HTML

How to cite this article
S.S. Vinsley , 2008. Adaptive Weighted Color Interpolation from Noisy Single Sensor Digital Camera Images. Information Technology Journal, 7: 1200-1203.

Keywords: impulse noise, interpolation, color filter array and Noise removal

INTRODUCTION

Nowadays, embedded digital imaging devices have become popular and prevailing over the traditional film cameras. Low cost, low power consumption, miniaturization in size and high speed in operation are demanded from these devices. These devices have been widely embedded in consumer electronics ranging from the conventional digital cameras, mobile phones and imaging devices for automotive and surveillance applications. Commonly, Charge Coupled Device (CCD) or Complementary Metal Oxide Semiconductor (CMOS) sensors are used to capture the image in digital cameras. A representation of a full-color image needs all the information from the three colors on each pixel location. A camera would need three separate sensors to completely capture the image. In a three-chip color camera, the light entering into the camera is split and projected on to each spectral sensor. Each sensor requires its proper driving electronics and the sensors have to be registered precisely. These additional requirements add a large expense to the system. To reduce the hardware cost and size, many digital still cameras use a single mosaiced sensor array to capture any one of the three primary colors at each pixel location. A mosaiced sensor is a monolithic array of many sensors, in which each sensor is covered by an optical filter sensitive to a specified wavelength, arranged in a geometric pattern. Among the various suggested CFAs, the Bayer CFA pattern is the most prevalent one, where G pixels occupy half of all and R and B pixels share the others. As a result, the missing two colors on each pixel location have to be interpolated back to get a full-color image. The process of interpolating the missing colors is called as demosaicing or color interpolation whose main objective aims to reconstruct the missing colors as closely to the original ones as possible (Zhang and Xiaolin, 2005). The output image of a digital camera is subject to a severe degradation due to noise in the image sensor. A typical digital camera is subject to basically two types of noise namely thermal noise and impulse noise (Hirakawa and Parks, 2006). The impulse noise is also called as salt and pepper in images and popcorn noise in audio signals. They are mainly caused due to short impulses of electromagnetic pulses caused from automobile ignition or from chokes of fluorescent tube lights. The impulse noise is destructive one, which changes the pixel value to either zero or maximum. If the value is changed to zero then it is called pepper and if it is changed to 255 then it is called salt. In a RGB color plane, this noise is reflected in all the color planes. Most of the edges will be blurred while applying normal filtering. The proposed method avoids these problems and removes the noise by an iterative error reduction method. Once the noise level is effectively reduced then the image has to be reconstructed from the mosaic image to a color image.

In this study, a novel adaptive weighted color interpolation algorithm using variance of color differences is also proposed. This algorithm aims to estimate the optimum weight value according to edge level to interpolate effectively (Nai-Xiang et al., 2007). So that, the proposed algorithm performs superbly both in textured and edge regions.

NON- LINEAR FILTERING

A Non Linear filtering is presented for the noise reduction of images corrupted with salt and pepper noise.

Fig. 1: Edge pixels

This filtering approach consists of two steps. The first step computes the difference matrix for the corrupted image in eight different directions. The second step replaces the noisy pixel`s value with the suitable neighbor`s value whose difference is a minimum value (Krishnan et al., 2007). This study proposes a new approach to detect the corrupted pixel and replace it by the best neighbor pixel value with in the window. The best neighbor is computed from the 8 neighbors, which has minimum number of difference among its 8 neighbors. This approach is used to recover images highly corrupted by salt and pepper noise. This method also preserves the edge details. Impulsive noise and edges have common properties of having abrupt changes in gray level. Therefore, it is important to distinguish noise components from edge components for effective noise filtering and edge preservation. Impulsive noise is defined in a narrow sense as a noise that abruptly changes gray level of a pixel to 0 or 255 in 8-bit monochrome (mosaic) image and in a broad sense as a noise that is conspicuous against neighbor pixels. Luminance value will mainly affect by green pixels. So in this study, impulse noise on green pixels only considered. Impulse noise and edges have common properties of having abrupt changes in pixel level. Identifying noise components from edge components will play an important role while effectively removing noise by preserving edges.

Edge pixels can be distinguished with the help of edge templates from corrupted pixels. Edge templates in a 3x3 window can be generally represented as shown in the Fig. 1. In other words edges generally have more than three similar pixels in the 3x3 window but impulsive noise does not. For the corrupted pixels, all absolute differences with its neighborhood are calculated. Number of absolute differences having value less than half of median of image is counted for each neighborhood pixels. The pixel value of neighborhood having minimum number of absolute differences is filled in the corrupted pixel location.

ADAPTIVE WEIGHTED

Demosaicing: To reconstruct a full-color image from CFA samples, the two missing color values at each pixel are to be estimated from neighboring CFA samples. The green plane is estimated first and the other color planes are estimated based on the interpolated value of the green plane (Chi et al., 2006). When the green plane is processed, for each missing green component in the CFA, the algorithm performs a gradient test, to identify edge direction and then carries out an interpolation along the direction of a smaller gradient to determine the missing green component (Kehtarnavaz, 2003).

Interpolating missing green values: The parameters LH and LV are computed using spatial and spectral correlations using Eq. 1 and 2 as in Chung and Chan (2006). The leading edge direction is determined by computing the ratio of above parameters. If the ratio, e = max (LV/LH, LH/LV) is above the pre-determined threshold value then it is defined as sharp edge block. The missing green value of the sharp edge

(1)

(2)

block is computed as follows:

if LH < LV

if LH < LV

Where:


The ratio of total number of edges to total edges having edge value between one and two is referred as edge ratio. If the value of edge is greater than edge ratio, then weight of sharp transition (Sw) is calculated using the ratio of color differences.

if LH < LV

if LH>LV

For regions that are not classified as edge block, a flat region or a pattern region exists and in a local region of a natural image, the color differences of pixels are more or less the same (Daniele, 2007). Accordingly, the variance of color differences can be used to determine the interpolation direction for the green components. The variances of the color differences of the pixels is computed in a 9x9 block window, along horizontal axis, vertical axis and diagonal pixels and are represented as, respectively. The missing green value can be estimated using Eq. 3, 4 and 5 as (Chung and Chan, 2006).

if then

(3)

if then

(4)


(5)

For estimating the missing green component at blue pixel position, the red samples by the corresponding blue samples and follow the procedures above to determine its interpolation direction and its interpolated value (Xin, 2005).

Interpolating missing red and blue values at green positions: The missing red and blue values at green CFA sampling positions are estimated using the Eq. 6 and 7.

Red value interpolation

(6)

Blue value interpolation

(7)

Interpolating missing blue/red values at red/blue positions: The missing blue (red) values at the red (blue) positions are estimated as follows:

(8)

SIMULATION RESULTS

To evaluate the performance of the proposed iterative non linear filtering with adaptive weighted demosaicing method, simulation was carried out with twelve 24 bit digital color images listed in (Table 1). Figure 2 shows the tested images. The CPSNR was used as a measure to quantify the performance of the demosaicing methods. It is defined as:

Fig. 2: Set of tested images (images are numbered from 1 to 12 in the order of left-to-right and top-to-bottom

Table 1: CPSNR in dB comparisons

Where:

where, I0 and Ir represents the original and the reconstructed images of sizes HxW

Table 1 shows the CPSNR Comparison of our method on 10, 25, 50, 75 and 85% of impulse noise with bilinear interpolation.

CONCLUSION

A non-linear filtering for denoising with adaptive weighted color interpolation for digital still cameras use a single sensor equipped with color filter array is presented.

Both the denoising and demosaicing algorithms make use of color difference value. The interpolation direction and weight value according to the edge value are used for interpolating missing green samples. The interpolated green pixel values along with the existing red and blue pixel values are used to interpolate the missed red and blue pixels. The denoising algorithm proposed in this paper is removing the impulse noise by preserving edges on low complex manner. Simulation results show that the proposed algorithm is able to produce subjectively and objectively better denoising with demosaicing results as compared with existing algorithms in terms of color peak signal to ratio.

REFERENCES

  • Chung, K.H. and Y.H. Chan, 2006. Color demosaicing using variance of color differences. IEEE Trans. Image Process., 15: 2944-2955.
    CrossRef    Direct Link    


  • Hirakawa, K. and T.W. Parks, 2006. Joint demosaicing and denoising. IEEE Trans. Image Process., 15: 2146-2157.
    CrossRef    Direct Link    


  • Krishnan, N., R.K. Selvakumar, C.N.K. Babu, K. Arulmozhi, S.S. Vinsley and S. Ravi, 2007. A non-linear iterative impulse noise removal. Proceedings of the International Conference on Advanced Computing and Communication, February 9-10, 2007, Kariapatti, Madurai, India, pp: 265-269.


  • Nai-Xiang, L., L. Chang, T. Yap-Peng and V. Zagorodnov, 2007. Adaptive filtering for color filter array demosaicking. IEEE Trans. Image Process., 15: 2515-2525.
    CrossRef    Direct Link    


  • Li, X., 2005. Demosaicing by successive Approximation. IEEE Trans. Image Process., 14: 370-379.
    CrossRef    Direct Link    


  • Chi-Yi, T. and S. Kai-Tai , 2006. Heterogeneity-projection hard-decision colorinterpolation using spectral-spatial correlation. IEEE Trans. Image Process., 16: 78-91.
    CrossRef    Direct Link    


  • Zhang, D. and X. Wu, 2005. Color demosaicking via directional linear minimum mean square-error estimation. IEEE Trans. Image Process., 14: 2167-2178.
    CrossRef    Direct Link    

  • © Science Alert. All Rights Reserved