Graph Cut and Image Segmentation using Mean Cut by Means of an
Agglomerative Algorithm
Elaine Ayumi Chiba
1
, Marco Antonio Garcia de Carvalho
1
and Andr´e Lu´ıs da Costa
2
1
Computing Visual Lab, School of Technology - FT, University of Campinas - UNICAMP, Limeira - SP, Brazil
2
Department of Computer Engineering and Industrial Automation, School of Electrical and Computer Engineering -
FEEC, University of Campinas - UNICAMP, Campinas-SP, Brazil
Keywords:
Image Segmentation, Graph Partitioning, Cut, Mean Cut, Hierarchical Clustering.
Abstract:
Graph partitioning, or graph cut, has been studied by several authors as a tool for image segmentation. It refers
to partitioning a graph into several subgraphs such that each of them represents a meaningful object of interest
in the image. In this work we propose a hierarchical agglomerative clustering algorithm driven by the cut and
mean cut criteria. Some preliminary experiments were performed using the benchmark of Berkeley BSDS500
with promising results.
1 INTRODUCTION
Image segmentation is an important task in computer
vision and image processing domains. It aims at parti-
tioning an image into regions of interest for later anal-
ysis (Gonzalez and Woods, 2010).
There are several graph theory based techniques
which are used in image segmentation. In particular,
the graph cut techniques perform the segmentation by
dividing a graph into disjoint subgraphs according to
a given measure that takes in account the removed
edges (Peng et al., 2013). There are different met-
rics to evaluate the graph’s cut quality. Wu and Leahy
(1993) proposed the first graph cut technique for im-
age segmentation, where the graph cut value must be
minimized in order to determine the optimal graph
partition. However, the cut metric has the bias of find-
ing small components. To address this problem other
metrics were introduced, such as the normalized cut
(Shi and Malik, 2000) and the mean cut (Wang and
Siskind, 2001). The optimization of these metrics are
problems with complexity NP-complete for general
graphs. Therefore, Shi and Malik (2000) employed
spectral graph teory (Cvetkovi´c et al., 2010) concepts
for finding a graph cut with small normalized cut
value, but not optimal. Wang and Siskind (2001) pre-
sented an algorithm capable of finding the graph cut
with optimal mean cut value, but is restricted to planar
graphs.
In a recent work, Costa (2013) proposed a novel
algorithm for finding graph partitions with small nor-
malized cut values. This new algorithm uses the nor-
malized cut metric to guide the hierarchical cluster-
ization of the graph nodes, until a given number of
clusters are reached. The Costa’s algorithm ensures
that the subgraphs are connected and achieves a nor-
malized cut value about 40 times smaller than the al-
gorithm proposed by Shi and Malik. Furthermore, the
computational performance of the new algorithm has
inverse relation and is less dependent on the number
of desired region than the former algorithm, which
has increasing cost as raises the number of desired re-
gions.
In this paper we utilize the Costa’s (Costa, 2013)
algorithm structure to create a hierarchical agglomer-
ative clustering algorithm driven by the cut and the
mean cut metrics. Although this new algorithm is
not able to find the graph partition with optimal mean
cut value, it is applicable to general graphs. Indeed,
the algorithm’s goal is not to optimize the cut mea-
sures but, instead, use them for directing the cluster-
ing process. Preliminary segmentations of the im-
ages from the Berkeley’s segmentation benchmark
BSDS500 (Arbel´aez et al., 2011) are being presented.
The next sections are organizedas follows: in Sec-
tion 2 an overview of the general process of image
segmentation by graph cut is given; in Section 3 we
introduce the algorithm proposed in this work; the
preliminary results obtained with the proposed algo-
rithm are shown in Section 4; finally, in Section 5 are
outlined some conclusions and perpectives for future
works.
708
Chiba E., Carvalho M. and Costa A..
Graph Cut and Image Segmentation using Mean Cut by Means of an Agglomerative Algorithm.
DOI: 10.5220/0004858207080712
In Proceedings of the 9th International Conference on Computer Vision Theory and Applications (VISAPP-2014), pages 708-712
ISBN: 978-989-758-003-1
Copyright
c
2014 SCITEPRESS (Science and Technology Publications, Lda.)