---
title: "Coarse-to-fine Image Co-segmentation with Intra and Inter Rank Constraints"
authors:
  - "Lianli Gao"
  - "Jingkuan Song"
  - "Dongxiang Zhang"
  - "Heng Tao Shen"
doi: "10.24963/ijcai.2018/100"
url: "https://ijcai.org/proceedings/2018/100"
pdf: "https://ijcai.org/proceedings/2018/0100.pdf"
venue: "Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence"
year: 2018
pages: "719-725"
track: "Main track"
keywords:
  - "Machine Learning: Machine Learning"
  - "Computer Vision: Computer Vision"
---

# Coarse-to-fine Image Co-segmentation with Intra and Inter Rank Constraints

Lianli Gao, Jingkuan Song, Dongxiang Zhang, Heng Tao Shen

*Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence*, pages 719-725. DOI: [10.24963/ijcai.2018/100](https://doi.org/10.24963/ijcai.2018/100)

## Abstract

Image co-segmentation is the problem of automatically discovering the common objects co-occurring in a set of relevant images and segmenting them as foreground simultaneously. Although a bunch of approaches have been proposed to address this problem, many of them still suffer from certain limitations, e.g., supervised feature learning and complex models, which hinder their capability in the real-world scenarios. 
To alleviate these limitations, we propose a novel coarse-to-fine co-segmentation (CFC) framework, which utilizes the coarse foreground and background proposals to learn a robust similarity measure of the features in an unsupervised way, and then devises a simple objective function based on the definition of image co-segmentation. 
Specifically, we first generate superpixels for all the images and extract their features. Instead of using existing distance metrics, we utilize object proposal methods to generate coarse foreground and background to learn a similarity measure of superpixels to construct a robust feature similarity graph. Then we design an intuitive objective function to learn a segmentation similarity graph which should be consistent with feature similarity graph and also be able to co-segment the superpixels in the images into either foreground and background. This objective function can be further reformulated as a graph learning problem with intra and inter rank constraints. Experiments on two commonly used image datasets (iCoseg and MSRC) demonstrate that CFC outperforms other state-of-the-art methods. Notably, this performance is achieved by using only HSV feature.

## Full text

## 1 Introduction

Co-segmentation, i.e., jointly segmenting the common objects from a collection of similar images, has attracted an increasing attention recently in computer vision community

∗Corresponding author: Lianli Gao, Heng Tao Shen

[Joulin et al., 2010; Yuan et al., 2017; Mukherjee et al., 2018; Maninis et al., 2017; Song et al., 2016]. Compared with single image segmentation [Gao et al., 2016], co-segmentation has the advantage of utilizing the very weak prior that the set of images contain the same objects to improve the segmentation of individual images. At the meanwhile, cosegmentation is a challenging problem, which faces several major issues: 1) The classical segmentation methods are designed for a single image while co-segmentation deals with multiple images. How to design a co-segmentation model and minimize the model is crucial for image co-segmentation. 2) The common object extraction depends on the foreground similarity measurement. But the foreground usually varies in color, shape and scale, which makes the foreground similarity measurement difficult. Moreover, the model minimization is highly related to the selection of similarity measurement. Therefore, the foreground similarities measurement is another important issue.

A straight-forward way for co-segmentation is to extend classical single image based segmentation models. In general, the extended models can be represented as

<!-- formula-not-decoded -->

where ℓs is the single image segmentation term, which guarantees the smoothness and the distinction between foreground and background in each image, and ℓg is the co-segmentation term, which focuses on evaluating the consistency between the foregrounds among the images.

Many classical single image segmentation models can be used to form ℓs, e.g, MRF segmentation models [Lee et al., 2015] and discriminative clustering [Joulin et al., 2010]. The co-segmentation term ℓg is used to evaluate the multiple foreground consistency, which is introduced to guarantee the common object segmentation. Due to the variance of the foreground, the similarity measure using visual features is not accurate enough.

On the other hand, segmentation proposal selection based approaches [Vicente et al., 2011; Meng et al., 2012; 2013] have recently drawn more attention. These methods aim at select the real common objects from the segmentation proposals, and the assumption that the common targets should be real-world objects makes co-segmentation much more efficient. Compared with co-segmenting images using pixels, segmentation proposal selection based approaches have their advantages. First, instead of starting from scratch, they incorporate either class-specific or class-independent object proposal methods to generate a set of candidates, and then look for a pool of regions that have high probability to cover the objects by some of the proposals. The proposals are usually more robust, and they contain rich information than pixels. Therefore, they usually achieve better accuracy than methods based on pixels. Secondly, they are more efficient compared with pixel-based methods, because the number of proposals is usually much small than the number of pixels in images. However, their disadvantages are obvious as well. They usually reply heavily on the performance of object proposals. Also, due to the variety of the common objects, it usually requires manually selecting features [Meng et al., 2012] or supervised feature learning performed beforehand [Vicente et al., 2011; Meng et al., 2013].

To address the above issues, in this work, we propose a novel coarse-to-fine image co-segmentation framework, which introduces graph-based image co-segmentation using superpixels based on intra and inter rank constraints. To take advantage of proposal, we utilize the coarse foreground and background proposals to learn a robust similarity measure of the superpixels. It is worthwhile to highlight the following aspects of our method here: 1) We propose a novel coarse-tofine image co-segmentation framework. To take advantage of object proposals but avoid heavily depending on the proposal quality, we utilize multiple image proposal strategies and generate a set of coarse foreground and background. These incomplete but with few noise coarse segments are further used to learn a similarity measurement of the raw features to obtain a fine image co-segmentation. 2) We design an intuitive graph-based objective function for image co-segmentation based on its definition. Taking the feature similarity graph as input, we aim to learn a segmentation similarity graph which should be consistent with feature similarity graph and also be able to co-segment the superpixels in images into either foreground or background. We devise an efficient solution for this objective function. 3) Experiments for image co-segmentation on real-world datasets demonstrate the superiority of our method over existing methods. Notably, this performance is achieved using HSV feature only.

## 2 Our Approach

In this section, we introduce our method which consists of two phases (see Fig. 1). Firstly, we further introduce how to construct an original similarity graph using the coarse foreground and background proposals. Then, a graph-based image co-segmentation algorithm is proposed based on the original similarity graph of the superpixels.

We first introduce the notations which will be used in the rest of the paper. Given a set of M images I = {I1, I2, ..., IM} for an object class, we first generate a set of N oversegmenting superpixels V = {v1, v2, ..., vN} as a preprocessing, and then extract features X = {x1, x2, ..., xN} from these N superpixels. A superpixel is an image segment consisting of pixels that have similar visual characteristics.

The goal is to learn the similarity matrix S between each superpixel based on the features X, and all the superpixels are segmented to either foreground or background.

## 2.1 Coarse Foreground and Background Proposal for Original Similarity Graph Construction

Instead of segmenting common objects from an object class from scratch, we start by generating a set of coarse foreground and background proposals. The motivation is that if we can generate pure foreground and background with high precision but low recall, we can use these regions as coarse proposals to construct an accurate original similarity graph. Inspired by recent progress in object proposal and salient object detection, we find that those two techniques have potential to propose incomplete by with few noise objects in an image. This is because salient object detection (e.g., PCA Saliency [Margolin et al., 2013]) is originally a task of predicting the eye-fixations on images, and recently has been extended to detecting regions with salient attention-grabbing objects, while object proposal (e.g.,MCG [Arbel´aez et al., 2014] ) aims to generate a set of regions to delineate candidate objects in an image. However, current generated saliency maps are typically blurry, especially near the boundary of salient objects, while object proposal methods can provide accurate object boundaries but it is still difficult to obtain complete objects by merging together sets of regions, thus they are complementary to each other.

Therefore, in this study we take the advantages of both salient object detect [Margolin et al., 2013] and object proposal [Arbel´aez et al., 2014] to produce coarse foreground and background, which respectively contain incomplete but relatively pure foreground and background, to refine our similarity graph. Here, we introduce the construction details. Given an image Ig ∈ Rw×h , where w and h are the width and length.

Saliency map and candidate mask generation. At beginning, PCA Saliency [Margolin et al., 2013] takes Ig as input and produce a saliency map s map ∈ Rw×h , while MCG [Arbel´aez et al., 2014] takes I as input and produces a ranked list of object candidates. Here, we merge the top-5 ranked object candidates to output a candidate mask c mask ∈ Rw×h . If c maski,j = 1, it stands that the pixel Ig (i, j) is an object pixel otherwise it is a background pixel.

Refine candidate with UCMs. After we obtained the initialized c Mask, we apply ucms to refine c Mask. Firstly, we extract superpixesl with ucm ≤ 0.5 and then remove the superpiexles containing border pixels, except those superpixels meets one of the following conditions: having less than 18 (w + h) border superpixels; 2) only containing left or right boarder pixels; and 3) the number of top/bottom boarder pixels is less than 3 4 of the corresponding boarder length. Next, we project these superpixels to ucm ≤ 0.18 and then merge with c Mask to obtain a new c Mask. Note that, all the parameter values are empirically set as above. Next, we move to coarse foreground and background generation.

Coarse background generation. At first, we compute a threshold thb by averaging the values of s Map that are lower than the mean of s Map. Next, comparing each element of s map with thb to initialize the coarse background mask b mask by setting the larger elements as 1, otherwise setting as 0. Finally, we sum the initialized b mask with c mask to update b mask. If an element of b mask is less than 2, it stands for the corresponding pixel is a pure background pixel. Coarse foreground generation. First, we look for elements of s map that are larger than s Map mean and then set them as 1, otherwise set as 0, to form an initial coarse foreto obtain the coarse foreground mask f mask. If the element ground mask f mask. Next, we joint f mask and c mask of f mask is 1, the corresponding pixel is pure foreground.

Figure 1: The overview of our proposed coarse-to-fine image co-segmentation method.

![Image](https://ijcai.org/proceedings/2018/fulltext/100/image_000000_7943df12b175c9e4c13eec2209ea5be9f5fe5b3ec05281ccc44ab71a34822669.png)

## 2.2 Image Co-segmentation with Intra and Inter Rank Constraints

Instead of following the conventional pipeline for image co-segmentation, in our framework (see Fig. 1), we propose a novel perspective to solve the graph-based image cosegmentation problem. Based on the definition of image cosegmentation, all the images have two segments (foreground and background), and each image also has two segments. Conventional methods usually construct a similarity graph A based on the features of superpixels, and all the superpixels are connected as just one connected component. Ideally, if the superpixels of all the images (and also for each image) are connected as exactly 2 components, the superpixels are naturally divided into 2 segmentations and this segmentation is the optimal solution for different criteria, e.g., normalized cut [Shi and Malik, 2000]. Then we can get our objective function:

<!-- formula-not-decoded -->

where S is the segmentation similarity graph to be learned, and A ∈ RN×N is the original similarity graph. Sm is a block of S and it is the segmentation similarity matrix of image Im. The object function aims to learn a S which is similar to A. To avoid the case that some rows of S are all zeros, we further constrain the S such that the sum of each row of S is one.

Under these constraints, we learn a S that best approximates the initial affinity matrix A. The last two constraints require that all the images have two segments (foreground and background), and each image also has two segments, which is the definition of image co-segmentation.

The problem in (2) is not easy to solve because of the constraints. To tackle this, we start from the following theorem. For a nonnegative similarity matrix S, there is a Laplacian matrix L associated with it. According to the definition of Laplacian matrix, suppose each superpixel xi is assigned a random value as fi ∈ R1×K , then L can be calculated as:

<!-- formula-not-decoded -->

where F ∈ RN×K with the i-th row formed by fi, L = D - St+S 2 is called the Laplacianmatrix in graph theory, the degree matrix D ∈ RN×N is defined as a diagonal matrix where the i-th diagonal element is ∑j (sji + sij) /2. The Laplacian matrix L has the following property.

Theorem 1 The number K of the eigenvalue 0 of the Laplacian matrix L is equal to the number of connected components in the graph with the similarity matrix S if S is nonnegative.

Theorem 1 indicates that if rank(L) = N - 2, then the superpixels have 2 connected components based on S. Thus, (2) can be reformulated as:

<!-- formula-not-decoded -->

where L is the laplacian matrix of S, and Lm is the laplacian matrix of Sm. It is still difficult to solve the problem (4). Because L = D - (ST + S) /2 and D also depends on S. The constraint rank(L) = N-2, rank(Lm) = N-2 are not easy to tackle. Suppose ei is the i-th smallest eigenvalue of L and (em)i is the i-th smallest eigenvalue of Lm, we know ei, (em)i ≥ 0 since L and Lm are positive semi-definite. It can be seen that the problem (4) is equivalent to the following problem for a large enough value of α and β 1 :

<!-- formula-not-decoded -->

When α and β are set to a large enough value, ∑2i ei and ∑2i (em)i will be imposed to be close to 0, which results in rank (L) = N - 2 and rank (Lm) = N - 2.

According to the Ky Fan's Theorem [Fan, 1949], we have:

<!-- formula-not-decoded -->

Therefore, (5) is further equivalent to:

<!-- formula-not-decoded -->

Compared with the original problem 2, the problem 7 is much easier to solve.

## 2.3 Iterative Optimization

We propose an iterative method to minimize the above objective function in Eq.7. We first formally define the relationships between S to Sm, and F to Fm. Recall that S is the original similarity graph of all images, and Sm is the similarity graph of the m-th image. Therefore, Sm = S (idsm : idem, idsm : idem), where idsm and idem are the index for the starting and ending position of superpixels in M images set. Formally, we define a selection matrix U ∈ RN×Nm so that Sm = UTmSUm, where U is a matrix with all zeros, but the idsm to idem rows are filled by an identity matrix INm . Similarly, we can get Fm = UTmF.

By taking the original similarity matrix A as input, in each iteration, our algorithm first updates F and Fm given S, and then updates S by fixing F and Fm. These steps are described below.

## Update F and Fm

By fixing S, we can obtain F and Fm by optimizing Eq.7. This is equivalent to optimize the following objective function:

<!-- formula-not-decoded -->

which can be further reformulated as:

<!-- formula-not-decoded -->

F can be solved by obtaining the two smallest eigenvector of UmLmUTm), and Fm = UT F.

<!-- formula-not-decoded -->

1 In the real implementation, we initialize with 1000, and increase α, β to α×2, β ×2 if the current number of connected components is less than 2, and decrease α, β to α/2, β/2 if the current number of connected components is larger than 2

## Update S

By fixing F and Fm, we can obtain S by optimizing Eq.7. It is equivalent to optimize the following objective function:

<!-- formula-not-decoded -->

and we can rewrite the second part as:

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

Denote gi,j = α‖fi - fj‖2 + β M∑ m=1 (bm)ij , and (12) can

be reformulated as:

<!-- formula-not-decoded -->

The problem in Eq.13 is simplex [Nie et al., 2016] and the critical step of the projected gradient method is to solve the following proximal problem:

<!-- formula-not-decoded -->

This proximal problem can be solved by an efficient iterative algorithm [Nie et al., 2016]. Then each si can be efficiently solved, and we can get the updated graph S.

We update F and S iteratively until the objective function Eq.7 converges.

## 3 Experiments

We evaluate our algorithm on the task of image cosegmentation. Firstly, we compare our results with state-ofthe-art algorithms on two standard datasets. Then, we study the influence of different features for our algorithm.

## 3.1 Experimental Settings

## Datasets

We evaluated the proposed algorithm on two public benchmark datasets: the iCoseg dataset [Batra et al., 2010] and the MSRC dataset [Winn et al., 2005]. iCoseg dataset contains 38 image classes of totally 643 images with manually labeled pixel-wise ground-truth masks. We follow [Lee et al., 2015] to use a subset of 16 object classes. The later includes 591 pixelwise labeled images of 23 object classes. We select the same classes as reported by [Joulin et al., 2010;

Figure 2: Qualitative results for co-segmentation on two datasets.

![Image](https://ijcai.org/proceedings/2018/fulltext/100/image_000001_4a0284b22c3198cb1ee8148bd4acc03b7021931eff1b2479c1b12e7b7b8acfeb.png)

Lee et al., 2015]. The complex background of the MSRC dataset makes it more challenging, and it involves considerable changes in viewpoints and illumination.

Following [Lee et al., 2015], we evaluate accuracy, precision and recall for the segmentation. A segmentation accuracy is defined as the percentage of correctly labeled pixels, while precision and recall are defined as the percentage of correctly labeled foreground.

## Features

We utilize two kinds of image features, i.e., the shallow features and the deep features, to capture different characteristics of each superpixel. Specifically, we used HSV feature in our work, and we further test another three kinds of shallow features, including LAB, texture, and dense SIFT descriptors. Software from [van de Sande et al., 2011] is used, and the dimensions for each feature is 75-D for HSV, 75-D for LAB, 240-D for texture, and 1024-D for SIFT.

For deep feature, we employ the CNN-S [Chatfield et al., 2014] model which is pre-trained on the ImageNet dataset. Firstly, we feed each image into the pre-trained CNN and get the responses from the last convolutional layer, which consists of 512 feature maps with size of 17×17. Next, we resize the feature maps to the size of the original image, and then use a max pooling operation on each superpixel to generate a 512-D CNN feature vector.

We run our algorithm using single image (IS) and cosegmentation (CS). Instead of running our method on the proposed non-background regions, we also test the performance of our algorithm using the full image (FI).

## 3.2 Results on iCoseg Dataset

To evaluate the performance of our method, we compare it with different image co-segmentation algorithms, e.g., MRW

Table 1: Accuracy of state-of-the-art image co-segmentation algorithms on iCoseg dataset

| Class          |      |   RM |   OC |   CFM |   CFO |   MRW |   Our - FI |   Our - IS |   Our - CS |
|----------------|------|------|------|-------|-------|-------|------------|------------|------------|
| 1 Alaskan bear | 86.4 | 90.0 |      |  90.4 |  91.6 |  87.3 |       92.0 |       86.7 |       93.5 |
| 2 Balloon      | 89.0 | 90.1 |      |  90.4 |  94.9 |  97.7 |       99.1 |       95.2 |       99.1 |
| 3 Baseball     | 90.5 | 90.9 |      |  94.2 |  97.1 |  97.1 |       97.1 |       97.7 |       97.2 |
| 4 Bear         | 80.4 | 95.3 |      |  88.1 |  93.8 |  93.7 |       86.3 |       72.3 |       94.1 |
| 5 Elephant     | 75.0 | 43.1 |      |  86.7 |  93.0 |  93.1 |       82.1 |       85.8 |       88.7 |
| 6 Ferrari      | 84.3 | 89.9 |      |  95.6 |  91.7 |  91.9 |       91.6 |       83.2 |       91.7 |
| 7 Gymnastics   | 87.1 | 91.7 |      |  90.4 |  95.0 |  96.1 |       97.8 |       86.0 |       97.6 |
| 8 Kite         | 89.8 | 90.3 |      |  93.9 |  96.7 |  95.7 |       97.1 |       85.8 |       96.3 |
| 9 Kite panda   | 78.3 | 90.2 | 93.1 |       |  93.9 |  96.0 |       94.6 |       90.5 |       96.2 |
| 10 Liverpool   | 82.6 | 87.5 |      |  89.4 |  93.3 |  88.5 |       96.2 |       95.4 |       94.0 |
| 11 Panda       | 60.0 | 92.7 | 88.6 |       |  76.9 |  84.8 |       82.2 |       70.4 |       89.7 |
| 12 Skating     | 76.8 | 77.5 | 78.7 |       |  98.9 |  91.6 |       77.7 |       77.8 |       89.9 |
| 13 Statue      | 91.6 | 93.8 |      |  96.8 |  93.7 |  94.5 |       99.2 |       94.6 |       95.8 |
| 14 Stonehenge  | 87.3 | 63.3 | 92.5 |       |  91.6 |  95.9 |       93.5 |       87.5 |       96.6 |
| 15 Stonehenge2 | 88.4 | 88.8 | 87.2 |       |  87.1 |  90.7 |       86.7 |       72.7 |       87.2 |
| 16 Taj Mahal   | 88.7 | 91.1 | 92.6 |       |  88.0 |  95.2 |       97.8 |       96.3 |       97.4 |
| Average        | 83.5 | 85.4 |      |  90.5 |  92.3 |  93.1 |       92.0 |       86.1 |       94.1 |

[Lee et al., 2015], RM [Rubio, 2012], OC [Vicente et al., 2011], CFM [Wang et al., 2013], CFO [Li et al., 2016].

Table 1 shows the accuracy of state-of-the-art image cosegmentation algorithms on iCoseg dataset and Table 2 depicts the precision and recall for the different methods. We also show some qualitative results in Fig. 2. From these figures, we have the following observations:

Compared to state-of-the-art image co-segmentation algorithms, our method achieves better performance in terms of segmentation average accuracy. This indicates that our graphbased coarse-to-fine image co-segmentation strategy can result in a good segmentation. MRW [Lee et al., 2015] and [Li et al., 2016] are strong competitors, and they outperform our method for some object classes, e.g., 'elephant', 'skating' and 'stonehenge2'. One reason is that the proposed nonbackground regions of our method is not that accurate, and some foreground are not covered by the non-background regions, e.g., 'elephant' and 'stonehenge2'. Another reason is that HSV is a simple visual feature, and is not powerful enough to segment visually different superpixels into one part, e.g., the black skirts and white pants for 'skating'.

Table 2: Precision and Recall of state-of-the-art image cosegmentation algorithms on iCoseg dataset

| Class          |   P MRW [Lee et al., 2015] |   R MRW [Lee et al., 2015] |   P Our CS |   R Our CS |
|----------------|----------------------------|----------------------------|------------|------------|
| 1 Alaskan bear |                       45.0 |                       97.2 |       79.4 |       91.4 |
| 2 Balloon      |                       66.2 |                       94.3 |       96.3 |       96.4 |
| 3 Baseball     |                       84.5 |                       73.6 |       87.7 |       74.3 |
| 4 Bear         |                       75.9 |                       98.5 |       76.8 |       97.8 |
| 5 Elephant     |                       71.9 |                       97.1 |       77.2 |       74.9 |
| 6 Ferrari      |                       81.4 |                       92.4 |       98.6 |       68.0 |
| 7 Gymnastics   |                       99.6 |                       75.4 |       97.2 |       88.7 |
| 8 Kite         |                       95.2 |                       94.6 |       89.7 |       83.3 |
| 9 Kite panda   |                       94.5 |                       93.1 |       90.8 |       98.0 |
| 10 Liverpool   |                       56.2 |                       79.4 |       66.8 |       96.7 |
| 11 Panda       |                       95.4 |                       71.5 |       86.7 |       93.5 |
| 12 Skating     |                       95.1 |                       93.6 |       85.7 |       91.4 |
| 13 Statue      |                       99.1 |                       77.4 |       98.7 |       83.4 |
| 14 Stonehenge  |                       74.0 |                       97.9 |       88.7 |       92.6 |
| 15 Stonehenge2 |                       82.3 |                       96.6 |       89.1 |       86.1 |
| 16 Taj Mahal   |                       80.8 |                       92.8 |       89.2 |       95.4 |
| Average        |                       81.1 |                       89.1 |       87.4 |       88.2 |

Compared with FI, the performance for CS is improved by 2.1%. This indicates that our proposed non-background regions can get rid of some noise, and improve our graph-based segmentation algorithm. On the other hand, the improvement of CS over IS is more significant, and it is 8.0%. IS attempts to separate an object from its background in a single image, but without consideration of multiple images, the definition of 'object' is ambiguous. For instance, given the single image of 'baseball', it is not clear whether the object should consist of the people in white only or all the people. Thus, IS may fail to delineate desired objects, especially in the cases of several objects. In contrast, CS overcomes the ambiguity, by extracting regions that occur repeatedly across images.

Comparing with MRW [Lee et al., 2015] in terms of precision and recall, our method CS achieves much better performance for precision with 7.4%, but slightly worse performance for recall with 0.7% decrease. These results show that our CS can generate relative smaller foreground than MRW, but these regions are more precise.

The qualitative results are demonstrated as the top-rows in Fig. 2 . The results show that our CS can successfully cosegment images for simple background (e.g., 'balloon'), complex background (e.g., 'alaskan bear'), single object (e.g., 'panda') and multiple objects (e.g., 'skating'). In general, better performance is achieved for single object segmentation with simple background. In cases of complex background and foreground, e.g., 'skating' and 'Stonehenge2', our segmentation performance is unsatisfactory, and the proposed foreground and background have more noise than other cases.

## 3.3 Results onMSRCDataset

On MSRC dataset, we compare our method to state-of-the-art image co-segmentation algorithms, e.g., MRW, DC [Joulin et al., 2010], RM [Rubio, 2012], CFM [Wang et al., 2013]. Table 3 shows the accuracy of state-of-the-art image cosegmentation algorithms on MSRC dataset and Table 4 depicts the precision and recall for the different methods. We also show some qualitative results in Fig. 2. We have the following observations:

Table 3: Accuracy of state-of-the-art image co-segmentation algorithms on MSRC dataset

|    | Class      |   RM |   DC |   CFM |   MRW |   Our - FI |   Our - IS |   Our - CS |
|----|------------|------|------|-------|-------|------------|------------|------------|
|  1 | car(front) | 65.9 | 87.6 |  87.3 |  84.3 |       86.0 |       66.6 |       88.7 |
|  2 | car(back)  | 52.4 | 85.1 |  92.7 |  81.7 |       64.7 |       66.8 |       85.7 |
|  3 | bike       | 62.4 | 63.3 |  74.8 |  70.1 |       61.6 |       60.7 |       76.2 |
|  4 | cat        | 77.1 | 74.4 |  88.3 |  82.2 |       83.7 |       71.6 |       90.1 |
|  5 | cow        | 80.1 | 81.6 |  89.7 |  93.1 |       92.4 |       86.2 |       93.2 |
|  6 | face       | 76.3 | 84.3 |  89.3 |  81.0 |       74.8 |       73.2 |       83.6 |
|  7 | plane      | 77.0 | 73.8 |  87.3 |  93.0 |       67.8 |       61.1 |       85.1 |
|    | Average    | 70.8 | 78.6 |  87.1 |  83.7 |       76.0 |       69.2 |       86.2 |

Table 4: Precision and Recall of state-of-the-art image cosegmentation algorithms on MSRC dataset

|    | Class      |   P MRW [Lee et al., 2015] |   R MRW [Lee et al., 2015] |   P Our CS |   R Our CS |
|----|------------|----------------------------|----------------------------|------------|------------|
|  1 | car(front) |                       99.3 |                       68.4 |       95.7 |       79.8 |
|  2 | car(back)  |                       94.4 |                       68.3 |       85.8 |       85.7 |
|  3 | cat        |                       57.2 |                       89.1 |       64.3 |       76.2 |
|  4 | cow        |                       74.1 |                       53.5 |       83.0 |       80.9 |
|  5 | dog        |                       95.6 |                       77.1 |       91.1 |       83.7 |
|  6 | plane      |                       66.1 |                       58.4 |       57.2 |       72.1 |
|  7 | sheep      |                       55.1 |                       88.7 |       59.5 |       78.1 |
|    | Average    |                       77.4 |                       71.9 |       76.7 |       79.5 |

Compared to state-of-the-art image co-segmentation algorithms, our method CS achieves comparable performance in terms of segmentation average accuracy. This indicates that our CS can result in a good segmentation for cases of complex background. [Wang et al., 2013] has better accuracy than our CS, and it outperform our method for object classes of 'car(back)' and 'face' by 7.0% and 5.7%. However, they use multiple features, and our CS achieves this performance by using HSV feature only. By using sophisticated features or multiple features, the performance can be potentially improved. On the other hand, our CS obtains the best performance for 'car(front)', 'bike', 'cat' and 'cow', and it consistently outperforms MRW,[Rubio, 2012] and [Joulin et al., 2010] except for the class of 'plane'.

Compared with FI, the performance for CS is improved by 10.2%, which is greater than iCoseg dataset. The indicates that for complex background, our proposed non-background regions can better get rid of noise. On the other hand, the improvement of CS over IS is much more significant, and it is 17.0%. The reason for the improvement of CS over IS is similar to that of iCoseg dataset. CS overcomes the ambiguity of IS by extracting regions that co-occur in all the images.

Comparing with MRW [Lee et al., 2015] in terms of precision and recall, our method CS achieves much better performance for recall, but slightly worse performance for precision. These show that our CS can segment more regions to foreground than MRW, without decreasing the precision.

The qualitative results are demonstrated as the bottom-rows in Fig. 2. The qualitative results show that our CS can successfully co-segment images for simple background (e.g., 'cow'), complex background (e.g., 'face'), single object (e.g., 'face') and multiple objects (e.g., 'bike'). In general, better performance is achieved for single object segmentation with simple background. In cases of complex background and foreground, e.g., 'car(front)' and 'airplane', the proposed foreground and background have more noise then other cases. Therefore, our segmentation performance is unsatisfactory.

## 4 Conclusions

In this work, we propose a novel unsupervised coarse-to-fine co-segmentation (CFC) framework, which introduces graphbased image co-segmentation based on intra and inter rank constraints, and also utilizes the coarse foreground and background proposals to construct a robust original similarity graph. Experiments on two commonly used image datasets (iCoseg and MSRC) demonstrate that our method achieves comparable or even better performance than state-of-the-art methods by using only HSV feature.

## Acknowledgments

This work is supported by the Fundamental Research Funds for the Central Universities (Grant No. ZYGX2014J063, No. ZYGX2014Z007) and the National Natural Science Foundation of China (Grant No. 61772116, No. 61502080, No. 61632007, No. 61602049).

## References

1. [Arbeláez et al., 2014] Pablo Andrés Arbeláez, Jordi Pont- Tuset, Jonathan T. Barron, Ferran Marqués, and Jitendra Malik. Multiscale combinatorial grouping. In CVPR, pages 328-335, 2014.
2. [Batra et al., 2010] Dhruv Batra, Adarsh Kowdle, Devi Parikh, Jiebo Luo, and Tsuhan Chen. icoseg: Interac- tive co-segmentation with intelligent scribble guidance. In CVPR, pages 3169-3176, 2010.
3. [Chatfield et al., 2014] Ken Chatfield, Karen Simonyan, An- drea Vedaldi, and Andrew Zisserman. Return of the devil in the details: Delving deep into convolutional nets. In BMVC, 2014.
4. [Fan, 1949] Ky Fan. On a theorem of weyl concerning eigen- values of linear transformations i. Proceedings of the Na- tional Academy of Sciences of the United States of Amer- ica, 35(11):652, 1949.
5. [Gao et al., 2016] Lianli Gao, Jingkuan Song, Feiping Nie, Fuhao Zou, Nicu Sebe, and Heng Tao Shen. Graph- without-cut: An ideal graph learning for image segmen- tation. In AAAI, pages 1188-1194, 2016.
6. [Joulin et al., 2010] Armand Joulin, Francis R. Bach, and Jean Ponce. Discriminative clustering for image co- segmentation. In CVPR, pages 1943-1950, 2010.
7. [Lee et al., 2015] Chulwoo Lee, Won-Dong Jang, Jae-Young Sim, and Chang-Su Kim. Multiple random walkers and their application to image cosegmentation. In CVPR, pages 3837-3845, 2015.
8. [Li et al., 2016] Kunqian Li, Jiaojiao Zhang, and Wenbing Tao. Unsupervised co-segmentation for indefinite number of common foreground objects. IEEE Trans. Image Pro- cessing, 25(4):1898-1909, 2016.
9. [Maninis et al., 2017] Kevis-Kokitsi Maninis, Sergi Caelles, Jordi Pont-Tuset, and Luc Van Gool. Deep extreme cut: From extreme points to object segmentation. CoRR, abs/1711.09081, 2017.
10. [Margolin et al., 2013] Ran Margolin, Ayellet Tal, and Lihi Zelnik-Manor. What makes a patch distinct? In Proceed- ings of the 2013 IEEE Conference on Computer Vision and Pattern Recognition, CVPR '13, pages 1139-1146, Wash- ington, DC, USA, 2013. IEEE Computer Society.
11. [Meng et al., 2012] Fanman Meng, Hongliang Li, Guanghui Liu, and King Ngi Ngan. Object co-segmentation based on shortest path algorithm and saliency model. IEEE Trans. Multimedia, 14(5):1429-1441, 2012.
12. [Meng et al., 2013] Fanman Meng, Hongliang Li, King Ngi Ngan, Liaoyuan Zeng, and Qingbo Wu. Feature adaptive co-segmentation by complexity awareness. IEEE Trans. Image Processing, 22(12):4809-4824, 2013.
13. [Mukherjee et al., 2018] Prerana Mukherjee, Brejesh Lall, and Snehith Lattupally. Object cosegmentation using deep siamese network. CoRR, abs/1803.02555, 2018.
14. [Nie et al., 2016] Feiping Nie, Xiaoqian Wang, Michael I. Jordan, and Heng Huang. The constrained laplacian rank algorithm for graph-based clustering. In AAAI, pages 1969-1976, 2016.
15. [Rubio, 2012] José C. Rubio. Unsupervised co-segmentation through region matching. In CVPR, pages 749-756, 2012.
16. [Shi and Malik, 2000] Jianbo Shi and Jitendra Malik. Nor- malized cuts and image segmentation. IEEE Trans. Pat- tern Anal. Mach. Intell., 22(8):888-905, 2000.
17. [Song et al., 2016] Jingkuan Song, Lianli Gao, Mihai Mar- ian Puscas, Feiping Nie, Fumin Shen, and Nicu Sebe. Joint graph learning and video segmentation via multiple cues and topology calibration. In ACM Multimedia, pages 831- 840, 2016.
18. [van de Sande et al., 2011] Koen E. A. van de Sande, Jasper R. R. Uijlings, Theo Gevers, and Arnold W. M. Smeulders. Segmentation as selective search for object recognition. In ICCV, pages 1879-1886, 2011.
19. [Vicente et al., 2011] Sara Vicente, Carsten Rother, and Vladimir Kolmogorov. Object cosegmentation. In CVPR, pages 2217-2224, 2011.
20. [Wang et al., 2013] Fan Wang, Qixing Huang, and Leonidas J. Guibas. Image co-segmentation via con- sistent functional maps. In ICCV, pages 849-856, 2013.
21. [Winn et al., 2005] John M. Winn, Antonio Criminisi, and Thomas P. Minka. Object categorization by learned uni- versal visual dictionary. In ICCV, pages 1800-1807, 2005.
22. [Yuan et al., 2017] Ze-Huan Yuan, Tong Lu, and Yirui Wu. Deep-dense conditional random fields for object co- segmentation. In IJCAI, pages 3371-3377, 2017.
