AUTOMATIC FACE COLOR ENHANCEMENT

Similar documents
NEW HIERARCHICAL NOISE REDUCTION 1

PSEUDO HDR VIDEO USING INVERSE TONE MAPPING

Noise Reduction in Raw Data Domain

Calibration-Based Auto White Balance Method for Digital Still Camera *

Correction of Clipped Pixels in Color Images

Realistic Image Synthesis

Tonemapping and bilateral filtering

Learning-based Face Detection by Adaptive Switching of Skin Color Models and AdaBoost under Varying Illumination

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Detection of Image Forgery was Created from Bitmap and JPEG Images using Quantization Table

Lecture Notes 11 Introduction to Color Imaging

High Dynamic Range Imaging

Fixing the Gaussian Blur : the Bilateral Filter

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

High dynamic range imaging and tonemapping

Image Processing by Bilateral Filtering Method

Color Image Compression using SPIHT Algorithm

High dynamic range and tone mapping Advanced Graphics

CMVision and Color Segmentation. CSE398/498 Robocup 19 Jan 05

Lossless Image Watermarking for HDR Images Using Tone Mapping

Automatic Content-aware Non-Photorealistic Rendering of Images

Analysis of Various Methodology of Hand Gesture Recognition System using MATLAB

Camera Image Processing Pipeline: Part II

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Enhanced Method for Face Detection Based on Feature Color

Subjective evaluation of image color damage based on JPEG compression

Histograms and Color Balancing

Firas Hassan and Joan Carletta The University of Akron

Image Processing : Introduction

Computational Photography

What You ll Learn Today

USE OF HISTOGRAM EQUALIZATION IN IMAGE PROCESSING FOR IMAGE ENHANCEMENT

Imaging Process (review)

MODIFICATION OF ADAPTIVE LOGARITHMIC METHOD FOR DISPLAYING HIGH CONTRAST SCENES BY AUTOMATING THE BIAS VALUE PARAMETER

HISTOGRAM BASED AUTOMATIC IMAGE SEGMENTATION USING WAVELETS FOR IMAGE ANALYSIS

Real-Time Face Detection and Tracking for High Resolution Smart Camera System

Brightness Calculation in Digital Image Processing

UM-Based Image Enhancement in Low-Light Situations

Camera Image Processing Pipeline: Part II

Wadehra Kartik, Kathpalia Mukul, Bahl Vasudha, International Journal of Advance Research, Ideas and Innovations in Technology

25/02/2017. C = L max L min. L max C 10. = log 10. = log 2 C 2. Cornell Box: need for tone-mapping in graphics. Dynamic range

Color Transformations

A Lossless Image Compression Based On Hierarchical Prediction and Context Adaptive Coding

CS 89.15/189.5, Fall 2015 ASPECTS OF DIGITAL PHOTOGRAPHY COMPUTATIONAL. Image Processing Basics. Wojciech Jarosz

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

Photo Editing Workflow

CS 376b Computer Vision

Programmatic Image Alterations Creating Your Own: Actions and Programs. Automation

User s Guide. Windows Lucis Pro Plug-in for Photoshop and Photoshop Elements

SURVEY ON VARIOUS IMAGE CONTRAST ENHANCEMENT TECHNIQUES

High Dynamic Range image capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm

Color and More. Color basics

CS354 Computer Graphics Computational Photography. Qixing Huang April 23 th 2018

Image Processing. Adam Finkelstein Princeton University COS 426, Spring 2019

Supplementary Material of

Lenses, exposure, and (de)focus

Automated License Plate Recognition for Toll Booth Application

Practical Content-Adaptive Subsampling for Image and Video Compression

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

International Journal of Engineering and Emerging Technology, Vol. 2, No. 1, January June 2017

Local Adjustment Tools

from: Point Operations (Single Operands)

INTRODUCTION TO COMPUTER GRAPHICS

The Unique Role of Lucis Differential Hysteresis Processing (DHP) in Digital Image Enhancement

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University!

Comparative Analysis of Lossless Image Compression techniques SPHIT, JPEG-LS and Data Folding

ECC419 IMAGE PROCESSING

Color Image Encoding Using Morphological Decolorization Noura.A.Semary

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

According to the proposed AWB methods as described in Chapter 3, the following

Implementing RoshamboGame System with Adaptive Skin Color Model

The Influence of Luminance on Local Tone Mapping

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Problem Set 3. Assigned: March 9, 2006 Due: March 23, (Optional) Multiple-Exposure HDR Images

EC-433 Digital Image Processing

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

Direction-Adaptive Partitioned Block Transform for Color Image Coding

Digital Radiography using High Dynamic Range Technique

Genuine Fractals 4.1 Evaluation Guide

COLOR CORRECTION METHOD USING GRAY GRADIENT BAR FOR MULTI-VIEW CAMERA SYSTEM. Jae-Il Jung and Yo-Sung Ho

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

Simulated Programmable Apertures with Lytro

Automatic Licenses Plate Recognition System

Tone mapping. Digital Visual Effects, Spring 2009 Yung-Yu Chuang. with slides by Fredo Durand, and Alexei Efros

A Saturation-based Image Fusion Method for Static Scenes

Contrast Image Correction Method

[Manjare, 2(7): July, 2013] ISSN: Impact Factor: 1.852

Raymond Klass Photography Newsletter

Improved sensitivity high-definition interline CCD using the KODAK TRUESENSE Color Filter Pattern

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Title goes Shadows and here Highlights

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image

Face Detection System on Ada boost Algorithm Using Haar Classifiers

Quality Measure of Multicamera Image for Geometric Distortion

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

Focusing and Metering

Medical Image Processing

Why learn about photography in this course?

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

Transcription:

AUTOMATIC FACE COLOR ENHANCEMENT Da-Yuan Huang ( 黃大源 ), Chiou-Shan Fuh ( 傅楸善 ) Dept. of Computer Science and Information Engineering, National Taiwan University E-mail: r97022@cise.ntu.edu.tw ABSTRACT Face color enhancement is a very important issue in digital camera applications. However, to adjust photos appropriately is hard work to most light users. This paper suggests a general and automatic method to enhance the human face colors. human skin without break non-skin details in the photo. Skin Detection method becomes an important work in our image processing method. And we apply some methods to balance the skin color. Fig. 1 is our pipeline of Automatic Face Color Enhancement Method. Input Image 1. INTRODUCTION In this paper, we introduce a pipeline for automatic skin color enhancement. We also combine some contrast and photo color enhancement to beautify the whole scenes of an input image. Digital camera technique is very popular now. Unlike traditional photograph, digital images are able to be processed and adjusted again by computer software. Using the information of raw data image and producing a high quality photograph is a major issue traditional image pipeline. Skin and face detection is a popular research area nowadays because of its wide range of applications, such as digital camera and video phone, and sing graphics software. In order to beautify human skin in photos this technique is an important step for image processor. To fulfill the requirement of normal digital camera users who are not familiar with digital image processing and graphic software, how to design an automatic image processing pipeline and output a good-looking photograph is an important and interesting question. In typical digital image processing, automatic human skin color enhancement is manual and atypical. Preferable-looking human skin color is usually processed by graphics software, or other image processing tools. Although such software is powerful, it is not user-friendly or automatic to most camera users. Therefore it is still an important issue to build an automatic skin color enhancement pipeline. In our method, we try to implement algorithms to beautify the skin color automatically. Human skin does not always look well because of unhealthy condition, such as furrow and acne. The final output may be unsatisfactory for the camera user. In this situation, we must amend or hide those blemishes on White Balance Face Detection Skin Detection Face Color Enhancement Output Result Fig. 1: Our pipeline of Automatic Skin Color Enhancement 2. EXTRACT FACE IMAGES We assumed that user want to beautify human faces without effecting background in photograph. Extracting human faces can let us justify human faces only. In this experiment, we simply use adaboost method in OpenCV library. After set the face regions, we can define some rough sub-regions such as eye region and mouth region. These regions are useful to help as define skin color enhancement ratios later. To set sub-regions, we simply use fixed patterns to define it.. Fig. 2 is an example which detect human face and extract faces from an image.

4.3 LUX Color Space According to the paper, Nonlinear Color Space and Spatiotemporal MRF for Hierarchical Segmentation of Face Features in Video, LUX color space is extended from LIP color space, For Logarithmic hue extension [10]. The LUX color space is very sensitive in red component; it can extract human skin from background and from non-skin objects in photograph efficiently. The expression of LUX color components are the following: Fig. 2: An example of finding human faces with fixed pattern 3. WHITE BALANCE An image pipeline is an important step that transforms sensor s raw data to final compressed image. It balances the color temperature where image becomes bluish under high color temperature and becomes reddish under low color temperature[2]. A good white balance method can greatly improve the quality of final digital image. The example is as Figure 3. For detecting the natural skin color and removing the effect of color temperature, White Balance is a necessary step. The thrust of our image pipeline focus on comparing the skin-beautify processing to other graphics software. We simply use white balance tools from Adobe Photoshop CS, pre-process our experiment images. 4. SKIN DETECTION 4.1 Skin Detection with Color Spaces After extracting face images, we can promote the accurate detection by using different color space. Kumar and Bindu[1] suggests using YCbCr color space and LUX color space to find skin regions. In our experiment shows that using YCbCr and LUX color spaces to detect skin region can lead good results. 4.2 YCbCr Color Space The YCbCr video format is a linear combination of red, green, and blue components (RGB) used as TV standard. It is a family of color spaces used in video and digital photography systems. The prime on the Y is to distinguish the luma from luminance. YCbCr is sometimes abbreviated to YCC [9]. The formula of YCbCr color space is: Y Cr Cb = 0.299 0.587 0.098 0.500 0.4187 0.0813 0.1687 0.3313 0.500 + 1 128 128 R G B (1) L = R + 1 0.3 G + 1 0.6 B + 1 0.1 1 U = X = M 2 M M 2 M 2 M M 2 R+1 R+1 B+1 B+1 if R < L, otherwise. if R < L, otherwise. 4.4 Definition of Skin Regions (2) Using Kumar s method, we can simply find skin region, because of the definition of face region, the skin region which not in the face region will not be changed. In our method, we define skin map in following algorithm: 1. U 256 G if R < 1.5 and R > G > 0 = R G (3) 255 otherwise. 2. If 77 Cr 127 and 0 U 249, the value of skin map is 1.0. Else skin map is U / Cr Fig. 3 is an example of detecting skin region with YCbCr and LUX color space. Fig. 3: is an input image, is an example of skin region after skin detection. Gray pixels represent skin area. 5. FACE COLOR ENHANCEMENT 5.1 Split Base Layer and Detail Layer of Faces We inspired by Bae s method in Two-scale Tone Management for Photographic Look [10],

In our method, we thought that human faces can be split into base layer (perfect skin) and detail layer (acne or scar). 5.2 Fast Bilateral Filter To accomplish the splitting, we implement bilateral filter, which is a filter used to blur image but contain edges of blurred image. However, traditional bilateral filter can lead lots of computation and is not practical. To speed up our image pipeline, we implement fast bilateral filter. The following is our assumption in mathematic form, which F is original human face, B is base layer, and D is detail layer: B = fbs(f), where fbs is fast bilateral (3) algorithm. D = F B (4) Fig. 4 is an example of splitting a face into base layer and detail layer. Fig. 4 is original image, is gray scale image, (c) is base image B, and is detail image D. (c) Fig. 4: is input image, convert to grayscale image as. (c) is base layer of and is detail layer of. 5.3 Skin Color Enhancement Traditional method of smoothing skin is using user interface to blurred unsatisfied skin region step by step. However, over blurred is may be look cheerful, but can also lead the result look unreal. In our enhancement method, we want to lower down the unsatisfied details, such as acne, scars etc. Fortunately, although blemish is often unlike to neighbors, it is usually still in the skin region, based on this observation, we construct the following pseudo code in Fig.5. Face Color Enhancement Algorithm: 1. Restore image I from input image. 2. Calculate face region map M f. 3. Calculate skin region map M s. 4. Calculate base layer B = fbs(i). 5. Calculate detail layer D = I B. 6. D = {d 1, d 2, d 3,, d n }, d i is in pixel domain, i {1,, n}. For each d i, if (d i is in skin region) and (d i is in face region) then weaken the value of d i and assign it to d i. 7. Set D = {d 1, d 2,, d n }. Ms = {s 1, s 2,, s n }. d i = s i * d i 8. Set I = B + D. 9. Return I. Fig. 5: The pseudo code of our image pipeline. 6. EXPERIMENT RESULT Fig.5, Fig.6, Fig.7 and Fig.8 are the experiment results. For each figure, is original image, is output image, (c) is U channel map, and is skin map.

Fig. 5 (c) Fig. 6

(c) Fig. 7

(c) Fig. 8

(c) REFERENCES [1] C. N. R. Kumar and A. Bindu, An Efficient Skin Illumination Compensation Model for Efficient Face Detection, http://www.facedetect.741.com/, 2008. [2] P. M. Wang and C. S. Fuh, Automatic White Balance with Color Temperature Estimation, Master Thesis, Department of Computer Science and Information Engineering, National Taiwan University, Taipei, 2006. [3] R. L. Hsu, M. Abdel-Mottaleb, and A. K. Jain, Face Detection in Color Images, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 24, No. 5, pp. 696-706, 2002. [4] Wikipedia, Gaussian Blur, http://en.wikipedia.org/wiki/gaussian_blur, 2008. [5] Wikipedia, Normal Distribution, http://en.wikipedia.org/wiki/normal_distribution, 2008. [6] Wikipedia, Scale Space Implementation, http://en.wikipedia.org/wiki/scalespace_implementation, 2008. [7] Wikipedia, RGB Color Space, http://en.wikipedia.org/wiki/rgb_color_space [8] Wikipedia, YCbCr Color Space, http://en.wikipedia.org/wiki/ycbcr [9] Marc Liévin and Franck Luthon, Member, Nonlinear Color Space and Spatiotemporal MRF for Hierarchical Segmentation of Face Features in Video, IEEE, Marc Liévin and Franck Luthon, Member. [10] BAE S., PARIS S., DURAND F. Two-scale tone management for photographic look. In SIGGRAPH 06: ACM SIGGRAPH 2006 Papers (New York, NY, USA, 2006), ACM Press, pp. 637 645.