원시데이터 수집 시스템
선정목록으로

Pyramid Matting: A Resource-Adaptive Multi-Scale Pixel Pair Optimization Framework for Image Matting

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Yihui Liang — School of Computer Science, Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan, China
  2. Fujian Feng — School of Software Engineering, South China University of Technology, Guangzhou, China|||School of Data Science and Information Engineering, Guizhou Minzu University, Guiyang, China
  3. Zhaoquan Cai — Research Department, Huizhou University, Huizhou, China|||Shanwei Polytechnic, Shanwei, China
DOI
10.1109/access.2020.2995207
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
12
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.2995207
토픽
Color Science and Applications
OpenAlex ID
W3027444684

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Image matting is an important problem in computer vision with significant theoretical interest and diverse practical applications, including image/video editing, target tracking, and object recognition. Pixel-pair-optimization-based image matting approaches have been shown very successful in estimating the opacity of the foreground by searching for the best pair of foreground and background pixels for each unknown pixel. However, extant approaches encounter difficulties in adapting to the changes of available computing resources, which limits the application of image matting. This drawback has motivated the present study, as a part of which a multi-scale evolutionary pixel pair optimization framework named pyramid matting framework (PMF) was developed. In this framework, the large-scale pixel pair optimization problem is transformed to multiple pixel pair optimization problems of different scales using image pyramid. The resulting problems are solved level by level, starting from the problem at the small scale. Pixel pair heuristic information obtained from solving low-scale problems are iteratively propagated to the spatially-related pixel pairs in the larger-scale problem. PMF can adapt to changes in available computing resources due to its capability of transforming a small-scale problem solution to the large-scale problem solution through the heuristic information propagation. Experimental results show that the PMF-based image matting approach not only provides high-quality alpha mattes with sufficient computing resources, but also works well when computing resources are scarce.

본문 51,270자

본문 펼치기
Received April 2, 2020, accepted May 6, 2020, date of publication May 18, 2020, date of current version June 1, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.2995207_ # Pyramid Matting: A Resource-Adaptive Multi-Scale Pixel Pair Optimization Framework for Image Matting LIANG YIHUI 1, (Member, IEEE), FENG FUJIAN 2,3, AND CAI ZHAOQUAN4,5 1School of Computer Science, Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528400, China 2School of Software Engineering, South China University of Technology, Guangzhou 510006, China 3School of Data Science and Information Engineering, Guizhou Minzu University, Guiyang 550025, China 4Research Department, Huizhou University, Huizhou 516007, China 5Shanwei Polytechnic, Shanwei 516600, China Corresponding author: Feng Fujian (fujian_feng@gzmu.edu.cn) This work was supported in part by the Guangdong Basic and Applied Basic Research Project under Grant 2019A1515111082, in part by the Zhongshan Science and Technology Research Project of Social Welfare under Grant 2019B2010 and Grant 2019B2011, in part by the National Natural Science Foundation of China under Grant 61772225 and Grant 61876207, in part by the High-Level Personnel Scientific Research Foundation Project through the Zhongshan Institute, University of Electronic Science and Technology of China, under Grant 419YKQN15 and Grant 417YKQ12, in part by the National Key Research and Development Program of China under Grant 2018YFC0823803 and Grant 2018YFC0823802, in part by the National Natural Science Foundation of Guangdong under Grant 2018B030311046, in part by the Guangdong University Key Platforms and Research Projects under Grant 2018KZDXM066 and Grant 2017KZDXM081, in part by the Guangzhou Science and Technology Projects under Grant 201802010007 and Grant 201804010276, in part by the Science Technique Department of Guizhou Province under Grant QKHJC [2019]1164, in part by the Funded Research Project of Guizhou Minzu University under Grant GZMU[2019]QN03, and in part by the Major Research Project of Innovation Group of Guizhou Province under Grant QJHKY [2018]018. ABSTRACT Image matting is an important problem in computer vision with significant theoretical interest and diverse practical applications, including image/video editing, target tracking, and object recognition. Pixel-pair-optimization-based image matting approaches have been shown very successful in estimating the opacity of the foreground by searching for the best pair of foreground and background pixels for each unknown pixel. However, extant approaches encounter difficulties in adapting to the changes of available computing resources, which limits the application of image matting. This drawback has motivated the present study, as a part of which a multi-scale evolutionary pixel pair optimization framework named _pyramid_ _matting framework_ (PMF) was developed. In this framework, the large-scale pixel pair optimization problem is transformed to multiple pixel pair optimization problems of different scales using image pyramid. The resulting problems are solved level by level, starting from the problem at the small scale. Pixel pair heuristic information obtained from solving low-scale problems are iteratively propagated to the spatially-related pixel pairs in the larger-scale problem. PMF can adapt to changes in available computing resources due to its capability of transforming a small-scale problem solution to the large-scale problem solution through the heuristic information propagation. Experimental results show that the PMF-based image matting approach not only provides high-quality alpha mattes with sufficient computing resources, but also works well when computing resources are scarce. INDEX TERMS Image matting, pixel pair optimization, multi-scale optimization, evolutionary optimization. I. INTRODUCTION Natural image matting aims to accurately extract foreground objects from a color image with a natural background. The The associate editor coordinating the review of this manuscript and approving it for publication was Shiqi Wang. _Ip_ = _αpFp_ + extraction is implemented through the estimation of alpha matte (foreground opacity) based on user-defined information (typically provided in the form of trimap). The natural image matting model can be mathematically described as: �1 − _αp_ - _Bp_ (1) where the observed color ( _Ip_ ) of a pixel _p_ is denoted as a convex combination of a foreground color ( _Fp_ ) and a background color ( _Bp_ ); _αp_ is the weight of the color composition (i.e. the opacity of the foreground) at pixel _p_ . Hence, _αp_ ranges from 0 to 1, whereby 1 denotes definite foreground pixels and 0 represents definite background pixels. A trimap separates an image into three non-overlapping regions, denoted as: unknown, known foreground and known background regions. The aim of natural image matting is to determine the alpha values of pixels in unknown regions, while those in known foreground and known background regions are denoted as 1 and 0, respectively. Natural image matting has been applied not only to mid-level vision tasks such as image fusion [1], automatic foreground extraction [2], [3], semantic segmentation [4], medical image processing [5] and target tracking [6], but also to high-level vision tasks, such as pedestrian classification [7], object recognition [2], virtual reality [8], and street view augmented reality [9]. As the range of image matting applications broadened, the image matting approach is required to provide satisfactory alpha mattes within a given amount of computing resources. However, the amount of available computing resources changes with the time sensitivity of the image matting task in the applications mentioned above. For example, an image matting approach may be required to provide an alpha matte within seconds in a time-sensitive task, while it can be run for hours in a time-insensitive task. The pixel-pair-optimization-based approach is one of the competitive image matting approaches that have distinct advantages in parallelization [10] and in handling a mislabeled trimap [7] or spatially disconnected foreground [11]–[13]. In this approach, natural image matting problem is modeled as a pixel pair optimization (PPO) problem that can be written as: min _gp_ ( _xp_ ) _s.t. xp_ = ( _xp_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> _p_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> <sup>_, x_</sup> _p_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> _p_ <sup>(</sup> <sup>_B_</sup> <sup>))</sup> <sup>_T_</sup> _p_ ∈ _U,_ _xp_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> _p_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> ∈ _B_ (2) _p_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> ∈ _F,_ _xp_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> FIGURE 1. Pixel pair fitness regarding a small pixel pair decision subspace of the PPO problem pertain to an unknown pixel in an image named GT25. The fitness is obtained by a pixel pair evaluation function proposed in [14]. solved with limited computing resources (for example, hundreds of thousands of optimization problems can be involved in a 0.5 megapixel image); and (3) the PPO problem search space is extensive. As all combinations of the pixels in known foreground and known background regions constitute the set of possible pixel pairs, the number of possible pixel pairs for one unknown pixel in a 0.5 megapixel image could reach 10 <sup>8</sup> . Considering the change of available computing resources in image matting applications, the PPO problem is required to be solved approximately with different amounts of available computing resources. The amount of available computing resources can be quantitatively described by the number of available pixel pair evaluations per unknown pixel (PPE/UP) [15]. The PPO-based approaches described in pertinent literature can be categorized into: sampling-based and evolutionary-optimization-based approaches. Sampling-based approaches reduce decision space with sampling to approximately solve the PPO problem. In most recent studies, alpha mattes are estimated by pixel sampling and pixel pair optimization [14]. Two small sets of pixels are collected from known foreground and known background regions separately to reduce the PPO problem search space. Subsequently, the best pixel pair for each unknown pixel is chosen from the sample sets by optimizing a pixel pair evaluation function. Researchers primarily focused on designing pixel sampling strategies based on spatial relationships in earlier studies on sampling-based approaches. Wang and Cohen [16] assumed that the known foreground or background pixels in close proximity to the unknown pixel may constitute the best pixel pair. In the approach proposed by Gastal and Oliveira [17], rays are emitted from the unknown pixel in different directions and the pixels that are not only on the ray paths but also on the boundary of known regions are collected as samples. On the other hand, He _et al._ [14] improved image matte quality by collecting a greater number of pixel samples. In their where _gp_ ( _xp_ ) is a pixel pair evaluation function for an unknown pixel _p_ ; _U, F_ and _B_ are pixel sets in unknown, known foreground and known background regions, respectively; _xp_ is the pixel pair decision vector for pixel _p_ ; and _xp_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> <sup>_, x_</sup> _p_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> denote a pixel in known foreground and background regions, respectively. Once the foregroud and background colors are given by solving the PPO problem, the alpha value _α_ ˆ _p_ for pixel _p_ can be estimated by applying the following expression: _α_ ˆ _p_ = <sup>(</sup> <sup>_Ip_</sup> <sup>−</sup> <sup>_Bp_</sup> <sup>) · (</sup> <sup>_Fp_</sup> <sup>−</sup> <sup>_Bp_</sup> <sup>)</sup> (3) || _Fp_ - _Bp_ || <sup>2</sup> where || ∗|| <sup>2</sup> denotes Euclidean norm of vector *. The PPO problem remains a significant research topic because of three major difficulties. (1) the pixel pair objective function is non-convex and has lots of local optima, as shown in Fig. 1; (2) substantial optimization problems need to be approaches, all pixels on the boundary of known regions are collected and a randomized search algorithm, rather than the brute force algorithm, is adopted to handle the large number of samples in pixel pair optimization. The sampling strategies mentioned above are known as local sampling strategies, as only the pixels on the boundary of known regions can be collected as samples. The approaches based on local sampling require a small amount of computing resources (most of them require hundreds to thousands PPE/UP [14], [17]). However, local sampling strategies may miss the true sample when the best pair of pixels is not located on the boundary, degrading the alpha matte quality significantly [15], [18]–[22]. Global sampling strategies were developed to alleviate missing true sample problem. Shahrian and Rajan [18], Shahrian _et_ _al._ Shahrian2013 extended local sampling to global sampling by hierarchically clustering the pixels and selecting both the cluster centers and the pixels on the boundaries of known regions as samples. Feng _et_ _al._ [20] used a pixel pair sampling objective function to select good pixel pairs from a candidate set obtained by k-means clustering. Distinct from previous sampling approaches, Johnson _et al._ [21] suggested that the unknown pixel color comprised of a set of unpaired pixel colors, and modeled natural image matting as a sparse coding problem of pixel features. Karacan _et_ _al._ [22] considered pixel sampling as a sparse subset selection problem to increase the diversity of pixel samples. In their work, Kullback-Leibler divergence was employed to measure the feature distance among the cluster centers obtained by a superpixel approach, which provided a quantitative measurement of pixel sample dissimilarity. Huang _et_ _al._ [15] cautioned that true sample may be missed due to: (1) conflicts among sampling criteria adopted; and (2) an incomplete sample space coused by using pixel clustering approaches. Thus they modeled pixel sampling for each unknown pixel as a multi-objective optimization problem and selected the Pareto optimal pixels as samples. In the multi-objective sampling, the pixel (rather than the superpixel) was used as the sampling unit. Global sampling strategies improve the diversity of pixel samples by expanding the sample space and designing sophisticated sampling strategy, while more computing resources are required (thousands to tens of thousands PPE/UP [15]) as the complexity of sampling strategy increases. The main weakness of the sampling-based approach is its failure to adapt to the changes of available computing resources, because it uses a fixed amount of computing resources. Specifically, when the available computing resources are inadequate, the sampling-based approach cannot provide alpha mattes. On the other hand, it cannot utilize all of available computing resources when the computing resources are sufficient. Moreover, the issue of missing true sample cannot be completely eliminated in sampling-based approaches due to the complexity of pixel pair optimization [10]. Recently, several researchers [10], [23]–[25] demonstrated that pixel pairs can be optimized without sampling by using the evolutionary algorithm (a population-based metaheuristic optimization algorithm [26]), which can make use of all available computing resources by adjusting the iteration number of the evolutionary algorithm, and would in theory eliminate the risk of true sample omission. In these approaches (which are known as evolutionary-optimizationbased approaches), all PPO problems involved in an image are solved simultaneously by combining them into one large-scale PPO problem, as illustrated in Eq. (4). min _G_ ( _X_ ) _s.t._ _G_ ( _X_ ) = _N_ _k_ =1 _gk_ ( _xk_ ) _,_ _X_ = _(x_ 1 _, x_ 2 _,_ - · · _, xN_ _),_ _k_ - _T_ _,_ _xk_ = - _xk_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> _k_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> _, xk_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> _k_ = 1 _,_ 2 _, . . ., N_ _xk_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> ∈ _F, xk_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> ∈ _k_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> ∈ _F, xk_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> _k_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> ∈ _B_ (4) where _G_ ( _X_ ) is the fitness function for the large-scale PPO problem; _gk_ ( _xk_ ) and _xk_ denote the pixel pair evaluation function and the pixel pair for the _k_ -th unknown pixel, respectively; _N_ is the number of unknown pixels; and _xk_ <sup>(</sup> <sup>_F_</sup> <sup>)</sup> _, xk_ <sup>(</sup> <sup>_B_</sup> <sup>)</sup> denote the foreground-background pixel pair for the _k_ -th unknown pixel. The evolutionary-optimization-based approach improves the performance of image matting by performing a global search with an evolutionary algorithm. However, the evolutionary-optimization-based approach requires extensive computing resources (hundreds of thousands PPE/UP [23]) to provide a high-quality alpha matte. Therefore, some attempts have been made to improve the search capability of evolutionary-optimization-based approaches. Cai _et_ _al._ [23] suggested that correlations of unknown pixel colors can be used to improve the search capability of evolutionary-optimization-based approaches. In their work, a cooperative coevolution operator was embedded into differential evolution algorithm to group unknown pixels with similar colors and optimize the groups separately. In our previous study [10], we pointed out that each of the evaluation criteria involved in pixel pair evaluation can provide heuristic information for PPO. In our previous work, the heuristic information was used to support the optimization by transforming PPO problem into a multi-objective problem and solving it via a multi-objective evolutionary algorithm. Moreover, local smoothness prior was incorporated into the neighborhood grouping strategy such that pixel pairs can be optimized collaboratively, which significantly reduces demand for computing resources. Specifically, the pixel pairs regarding unknown pixels within a 9×9 region are considered as a group in the neighborhood grouping strategy. Half of pixel pairs in a group were selected and optimized, while the remaining pixel pairs adopted the optimization results shared by the selected pixel pairs. Our previous study demonstrated that the evolutionary-optimization-based approach can provide high-quality alpha mattes within thousands PPE/UP. However, evolutionary-optimization-based approaches still suffer from a major drawback that they cannot provide high-quality alpha mattes when computing resources are scarce (e.g. the available computing resources can only perform dozens PPE/UP). Neither sampling-based approaches nor extant evolutionary-optimization-based approaches can provide satisfactory alpha mattes with different amounts of computing resources. There has been little discussion about adapting to the change of available computing resources in image matting tasks. This issue motivated the present study, as a part of which we designed a multi-scale evolutionary pixel pair optimization framework named _pyramid_ _matting_ _framework_ (PMF). PMF transforms the large-scale PPO problem into multiple PPO problems of different scales by image pyramid (a multi-scale image representation approach [27]), and solves them sequentially from small to large scales. The heuristic information found in a small-scale problem is propagated iteratively to the larger-scale one. The propagation generates a solution for the large-scale PPO problem using the heuristic information obtained in small-scale problems. Specifically, a pixel pair pertain to an unknown pixel obtained by solving a small-scale PPO problem is propagated to multiple spatial-related pixel pairs pertain to the unknown pixels within a local region in a larger-scale PPO problem. The heuristic information propagation provides the capability of computing resource adaptation for PMF, because it can not only generate alpha mattes according to a solution of the PPO problem at a small scale, but also make use of heuristic information obtained from solving small-scale PPO problems. The remainder of this paper is structured as follows: Section II details the process of the proposed pyramid matting framework, while the experimental results are presented in Section III and Section VI concludes the paper. II. PYRAMID MATTING FRAMEWORK This section describes a computing-resource-adaptive multi-scale evolutionary pixel pair optimization framework named pyramid matting framework. Fig. 2 provides a graphical illustration of the proposed pyramid matting framework. The core PMF principle is based on searching for pixel pairs at different image scales and propagating the heuristic information from small to large scales. Local smoothness prior is utilized during heuristic information propagation. The heuristic information of each pixel pair in a small-scale image is propagated to multiple pixel pairs regarding the unknown pixels within a local region of a larger-scale image, as shown in Fig. 2. Moreover, with the heuristic information propagation, the PPO problem solution at the large scale can be generated according to the solution at any smaller scale, which provides the capability of adapting to the changes of available computing resources. Algorithm 1 provides the pseudo-code of PMF, while the definitions of symbols used in PMF are shown in Table 1. PMF comprises two steps: (1) image matting pyramid TABLE 1. Definitions of symbols used in the pyramid matting framework. construction; and (2) multi-scale pixel pair search with heuristic information propagation. The details of image matting pyramid construction are provided in Subsection II-A, and the process adopted when searching for pixel pairs with heuristic information propagation is presented in Subsection II-B. _A._ _IMAGE MATTING PYRAMID CONSTRUCTION_ The fist step in the PMF involves building multi-scale representation for both the image and the trimap (which we denote as image matting pyramid). Image pyramid [27] was adopted in PMF for two reasons. (1) The images at two adjacent levels of the image pyramid are highly similar. Considering the similarity, searching for pixel pairs in the small-scale image may provide heuristic information for the search of larger-scale images. (2) The difficulty in solving image matting problem decreases with the image scale. When an image and the corresponding trimap are scaled down, both the decision vector dimension and the search space reduce significantly in the corresponding PPO problem. FIGURE 2. Schematic diagram of the pyramid matting framework. FIGURE 3. A comparison of images at different scales. <u>Algorithm 1</u> <u>Pyramid Matting Framework</u> Input: _I_ and _T_ . Output: _Xbest_ 1: _// Build the image matting pyramid:_ 2: { _P, Np_ } ← _Pyramid_ ( _I, T_ ) 3: _// Search pixel pairs at multiple scales:_ 4: _n_ ← _Np_ 5: _Xn_ ← _O_ ( _P_ ( _n_ )) 6: for _n_ = _Np_ - 1 to 1 do 7: _//_ _Propagate_ _heuristic_ _information_ _from_ _the_ _small-scale to the larger-scale PPO problems:_ 8: _Xn_ <sup>_init_</sup> ← _M_ ( _P_ ( _n_ + 1) _, Xn_ +1 _, P_ ( _n_ )) 9: if _stop criterion_ is not met then 10: _// Search pixel pairs at the larger-scale PPO problem:_ 11: Select a subset of pixel pairs _�n_ to be optimized on the _n_ -th level of pyramids by using a selection criterion. 12: _Xn_ ← _O_ ( _P_ ( _n_ ) _, �n, Xn_ <sup>_init_</sup> ) Algorithm 2 Image Matting Pyramid Construction (i.e. _<u>Pyramid</u>_ <u>(</u> _<u>I, T</u>_ <u>))</u> Input: _I_ and _T_ . Output: _P_ and _Np_ 1: _n_ ← 1 2: _P_ ( _n_ ) ←{ _I, T_ } 3: do 4: _PI_ ( _n_ + 1) ← _SI_ <sup>↓</sup> 5: _PT_ ( _n_ + 1) ← _ST_ <sup>↓</sup> _I_ <sup>↓(</sup> <sup>_PI_</sup> <sup>(</sup> <sup>_n_</sup> <sup>))</sup> 5: _PT_ ( _n_ + 1) ← _ST_ <sup>↓</sup> <sup>(</sup> <sup>_PT_</sup> <sup>(</sup> <sup>_n_</sup> <sup>))</sup> 6: _P_ ( _n_ + 1) ←{ _PI_ ( _n_ ) _, PT_ ( _n_ )} 7: _n_ = _n_ + 1 13: else _Xn_ = _Xn_ <sup>_init_</sup> 14: end if _n_ <sup>_init_</sup> ) 15: end for 16: _Xbest_ = _Xn_ 17: return _Xbest_ Algorithm 2 describes an implementation of image matting pyramid construction. Notice that nearest-neighbor interpolation was adopted in the scale down operator for trimaps 8: while _pyramid construction stop criterion_ is not met 9: _Np_ ← _n_ 10: return _P, Np_ (i.e. _S_ <sup>↓</sup> _T_ <sup>())</sup> <sup>to</sup> <sup>ensure</sup> <sup>that</sup> <sup>trimaps</sup> <sup>take</sup> <sup>appropriate</sup> <sup>values.</sup> The aim of image matting pyramid is to provide multi-scale representation for image matting. However, scaling images to a very small size may reduce level of detail considerably, as shown in Fig. 3(c). Thus, to avoid inclusion of overly small images into the image matting pyramid, the pyramid construction stop criteria were established. In the current implementation, the down-sampling loop terminates when one of the dimensions declines below 100 pixels. The image size set in the stop criterion is not a sensitive parameter, because downsample operator halves both the width and Algorithm 3 Heuristic Information Propagation (i.e. _<u>M</u>_ <u>(</u> _<u>P</u>_ <u>(</u> _<u>n</u>_ + 1) _<u>, Xn</u>_ +1 _<u>, P</u>_ <u>(</u> _<u>n</u>_ <u>)))</u> Input: _P_ ( _n_ + 1) _, Xn_ +1 and _P_ ( _n_ ). Output: _Xn_ <sup>_init_</sup> 1: for each pixel _p_ in unknown regions of the _n_ + 1-th level of the pyramid (i.e. _P_ ( _n_ + 1)) do 2: ( _x_ 1 _, x_ 2) ← _Xn_ +1( _p_ ) 3: for each pixel _q_ ∈ _N_ ( _p_ ) do 4: _x_ 1 <sup>′</sup> 5: _x_ 2 <sup>′</sup> 1 <sup>′</sup> <sup>←select a pixel from</sup> <sup>_N_</sup> <sup>(</sup> <sup>_x_</sup> <sup>1) randomly</sup> 2 <sup>′</sup> <sup>←select a pixel from</sup> <sup>_N_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2) randomly</sup> _n_ <sup>_init_</sup> ( _q_ ) ← ( _x_ 1 <sup>′</sup> 6: _Xn_ <sup>_init_</sup> 1 <sup>′</sup> <sup>_, x_</sup> 2 <sup>′</sup> <sup>)</sup> 7: end for 8: end for 9: return _Xn_ <sup>_init_</sup> length of the images in each iteration. Other stop criteria can be used in image matting pyramid construction. _B._ _MULTI-SCALE PIXEL PAIR SEARCH WITH HEURISTIC_ _INFORMATION PROPAGATION_ Multi-scale pixel pair search plays an important role in PMF, as searches are conducted for all pixel pairs at each level of the image matting pyramid and the heuristic information is propagated across different-scale images. In multi-scale pixel pair search, the pixel pair search is performed level by level from top to bottom of the image matting pyramid, and heuristic information propagation and single-scale searching are performed alternately, as described in the iteration shown in Algorithm 1, lines 6-15. Notice that the PPO problem pertaining to the top level of the pyramid is optimized by the evolutionary optimizer before the iterative search (as shown in Algorithm 1, lines 5), which provides initial pixel pairs for heuristic information propagation. Heuristic information propagation aims to propagate the heuristic information obtained by searching at the previous level of pyramid to the current level. However, the PPO problems corresponding to adjacent levels of the image pyramid change significantly in terms of decision vectors and decision space, although the corresponding images look highly similar. This poses the question of where the heuristic information should be propagated. The heuristic information propagation addresses this issue by determining correlations of pixel pairs among PPO problems at different scales. Algorithm 3 presents an implementation of heuristic information propagation. In heuristic information propagation, the neighbors of pixel pairs at the adjacent levels of the pyramid are defined using image matting pyramid. Here, unknown pixels will be used as an example to illustrate the definition of neighboring pixel. Those unknown pixels at current level of the pyramid used to calculate the average color of an unknown pixel in the previous level are defined as the neighbors of the unknown pixel. The neighborhood relations of pixels at different scales can be extended to pixel pairs, since each pixel pair corresponds to a pixel in unknown regions. Definitions of neighbors of a foreground or background pixel can be given by analogy. Decision vector transformation and decision space transformation are involved in heuristic information propagation. Decision vector transformation utilizes local smoothness prior in unknown regions. The pixel pair decision vector at the previous level of the pyramid is transformed to that at the current level (which corresponds to a larger-scale PPO problem) according to pixel pair neighborhood relations in the decision vector transformation process. However, pixel pairs obtained from decision vector transformation cannot be used directly at the current level of the pyramid due to the change in the decision space. Search space transformation was thus designed to transform foreground pixels and background pixels from a small-scale PPO problem to a larger-scale PPO problem. Either the foreground pixel or the background pixel of a pixel pair obtained by decision vector transformation may correspond to more than one neighboring pixels in the current level of the pyramid. One foreground pixel and one background pixel were determined for each pixel pair in a larger-scale PPO problem by applying random selection on neighbors separately. Single-scale search is performed after heuristic information propagation for each iteration (as described in Algorithm 1, lines 10-12), in which heuristic information that has been propagated from the previous level of the pyramid is used through pixel pair selection and pixel pair evolutionary optimization. Some of the pixel pairs in the initial decision vector obtained by heuristic information propagation are of high quality and can provide accurate alpha value estimation due to the local smoothness prior. It is not necessary to apply evolutionary optimization on high-quality pixel pairs. Consequently, only half of pixel pairs with low fitness are selected from the initial decision vector to be optimized in pixel pair selection process (which implements the selection criterion in Algorithm 1, line 11). The pixel pair selection avoid redundant search and can therefore improve the search efficiency. Pixel pair evolutionary optimization is subsequently applied to each selected pixel pair. The pixel pair in the initial decision vector is provided as an initial individual to the evolutionary optimizer to use the heuristic information propagated from the small-scale PPO problems. III. EXPERIMENTAL RESULTS In this section, findings yielded by three experiments are reported to evaluate the presented pyramid matting framework with different amounts of computing resources. _A._ _EXPERIMENTAL DESIGN_ Three representative cases were considered in the experiments, which correspond to the cases where image matting approaches can be run for hours, minutes and seconds in a workstation computer, respectively. In case one, the maximum number of PPE/UP was set to 5000 (which is consistent with the setting in [10]) to evaluate the performance of PMF with sufficient computing resources. The maximum number of PPE/UP was set to 50 in case two, which corresponds to the case where image matting approaches are required to provide an alpha matte within minutes on a workstation computer. The maximum number of PPE/UP was further reduced to five in case three to demonstrate the performance of involved approaches with very few computing resources. The first experiment was conducted to verify the PMF effectiveness with sufficient computing resources by comparing the performance of evolutionary-optimization-based approaches with and without PMF in case one. The second experiment shows the performance of PMF-based approach in case two and case three where limited computing resources are available. In the last experiment, a visual comparison was performed among the alpha mattes obtained by the PMF-based approach and that yielded by the state-of-the-art image matting approaches based on pixel pair optimization. All three experiments were carried out on a popular image matting benchmark dataset [28], which provides 27 color images with their ground-truth alpha mattes. Two types of trimaps, including the trimaps with small unknown regions and that with large unknown regions, were used in the experiments. The ground-truth alpha mattes were used to evaluate the performance of the involved approaches. Notice that all involved approaches were performed without pre-processing and post-processing processes in the experiments to provide a fair comparison, because these processes may affect the quality of alpha mattes [29]. The pixel pair evaluation function presented in the literature [10] was used in the pixel pair optimization for all involved evolutionary-optimizationbased approaches. A widely used performance metric named mean square error (MSE) was used to measure the error between an estimated alpha matte and the ground-truth matte quantitatively, which can be written as: competitive swarm optimization (CSO) [30] as evolutionary optimizers, respectively. The parameters involved in the evolutionary optimizers were adopted from pertinent literature [10], [30], respectively. The resulting PMF-based approaches are called MEOAMCD-PMF and CSO-PMF, respectively. Consequently, the original MOEAMCD and CSO were used as a baseline in the comparison. All involved approaches were run 30 times on each image separately to allow for statistical analysis of their performance. Table 2 and Table 3 provide the average value and standard deviation of MSE obtained by the evolutionary-optimizationbased approaches with and without PMF. Table 2 shows the results yielded by using the trimap with small unknown regions, while the results of using the trimap with large unknown regions are shown in Table 3. The average values of MSE obtained by PMF-based approaches are smaller than those obtained by the original approaches in almost all the cases, as shown in Table 2 and Table 3. MOEAMCD-PMF outperforms MOEAMCD on 23 out of 27 images in terms of average MSE in the comparison involving the trimap with small unknown regions, as well as on 21 out of 27 images in the comparison involving the trimap with large unknown regions. Moreover, CSO-PMF provides alpha mattes with lower average MSE than CSO on all 27 images in both comparisons. These experimental results indicate that the quality of alpha mattes obtained by the involved approaches was improved by adopting PMF in the case with sufficient computing resources. The observed decline in MSE can be attributed to the search capability improvement through heuristic information propagation, which provides useful heuristic information across the multi-scale pixel pair search. With the propagated heuristic information, the search capability of evolutionary-optimization-based approaches can be improved when the computing resources are sufficient. _C._ _IMAGE MATTING WITH LIMITED COMPUTING_ _RESOURCES_ The goal of the second experiment was to verify if PMF can provide high-quality alpha mattes when computing resources are limited. Case two and case three were considered in this experiment. Two PMF-based approaches (MOEAMCD-PMF and CSO-PMF) were involved in this experiment, and the approach with the closest performance to the PMF-based method in the first experiment, MOEAMCD, was used as a baseline. This experiment was conducted using the trimap with small unknown regions in the dataset [28]. The involved approaches were run 30 times to facilitate a statistical analysis of their performance. Table 4 shows the average MSE of 27 images obtained by PMF-based approaches and MOEAMCD [10] in case two and case three. Notice that PMF-based approach works well in both cases, whereas MOEAMCD failed in case three, since computational resource was insufficient for MOEAMCD in this case. 40 PPE/UP were performed in the neighborhood grouping strategy employed in MOEAMCD, but only five PPE/UP could be evaluated in case three. _ε_ = _p_ <sup>(</sup> <sup>_α_</sup> <sup>ˆ</sup> <sup>_p_</sup> <sup>−˜</sup> <sup>_αp_</sup> <sup>)2</sup> <sup>_/N_</sup> (5) where _ε_ denotes the MSE of an estimated alpha matte. _α_ ˆ _p_ and _α_ ˜ _p_ denote the alpha values at pixel _p_ in the estimated and the ground-truth alpha matte, respectively. A small observed value of MSE indicates a high-quality alpha matte. All experiments were conducted on a workstation computer with an Intel Core i7 3.6-GHz CPU and 32 GB of memory. The involved approaches were implemented in MATLAB. _B._ _IMAGE MATTING WITH SUFFICIENT COMPUTING_ _RESOURCES_ The aim of the first experiment was to ascertain whether PMF can provide high-quality alpha mattes when computing resources are sufficient. A comparison between evolutionaryoptimization-based approaches with and without PMF was conducted using the setting of case one in this experiment. Two image matting approaches were implemented within PMF by taking a state-of-the-art evolutionary-optimizationbased approach named multiobjective evolutionary algorithm based on multicriteria decomposition (MOEAMCD) [10] and a popular large-scale evolutionary optimizer named TABLE 2. Image matting performance comparison between evolutionary-optimization-based approaches with and without pyramid matting framework in terms of the average value and standard deviation of MSE for 27 images from the benchmark dataset [28] using trimap with small unknown regions. The maximum number of pixel pair evaluations per unknown pixel was set to 5000. The bold numbers represent the better MSE in the comparison. TABLE 3. Image matting performance comparison between evolutionary-optimization-based approaches with and without pyramid matting framework in terms of the average value and standard deviation of MSE for 27 images from the benchmark dataset [28] using trimap with large unknown regions. The maximum number of pixel pair evaluations per unknown pixel was set to 5000. The bold numbers represent the better MSE in the comparison. MOEAMCD-PMF provided alpha mattes with lower average MSE than MOEAMCD on 15 out of 27 images in case one. These results indicate that the PMF can adapt to the changes in computing resources and provide alpha mattes with different amounts of computing resources. This success can be attributed to the multi-scale pixel pair search with heuristic TABLE 4. Average MSE on 27 images from the benchmark dataset [28] obtained by PMF-based approaches (MOEAMCD-PMF and CSO-PMF) and a state-of-the-art evolutionary-optimization-based image matting approaches (MOEAMCD) [10] using trimap with small unknown regions. The maximum number of PPE/UP was set to 50 and 5 in case one and case two, respectively. The bold numbers represent the best MSE in the comparison. FIGURE 4. Visual comparison of alpha mattes obtained in case two by MOEAMCD [10], MOEAMCD-PMF, CSO-PMF. (a) Input image in which the red line and the blue line denote the boundary of known foreground regions and background regions respectively. (b) Zoomed-in region. (c) Ground-truth alpha matte. (d) Alpha matte obtained by MOEAMCD [10]. (e) Alpha matte obtained by MOEAMCD-PMF. (f) Alpha matte obtained by CSO-PMF. Arrows indicate regions of low-quality mattes. information propagation, which prioritizes small-scale PPO problems and transforms a solution of a small-scale PPO problem to the corresponding solution of the large-scale PPO problem when computing resources are insufficient. When the computing resources are inadequate for optimizing all PPO problems of different scales, heuristic information propagation generates alpha mattes by transforming the best known solution for a small-scale PPO problem to the solution for the large-scale PPO problem. Heuristic information obtained from the small-scale problem is effectively used during the propagation, which ensures the quality of the generated solution. Although MOEAMCD-PMF still outperforms MOEAMCD on 15 out of 27 images, its performance advantage of MOEAMCD-PMF over MOEAMCD declines when restrictions are imposed on computing resources. Similar findings were obtained in the comparison between MOEAMCD-PMF and CSO-PMF in case three, as shown in Table 4. These results can be explained by the imbalance of computing resource between the pixel pair search and the heuristic information propagation. When the available computing resources are limited, the neighborhood grouping strategy of MOEAMCD may take up most of the resources, making pixel pair search challenging. Although PMF provides heuristic information across the multi-scale pixel pair search, MOEAMCD-PMF exacerbates the imbalance reducing the quality of identified pixel pairs, because additional FIGURE 5. Visual comparison of alpha mattes obtained by MOEAMCD-PMF, MOEAMCD [10], KL divergence matting [22] PDMS matting [15] and CCDE matting [23]. (a) Input image in which the red line and the blue line denote the boundary of known foreground regions and background regions respectively. (b) Zoomed-in region. (c) Ground-truth alpha matte. (d) Alpha matte obtained by MOEAMCD-PMF. (e) Alpha matte obtained by MOEAMCD [10]. (f) Alpha matte obtained by KL-divergence matting [22]. (g) Alpha matte obtained by PDMS matting [15]. (h) Alpha matte obtained by CCDE matting [23]. Arrows indicate regions of low-quality mattes. computing resources are required in PMF resulting that fewer computing resources can be allocated to pixel pair search. CSO-PMF does not involve neighborhood grouping strategy, as a result, more computing resources are allocated to pixel pair search redressing the computing resource imbalance. Therefore, CSO-PMF outperforms MOEAMCD-PMF in 10 out of 27 cases in case three. Fig. 4 shows a visual comparison of alpha mattes obtained by MOEAMCD [10], MOEAMCD-PMF and CSO-PMF in case two. Both MOEAMCD-PMF and CSO-PMF provide alpha mattes with sharp boundaries and less noise in case two. The results confirms that PMF can adapt to the change of available computing resources, and PMF-based approaches provide acceptable alpha mattes even when the available computing resources are scarce. However, the alpha mattes obtained by PMF-based approaches with few computing resources degrade when the local smoothness assumption is not satisfied (e.g. hole), as shown in the last row of Fig. 4. _D._ _VISUAL EVALUATION_ The third experiment was conducted to provide a visual comparison of alpha mattes among the PMF-based approach and other state-of-the-art PPO-based approaches. MOEAMCD-PMF, two state-of-the-art sampling-based image matting approaches (pixel-level discrete multiobjective sampling (PDMS) matting [15] and KL-Divergence matting [22]) and two recently proposed evolutionaryoptimization-based image matting approaches, including MOEAMCD [10] and cooperative coevolution differential evolution matting (CCDE) [23], were involved in this experiment. The maximum number of PPE/UP for the involved evolutionary algorithms was set to 5000 in this experiment, considering thousands PPE/UP were performed in the involved sampling-based image matting approaches [15]. As shown in Fig. 5, the evolutionary approaches based on local smoothness prior (MOEAMCD-PMF and MOEAMCD) provide high-quality alpha mattes, while the evolutionary approaches without local smoothness prior (CCDE) do not. This finding indicates that the local smoothness prior plays an important role in pixel pair optimization. Moreover, the alpha matte obtained by MOEAMCD-PMF is visually superior to that yielded by MOEAMCD, which confirms that PMF improves the search capability of evolutionary-optimization-based approaches and provides a feasible multi-scale evolutionary pixel pair optimization framework to efficiently solve PPO problem. MOEAMCD-PMF also outperforms the state-of-theart sampling-based approaches as the resulting alpha mattes provide fine detail and generate less noise. IV. CONCLUSION This paper presents a multi-scale evolutionary pixel pair optimization framework (pyramid matting framework) for image matting. It provides a feasible way of adapting to the change of available computing resources for the image matting approaches based on evolutionary optimization. PMF first transforms the large-scale PPO problem to multiple PPO problems at different scales by constructing image pyramid for the input image and trimap. The pixel pair search is subsequently applied level by level, from the top to the bottom of the image matting pyramid. PMF propagates the heuristic information of pixel pairs found in the PPO problem at a small scale to that at a higher scale. Each optimized pixel pair in a small-scale image is propagated to multiple pixel pairs regarding the unknown pixels within a local region of a larger-scale image. A reasonable solution of the large-scale PPO problem can be generated with the heuristic information propagation according to the PPO problem solution at small scales. We have shown that PMF can adapt to the change of available computing resources and have demonstrated that evolutionary-optimization-based approaches with PMF not only provide high-quality alpha mattes when computing resources are sufficient but also provide acceptable alpha mattes even under computing resource limitations. However, PMF-based approaches cannot provide high-quality alpha mattes when unsmooth regions are involved and computing resources are scarce. Further work may include adaptive computing resource allocation between the pixel pair search and the heuristic information propagation and scene-aware pixel pair optimization strategy for unsmooth regions. REFERENCES [1] Y. Chen, J. Guan, and W.-K. Cham, ‘‘Robust multi-focus image fusion using edge model and multi-matting,’’ _IEEE Trans. Image Process._, vol. 27, no. 3, pp. 1526–1541, Mar. 2018. [2] D. Cho, S. Kim, Y.-W. Tai, and I. S. Kweon, ‘‘Automatic trimap generation and consistent matting for light-field images,’’ _IEEE Trans. Pattern Anal._ _Mach. Intell._, vol. 39, no. 8, pp. 1504–1517, Aug. 2017. [3] S.-H. Kim, Y.-W. Tai, J. Park, and I. S. Kweon, ‘‘Multi-view object extrac tion with fractional boundaries,’’ _IEEE_ _Trans._ _Image_ _Process._, vol. 25, no. 8, pp. 3639–3654, Aug. 2016. [4] Y. Aksoy, T.-H. Oh, S. Paris, M. Pollefeys, and W. Matusik, ‘‘Semantic soft segmentation,’’ _ACM Trans. Graph._, vol. 37, no. 4, pp. 1–13, Aug. 2018. [5] Z. Fan, J. Lu, C. Wei, H. Huang, X. Cai, and X. Chen, ‘‘A hierarchical image matting model for blood vessel segmentation in fundus images,’’ _IEEE Trans. Image Process._, vol. 28, no. 5, pp. 2367–2377, May 2019. [6] J. Fan, X. Shen, and Y. Wu, ‘‘Scribble tracker: A matting-based approach for robust tracking,’’ _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 34, no. 8, pp. 1633–1644, Aug. 2012. [7] Y. Liang, H. Huang, Z. Cai, Z. Hao, and K. C. Tan, ‘‘Deep infrared pedestrian classification based on automatic image matting,’’ _Appl._ _Soft_ _Comput._, vol. 77, pp. 484–496, Apr. 2019. [8] T. Chen, M.-M. Cheng, P. Tan, A. Shamir, and S.-M. Hu, ‘‘Sketch2photo: Internet image montage,’’ _ACM_ _Trans._ _Graph._, vol. 28, no. 5, pp. 1–10, Dec. 2009. [9] J. Kopf, B. Neubert, B. Chen, M. Cohen, D. Cohen-Or, O. Deussen, M. Uyttendaele, and D. Lischinski, ‘‘Deep photo: Model-based photograph enhancement and viewing,’’ _ACM Trans. Graph._, vol. 27, no. 5, pp. 1–10, Dec. 2008. [10] Y. Liang, H. Huang, Z. Cai, and Z. Hao, ‘‘Multiobjective evolutionary optimization based on fuzzy multicriteria evaluation and decomposition for image matting,’’ _IEEE_ _Trans._ _Fuzzy_ _Syst._, vol. 27, no. 5, pp. 1100–1111, May 2019. [11] X. Chen, D. Zou, Q. Zhao, and P. Tan, ‘‘Manifold preserving edit propa gation,’’ _ACM Trans. Graph._, vol. 31, no. 6, pp. 1–7, Nov. 2012. [12] Y. Aksoy, T. O. Aydin, and M. Pollefeys, ‘‘Designing effective inter-pixel information flow for natural image matting,’’ in _Proc. IEEE Conf. Comput._ _Vis. Pattern Recognit. (CVPR)_, Jul. 2017, pp. 29–37. [13] X. Li, J. Li, and H. Lu, ‘‘A survey on natural image matting with closed form solutions,’’ _IEEE Access_, vol. 7, pp. 136658–136675, 2019. [14] K. He, C. Rhemann, C. Rother, X. Tang, and J. Sun, ‘‘A global sampling method for alpha matting,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._, Jun. 2011, pp. 2049–2056. [15] H. Huang, Y. Liang, X. Yang, and Z. Hao, ‘‘Pixel-level discrete multiob jective sampling for image matting,’’ _IEEE Trans. Image Process._, vol. 28, no. 8, pp. 3739–3751, Aug. 2019. [16] J. Wang and M. F. Cohen, ‘‘Optimized color sampling for robust matting,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit._, Jun. 2007, pp. 1–8. [17] E. S. L. Gastal and M. M. Oliveira, ‘‘Shared sampling for real-time alpha matting,’’ _Comput. Graph. Forum_, vol. 29, no. 2, pp. 575–584, May 2010. [18] E. Shahrian and D. Rajan, ‘‘Weighted color and texture sample selection for image matting,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit._, Jun. 2012, pp. 718–725. [19] E. Shahrian, D. Rajan, B. Price, and S. Cohen, ‘‘Improving image matting using comprehensive sampling sets,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern Recognit._, Jun. 2013, pp. 636–643. [20] X. Feng, X. Liang, and Z. Zhang, ‘‘A cluster sampling method for image matting via sparse coding,’’ in _Proc._ _Eur._ _Conf._ _Comput._ _Vis._ Cham, Switzerland: Springer, 2016 pp. 204–219. [21] J. Johnson, E. S. Varnousfaderani, H. Cholakkal, and D. Rajan, ‘‘Sparse coding for alpha matting,’’ _IEEE_ _Trans._ _Image_ _Process._, vol. 25, no. 7, pp. 3032–3043, Jul. 2016. [22] L. Karacan, A. Erdem, and E. Erdem, ‘‘Alpha matting with KL-divergence based sparse sampling,’’ _IEEE_ _Trans._ _Image_ _Process._, vol. 26, no. 9, pp. 4523–4536, Sep. 2017. [23] Z.-Q. Cai, L. Lv, H. Huang, H. Hu, and Y.-H. Liang, ‘‘Improving sampling based image matting with cooperative coevolution differential evolution algorithm,’’ _Soft Comput._, vol. 21, no. 15, pp. 4417–4430, Aug. 2017. [24] Y. Liang, H. Huang, Z. Cai, and L. Lv, ‘‘Particle swarm optimization with convergence speed controller for sampling-based image matting,’’ in _Proc._ _Int._ _Conf._ _Intell._ _Comput._ Cham, Switzerland: Springer, 2018, pp. 656–668. [25] Z.-Q. Cai, L. Lv, H. Huang, and Y.-H. Liang, ‘‘A discrete bio-inspired meta heuristic algorithm for efficient and accurate image matting,’’ _Memetic_ _Comput._, vol. 11, no. 1, pp. 53–64, Mar. 2019. [26] A. E. Eiben and J. E. Smith, _Introduction_ _to_ _Evolutionary_ _Computing_ . Cham, Switzerland: Springer, 2003, vol. 53, pp. 25–48. [27] D. A. Forsyth and J. Ponce, ‘‘A modern approach,’’ in _Computer_ _Vision:_ _A Modern Approach_, vol. 17. Upper Saddle River, NJ, USA: Prentice-Hall, 2003, pp. 21–48. [28] C. Rhemann, C. Rother, J. Wang, M. Gelautz, P. Kohli, and P. Rott, ‘‘A perceptually motivated online benchmark for image matting,’’ in _Proc._ _IEEE Conf. Comput. Vis. Pattern Recognit._, Jun. 2009, pp. 1826–1833. [29] G.-L. Yao, ‘‘A survey on pre-processing in image matting,’’ _J. Comput. Sci._ _Technol._, vol. 32, no. 1, pp. 122–138, Jan. 2017. [30] R. Cheng and Y. Jin, ‘‘A competitive swarm optimizer for large scale opti mization,’’ _IEEE Trans. Cybern._, vol. 45, no. 2, pp. 191–204, Feb. 2015. LIANG YIHUI (Member, IEEE) received the B.S. degree in digital media technology from the Xi’an University of Technology, China, in 2012, and the M.Eng. and Ph.D. degrees in software engineering from the South China University of Technology, China, in 2015 and 2019, respectively. He is currently a Lecturer with the School of Computer Science, Zhongshan Institute, University of Electronic Science and Technology of China. His current research interests include alpha matting and image processing. FENG FUJIAN was born in 1986. He received the B.S. degree in computer science and technology from Shandong Technology and Business University, Shandong, China, in 2009, and the M.S. degree in probability theory and mathematical statistics from Guizhou Minzu University, Guizhou, China, in 2013. He is currently pursuing the Ph.D. degree with the School of Software Engineering, South China University of Technology. His research interests include alpha matting and swarm intelligence and their application. CAI ZHAOQUAN received the bachelor’s degree in computer science and technology from the South China University of Technology, in 1998, and the master’s degree in computer science and technology from the Huazhong University of Science and Technology, Wuhan, China, in 2006. He is currently the Director of the Science Research Management Department, Huizhou University. His main current research interests include computer networks, and intelligent computing and database. He is a member of the China Computer Federation.

섹션 본문 42문단 · 36,515자

(제목 없음)

1Image matting is an important problem in computer vision with significant theoretical interest and diverse practical applications, including image/video editing, target tracking, and object recognition. Pixel-pair-optimization-based image matting approaches have been shown very successful in estimating the opacity of the foreground by searching for the best pair of foreground and background pixels for each unknown pixel. However, extant approaches encounter difficulties in adapting to the changes of available computing resources, which limits the application of image matting. This drawback has motivated the present study, as a part of which a multi-scale evolutionary pixel pair optimization framework named pyramid matting framework (PMF) was developed. In this framework, the large-scale pixel pair optimization problem is transformed to multiple pixel pair optimization problems of different scales using image pyramid. The resulting problems are solved level by level, starting from the problem at the small scale. Pixel pair heuristic information obtained from solving low-scale problems are iteratively propagated to the spatially-related pixel pairs in the larger-scale problem. PMF can adapt to changes in available computing resources due to its capability of transforming a small-scale problem solution to the large-scale problem solution through the heuristic information propagation. Experimental results show that the PMF-based image matting approach not only provides high-quality alpha mattes with sufficient computing resources, but also works well when computing resources are scarce.INDEX TERMS Image matting, pixel pair optimization, multi-scale optimization, evolutionary optimization.

I. INTRODUCTION

2Natural image matting aims to accurately extract foreground objects from a color image with a natural background. The

3The associate editor coordinating the review of this manuscript and approving it for publication was Shiqi Wang. extraction is implemented through the estimation of alpha matte (foreground opacity) based on user-defined information (typically provided in the form of trimap). The natural image matting model can be mathematically described as: where the observed color (I p ) of a pixel p is denoted as a convex combination of a foreground color (F p ) and a background color (B p ); α p is the weight of the color composition (i.e. the opacity of the foreground) at pixel p. Hence, α p ranges from 0 to 1, whereby 1 denotes definite foreground pixels and 0 represents definite background pixels. A trimap separates an image into three non-overlapping regions, denoted as: unknown, known foreground and known background regions. The aim of natural image matting is to determine the alpha values of pixels in unknown regions, while those in known foreground and known background regions are denoted as 1 and 0, respectively. Natural image matting has been applied not only to mid-level vision tasks such as image fusion [1], automatic foreground extraction [2], [3], semantic segmentation [4], medical image processing [5] and target tracking [6], but also to high-level vision tasks, such as pedestrian classification [7], object recognition [2], virtual reality [8], and street view augmented reality [9]. As the range of image matting applications broadened, the image matting approach is required to provide satisfactory alpha mattes within a given amount of computing resources. However, the amount of available computing resources changes with the time sensitivity of the image matting task in the applications mentioned above. For example, an image matting approach may be required to provide an alpha matte within seconds in a time-sensitive task, while it can be run for hours in a time-insensitive task.

4The pixel-pair-optimization-based approach is one of the competitive image matting approaches that have distinct advantages in parallelization [10] and in handling a mislabeled trimap [7] or spatially disconnected foreground [11]- [13]. In this approach, natural image matting problem is modeled as a pixel pair optimization (PPO) problem that can be written as:

5where g p (x p ) is a pixel pair evaluation function for an unknown pixel p; U, F and B are pixel sets in unknown, known foreground and known background regions, respectively; x p is the pixel pair decision vector for pixel p; and x

6p denote a pixel in known foreground and background regions, respectively. Once the foregroud and background colors are given by solving the PPO problem, the alpha valuê α p for pixel p can be estimated by applying the following expression:α

7where || * || 2 denotes Euclidean norm of vector *.

8The PPO problem remains a significant research topic because of three major difficulties. (1) the pixel pair objective function is non-convex and has lots of local optima, as shown in Fig. 1; (2) substantial optimization problems need to be FIGURE 1. Pixel pair fitness regarding a small pixel pair decision subspace of the PPO problem pertain to an unknown pixel in an image named GT25. The fitness is obtained by a pixel pair evaluation function proposed in [14].

9solved with limited computing resources (for example, hundreds of thousands of optimization problems can be involved in a 0.5 megapixel image); and (3) the PPO problem search space is extensive. As all combinations of the pixels in known foreground and known background regions constitute the set of possible pixel pairs, the number of possible pixel pairs for one unknown pixel in a 0.5 megapixel image could reach 10 8 .

10Considering the change of available computing resources in image matting applications, the PPO problem is required to be solved approximately with different amounts of available computing resources. The amount of available computing resources can be quantitatively described by the number of available pixel pair evaluations per unknown pixel (PPE/UP) [15]. The PPO-based approaches described in pertinent literature can be categorized into: sampling-based and evolutionary-optimization-based approaches.

11Sampling-based approaches reduce decision space with sampling to approximately solve the PPO problem. In most recent studies, alpha mattes are estimated by pixel sampling and pixel pair optimization [14]. Two small sets of pixels are collected from known foreground and known background regions separately to reduce the PPO problem search space. Subsequently, the best pixel pair for each unknown pixel is chosen from the sample sets by optimizing a pixel pair evaluation function.

12Researchers primarily focused on designing pixel sampling strategies based on spatial relationships in earlier studies on sampling-based approaches. Wang and Cohen [16] assumed that the known foreground or background pixels in close proximity to the unknown pixel may constitute the best pixel pair. In the approach proposed by Gastal and Oliveira [17], rays are emitted from the unknown pixel in different directions and the pixels that are not only on the ray paths but also on the boundary of known regions are collected as samples. On the other hand, He et al. [14] improved image matte quality by collecting a greater number of pixel samples. In their approaches, all pixels on the boundary of known regions are collected and a randomized search algorithm, rather than the brute force algorithm, is adopted to handle the large number of samples in pixel pair optimization. The sampling strategies mentioned above are known as local sampling strategies, as only the pixels on the boundary of known regions can be collected as samples. The approaches based on local sampling require a small amount of computing resources (most of them require hundreds to thousands PPE/UP [14], [17]). However, local sampling strategies may miss the true sample when the best pair of pixels is not located on the boundary, degrading the alpha matte quality significantly [15], [18]- [22].

13Global sampling strategies were developed to alleviate missing true sample problem. Shahrian and Rajan [18], Shahrian et al. Shahrian2013 extended local sampling to global sampling by hierarchically clustering the pixels and selecting both the cluster centers and the pixels on the boundaries of known regions as samples. Feng et al. [20] used a pixel pair sampling objective function to select good pixel pairs from a candidate set obtained by k-means clustering. Distinct from previous sampling approaches, Johnson et al. [21] suggested that the unknown pixel color comprised of a set of unpaired pixel colors, and modeled natural image matting as a sparse coding problem of pixel features. Karacan et al. [22] considered pixel sampling as a sparse subset selection problem to increase the diversity of pixel samples. In their work, Kullback-Leibler divergence was employed to measure the feature distance among the cluster centers obtained by a superpixel approach, which provided a quantitative measurement of pixel sample dissimilarity. Huang et al. [15] cautioned that true sample may be missed due to: (1) conflicts among sampling criteria adopted; and (2) an incomplete sample space coused by using pixel clustering approaches. Thus they modeled pixel sampling for each unknown pixel as a multi-objective optimization problem and selected the Pareto optimal pixels as samples. In the multi-objective sampling, the pixel (rather than the superpixel) was used as the sampling unit. Global sampling strategies improve the diversity of pixel samples by expanding the sample space and designing sophisticated sampling strategy, while more computing resources are required (thousands to tens of thousands PPE/UP [15]) as the complexity of sampling strategy increases.

14The main weakness of the sampling-based approach is its failure to adapt to the changes of available computing resources, because it uses a fixed amount of computing resources. Specifically, when the available computing resources are inadequate, the sampling-based approach cannot provide alpha mattes. On the other hand, it cannot utilize all of available computing resources when the computing resources are sufficient. Moreover, the issue of missing true sample cannot be completely eliminated in sampling-based approaches due to the complexity of pixel pair optimization [10].

15Recently, several researchers [10], [23]- [25] demonstrated that pixel pairs can be optimized without sampling by using the evolutionary algorithm (a population-based metaheuristic optimization algorithm [26]), which can make use of all available computing resources by adjusting the iteration number of the evolutionary algorithm, and would in theory eliminate the risk of true sample omission. In these approaches (which are known as evolutionary-optimizationbased approaches), all PPO problems involved in an image are solved simultaneously by combining them into one large-scale PPO problem, as illustrated in Eq. (4).

16where G(X ) is the fitness function for the large-scale PPO problem; g k (x k ) and x k denote the pixel pair evaluation function and the pixel pair for the k-th unknown pixel, respectively; N is the number of unknown pixels; and x

17denote the foreground-background pixel pair for the k-th unknown pixel. The evolutionary-optimization-based approach improves the performance of image matting by performing a global search with an evolutionary algorithm. However, the evolutionary-optimization-based approach requires extensive computing resources (hundreds of thousands PPE/UP [23]) to provide a high-quality alpha matte. Therefore, some attempts have been made to improve the search capability of evolutionary-optimization-based approaches. Cai et al. [23] suggested that correlations of unknown pixel colors can be used to improve the search capability of evolutionary-optimization-based approaches. In their work, a cooperative coevolution operator was embedded into differential evolution algorithm to group unknown pixels with similar colors and optimize the groups separately. In our previous study [10], we pointed out that each of the evaluation criteria involved in pixel pair evaluation can provide heuristic information for PPO. In our previous work, the heuristic information was used to support the optimization by transforming PPO problem into a multi-objective problem and solving it via a multi-objective evolutionary algorithm. Moreover, local smoothness prior was incorporated into the neighborhood grouping strategy such that pixel pairs can be optimized collaboratively, which significantly reduces demand for computing resources. Specifically, the pixel pairs regarding unknown pixels within a 9×9 region are considered as a group in the neighborhood grouping strategy. Half of pixel pairs in a group were selected and optimized, while the remaining pixel pairs adopted the optimization results shared by the selected pixel pairs. Our previous study demonstrated that the evolutionary-optimization-based approach can provide high-quality alpha mattes within thousands PPE/UP. However, evolutionary-optimization-based approaches still VOLUME 8, 2020 suffer from a major drawback that they cannot provide high-quality alpha mattes when computing resources are scarce (e.g. the available computing resources can only perform dozens PPE/UP).

18Neither sampling-based approaches nor extant evolutionary-optimization-based approaches can provide satisfactory alpha mattes with different amounts of computing resources. There has been little discussion about adapting to the change of available computing resources in image matting tasks.

19This issue motivated the present study, as a part of which we designed a multi-scale evolutionary pixel pair optimization framework named pyramid matting framework (PMF). PMF transforms the large-scale PPO problem into multiple PPO problems of different scales by image pyramid (a multi-scale image representation approach [27]), and solves them sequentially from small to large scales. The heuristic information found in a small-scale problem is propagated iteratively to the larger-scale one. The propagation generates a solution for the large-scale PPO problem using the heuristic information obtained in small-scale problems. Specifically, a pixel pair pertain to an unknown pixel obtained by solving a small-scale PPO problem is propagated to multiple spatial-related pixel pairs pertain to the unknown pixels within a local region in a larger-scale PPO problem. The heuristic information propagation provides the capability of computing resource adaptation for PMF, because it can not only generate alpha mattes according to a solution of the PPO problem at a small scale, but also make use of heuristic information obtained from solving small-scale PPO problems.

20The remainder of this paper is structured as follows: Section II details the process of the proposed pyramid matting framework, while the experimental results are presented in Section III and Section VI concludes the paper.

II. PYRAMID MATTING FRAMEWORK

21This section describes a computing-resource-adaptive multi-scale evolutionary pixel pair optimization framework named pyramid matting framework. Fig. 2 provides a graphical illustration of the proposed pyramid matting framework. The core PMF principle is based on searching for pixel pairs at different image scales and propagating the heuristic information from small to large scales. Local smoothness prior is utilized during heuristic information propagation. The heuristic information of each pixel pair in a small-scale image is propagated to multiple pixel pairs regarding the unknown pixels within a local region of a larger-scale image, as shown in Fig. 2. Moreover, with the heuristic information propagation, the PPO problem solution at the large scale can be generated according to the solution at any smaller scale, which provides the capability of adapting to the changes of available computing resources.

22Algorithm 1 provides the pseudo-code of PMF, while the definitions of symbols used in PMF are shown in Table 1. PMF comprises two steps: (1) image matting pyramid construction; and (2) multi-scale pixel pair search with heuristic information propagation.

23The details of image matting pyramid construction are provided in Subsection II-A, and the process adopted when searching for pixel pairs with heuristic information propagation is presented in Subsection II-B.

A. IMAGE MATTING PYRAMID CONSTRUCTION

24The fist step in the PMF involves building multi-scale representation for both the image and the trimap (which we denote as image matting pyramid). Image pyramid [27] was adopted in PMF for two reasons. Select a subset of pixel pairs n to be optimized on the n-th level of pyramids by using a selection criterion. n = n + 1 8: while pyramid construction stop criterion is not met 9: N p ← n 10: return P, N p (i.e. S ↓ T ()) to ensure that trimaps take appropriate values. The aim of image matting pyramid is to provide multi-scale representation for image matting. However, scaling images to a very small size may reduce level of detail considerably, as shown in Fig. 3(c). Thus, to avoid inclusion of overly small images into the image matting pyramid, the pyramid construction stop criteria were established. In the current implementation, the down-sampling loop terminates when one of the dimensions declines below 100 pixels. The image size set in the stop criterion is not a sensitive parameter, because downsample operator halves both the width and VOLUME 8, 2020

25Algorithm 3 Heuristic Information Propagation (i.e. M(P(n + 1), X n+1 , P(n))) Input: P(n + 1), X n+1 and P(n). Output: X init n 1: for each pixel p in unknown regions of the n + 1-th level of the pyramid (i.e. P(n + 1)) do 2: (x 1 , x 2 ) ← X n+1 (p) 3: for each pixel q ∈ N (p) do 4: x 1 ←select a pixel from N (x 1 ) randomly 5: x 2 ←select a pixel from N (x 2 ) randomly 6:

26end for 8: end for 9: return X init n length of the images in each iteration. Other stop criteria can be used in image matting pyramid construction.

B. MULTI-SCALE PIXEL PAIR SEARCH WITH HEURISTIC INFORMATION PROPAGATION

27Multi-scale pixel pair search plays an important role in PMF, as searches are conducted for all pixel pairs at each level of the image matting pyramid and the heuristic information is propagated across different-scale images. In multi-scale pixel pair search, the pixel pair search is performed level by level from top to bottom of the image matting pyramid, and heuristic information propagation and single-scale searching are performed alternately, as described in the iteration shown in Algorithm 1, lines 6-15. Notice that the PPO problem pertaining to the top level of the pyramid is optimized by the evolutionary optimizer before the iterative search (as shown in Algorithm 1, lines 5), which provides initial pixel pairs for heuristic information propagation.

28Heuristic information propagation aims to propagate the heuristic information obtained by searching at the previous level of pyramid to the current level. However, the PPO problems corresponding to adjacent levels of the image pyramid change significantly in terms of decision vectors and decision space, although the corresponding images look highly similar. This poses the question of where the heuristic information should be propagated. The heuristic information propagation addresses this issue by determining correlations of pixel pairs among PPO problems at different scales. Algorithm 3 presents an implementation of heuristic information propagation. In heuristic information propagation, the neighbors of pixel pairs at the adjacent levels of the pyramid are defined using image matting pyramid. Here, unknown pixels will be used as an example to illustrate the definition of neighboring pixel. Those unknown pixels at current level of the pyramid used to calculate the average color of an unknown pixel in the previous level are defined as the neighbors of the unknown pixel. The neighborhood relations of pixels at different scales can be extended to pixel pairs, since each pixel pair corresponds to a pixel in unknown regions. Definitions of neighbors of a foreground or background pixel can be given by analogy.

29Decision vector transformation and decision space transformation are involved in heuristic information propagation. Decision vector transformation utilizes local smoothness prior in unknown regions. The pixel pair decision vector at the previous level of the pyramid is transformed to that at the current level (which corresponds to a larger-scale PPO problem) according to pixel pair neighborhood relations in the decision vector transformation process. However, pixel pairs obtained from decision vector transformation cannot be used directly at the current level of the pyramid due to the change in the decision space. Search space transformation was thus designed to transform foreground pixels and background pixels from a small-scale PPO problem to a larger-scale PPO problem. Either the foreground pixel or the background pixel of a pixel pair obtained by decision vector transformation may correspond to more than one neighboring pixels in the current level of the pyramid. One foreground pixel and one background pixel were determined for each pixel pair in a larger-scale PPO problem by applying random selection on neighbors separately.

30Single-scale search is performed after heuristic information propagation for each iteration (as described in Algorithm 1, lines 10-12), in which heuristic information that has been propagated from the previous level of the pyramid is used through pixel pair selection and pixel pair evolutionary optimization. Some of the pixel pairs in the initial decision vector obtained by heuristic information propagation are of high quality and can provide accurate alpha value estimation due to the local smoothness prior. It is not necessary to apply evolutionary optimization on high-quality pixel pairs. Consequently, only half of pixel pairs with low fitness are selected from the initial decision vector to be optimized in pixel pair selection process (which implements the selection criterion in Algorithm 1, line 11). The pixel pair selection avoid redundant search and can therefore improve the search efficiency. Pixel pair evolutionary optimization is subsequently applied to each selected pixel pair. The pixel pair in the initial decision vector is provided as an initial individual to the evolutionary optimizer to use the heuristic information propagated from the small-scale PPO problems.

III. EXPERIMENTAL RESULTS

31In this section, findings yielded by three experiments are reported to evaluate the presented pyramid matting framework with different amounts of computing resources.

A. EXPERIMENTAL DESIGN

32Three representative cases were considered in the experiments, which correspond to the cases where image matting approaches can be run for hours, minutes and seconds in a workstation computer, respectively. In case one, the maximum number of PPE/UP was set to 5000 (which is consistent with the setting in [10]) to evaluate the performance of PMF with sufficient computing resources. The maximum number of PPE/UP was set to 50 in case two, which corresponds to the case where image matting approaches are required to provide an alpha matte within minutes on a workstation computer. The maximum number of PPE/UP was further reduced to five in case three to demonstrate the performance of involved approaches with very few computing resources. The first experiment was conducted to verify the PMF effectiveness with sufficient computing resources by comparing the performance of evolutionary-optimization-based approaches with and without PMF in case one. The second experiment shows the performance of PMF-based approach in case two and case three where limited computing resources are available. In the last experiment, a visual comparison was performed among the alpha mattes obtained by the PMF-based approach and that yielded by the state-of-the-art image matting approaches based on pixel pair optimization.

33All three experiments were carried out on a popular image matting benchmark dataset [28], which provides 27 color images with their ground-truth alpha mattes. Two types of trimaps, including the trimaps with small unknown regions and that with large unknown regions, were used in the experiments. The ground-truth alpha mattes were used to evaluate the performance of the involved approaches. Notice that all involved approaches were performed without pre-processing and post-processing processes in the experiments to provide a fair comparison, because these processes may affect the quality of alpha mattes [29]. The pixel pair evaluation function presented in the literature [10] was used in the pixel pair optimization for all involved evolutionary-optimizationbased approaches. A widely used performance metric named mean square error (MSE) was used to measure the error between an estimated alpha matte and the ground-truth matte quantitatively, which can be written as:

34where ε denotes the MSE of an estimated alpha matte. α p andα p denote the alpha values at pixel p in the estimated and the ground-truth alpha matte, respectively. A small observed value of MSE indicates a high-quality alpha matte. All experiments were conducted on a workstation computer with an Intel Core i7 3.6-GHz CPU and 32 GB of memory. The involved approaches were implemented in MATLAB.

B. IMAGE MATTING WITH SUFFICIENT COMPUTING RESOURCES

35The aim of the first experiment was to ascertain whether PMF can provide high-quality alpha mattes when computing resources are sufficient. A comparison between evolutionaryoptimization-based approaches with and without PMF was conducted using the setting of case one in this experiment. Two image matting approaches were implemented within PMF by taking a state-of-the-art evolutionary-optimizationbased approach named multiobjective evolutionary algorithm based on multicriteria decomposition (MOEAMCD) [10] and a popular large-scale evolutionary optimizer named competitive swarm optimization (CSO) [30] as evolutionary optimizers, respectively. The parameters involved in the evolutionary optimizers were adopted from pertinent literature [10], [30], respectively. The resulting PMF-based approaches are called MEOAMCD-PMF and CSO-PMF, respectively. Consequently, the original MOEAMCD and CSO were used as a baseline in the comparison. All involved approaches were run 30 times on each image separately to allow for statistical analysis of their performance. Table 2 and Table 3 provide the average value and standard deviation of MSE obtained by the evolutionary-optimizationbased approaches with and without PMF. Table 2 shows the results yielded by using the trimap with small unknown regions, while the results of using the trimap with large unknown regions are shown in Table 3. The average values of MSE obtained by PMF-based approaches are smaller than those obtained by the original approaches in almost all the cases, as shown in Table 2 and Table 3. MOEAMCD-PMF outperforms MOEAMCD on 23 out of 27 images in terms of average MSE in the comparison involving the trimap with small unknown regions, as well as on 21 out of 27 images in the comparison involving the trimap with large unknown regions. Moreover, CSO-PMF provides alpha mattes with lower average MSE than CSO on all 27 images in both comparisons. These experimental results indicate that the quality of alpha mattes obtained by the involved approaches was improved by adopting PMF in the case with sufficient computing resources. The observed decline in MSE can be attributed to the search capability improvement through heuristic information propagation, which provides useful heuristic information across the multi-scale pixel pair search. With the propagated heuristic information, the search capability of evolutionary-optimization-based approaches can be improved when the computing resources are sufficient.

C. IMAGE MATTING WITH LIMITED COMPUTING RESOURCES

36The goal of the second experiment was to verify if PMF can provide high-quality alpha mattes when computing resources are limited. Case two and case three were considered in this experiment. Two PMF-based approaches (MOEAMCD-PMF and CSO-PMF) were involved in this experiment, and the approach with the closest performance to the PMF-based method in the first experiment, MOEAMCD, was used as a baseline. This experiment was conducted using the trimap with small unknown regions in the dataset [28]. The involved approaches were run 30 times to facilitate a statistical analysis of their performance. Table 4 shows the average MSE of 27 images obtained by PMF-based approaches and MOEAMCD [10] in case two and case three. Notice that PMF-based approach works well in both cases, whereas MOEAMCD failed in case three, since computational resource was insufficient for MOEAMCD in this case. 40 PPE/UP were performed in the neighborhood grouping strategy employed in MOEAMCD, but only five PPE/UP could be evaluated in case three. Image matting performance comparison between evolutionary-optimization-based approaches with and without pyramid matting framework in terms of the average value and standard deviation of MSE for 27 images from the benchmark dataset [28] using trimap with small unknown regions. The maximum number of pixel pair evaluations per unknown pixel was set to 5000. The bold numbers represent the better MSE in the comparison.

TABLE 3.

37Image matting performance comparison between evolutionary-optimization-based approaches with and without pyramid matting framework in terms of the average value and standard deviation of MSE for 27 images from the benchmark dataset [28] using trimap with large unknown regions. The maximum number of pixel pair evaluations per unknown pixel was set to 5000. The bold numbers represent the better MSE in the comparison.

38MOEAMCD-PMF provided alpha mattes with lower average MSE than MOEAMCD on 15 out of 27 images in case one. These results indicate that the PMF can adapt to the changes in computing resources and provide alpha mattes with different amounts of computing resources. This success can be attributed to the multi-scale pixel pair search with heuristic [28] obtained by PMF-based approaches (MOEAMCD-PMF and CSO-PMF) and a state-of-the-art evolutionary-optimization-based image matting approaches (MOEAMCD) [10] using trimap with small unknown regions. The maximum number of PPE/UP was set to 50 and 5 in case one and case two, respectively. The bold numbers represent the best MSE in the comparison. information propagation, which prioritizes small-scale PPO problems and transforms a solution of a small-scale PPO problem to the corresponding solution of the large-scale PPO problem when computing resources are insufficient. When the computing resources are inadequate for optimizing all PPO problems of different scales, heuristic information propagation generates alpha mattes by transforming the best known solution for a small-scale PPO problem to the solution for the large-scale PPO problem. Heuristic information obtained from the small-scale problem is effectively used during the propagation, which ensures the quality of the generated solution. Although MOEAMCD-PMF still outperforms MOEAMCD on 15 out of 27 images, its performance advantage of MOEAMCD-PMF over MOEAMCD declines when restrictions are imposed on computing resources. Similar findings were obtained in the comparison between MOEAMCD-PMF and CSO-PMF in case three, as shown in Table 4. These results can be explained by the imbalance of computing resource between the pixel pair search and the heuristic information propagation. When the available computing resources are limited, the neighborhood grouping strategy of MOEAMCD may take up most of the resources, making pixel pair search challenging. Although PMF provides heuristic information across the multi-scale pixel pair search, MOEAMCD-PMF exacerbates the imbalance reducing the quality of identified pixel pairs, because additional VOLUME 8, 2020 FIGURE 5. Visual comparison of alpha mattes obtained by MOEAMCD-PMF, MOEAMCD [10], KL divergence matting [22] PDMS matting [15] and CCDE matting [23]. (a) Input image in which the red line and the blue line denote the boundary of known foreground regions and background regions respectively. (b) Zoomed-in region. (c) Ground-truth alpha matte. (d) Alpha matte obtained by MOEAMCD-PMF. (e) Alpha matte obtained by MOEAMCD [10]. (f) Alpha matte obtained by KL-divergence matting [22]. (g) Alpha matte obtained by PDMS matting [15]. (h) Alpha matte obtained by CCDE matting [23]. Arrows indicate regions of low-quality mattes.

39computing resources are required in PMF resulting that fewer computing resources can be allocated to pixel pair search. CSO-PMF does not involve neighborhood grouping strategy, as a result, more computing resources are allocated to pixel pair search redressing the computing resource imbalance. Therefore, CSO-PMF outperforms MOEAMCD-PMF in 10 out of 27 cases in case three. Fig. 4 shows a visual comparison of alpha mattes obtained by MOEAMCD [10], MOEAMCD-PMF and CSO-PMF in case two. Both MOEAMCD-PMF and CSO-PMF provide alpha mattes with sharp boundaries and less noise in case two. The results confirms that PMF can adapt to the change of available computing resources, and PMF-based approaches provide acceptable alpha mattes even when the available computing resources are scarce. However, the alpha mattes obtained by PMF-based approaches with few computing resources degrade when the local smoothness assumption is not satisfied (e.g. hole), as shown in the last row of Fig. 4.

D. VISUAL EVALUATION

40The third experiment was conducted to provide a visual comparison of alpha mattes among the PMF-based approach and other state-of-the-art PPO-based approaches. MOEAMCD-PMF, two state-of-the-art sampling-based image matting approaches (pixel-level discrete multiobjective sampling (PDMS) matting [15] and KL-Divergence matting [22]) and two recently proposed evolutionaryoptimization-based image matting approaches, including MOEAMCD [10] and cooperative coevolution differential evolution matting (CCDE) [23], were involved in this experiment. The maximum number of PPE/UP for the involved evolutionary algorithms was set to 5000 in this experiment, considering thousands PPE/UP were performed in the involved sampling-based image matting approaches [15].

41As shown in Fig. 5, the evolutionary approaches based on local smoothness prior (MOEAMCD-PMF and MOEAMCD) provide high-quality alpha mattes, while the evolutionary approaches without local smoothness prior (CCDE) do not. This finding indicates that the local smoothness prior plays an important role in pixel pair optimization. Moreover, the alpha matte obtained by MOEAMCD-PMF is visually superior to that yielded by MOEAMCD, which confirms that PMF improves the search capability of evolutionary-optimization-based approaches and provides a feasible multi-scale evolutionary pixel pair optimization framework to efficiently solve PPO problem. MOEAMCD-PMF also outperforms the state-of-theart sampling-based approaches as the resulting alpha mattes provide fine detail and generate less noise.

IV. CONCLUSION

42This paper presents a multi-scale evolutionary pixel pair optimization framework (pyramid matting framework) for image matting. It provides a feasible way of adapting to the change of available computing resources for the image matting approaches based on evolutionary optimization. PMF first transforms the large-scale PPO problem to multiple PPO problems at different scales by constructing image pyramid for the input image and trimap. The pixel pair search is subsequently applied level by level, from the top to the bottom of the image matting pyramid. PMF propagates the heuristic information of pixel pairs found in the PPO problem at a small scale to that at a higher scale. Each optimized pixel pair in a small-scale image is propagated to multiple pixel pairs regarding the unknown pixels within a local region of a larger-scale image. A reasonable solution of the large-scale PPO problem can be generated with the heuristic information propagation according to the PPO problem solution at small scales. We have shown that PMF can adapt to the change of available computing resources and have demonstrated that evolutionary-optimization-based approaches with PMF not only provide high-quality alpha mattes when computing resources are sufficient but also provide acceptable alpha mattes even under computing resource limitations. However, PMF-based approaches cannot provide high-quality alpha mattes when unsmooth regions are involved and computing resources are scarce. Further work may include adaptive computing resource allocation between the pixel pair search and the heuristic information propagation and scene-aware pixel pair optimization strategy for unsmooth regions.

참고문헌 29건

  1. A Competitive Swarm Optimizer for Large Scale Optimization IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcyb.2014.2322602
  2. Shared Sampling for Real‐Time Alpha Matting Computer Graphics Forum · Wiley · 2010 10.1111/j.1467-8659.2009.01627.x
  3. Introduction to Evolutionary Computing Evolutionary Computation · The MIT Press · 2004 10.1162/evco.2004.12.2.269
  4. Scribble Tracker: A Matting-Based Approach for Robust Tracking IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2011 10.1109/tpami.2011.257
  5. A global sampling method for alpha matting 2011 10.1109/cvpr.2011.5995495
  6. Deep photo ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1409060.1409069
  7. A perceptually motivated online benchmark for image matting 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 10.1109/cvpr.2009.5206503
  8. Weighted color and texture sample selection for image matting 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2012 10.1109/cvpr.2012.6247741
  9. Manifold preserving edit propagation ACM Transactions on Graphics · Association for Computing Machinery · 2012 10.1145/2366145.2366151
  10. Improving Image Matting Using Comprehensive Sampling Sets 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2013 10.1109/cvpr.2013.88
  11. Optimized Color Sampling for Robust Matting 2007 10.1109/cvpr.2007.383006
  12. Multi-View Object Extraction With Fractional Boundaries IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2555698
  13. Improving sampling-based image matting with cooperative coevolution differential evolution algorithm Soft Computing · Springer Science+Business Media · 2016 10.1007/s00500-016-2250-7
  14. Automatic Trimap Generation and Consistent Matting for Light-Field Images IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2606397
  15. A Cluster Sampling Method for Image Matting via Sparse Coding Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46475-6_13
  16. A Survey on Pre-Processing in Image Matting Journal of Computer Science and Technology · Springer Science+Business Media · 2017 10.1007/s11390-017-1709-z
  17. Alpha Matting With KL-Divergence-Based Sparse Sampling IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2718664
  18. Robust Multi-Focus Image Fusion Using Edge Model and Multi-Matting IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2779274
  19. A Hierarchical Image Matting Model for Blood Vessel Segmentation in Fundus Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2885495
  20. Semantic soft segmentation ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3197517.3201275
  21. Particle Swarm Optimization with Convergence Speed Controller for Sampling-Based Image Matting Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-319-95933-7_75
  22. A discrete bio-inspired metaheuristic algorithm for efficient and accurate image matting Memetic Computing · Springer Science+Business Media · 2018 10.1007/s12293-018-0275-4
  23. Deep infrared pedestrian classification based on automatic image matting Applied Soft Computing · Elsevier BV · 2019 10.1016/j.asoc.2019.01.024
  24. Multiobjective Evolutionary Optimization Based on Fuzzy Multicriteria Evaluation and Decomposition for Image Matting IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tfuzz.2019.2896533
  25. Pixel-Level Discrete Multiobjective Sampling for Image Matting IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2902830
  26. Designing Effective Inter-Pixel Information Flow for Natural Image Matting 2017 10.1109/cvpr.2017.32
  27. A Survey on Natural Image Matting With Closed-Form Solutions IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2941832
  28. Sparse Coding for Alpha Matting IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2555705
  29. Sketch2Photo 2009 10.1145/1661412.1618470