Automatic Foreground Extraction of Static Image

Author
ZhaoRuiLin
Advisor
ZhongHuiXiang
School
Jilin University
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2013
Downloads
30
Citations
0

Request the full text

Abstract

This paper presents a algorithm about fully automated matting of digital image,this algorithm is mainly for image which is a large scale and single color background.In the studio, photography studio and some other situations, monochromatic sceneryis often used as background for camera and take pictures, and then extract the interestregion by PS(Photoshop) or other image processing methods, and to merge in thebackground. Such a situation, this paper presents a method of image extractionwithout human interaction that for high-pixel image. In this method, several digitalimage processing algorithms are involved, like: sampling for background, extractionof main area which is interested, contour extraction, the unknown region partition,opacity calculations, Knockout algorithm as matting algorithm, in order to achievebetter results in the process of unknown region differentiating, this article uses thesimple face recognition and edge detection algorithm. The algorithm process isdivided into three parts: automatic region partition, opacity calculations andforeground updating. Algorithm uses the HSV color space in automatic regionpartition, and then extracting the foreground subject area of the image, according tothe contour line of the subject area, the source image could be divided into foregroundregions, background area and unknown area, if the image contain pixels which aretranslucent, regard the area which consist of these pixels as unknown, and mergingthe translucent area into the unknown to complete the Triamp division; In the opacitycalculation process, a improved Knockout matting algorithm is proposed, and presentsa method to extract sample pixels base on the image clustering, using the extractedsample pixels and the fusion equation to calculate the opacity of every pixel inunknown region, and this opacity consist of three components which correspondingthe three channels of the RGB space, then use the weighted method of Knockoutalgorithm to get the opacity of the calculated pixel; In foreground updating process,the result of the foreground extraction is need to be revised, and combine theforeground sample pixels and the background sample pixels one by one to find a pairof foreground and background value, so that they are fused according to the fusionequation and the opacity, record the fused value of C’, and compared with the current value of the source images C, choose the pair of foreground value and backgroundvalue which make the difference between C and C’ get the smallest value as theoptimal solution, so the foreground value and opacity which are extracted by theabove-method are the all information to be get, and the image fusion can beperformed according to this information.The proposed approach is able to handle larger scale image in a short time,namely the real-time performance is good; For small objects, such as hair, fluffyobjects in the images of the human or animal hair and so on, can be extractedeffectively; In terms of transparency calculation, the matting algorithm is used, so theedge extraction is mellow, and the result contain the additional transparency value ofeach pixel, and lay a good foundation for image fusion; As there are translucentobjects in the image, such as glass, glasses, wedding dress and transparent plastic andso on, this paper has a improved algorithm which can effectively completed thecalculation of the translucent area of Alpha (transparency) value, and the algorithm isability to accurately estimate the translucent of the foreground pixels, the extractionresults will not include the background color.

Table of contents

Summary 4-7 Chapter 1 Introduction significance 7-15 1.1 thesis 7 1.2 Summary of automatic extraction prospects 9-12 1.3.2 complex background image foreground ; 7-9 1.3 foreground image extraction research status 9-14 1.3.1 simple background image foreground extraction nbsp extraction organizational structure 12-14 1.4 article 14-15 1.4.1 the main work contents of this article 14 1.4.2 organization 14-15 Chapter 2 several opacity calculation algorithm 15-24 2.1 Bayesian prospects extraction algorithm 15-17 2.2 Knockout foreground extraction algorithm 17-19 2.3 Poisson foreground extraction algorithm 19-21 2.4 Hillman foreground extraction algorithm 21-23 2.5 Summary 23-24 Chapter 3 automatic zoning 24-31 3.1 Trimap zoning 24-25 3.2 automatic zoning step 25-30 3.2.1 using the HSV color space 26 3.2.2 subject region extraction 26-27 3.2.3 extraction results according to subject area Trimap division 27-29 3.2.4 unknown region extraction correction 29-30 3.3 Summary 30-31 Chapter 4 prospects extract 31-36 4.1 opacity calculation 31-34 4.1.1 sample points based clustering select 31-32 4.1.2 Knockout algorithm improved opacity 32-34 4.2 prospects update 34-35 4.3 foreground extraction summary 35-36 Chapter 5 experimental results and improved algorithm 36-43 5.1 results and analysis 36-39 5.2 this algorithm comparison with existing algorithms 39-40 <br / > 5.3 improved algorithm 40-43 Chapter 6 summary and Outlook 43-44 6.1 summarizes 43 6.2 Prospects 43-44 References 44-46 Thanks 46-47 Summary 47-49 Abstract 49 -50