Non-Linear Masking based Contrast Enhancement via Illumination Estimation

Similar documents
A NOVEL RETINEX BASED APPROACH FOR IMAGE ENHANCEMENT WITH ILLUMINATION ADJUSTMENT

PROBABILISTIC MEASURE OF COLOUR IMAGE PROCESSING FIDELITY

IMPLEMENTATION OF THE CONTRAST ENHANCEMENT AND WEIGHTED GUIDED IMAGE FILTERING ALGORITHM FOR EDGE PRESERVATION FOR BETTER PERCEPTION

Enhancement of Sharpness and Contrast Using Adaptive Parameters

arxiv: v1 [cs.cv] 22 Jun 2014

Image contrast enhancement based on local brightness and contouring artifact improvement for large-scale LCD TVs

Perceptual Quality Improvement of Stereoscopic Images

Satellite Image Processing Using Singular Value Decomposition and Discrete Wavelet Transform

New Edge-Enhanced Error Diffusion Algorithm Based on the Error Sum Criterion

Illumination-Robust Face Recognition based on Gabor Feature Face Intrinsic Identity PCA Model

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

Motivation. Intensity Levels

EEM 463 Introduction to Image Processing. Week 3: Intensity Transformations

Analysis and extensions of the Frankle-McCann

Edge Preserving Contrast Enhancement Method Using PCA in Satellite Images

IMAGE DIGITIZATION BY WAVELET COEFFICIENT WITH HISTOGRAM SHAPING AND SPECIFICATION

Introduction to Digital Image Processing

Study on the Signboard Region Detection in Natural Image

Perceptual Effects in Real-time Tone Mapping

Joint Enhancement and Denoising Method via Sequential Decomposition

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

AN EFFICIENT VIDEO WATERMARKING USING COLOR HISTOGRAM ANALYSIS AND BITPLANE IMAGE ARRAYS

Contrast adjustment via Bayesian sequential partitioning

Asymmetric 2 1 pass stereo matching algorithm for real images

An Adaptive Histogram Equalization Based Local Technique for Contrast Preserving Image Enhancement

An Adaptive Approach for Image Contrast Enhancement using Local Correlation

Image Processing Lecture 10

Color Correction for Projected Image on Colored-screen Based on a Camera

A Study on various Histogram Equalization Techniques to Preserve the Brightness for Gray Scale and Color Images

Robot localization method based on visual features and their geometric relationship

Joint Enhancement and Denoising Method via Sequential Decomposition

Auto-focusing Technique in a Projector-Camera System

Structural Similarity Based Image Quality Assessment Using Full Reference Method

BLIND IMAGE QUALITY ASSESSMENT WITH LOCAL CONTRAST FEATURES

Image Quality Assessment Techniques: An Overview

Constrained PDF based histogram equalization for image constrast enhancement

Quality Guided Image Denoising for Low-Cost Fundus Imaging

Robust color segmentation algorithms in illumination variation conditions

JPEG Copy Paste Forgery Detection Using BAG Optimized for Complex Images

CONTRAST ENHANCEMENT OF COLOR IMAGES BASED ON WAVELET TRANSFORM AND HUMAN VISUAL SYSTEM

Multi-View Image Coding in 3-D Space Based on 3-D Reconstruction

Texture Sensitive Image Inpainting after Object Morphing

Low Contrast Image Enhancement Using Adaptive Filter and DWT: A Literature Review

Introduction to Digital Image Processing

An Approach for Reduction of Rain Streaks from a Single Image

NOVEL PCA-BASED COLOR-TO-GRAY IMAGE CONVERSION. Ja-Won Seo and Seong Dae Kim

Enhancing DubaiSat-1 Satellite Imagery Using a Single Image Super-Resolution

AN ALGORITHM FOR BLIND RESTORATION OF BLURRED AND NOISY IMAGES

Text Information Extraction And Analysis From Images Using Digital Image Processing Techniques

A Fast Video Illumination Enhancement Method Based on Simplified VEC Model

Digital Image Processing. Image Enhancement - Filtering

The Study of Genetic Algorithm-based Task Scheduling for Cloud Computing

Shadow detection and removal from a single image

Planar pattern for automatic camera calibration

EECS150 - Digital Design Lecture 14 FIFO 2 and SIFT. Recap and Outline

Linear Operations Using Masks

Color Restoration Techniques for Faded Colors of Old Photos, Printings and Paintings

Specularity Removal using Dark Channel Prior *

Classification Algorithm for Road Surface Condition

Image restoration. Restoration: Enhancement:

Dense Image-based Motion Estimation Algorithms & Optical Flow

Comparative Study of Linear and Non-linear Contrast Enhancement Techniques

Face Recognition under varying illumination with Local binary pattern

Character Segmentation and Recognition Algorithm of Text Region in Steel Images

Filtering and Enhancing Images

Adaptive Multi-Scale Retinex algorithm for contrast enhancement of real world scenes

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

A Robust Wavelet-Based Watermarking Algorithm Using Edge Detection

Multi-Directional Upsampling for Multiple Channel Images

Near Optimal Repair Rate Built-in Redundancy Analysis with Very Small Hardware Overhead

DETECTION OF SMOOTH TEXTURE IN FACIAL IMAGES FOR THE EVALUATION OF UNNATURAL CONTRAST ENHANCEMENT

Implementation of 3D Object Reconstruction Using Multiple Kinect Cameras

CONSISTENT COLOR RESAMPLE IN DIGITAL ORTHOPHOTO PRODUCTION INTRODUCTION

HUMAN S FACIAL PARTS EXTRACTION TO RECOGNIZE FACIAL EXPRESSION

Image Enhancement Techniques for Fingerprint Identification

Color-Texture Segmentation of Medical Images Based on Local Contrast Information

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

A Spatial Point Pattern Analysis to Recognize Fail Bit Patterns in Semiconductor Manufacturing

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Intensification Of Dark Mode Images Using FFT And Bilog Transformation

Multiframe Blocking-Artifact Reduction for Transform-Coded Video

IMAGE DENOISING TO ESTIMATE THE GRADIENT HISTOGRAM PRESERVATION USING VARIOUS ALGORITHMS

Overview. Related Work Tensor Voting in 2-D Tensor Voting in 3-D Tensor Voting in N-D Application to Vision Problems Stereo Visual Motion

Gamut Mapping through Perceptually-Based Contrast Reduction

Basic relations between pixels (Chapter 2)

Shadow Removal from a Single Image

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Digital Makeup Face Generation

HIGH DYNAMIC RANGE IMAGE TONE MAPPING BY OPTIMIZING TONE MAPPED IMAGE QUALITY INDEX

Digital Image Processing

In this lecture. Background. Background. Background. PAM3012 Digital Image Processing for Radiographers

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

HISTOGRAMS OF ORIENTATIO N GRADIENTS

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Low Cost Illumination Invariant Face Recognition by Down-Up Sampling Self Quotient Image

The SIFT (Scale Invariant Feature

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Robustness of Face Recognition to Variations of Illumination on Mobile Devices Based on SVM

Intrinsic Image Decomposition with Non-Local Texture Cues

Transcription:

https://doi.org/10.2352/issn.2470-1173.2018.13.ipas-389 2018, Society for Imaging Science and Technology Non-Linear Masking based Contrast Enhancement via Illumination Estimation Soonyoung Hong, Minsub Kim, and Moon Gi Kang; School of Electrical and Electronic Engineering, Yonsei University; 50 Yonsei- Ro,Seodaemun-gu, Seoul 03722, Republic of Korea Abstract Contrast enhancement which is an important part of digital image processing has been studied for a long time and widely used in various fields such as digital photography or medical imaging. The purpose of contrast enhancement is to improve the overall contrast of the image and details on the local area. Contrast enhancement algorithms are classified into histogram based methods, tone mapping based methods, and retinex theory based methods. Particularly, retinex theory is widely applied at the spatial domain contrast enhancement. In this paper, we propose the contrast enhancement algorithm using the estimated illumination. Different from conventional retinex based algorithms, the estimated illumination serves as the tone mapping criterion and masked with original image. The intensity of estimated illumination image is adaptively modulated according to original image to improve the contrast of image effectively. Experimental results show that both global and local contrast are enhanced simultaneously with the proposed algorithm. Objective assessment using performance metrics also shows that the proposed method has the highest scores compared to the conventional methods. Introduction Recently, digital images are commonly obtained from various ways such as mobile phones and digital cameras. But captured images sometimes have unintended problems like low dynamic range or under exposure because capturing devices have limited hardware performance compared to the human eye. For example, if photo is taken from the low light environment, overall image is shaded and details are hard to be recognized. At the high light environment, conversely, image intensity is biased to high level and it is also hard to be detected. To solve these problems, various contrast enhancement algorithms are proposed. The main purpose of the contrast enhancement is to improve the contrast of the image by adjusting the intensity. Contrast of the image can be divided into the global contrast which related to overall brightness and the local contrast which has to do with details of the image. The contrast enhancement algorithms are classified into histogram methods, retinex theory based methods, and tone mapping methods. Histogram based methods are widely used at various fields such as medical imaging and texture synthesis due to their simple application. Histogram equalization (HE) has been the basic histogram based method since its proposition. However, HE may produce unsatisfactory results such as noise amplification, excessive enhancement at the dark space and washed-out appearance. Later, advanced methods based on HE which solve these problems have been proposed: separating histogram as several sub histograms, modifying probability density function (PDF) by grouping bins and obtaining histograms locally [1]. There are various methods to estimate illumination based on retinex theory. All of these methods are based on the concept that observed image can be decomposed into the illumination and the reflectance: S = R I, (1) where S is the observed image, R is the reflectance, and I is the illumination. As mentioned above, since reflectance is the intrinsic characteristic of the object, contrast enhancement is achieved by adjusting the illumination. Retinex-theory based algorithms are classified as follows: Homomorphic filtering, iterative algorithm and optimization based algorithm. Homomorphic filtering is based on the concepts that the illumination is the smooth version of the luminance and Gaussian kernel is used for the blurring. Single-scale retinex (SSR) [2] and multi-scale retinex (MSR) [3] are the examples of homomorphic filtering. McCann et al. proposed the method to estimate the illumination by iteratively combining center pixel with neighbor pixels. Although estimation result is somewhat similar with the result of homomorphic method, overall procedures of the algorithms are different in the way that iteration is used and the characteristic of the convergence. Because these methods have the sameness in terms of weighted averaging, result images necessarily have the halo effect. So, advanced algorithms which use exquisite blurring and consider the edge of the image simultaneously. Optimization based algorithms [4] [5] have to do with minimizing the penalty function. The penalty function has several terms which signify the smoothness, edge preserving, and the similarity of luminance and illumination of the image. The procedure of the enhancement goes through the modification of the estimated illumination using the gamma function or the power function. Tone mapping, other area of the contrast enhancement, is a method of making a transformation function to match an input value to an output value. These are used for dynamic range compression as well as contrast enhancement. The most common tone mapping methods are gamma function and log function. Although these methods are simple and easily applied, algorithms are applied on all images with the same effect so this cannot ensure the improvement of local areas. For solving these problems, advanced methods using separating tone mapping curve as sub curves have been proposed [6]. Sub curves are applied to the bright area and the dark area respectively and improve both global and local contrast simultaneously. In this paper, we propose the contrast enhancement method which uses the estimated illumination and non-linear masking to improve global and local contrast according to features of the image. In the section of proposed method, contrast enhancement algorithm which combines the retinex-theory and the non-linear masking is described. In the experimental results section, we conduct objective evaluations of our proposed method with conventional in terms of contrast enhancement with various image quality metrics. Lastly, we Image Processing: Algorithms and Systems XVI 389-1

Figure 1. The Block diagram of the proposed method. discuss the proposed method and conclude our paper in the conclusion section. Proposed method Illumination estimation The proposed algorithm consists of two steps, the first is the illumination estimation and the second is the non-linear masking of the original image and the estimated illumination. Figure 1 shows the block diagram of the proposed method. Illumination estimation and non-linear masking is processed at YUV domain. Illumination estimation algorithm is based on Song s algorithm [7]. The illumination is obtained through the adaptively weighted sum of local blurring and global blurring the image. At the non-linear masking process, the brightness of the illumination is closely related to the result: the region of the input image where high illumination is masked becomes relatively bright as the result image, and vice versa. To improve global contrast with this effect, the estimated illumination is modified according to the image histogram distribution with transformation as follows: 1 ( α I ) if γ < 128 255 ˆ I =, (2) ( 255 α) I + α if γ 128 255 where I is the estimated illumination, II is the intensity biased illumination, α is the value which can be obtained by histogram distribution of image, and γ is the average brightness of the estimated illumination. If γ is less than 128, it is assumed that the image is dark and if γ is 128 or more, it is assumed that the image is bright. If the image is dark, the distribution of the intensity is adjusted be in the range of α ~ 255 and conversely if the image is bright, the intensity distribution is adjusted to be in the range of 0 to α. If the distribution of the histogram is left sided, set the α as the bottom 20% of the histogram bin value and in the opposite case, set the α as top 20% of histogram bin value. Figure 2 shows a function that matches the range of illumination according to image brightness. Non-linear masking With adjusted illumination, non-linear masking is processed with the luminance and the estimated illumination. Moroney proposed the algorithm [8] to improve contrast through non-linear masking of input image and mask image. However, since the mask image has to be blurred, the halo effect is inevitably generated in the resultant image, and there is a limitation in enhancing the local contrast because surroundings are not considered. The proposed Figure 2. Transformation of the estimated illumination: (a) transformation when γγ is less than 128, (b) transformation when γγ is greater than 128. Figure 3. (a) Luminance of the input image, (b) The estimated illumination, (c): the result of non-linear masking. method uses estimated illumination to reflect the image characteristics and the non-linear masking algorithm is applied differently according to the luminance value for effective contrast enhancement. The non-linear masking algorithm is as follows: 2 Y ˆ x,y ( 255 I xy ) if Y x,y 128 255 Y ˆ x,y = ˆ, (3) I xy ( 255 Y x,y ) 255 otherwise 255 where Ŷ denotes the final adjusted luminance which is to be combined with U and V, II denotes the intensity adjusted illumination, and Y denotes the luminance of the image. We divided the non-linear masking process into two parts with 128 values of luminance. By applying different equations to each area separately, we can improve the contrast effectively. In the dark region, the estimated 389-2 Image Processing: Algorithms and Systems XVI

Figure 4. The Original image and results of conventional methods and the proposed method. (a) The original image, (b) CM1 [8], (c) CM2 [9], (d) CM3 [10], and (e) PM. Figure 5. The Original image and results of conventional methods and the proposed method. (a) The original image, (b) CM1 [8], (c) CM2 [9], (d) CM3 [10], and (e) PM. illumination has a low value, so that the effect of increasing the brightness of the dark region from the non-linear masking algorithm can be obtained. In the opposite case, the effect of reducing the brightness can be obtained. Figure 3 shows the luminance of the image, the estimated illumination, and result of the non-linear masking. When comparing the luminance and the result of masking, the local contrast of the image and the global contrast improvement can be seen. Combined with the adjusted Y, U and V, the adjustment of U and V is necessary. Since each YUV channel is derived from Image Processing: Algorithms and Systems XVI 389-3

Figure 6. The Original image and results of conventional methods and the proposed method. (a) The original image, (b) CM1 [8], (c) CM2 [9], (d) CM3 [10], and (e) PM the correlation of the RGB channels of the image, the chroma component of the result image is inevitably distorted if the luminance is changed. So, the U and V channels need to be adjusted as much as the amount of change in the luminance, and the process is done from the power function as follows: ˆ Yx, y U ˆ x, y = ( U x, y ) Yx, y, (4) ˆ Yx V ˆ x, y =,. (5), y ( V x, y ) Yx y Experimental results The proposed method is applied to image sets and compared with other conventional algorithms. The overall contrast of the image is improved and it can be seen that the proposed method is also effective to improve the contrast of the local area. In Figure 4-6 include a full-size image to show the global contrast enhancement of the image, and cropped images to show the local contrast enhancement. From subjective comparisons global contrast has been improved as with conventional methods and local contrast has been improved more effectively than these methods. Local contrast tends to be decreased because the difference in detail brightness is reduced in the local region through the global contrast enhancement. The proposed method shows strengths different from conventional methods in this respect and shows that local contrast is effectively improved at result images. For objective comparisons, the results were evaluated using several image quality performance metrics such as DIQM [11], RME, RAMMG [12], and IQAJND [13]. Scaling of each evaluation index was adjusted to improve visibility. Table 1-3 show the results Table 1. Measurement result of Figure 4. DIQM 3.46 3.10 2.82 3.21 RME 6.29 6.01 6.57 7.90 RMS 1.04 1.37 1.10 1.13 RAMMG 1.32 1.22 1.28 1.62 IQAJND 7.61 7.24 7.76 9.96 Table 2. Measurement result of Figure 5. DIQM 4.21 4.17 3.86 4.30 RME 1.15 1.14 1.14 1.31 RMS 2.46 2.32 2.85 2.72 RAMMG 2.77 2.72 2.69 3.61 IQAJND 12.49 11.64 14.96 17.73 Table 3. Measurement result of Figure 6. DIQM 2.87 2.73 2.55 2.70 RME 0.41 0.41 0.40 0.53 RMS 1.03 1.06 1.14 1.24 RAMMG 0.95 0.92 0.92 1.16 IQAJND 6.08 6.14 6.34 8.80 of the evaluation with these metrics. From evaluations with metrics, the proposed method has the highest scores of metrics compared the conventional methods. From evaluations with metrics, the proposed method generally has the highest value. 389-4 Image Processing: Algorithms and Systems XVI

Conclusion We proposed contrast enhancement method uses the estimated illumination and non-linear masking with tone mapping to improve global and local contrast according to features of the image. Different from the conventional method, the proposed method has the advantage. By using the estimated illumination, the information of the light source can be used to the contrast enhancement and also the halo effect can be reduced. The proposed method not only has versatility to images but also has better contrast enhancement results over the other algorithms. Acknowledgement This research was supported by Basic Science Research Program through the National Research Foundation of Korea(NRF) funded by the Ministry of Science, ICT and future Planning (No. 2015R1A2A1A14000912) References [1] Z. Y. Chen, B. R. Abidi, D. L. Page, and M. A. Abidi, Gray-level grouping (GLG): An automatic method for optimized image contrast enhancement - Part II: The variations, IEEE Trans. Image Process., vol. 15, no. 8, pp. 2303 2314, 2006. [13] M. Kim, K. S. Song, and M. G. Kang, No-reference image contrast assessment based on just-noticeable-difference, IS&T Electronic. Imaging, pp. 26 29, 2017. Author Biography Soonyoung Hong received the BS degree in electronic engineering from Yonsei University of Korea.(2015) Currently, he is pursuing Ph.D. degree in electronic engineering at Yonsi University of Korea. His current research interests are contrast enhancement and high dynamic range. Minsub Kim received the BS degree in electronic engineering from Yonsei University of Korea.(2014) Currently, he is pursuing Ph.D. degree in electronic engineering at Yonsi University of Korea. His current research interests are image quality assessment and contrast enhancement. Moon Gi Kang received Ph.D. degree in electrical engineering from Northwestern University, USA in 1994. He is currently a professor at the Department of Electronic Engineering of Yonsei University, Korea. He has served as the Editor of SPIE Milestone Series Volume (CCD and CMOS imagers), the Guest Editor of the IEEE SP Magazine Special Issue on Superresolution Image Reconstruction (May 2003), the Associate Editors of the EURASIP Journal of ASP and the Elsevier Journal of Digital Signal Processing. [2] D. J. Jobson, Z. U. Rahman, and G. A. Woodell, Properties and performance of a center/surround retinex, IEEE Trans. Image Process., vol. 6, no. 3, pp. 451 462, 1997. [3] Z. Rahman, D. J. Jobson, and G. A. Woodell, Multi-scale retinex for color image enhancement, Proc. 3rd IEEE Int. Conf. Image Process., vol. 3, pp. 1003 1006, 1996. [4] R. Kimmel, M. Elad, D. Shaked, R. Keshet, and I. Sobel, A variational framework for retinex, Int. J. Comput. Vis., vol. 52, no. 1, pp. 7 23, 2003. [5] X. Fu, Y. Liao, D. Zeng, Y. Huang, X. P. Zhang, and X. Ding, A Probabilistic Method for Image Enhancement with Simultaneous Illumination and Reflectance Estimation, IEEE Trans. Image Process., vol. 24, no. 12, pp. 4965 4977, 2015. [6] A. Choudhury and G. Medioni, Perceptually Motivated Automatic Color Contrast Enhancement Based on Color Constancy Estimation, EURASIP J. Image Video Process., vol. 2010, pp. 1 22, 2010. [7] K. S. Song, H. Kang, and M. G. Kang, Contrast enhancement algorithm considering surrounding information by illumination image, J. Electron. Imaging, vol. 23, no. 5, p. 53010, 2014. [8] N. Moroney, Local color correction using non-linear masking, IS&T/SID 8th Color Imaging Conf., pp. 108 111, 2000. [9] V. Chesnokov, Image processing method and computer software for image processing, (2012). [US Patent 8,160,387]. [10] C.-H. Lee, Image enhancement approach using the just-noticeabledifference model of the human visual system, J. Electron. Imaging, vol. 21, no. 3, p. 33007, 2012. [11] K. Panetta, L. Bao, and S. Agaian, A human visual no-reference image quality measure, IEEE Instrum. Meas. Mag., vol. 19, no. 3, 2016. [12] A. Rizzi, T. Algeri, G. Medeghini, and D. Marini, A Proposal for Contrast Measure in Digital Images, CGIV 2004 Second Eur. Conf. Colour Graph. Imaging, Vis., no. JANUARY 2004, pp. 187 192, 2004. Image Processing: Algorithms and Systems XVI 389-5