• 沒有找到結果。

Real-Time Demosaicking for Embedded Systems

N/A
N/A
Protected

Academic year: 2022

Share "Real-Time Demosaicking for Embedded Systems "

Copied!
2
0
0

加載中.... (立即查看全文)

全文

(1)

P4-1

Abstract--We present an effective and efficient demosaicking algorithm for natural images. A new reciprocal table accurately estimates the relation between edges and gradient weights, and it achieves regular, succinct, and fast operations with excellent performance. Flexible and optional procedures adapt to different constraints on embedded systems. Our proposed method has 10.94 dB, 9.14 dB, and 9.05 dB improvements over bilinear method in red, green, and blue channels respectively. In visual results, the reconstructed images have smooth artifact. The performance is very close to recent methods, still superiorly.

I. INTRODUCTION

Digital still cameras and camera phones are very popular today, and a sensor is a major component in captured devices.

Manufacturers of sensors reduce costs and overcome techniques, and then Bayer pattern [1] is developed. A color filter of mosaic pattern covers photo detector on a sensor, and the mosaic form of filters is called Color Filter Arrays (CFA).

The primary color filters are usually red (R), green (G), and blue (B) color per pixel. In each 2 by 2 pixels, green filters oppose diagonally, and the other pixels are red and blue ones.

Human is sensitive to luminance information, and green is twice than R or B. Demosaicking algorithm interpolates the other two colors per pixel, and transfers mosaic images to full color images.

Imperfect demosaicking algorithms make artifact, such as, false color, zipper effect, maze, moiré, blur, and so on. A better interpolated method can reduce artifact to recover original images in vision.

A realizable algorithm has better performance and lower computational complexity in real platforms. Interpolated methods of bilinear, cubic, and smooth hue transition [2] are simple, but we are hard to accept their performance under high-quality requirements. Economically, we can apply them to low-cost sensors and systems. Recent algorithms have excellent performance, but they are too complicated.

Especially in embedded systems of resource shortage, we have difficulty in implementation, and we face challenges of computational time and memory space. Our proposed algorithm really acquires the balance among performance, time, and space.

II. THEALGORITHM

Our method is a weighted base in color-difference domain [3]. We present the single and full processes with central interpolation and quarter interpolation in Fig. 1. The single process goes through steps directly, and the full process breaks the loop as the second time. Every step refers to previous results as input. Green color has more information, and we start from the color to correct pixels step by step. For more iterative processes, it loses not only reconstructed quality but also computational performance.

A. Central Interpolation

Central interpolation interpolates the central pixel (P8) of interlaced form in Fig. 2 (a).

We only estimate two directional weights. Horizontal Component (HC) and Vertical Component (VC) are by

9 P 7 P

HC= + (1) 13

P 3 P

VC= + (2) The perpendicular weigh-gradients (dH and dV) are arranged into the reciprocal table of 1536 words, and the equations are expressed as

1 5 P 9 P 11 P 7 P

dH=( − + − )>> (3) 1

1 P 13 P 15 P 3 P

dV =( − + − )>> (4) The edge-weight reciprocal table represents the gradient summation on edges. By iterative experiments, we adjust reciprocal curvatures to converge the minimum interpolated errors in sample images. Reciprocal Weighted Sum (RWS) is

Real-Time Demosaicking for Embedded Systems

Wei Hsu and Chiou-Shann Fuh

Fig. 1. Interpolated processes.

(a) (b)

Fig. 2. The pixel form for interpolations. (a) Interlaced form for central interpolation. (b) Quarter form for quarter interpolation.

1-4244-0763-X/07/$20.00 ©2007 IEEE

Authorized licensed use limited to: National Taiwan University. Downloaded on December 19, 2009 at 01:49 from IEEE Xplore. Restrictions apply.

(2)

by (5). Perpendicular Weight (PW) gives a weight between HC and VC, and it is clipped from -1 to 1 in floating-point in (6). Finally, P8 is calculated by (7).

) (dV dH p

TableLookU

RWS= + (5)

RWS dH dV

PW =( − ) (6) 2

PW VC HC VC HC 8

P =(( + )+( − ) )>> (7)

B. Quarter Interpolation

Simply, quarter interpolation interpolates horizontal pixel (P2) and vertical pixel (P4) of quarter form in Fig. 2 (b).

1 3 P 1 P 2

P =( + )>> (8) 1

5 P 1 P 4

P =( + )>> (9)

III.EXPERIMENTALRESULTS

We base on the 24 typical images [5] to evaluate demosaicking performance. Authors use different version images, and we cannot compare their resultant statistics directly [4]. Image sizes, compressed ratios, and compressed algorithms lead to the results very differently. For objective and general comparison, we use TIFF (Tagged Image File Format) images of 768 by 512 pixels to evaluate PSNR (Peak Signal-to-Noise Ratio).

Proposed method gets the best PSNR in red channel, and adaptive frequency-domain algorithm [5] acquires the best PSNR of other channels in TableⅠ. The differences in other channels are 0.15 dB (G) and 0.38 dB (B), but we have very low computational complexity.

PSNR and MSE (Mean-Square Error) are good statistical methods to evaluate quality of reconstructed images, but they are average results in visualization. Visual response of humans is very important equally, and we segment an image to compare with regional PSNR and artifact pattern [8].

Recent demosaicking algorithms process many textures excellently, but they make strange patterns in some specific texture. We cannot only see results by average statistics arbitrarily and directly even though PSNR has higher scores.

Fig. 3 shows segmental images by original, bilinear method in color-difference, adaptive frequency-domain algorithm, and our method. Artifact, zipper effect, and false-color are obvious near edges. For artifact patterns, smooth one often can be accepted by human vision.

IV.CONCLUSION

By experimental results, our proposed algorithm performs not only excellent statistics but also superior vision. For flexible adjustment in resources, we lose a little performance to operate our algorithm in spatial domain. The single process saves 40 % times, and the half table saves 768 words. In different cameras, we also can calibrate the reciprocal table for better performance.

In further works, we will conform the algorithm with a suitable image pipeline for images of DSLR (Digital Single Lens), and optimize it in time and space. Noise suppression and digital zoom have the similar concept in edge-weight estimation, and we will focus on them.

REFERENCE

[1] B. E. Bayer, “Color Imaging Array,” US Patent No.3971065, Jul. 1976.

[2] T. Chen, “A Study of Spatial Color Interpolation Algorithms for Single- Detector Digital Cameras,” http://www-ise.stanford.edu/~tingchen, 2005.

[3] J. E. Adams, "Interactions between Color Plane Interpolation and Other Image Processing Functions in Electronic Photography," Proceedings of SPIE vol. 2416 p.144-151, 1995.

[4] E. Dubois, “Frequency-Domain Methods for Demosaicking of Bayer- Sampled Color Images,” IEEE Signal Processing Letters, vol. 12, pp.

847-850, Dec. 2005.

[5] E. Dubois, “Frequency Domain Methods for Demosaicking of Bayer-

Sampled Color Images,”

http://www.site.uottawa.ca/~edubois/demosaicking, Jan. 2006.

[6] T. Lin, “Demosaicking Algorithm with Noise Removal Based on Adaptive Spatial Filter,” unpublished.

[7] S. C. Pei and I. K. Tam, “Effective Color Interpolation in CCD Color Filter Array Using Signal Correlation,” IEEE Trans. on Circuits and Systems for Video Technology, vol.13, No.6, pp.503-513, Jun. 2003.

[8] W. Hsu, “Demosaicking,” http://homepage.ntu.edu.tw/~p94922001, 2006.

(a) (b)

(c) (d)

Fig. 3. Image segmentation for visual and PSNR comparison (a) The original image [5]. (b) Bilinear in color-difference domain [7] with average 36.82 dB. (c) Adaptive frequency domain [5] with average 36.76 dB. (d) Our method with average 38.81 dB.

TABLE PSNRCOMPARISON

Methods Average

PSNR A B C D E F G

R 29.28 37.26 38.43 37.03 38.85 39.33 40.22 G 33.17 38.95 41.72 41.03 42.46 40.70 42.31 B 29.22 36.04 38.49 37.08 38.65 37.68 38.27 (A) Bilinear [2]. (B) Bilinear in color-difference domain [7]. (C) Gunturk [5]. (D) Alleysson [5]. (E) Adaptive Frequency [5]. (F) Proposed method by the single process. (G) Proposed method by the full process.

Authorized licensed use limited to: National Taiwan University. Downloaded on December 19, 2009 at 01:49 from IEEE Xplore. Restrictions apply.

參考文獻

相關文件

* All rights reserved, Tei-Wei Kuo, National Taiwan University,

When all of the pages in a replacement block in the coarse- grained AddrTM are used, the valid pages in the replace- ment block are identified, and the mapping

The following is my

In this thesis, we present a new color interpolation algorithm and it can remove common artifact, such as cross-talk which creates blocky noise or image edge zipper

This paper introduces a dynamic color restora- tion method for real time image systems with digital image sensors. Our method restores image colors by a two-step procedure and it

From a visual comparison, we observe that based on the same demosaicing algorithm, the demosaiced images, which use the zoomed mosaic images created by our proposed zooming algorithm

A strong edge-coloring of a graph is a function that assigns to each edge a color such that two edges within distance two apart receive different colors.. The strong chromatic index of

– S+U can also preserve annotations of synthetic images – Refined images really help improving the testing result – Generate > 1 images for each synthetic