ADAPTIVE LOCAL TONE MAPPING OF COLOR IMAGES. Radu Ciprian Bilcu, Sakari Alenius and Markku Vehvilainen

Similar documents
HSI BASED COLOUR IMAGE EQUALIZATION USING ITERATIVE n th ROOT AND n th POWER

DYNAMIC RANGE IMPROVEMENT THROUGH MULTIPLE EXPOSURES. Mark A. Robertson, Sean Borman, and Robert L. Stevenson

Assessment of Camera Phone Distortion and Implications for Watermarking

An Experimental Study of the Performance of Histogram Equalization for Image Enhancement

Analysis of Color Visualization in High Dynamic Range Image

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

Determining optimal window size for texture feature extraction methods

VEHICLE TRACKING USING ACOUSTIC AND VIDEO SENSORS

Efficient Data Recovery scheme in PTS-Based OFDM systems with MATRIX Formulation

Potential of face area data for predicting sharpness of natural images

Simultaneous Gamma Correction and Registration in the Frequency Domain

Choosing a digital camera for your microscope John C. Russ, Materials Science and Engineering Dept., North Carolina State Univ.

Scanners and How to Use Them

CMOS Image Sensor Noise Reduction Method for Image Signal Processor in Digital Cameras and Camera Phones

High Quality Image Deblurring Panchromatic Pixels

Cares and Concerns of CIE TC8-08: Spatial Appearance Modeling and HDR Rendering

High Quality Image Magnification using Cross-Scale Self-Similarity

Interactive Local Tone Mapping Operator with the Support of Graphics Hardware

REAL TIME TRAFFIC LIGHT CONTROL USING IMAGE PROCESSING

Detection and Restoration of Vertical Non-linear Scratches in Digitized Film Sequences

Low-resolution Character Recognition by Video-based Super-resolution

A Proposal for OpenEXR Color Management

A Spectral Clustering Approach to Validating Sensors via Their Peers in Distributed Sensor Networks

JPEG compression of monochrome 2D-barcode images using DCT coefficient distributions

MATLAB-based Applications for Image Processing and Image Quality Assessment Part II: Experimental Results

Combating Anti-forensics of Jpeg Compression

SSIM Technique for Comparison of Images

Calibrating Computer Monitors for Accurate Image Rendering

Calibration Best Practices

FCE: A Fast Content Expression for Server-based Computing

Low-resolution Image Processing based on FPGA

Texture Screening Method for Fast Pencil Rendering

Multimodal Biometric Recognition Security System

Multivariate data visualization using shadow

Visibility optimization for data visualization: A Survey of Issues and Techniques

A System for Capturing High Resolution Images

Low Contrast Image Enhancement Based On Undecimated Wavelet Transform with SSR

Vision based Vehicle Tracking using a high angle camera

Automatic Traffic Estimation Using Image Processing

A Reliability Point and Kalman Filter-based Vehicle Tracking Technique

Image Processing Operations for 3d Image

A Fast Algorithm for Multilevel Thresholding

Loudspeaker Equalization with Post-Processing

Linear and Non-linear Contrast Enhancement Image

EUSIPCO

How To Fix Out Of Focus And Blur Images With A Dynamic Template Matching Algorithm

Design of Multi-camera Based Acts Monitoring System for Effective Remote Monitoring Control

Analecta Vol. 8, No. 2 ISSN

Enhanced LIC Pencil Filter

Open Access A Facial Expression Recognition Algorithm Based on Local Binary Pattern and Empirical Mode Decomposition

A Robust Method for Solving Transcendental Equations

Digital image processing

Digital Image Fundamentals. Selim Aksoy Department of Computer Engineering Bilkent University

Navigation Aid And Label Reading With Voice Communication For Visually Impaired People

Image Compression and Decompression using Adaptive Interpolation

Virtual Fitting by Single-shot Body Shape Estimation

An Approach for Utility Pole Recognition in Real Conditions

Distributed Vision-Based Reasoning for Smart Home Care

A Dynamic Approach to Extract Texts and Captions from Videos

Component Ordering in Independent Component Analysis Based on Data Power

Investigation of Color Aliasing of High Spatial Frequencies and Edges for Bayer-Pattern Sensors and Foveon X3 Direct Image Sensors

Locating and Decoding EAN-13 Barcodes from Images Captured by Digital Cameras

An Energy-Based Vehicle Tracking System using Principal Component Analysis and Unsupervised ART Network

Color Segmentation Based Depth Image Filtering

MALLET-Privacy Preserving Influencer Mining in Social Media Networks via Hypergraph

A Novel Method to Improve Resolution of Satellite Images Using DWT and Interpolation

COMPARISON OF OBJECT BASED AND PIXEL BASED CLASSIFICATION OF HIGH RESOLUTION SATELLITE IMAGES USING ARTIFICIAL NEURAL NETWORKS

The Theory of Concept Analysis and Customer Relationship Mining

ACL Based Dynamic Network Reachability in Cross Domain

Signature Region of Interest using Auto cropping

Image Normalization for Illumination Compensation in Facial Images

COMPONENT FORENSICS OF DIGITAL CAMERAS: A NON-INTRUSIVE APPROACH

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

Super-resolution Reconstruction Algorithm Based on Patch Similarity and Back-projection Modification

Complex Network Visualization based on Voronoi Diagram and Smoothed-particle Hydrodynamics

Parallel Data Selection Based on Neurodynamic Optimization in the Era of Big Data

Visible Difference Predicator for High Dynamic Range Images

Face Recognition in Low-resolution Images by Using Local Zernike Moments

Midwest Symposium On Circuits And Systems, 2004, v. 2, p. II137-II140. Creative Commons: Attribution 3.0 Hong Kong License

Digital Camera Imaging Evaluation

How To Filter Spam Image From A Picture By Color Or Color

Tracking of Small Unmanned Aerial Vehicles

Fast Subsequent Color Iris Matching in large Database

PHYSIOLOGICALLY-BASED DETECTION OF COMPUTER GENERATED FACES IN VIDEO

Adaptive Logarithmic Mapping For Displaying High Contrast Scenes

Introduction to Imagery and Raster Data in ArcGIS

Automatic Detection of PCB Defects

Digital Halftoning Techniques for Printing

Bayesian probability theory

Assessment. Presenter: Yupu Zhang, Guoliang Jin, Tuo Wang Computer Vision 2008 Fall

PERFORMANCE ANALYSIS OF HIGH RESOLUTION IMAGES USING INTERPOLATION TECHNIQUES IN MULTIMEDIA COMMUNICATION SYSTEM

Technical Paper DISPLAY PROFILING SOLUTIONS

Photo Laser Printers. Océ LightJet. Wide format high speed photo printers. The professionals choice for exceptional indoor displays

Building an Advanced Invariant Real-Time Human Tracking System

Comparison of Near Infrared And Visible Image Fusion Methods

Lecture 16: A Camera s Image Processing Pipeline Part 1. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)

Euler Vector: A Combinatorial Signature for Gray-Tone Images

Character Image Patterns as Big Data

MATLAB-based Applications for Image Processing and Image Quality Assessment Part I: Software Description

The Role of SPOT Satellite Images in Mapping Air Pollution Caused by Cement Factories

Transcription:

20th European Signal Processing Conference (EUSIPCO 2012) Bucharest, Romania, August 27-31, 2012 ADAPTIVE LOCAL TONE MAPPING OF COLOR IMAGES Radu Ciprian Bilcu, Sakari Alenius and Markku Vehvilainen Nokia Research Center, Visiokatu 1, 33720, Tampere, Finland. ABSTRACT In this paper we propose an adaptive method for local tone mapping in which the vicinity of the current pixel is adaptively selected in order to reduce the artifacts near edges. In addition to that, the only parameter controlling the global effect of the tone mapping is adaptively computed based on the statistics of the processed image. To introduce our method, we start from a simple analysis of the tone mapping model and we validate our method by experimental results. Finally, we compare our method with an existing local tone mapping approach. Index Terms Image processing, image tone mapping. 1. INTRODUCTION Nowadays the mobile devices market is growing fast with many devices being launched on the market. Almost all mobile devices (such as mobile phones and PDAs) are now equipped with digital cameras of various sizes providing better and better image quality. However, due to the size and production cost limitations encountered in the mobile devices, there are several factors influencing the quality of the captured images. One of them is the moderate dynamic range of the imaging sensor which highly influences the quality of the captured images. The images captured with such sensors very often contain regions that are too dark and suffer from a reduced overall contrast. There are many tone mapping approaches in the open literature that try to solve the low contrast problem. They can be categorized into global and local methods. In the case of global tone mapping solutions usually the histogram of the pixel values are build and a tone mapping function is obtained based on the histogram [1 5]. The global tone mapping algorithms have low computational complexity but provide lower visual quality compared to the local tone mapping solutions. In some local tone mapping implementations the pixel values and the local averages of the image are utilized to modify the pixel intensities [6, 7]. Other solutions to the local tone mapping problem are using non-linear filtering [8], histogram equalization of local windows of the image [9, 10] or combinations of global and local operators [11 13]. The local tone mapping methods usually ensure a better visual quality of the processed image but at the expense of increased computational complexity and processing power. In this paper we propose a novel adaptive method for local tone mapping of color images. To develop our method, we start from the approach of [7] and we extend this method introducing two adaptive mechanisms to estimate the parameters of the mapping function based on the statistics of the input image. 2. EXISTING APPROACH In this section we briefly describe the local tone mapping method from [7], to which our method is closely related. Although the method of [7] have been introduced for processing RAW image data, the model utilized has a good performance when applied also for interpolated color images. In order to preserve the original colors, the tone mapping is applied only to the intensity component and the output color image is obtained by nonlinear transformation of the original color components. In this section we describe only the tone mapping procedure applied to the intensity component and the implementation details for color images are given in the next section. The intensity component of the input image is denoted as Y (i,j) and the output pixel intensity is denoted by Y o (i,j), with (i, j) being the pixel coordinates. In [7] the following function is utilized to map the values of Y (i,j) to the new values Y o (i,j): Y o (i,j) = max + Y m(i,j) + R Y (i,j) (1) Y (i,j) + Y m (i,j) + R where max is the maximum value of Y (i,j), Y m (i,j) is the smoothed version of Y (i,j) (here the N N smoothing filter has a Gaussian shape with variance σ 2 = N/4 as suggested in [7]) and R is a regularization term that controls the global effect of the mapping process. In [6] and [7] the effect of the window size N and the effect of the term R have been analyzed. If the size of the local window is large the local contrast is increased while a too small value of N does not increase the local contrast of the image. However, large window sizes introduce halo artifacts around the edges of the image. In [6, 7] the tone mapping equation (1) is recursively applied two times with different EURASIP, 2012 - ISSN 2076-1465 1563

Input image 1600 The quality function Input image 800 The quality function 1400 700 1200 600 image variance 1000 800 Image variance 500 400 600 300 400 200 200 0 50 100 150 200 250 300 R 100 0 50 100 150 200 250 300 R Fig. 1. Example of two images (left) and the corresponding quality functions (right). values of N. The parameter R is selected as half of the average of Y (i,j) in [7]. The reason for this selection is that small values of R will strengthen the global tone mapping effect and increase more the brightness of the processed image compared to a larger R. Although this method has a good performance we believe that it suffers from two drawbacks related to the selection of the parameters N and R. These drawbacks are addressed in the next section. 3. PROPOSED METHOD 3.1. Tone mapping regularization In order to introduce our method lets first analyze (1) where the function used to transform the intensity of the input image is defined. First off all, we are interested to compute the effect of (1) for two different values of the regularization R. Lets denote by Y o (1) the intensity computed using R 1 and by Y o (2) (i,j) the intensity computed using R 2 : Y (1) o (i,j) = max + Y m(i,j) + R 1 Y (i,j) + Y m (i,j) + R 1 Y (i,j), Y (2) o (i,j) = max + Y m(i,j) + R 2 Y (i,j) + Y m (i,j) + R 2 Y (i,j). (2) In (2) the same local average Y m (i,j) is used in the computation of both Y o (1) (i,j) and Y o (2) (i, j). After some simple mathematical manipulations it can be shown that: Y (1) o (i,j) Y (2) o (i,j) if R 1 R 2. (3) The output intensity for very large values of R can be computed, from (1) as: ( ) max + lim (Y Ym (i,j) + R o(i,j)) = lim R R Y (i,j) + Y m (i,j) + R Y (i,j) = lim R (Y (i,j)) = Y (i,j). (4) From (3) one can see that if the value of the parameter R decreases, the value of Y o (i,j) increases, respectively. There are two effects influencing the contrast and the variance of Y o (i,j). Pixels having low intensity values will be redistributed towards higher intensities, when R decreases. This has the effect of increasing the contrast and the variance of the dark parts of the image. On the other hand, the pixels with high intensities will accumulate closer to the maximum value max (noting that the range of Y o (i,j) is limited to the range of Y (i,j)) and the effect is the decrease of the contrast and variance of the bright parts of the image. As a consequence, from these two opposite effects, one can expect that the variance and the contrast of the processed image as a function of parameter R will have a maximum for a certain value of R which depends on the distribution of the pixel values. In our approach, we use the variance of the processed image as a measure of the overall contrast although other methods can be utilized as well. The image variance will then be used to select the optimum R adaptively. Equation (1) is applied with different values of R and the variance of Y o (i,j) is computed each time. The optimal value of R is selected to be the one which gives the largest variance. Since R is a nonnegative parameter and values larger than the maximum of Y (i,j) does not bring a substantial change in the contrast the search range for R is limited to [0,max]. The behavior of the variance of the processed intensity component has been tested for a large database containing several types of images. For illustration purposes, in Fig. 1 we show two examples of input images together with the plots of the variances as functions of the parameter R. We can see from these examples that the quality function (the image variance) has a maximum for a certain value of R which is different from one image to another. In one image the algorithm selected R = 148 which is 1.34 times the intensity average, while in the second image the value of the parameter was selected 0.47 times the average of the intensity component. Both examples and also the other tests we have done are in agreement to the theoretical analysis presented above. 1564

Fig. 2. The input image (left), the image processed by [7] (middle), and the image processed by our method (right). Fig. 3. The input image (left), the image processed by [7] (middle), and the image processed by our method (right). 3.2. Local adaptivity The second drawback of the method in [7] is that a too large local window size N causes halo artifacts at edges. Our method for size selection is based on the Intersection of the Confidence Interval (ICI) and is similar to the one previously published in [14]. We select a set of M different window sizes denoted as [N 1,...,N M ] and the following steps are implemented for size adaptation: 1. For a given pixel Y (i, j) compute the corresponding averages Y m (i,j,k) for each of the pre-defined window sizes N k, k = 1,...,M, where the index k is used to identify the size from the set [N 1,...,N M ]. 2. The confidence interval for each computed average is defined as: B k (i,j) = [ Y m (i,j,k) Γσ 2 n,y m (i,j,k) + Γσ 2 n]. (5) where Γ is a constant parameter (typically selected as Γ = 1.2, [14]) and σ 2 n is the variance of the additive noise (we have estimated the noise variance using the method from [15]). 3. Starting from k = 2 the intersection of every two adjacent intervals B k 1 (i,j) and B k (i,j) is verified. If the two adjacent intervals have at least a point in common the interval B k (i,j) is updated such that it contains only the common points and the process continues for the next value of k. Otherwise, the optimum window is selected as N opt = N k 1. The above mentioned steps are utilized to select the local window size for each pixel from the image. The local averages Y m (i,j,k) are computed by weighting the selected pixels with a Gaussian-shaped PSF of the size selected by the above algorithm. 3.3. Proposed algorithm In order to implement our adaptive tone mapping method, the following procedure is implemented: 1. The input color image with the red, green, and the blue components I(i,j,1), I(i,j,2), and I(i,j,3) is transformed first in the YUV domain and only the Y (i,j) component is processed further. 2. The algorithm from Section 3.2 for selecting the sizes of the local windows is utilized to estimate the optimum size for each pixel Y (i,j). 3. The image of the local averages Y m (i,j) is computed using the optimum local window sizes. 4. The computed local averages Y m (i,j) are utilized to estimate the optimum value R opt according to the procedure from Section 3.1. 5. The tone mapped component Y o (i,j) is computed using Y m (i,j) and R opt, obtained in steps 3 and 4, as: Y o (i,j) = max + Y m(i,j) + R opt Y (i,j) + Y m (i,j) + R opt Y (i,j) (6) 1565

Input image Existing solution Proposed solution Fig. 4. The input image (left), the image processed by [7] (middle), and the image processed by our method (right). Input image Existing solution Proposed solution Fig. 5. The input image (left), the image processed by [7] (middle), and the image processed by our method (right). 6. The output color components I o (i,j,1), I o (i,j,2) and I o (i,j,3) are obtained as: I o (i,j,t) = I(i,j,t) ( ) γ Yo (i,j), t = 1,2,3 (7) Y (i,j) with γ being the gamma correction parameter that ensures appropriate color rendering for different displays. Detail of processed image Detail of processed image 4. EXPERIMENTS AND RESULTS We have done extensive simulations on a large image database in order to validate the theoretical considerations from Section 3 and also to compare our method with the solution of [7]. While, in Section 3 we have presented the validation experiments, in this section we mainly focus on comparing the two addressed algorithms. In Fig. 2 we show the input image and images processed with the approach from [7] and with our solution. We have selected this image in order to show the behavior of both algorithms on underexposed images. We can see from this figure that our method ensures a more natural look of the processed image. This is due to the fact that a value of R equal to the half of the image average leads to a too much increase of the image luminance (a value of R = 40, which is 1.29 times the Fig. 6. Part of an image processed by [7] (left), the corresponding part of the image processed by our method (right). image average has been selected by our method). Note also reduced halo effects at edges due to local adaptivity in our solution. In Fig. 3 we show an example in which a correctly exposed image has been captured and processed with both compared algorithms. Also in this case our proposed method gives better visual quality compared to the solution from [7] which increases too much the overall brightness of the processed image. Other example images showing the performance of our 1566

method compared with the approach in [7] are shown in Fig. 6 and Fig. 4. To illustrate the reduced halo effect of our proposed method, in Fig. 6 we show a parts of the images depicted in Fig. 2. One can see that our method has reduced halo artifacts near the high contrast edges. 5. CONCLUSIONS In this paper we have proposed a novel method for local tone mapping of color images. Our method uses two adaptive control parameters to increase the visual quality of the processed images. One parameter is the spatial range of the local adaptation, that is the optimal size N of the neighborhood affecting the global tone mapping effect. The other parameter, R, controls the strength of the local tone mapping function. This value is optimized based on the image variance. In our method, thanks to the optimally chosen parameters, it is possible to use only one tone mapping step instead of two. Although the original method of [7] uses a two-layer model, we have deliberately chosen a one-layer model, because of the parameter optimization procedure. This results in an increase of the image contrast and a reduction of the halo effect. We have presented the theoretical analysis of the utilized model and validated the analysis by experiments. We also compared our method with a similar approach and shown that it can provide better visual quality of the processed images. 6. REFERENCES [1] F. Drago, K. Myszkowski, T. Annen, and N. Chiba, Adaptive logarithmic mapping for displaying high contrast scenes, in Proc. of EUROGRAPHICS, Granada, Spain, 2003, EUROGRAPHICS, pp. 419 426. [2] J. Duan and G. Qiu, Fast tone mapping for high dynamic range images, in Proc. of Int. Conf. on Patt. Rec., Cambridge, UK, 2004, IEEE, pp. 847 850. [3] T.-C. Jen, B. Hsieh, and S.-J. Wang, Image contrast enhancement based on intensity-pair distribution, in Proc. of the Int. Conf. on Im. Proc. IEEE, 2005, pp. 913 916. [4] Y.-T. Kim, Contrast enhancement using brightness preserving bi-histogram equalization, IEEE Trans. on Cons. El., vol. 43, pp. 1 8, February 1997. [5] T. Kim and H. S. Yang, Colour histogram equalization via least-squares fitting of isotropic gaussian mixture to uniform distribution, IEEE El. Lett., vol. 42, pp. 452 454, April 2006. [6] D. Tamburrino, D. Alleysson, L. Meylan, and S. Susstrunk, Digital camera workflow for high dynamic range images using a model of retinal processing, in Proc. Elec. Im.: Dig. Photo. IV, San Jose, CA, USA, 2008, IS&T/SPIE. [7] L. Meylan, D. Alleysson, and S. Susstrunk, Model of retinal local adaptation for the tone mapping of color filter array images, J. of Opt. Soc. of America, vol. 24, pp. 2807 2816, September 2007. [8] T. Arici and Y. Altunbasak, Image local contrast enhancement using adaptive non-linear filters, in Proc. of Int. Conf. on Image Proc. IEEE, 2006, pp. 2881 2884. [9] L.-S. Kim J.-Y. Kim and S.-H. Hwang, An advanced contrast enhancement using partially overlapped subblock histogram equalization, IEEE Trans. on Circ. and Syst. for Video Tech., vol. 11, pp. 457 484, April 2001. [10] J. Duan, M. Bressan, C. Dance, and G. Qiu, Tonemapping high dynamic range images by novel histogram adjustment, Pattern Recognition, vol. 43, pp. 1847 1862, 2010. [11] M. Ashikhmin, A tone mapping algorithm for high contrast images, in Proc. of the 13th Eurographics workshop on Rendering. Eurographics, 2002, pp. 1 11. [12] C. Liu, O. Au, C. Cheng, and K. Yip, Two-level optimized tone mapping for high dynamic range images, in Proc. of the Int. Conf. on Im. Proc., Hong Kong, 2010, IEEE, pp. 3153 3156. [13] E. Reinhard, M. Stark, P. Shirley, and J. Ferwerda, Photographic tone reproduction for digital images, ACM Trans. on Graph., vol. 21, 2002. [14] R. C. Bilcu, S. Alenius, and M. Vehvilainen, Combinned De-noising and Sharpening of Color Images in DCT domain, in Proc. of IEEE Int. Conf. on Dig. Sig. Proc., Santorini, Greece, july 2009, IEEE. [15] R. C. Bilcu and M. Vehvilainen, A New Method for Noise Estimation in Images, in Proc. of Int. Work. on Nonlinear Sig. and Im. Proc., Saporo, Japan, May 2005, IEEE-EURASIP. [16] F. Durand and J. Dorsey, Interactive tone mapping, in Proc. of the Eurographics Work. on Render. Tech., 2000. [17] P. Ledda, A. Chalmers, and et al., Evaluation of tone mapping operators using a high dynamic range display, ACM Transactions on Graphics, vol. 24, pp. 640 648, 2005. 1567