Local Variation As a Statistical Hypothesis Test

Local Variation As a Statistical Hypothesis Test

Int J Comput Vis (2016) 117:131–141 DOI 10.1007/s11263-015-0855-4 Local Variation as a Statistical Hypothesis Test Michael Baltaxe1 · Peter Meer2 · Michael Lindenbaum3 Received: 7 June 2014 / Accepted: 1 September 2015 / Published online: 16 September 2015 © Springer Science+Business Media New York 2015 Abstract The goal of image oversegmentation is to divide Keywords Image segmentation · Image oversegmenta- an image into several pieces, each of which should ideally tion · Superpixels · Grouping be part of an object. One of the simplest and yet most effec- tive oversegmentation algorithms is known as local variation (LV) Felzenszwalb and Huttenlocher in Efficient graph- 1 Introduction based image segmentation. IJCV 59(2):167–181 (2004). In this work, we study this algorithm and show that algorithms Image segmentation is the procedure of partitioning an input similar to LV can be devised by applying different statisti- image into several meaningful pieces or segments, each of cal models and decisions, thus providing further theoretical which should be semantically complete (i.e., an item or struc- justification and a well-founded explanation for the unex- ture by itself). Oversegmentation is a less demanding type of pected high performance of the LV approach. Some of these segmentation. The aim is to group several pixels in an image algorithms are based on statistics of natural images and on into a single unit called a superpixel (Ren and Malik 2003) a hypothesis testing decision; we denote these algorithms so that it is fully contained within an object; it represents a probabilistic local variation (pLV). The best pLV algorithm, fragment of a conceptually meaningful structure. which relies on censored estimation, presents state-of-the-art Oversegmentation is an attractive way to compact an results while keeping the same computational complexity of image into a more succinct representation. Thus, it could the LV algorithm. be used as a preprocessing step to improve the performance of algorithms that deal with higher level computer vision tasks. For example, superpixels have been used for dis- covering the support of objects (Rosenfeld and Weinshall Communicated by Pedro F. Felzenszwalb. 2011), extracting 3D geometry (Hoiem et al. 2007), multi- This work was conducted while M. Baltaxe was with the Computer class object segmentation (Gould et al. 2008), scene labeling Science Department, Technion - Israel Institute of Technology. (Farabet et al. 2013), objectness measurement in image win- B dows (Alexe et al. 2012), scene classification (Juneja et al. Michael Baltaxe 2013), floor plan reconstruction (Cabral and Furukawa 2014), [email protected] object description (Delaitre et al. 2012), and egocentric video Peter Meer summarization (Lee and Grauman 2015). [email protected] One may ask whether specialized oversegmentation pro- Michael Lindenbaum cesses are needed at all, given that several excellent seg- [email protected] mentation methods were recently proposed. Working in the 1 Orbotech Ltd., 8110101 Yavne, Israel high recall regime, these algorithms could yield excellent 2 Department of Electrical and Computer Engineering, oversegmentation accuracy. Unfortunately, however, they are Rutgers University, Piscataway, NJ 08854, USA complex and therefore relatively slow. The segmentation 3 Computer Science Department, Technion - Israel Institute of approach described in Arbelaéz et al. (2011), for example, Technology, 32000 Haifa, Israel combines the gPb edge detector and the oriented watershed 123 132 Int J Comput Vis (2016) 117:131–141 transform to give very high precision and recall, but requires 1 over 240 s per frame [as reported in Dollár and Zitnick (2015)]. The approach of Ren and Shakhnarovich (2013) 0.95 uses a large number of classifiers and needs 30 s. Moreover, while the recently introduced edge detector (Dollár and Zit- 0.9 nick 2015) is both accurate and very fast (0.08 s per frame), it does not provide close edges and consistent segmentation. 0.85 Using this edge detection for hierarchical multiscale segmen- Recall tation (Arbelaéz et al. 2014), indeed achieves state-of-the-art 0.8 pLV LV results in terms of precision and recall but requires process- MeanShift 0.75 Turbopixels ing time of 15 s per image. Thus, the time required for these Watershed methods is often too high for a preprocessing stage, and then SLIC ERS specialized oversegmentation algorithms, running in one sec- 0.7 200 400 600 800 1000 1200 1400 1600 1800 2000 ond or less, are preferred. Number of Segments One of the many popular approaches to oversegmenta- tion is the mean shift algorithm, which regards the image 0.55 values as a set of random samples and finds the peaks of the pLV 0.5 LV associated PDF, thereby dividing the data into corresponding Mean Shift Turbopixels clusters (Comaniciu and Meer 2002). The watershed method 0.45 Watershed is a morphological approach which interprets the gradient SLIC ERS magnitude image as a topographical map. It finds the catch- 0.4 ment basins and defines them as segments (Meyer 1994). 0.35 Turbopixels is a level set approach, which evolves a set of curves so that they attach to edges in the image and even- 0.3 tually define the borders of superpixels (Levinshtein et al. 0.25 2009). The SLIC superpixel algorithm is based on k-means Undersegmentation Error restricted search, and takes into account both spatial and color 0.2 proximity (Achanta et al. 2012). The entropy rate superpix- 0.15 els (ERS) (Liu et al. 2011) approach partitions the image by 200 400 600 800 1000 1200 1400 1600 1800 2000 optimizing an objective function that includes the entropy Number of Segments of a random walk on a graph representing the image, and Fig. 1 Recall (top) and undersegmentation error (bottom) for proba- a term balancing the segments’ sizes. A thorough descrip- bilistic local variation and other common algorithms tion of common oversegmentation methods can be found in Achanta et al. (2012). The local variation (LV) algorithm by Felzenszwalb and together with probabilistic local variation (pLV), the method Huttenlocher (2004) is a widely used, fast and accurate over- introduced in this paper.1 segmentation method. It uses a graph representation of the Understanding the remarkably good performance of the image to iteratively perform greedy merge decisions by eval- greedy LV algorithm was the motivation for our work, which uating the evidence for an edge between two segments. makes three contributions: Although all the decisions are greedy and local, the authors showed that, in a sense, the final segmentation has desirable 1. We briefly analyze the properties of the LV algorithm global properties. The decision criterion is partially heuristic and show that the combination of all its ingredients is and yet the algorithm provides accurate results. Moreover, it essential for high performance. is efficient, with complexity O(n log n). 2. We examine several probabilistic models and show that Throughout this paper we use the recall and undersegmen- LV-like algorithms could be derived by statistical con- tation error as measures of quality for oversegmentation, just sideration. One variation involves the estimation of the as is done in Levinshtein et al. (2009), Achanta et al. (2012), maximum sample drawn from a uniform distribution. and Liu et al. (2011). The recall (Martin et al. 2004)isthe The second uses natural image statistics and a hypoth- fraction of ground truth boundary pixels that are matched by esis testing decision. This gives additional viewpoints, the boundaries defined by the algorithm. The undersegmen- further justifies the original version of the algorithm, and tation error (Levinshtein et al. 2009) quantifies the area of regions added to segments due to incorrect merges. Figure 1 Code available at http://cis.cs.technion.ac.il/index.php/projects/ 1 presents a comparison of the aforementioned algorithms, probabilistic-local-variation. 123 Int J Comput Vis (2016) 117:131–141 133 explains the excellent performance obtained from such a Algorithm 1 Local Variation Algorithm simple, fast method. Input: Weighted graph G = (V, E) with weights w(e), e ∈ E,defined 3. Following these models, we provide a new algorithm, by an image. Output: Set of components C ,...,C defining segments which is similar to LV but relies on statistical arguments. 1 n 1: Sort E by non-decreasing edge weight (e1, e2,...,em ) This algorithm meets the best performance among the 2: Initialize segmentation S0 with each vertex being a component methods in the literature, at least for oversegmentation to 3: for all q = 1,...,m do = (v ,v ) ← many segments, but is faster. 4: eq i j edge with the qth lightest weight q−1 ← q−1 v 5: Ci component of S containing i q−1 ← q−1 v The structure of the paper is as follows. We present the 6: C j component of S containing j − − − − LV algorithm in Sect. 2. We study this algorithm empirically 7: if w(e ) ≤ MInt Cq 1, Cq 1 ∧ (Cq 1 = Cq 1) then q i j i j in Sect. 3. In Sect. 4 we introduce the first LV-like algorithm − q−1 q−1 q−1 q−1 8: Sq = Sq 1 ∪ C ∪ C \ C , C (based on maximum estimation), which does not perform as i j i j 9: else well as the original LV,but motivates the alternative and more 10: Sq = Sq−1 successful algorithm of Sect. 5 (based on natural image sta- 11: end if tistics). Section 6 presents our experimental results. A brief 12: end for discussion of single-linkage algorithms (which include the 13: Postprocessing: Merge all small segments to the neighbor with closest color. LV and pLV algorithms) as compared to non-single-linkage, hierarchical algorithms is given in Sect. 7. Finally, Sect. 8 concludes. parameter K controls the number of segments in the output segmentation: increasing K implies that more edges satisfy 2 Local Variation Algorithm the merge condition and more merges are performed.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us