Image Segmentation Superpixel methods Speaker: Hsuan-Yi Ko.

Slides:



Advertisements
Similar presentations
Liang Shan Clustering Techniques and Applications to Image Segmentation.
Advertisements

Image Repairing: Robust Image Synthesis by Adaptive ND Tensor Voting IEEE Computer Society Conference on Computer Vision and Pattern Recognition Jiaya.
Segmentácia farebného obrazu
Biased Normalized Cuts 1 Subhransu Maji and Jithndra Malik University of California, Berkeley IEEE Conference on Computer Vision and Pattern Recognition.
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
Content Based Image Retrieval
Lecture 6 Image Segmentation
Effective Image Database Search via Dimensionality Reduction Anders Bjorholm Dahl and Henrik Aanæs IEEE Computer Society Conference on Computer Vision.
EE 7730 Image Segmentation.
A Cell Image Segmentation Algorithm By Simulating Particle Movement Project report of Computer Vision Xijiang Miao.
CS 376b Introduction to Computer Vision 04 / 08 / 2008 Instructor: Michael Eckmann.
Normalized Cuts and Image Segmentation Jianbo Shi and Jitendra Malik, Presented by: Alireza Tavakkoli.
Region Segmentation. Find sets of pixels, such that All pixels in region i satisfy some constraint of similarity.
Segmentation Divide the image into segments. Each segment:
Announcements Project 2 more signup slots questions Picture taking at end of class.
Today: Image Segmentation Image Segmentation Techniques Snakes Scissors Graph Cuts Mean Shift Wednesday (2/28) Texture analysis and synthesis Multiple.
Normalized Cuts Demo Original Implementation from: Jianbo Shi Jitendra Malik Presented by: Joseph Djugash.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
Cutting complete weighted graphs Jameson Cahill Ido Heskia Math/CSC 870 Spring 2007.
WORD-PREDICTION AS A TOOL TO EVALUATE LOW-LEVEL VISION PROCESSES Prasad Gabbur, Kobus Barnard University of Arizona.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Image Segmentation A Graph Theoretic Approach. Factors for Visual Grouping Similarity (gray level difference) Similarity (gray level difference) Proximity.
Announcements Project 3 questions Photos after class.
Graph-based Segmentation
Multiple Organ detection in CT Volumes - Week 2 Daniel Donenfeld.
Image Segmentation Image segmentation is the operation of partitioning an image into a collection of connected sets of pixels. 1. into regions, which usually.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Image Segmentation Rob Atlas Nick Bridle Evan Radkoff.
Interactive Image Segmentation of Non-Contiguous Classes using Particle Competition and Cooperation Fabricio Breve São Paulo State University (UNESP)
Segmentation and Grouping Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/23/10.
Computer Vision James Hays, Brown
CSE 185 Introduction to Computer Vision Pattern Recognition.
Clustering methods Course code: Pasi Fränti Speech & Image Processing Unit School of Computing University of Eastern Finland Joensuu,
Presenter : Kuang-Jui Hsu Date : 2011/5/3(Tues.).
Unsupervised Object Segmentation with a Hybrid Graph Model (HGM) Reporter: 鄭綱 (6/14)
Segmentation using eigenvectors
CSSE463: Image Recognition Day 34 This week This week Today: Today: Graph-theoretic approach to segmentation Graph-theoretic approach to segmentation Tuesday:
Segmentation using eigenvectors Papers: “Normalized Cuts and Image Segmentation”. Jianbo Shi and Jitendra Malik, IEEE, 2000 “Segmentation using eigenvectors:
Region Segmentation Readings: Chapter 10: 10.1 Additional Materials Provided K-means Clustering (text) EM Clustering (paper) Graph Partitioning (text)
Recognition using Regions (Demo) Sudheendra V. Outline Generating multiple segmentations –Normalized cuts [Ren & Malik (2003)] Uniform regions –Watershed.
7.1. Mean Shift Segmentation Idea of mean shift:
Image Segmentation February 27, Implicit Scheme is considerably better with topological change. Transition from Active Contours: –contour v(t) 
Chapter 14: SEGMENTATION BY CLUSTERING 1. 2 Outline Introduction Human Vision & Gestalt Properties Applications – Background Subtraction – Shot Boundary.
CSE 185 Introduction to Computer Vision Pattern Recognition 2.
EECS 274 Computer Vision Segmentation by Clustering II.
IEEE Int'l Symposium on Signal Processing and its Applications 1 An Unsupervised Learning Approach to Content-Based Image Retrieval Yixin Chen & James.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Real-Time Tracking with Mean Shift Presented by: Qiuhua Liu May 6, 2005.
CSSE463: Image Recognition Day 23 Midterm behind us… Midterm behind us… Foundations of Image Recognition completed! Foundations of Image Recognition completed!
Image Segmentation Shengnan Wang
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
 In the previews parts we have seen some kind of segmentation method.  In this lecture we will see graph cut, which is a another segmentation method.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP10 Advanced Segmentation Miguel Tavares.
In: Pattern Analysis and Machine Intelligence, IEEE Transactions on, Vol. 30, Nr. 1 (2008), p Group of Adjacent Contour Segments for Object Detection.
Finding Clusters within a Class to Improve Classification Accuracy Literature Survey Yong Jae Lee 3/6/08.
Learning Hierarchical Features for Scene Labeling Cle’ment Farabet, Camille Couprie, Laurent Najman, and Yann LeCun by Dong Nie.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
Document Clustering with Prior Knowledge Xiang Ji et al. Document Clustering with Prior Knowledge. SIGIR 2006 Presenter: Suhan Yu.
Course Introduction to Medical Imaging Segmentation 1 – Mean Shift and Graph-Cuts Guy Gilboa.
A. M. R. R. Bandara & L. Ranathunga
Miguel Tavares Coimbra
Region Segmentation Readings: Chapter 10: 10
Mean Shift Segmentation
Object detection as supervised classification
Image Segmentation Techniques
Emel Doğrusöz Esra Ataer Muhammet Baştan Tolga Can
Spectral Clustering Eric Xing Lecture 8, August 13, 2010
A Block Based MAP Segmentation for Image Compression
“Traditional” image segmentation
Image Segmentation Samuel Cheng
Presentation transcript:

Image Segmentation Superpixel methods Speaker: Hsuan-Yi Ko

Outline Introduction to superpixels Graph-based superpixel methods ‧Ncut ‧ERS Gradient-based superpixel methods ‧SLIC ‧Waterpixel Conclusion Reference

What’s the superpixel? A cluster of connected pixels with similar features (ex: color、 brightness、texture...). It can be regarded as a result of over segmentation. The concept was proposed in 2003 but the results of some former methods also can be called superpixels. (ex: watershed、mean shift) Watershed [1] TurboPixel [2]

Desirable Properties of Superpixels Good adherence to object boundaries Regular shape and similar size Compute fast and simple to use

Advantage of Superpixels Regional information High computational efficiency

Superpixel Methods Graph-based: Superpixel Lattice、Efficient Graph-based segmentation、Ncut、ERS…… Gradient-based: Watershed、MeanShift、Quick-Shift、 TurboPixel、SLIC……

Graph-Based Methods Normalized Cut (Ncut) [5] Entropy Rate Superpixel (ERS) [4]

Graph Representation Denote an undirected graph as G=<V, E> where V is the vertex set and E is the edge set. Wij: the weight on the edge which connects node i and node j In an undirected graph, the edge weights are symmetric, that is Wij = Wji. Example for an undirected graph undirected graph

Graph-Based Segmentation Consider an image as an undirected graph and each edge is assigned with a non-negative weight -Treat each pixel as a node in a graph -Edge weights are related to the similarity between neighboring pixels. Various techniques are formed based on this assumption and graph cut. Consider an image as an undirected graph

Min Cut The cost of the cut is the sum of the weights on cut edges. Min cut is a method of minimizing the cost of the cut, but it favors cutting small sets of isolated nodes in the graph. [5] Shi, Jianbo, and Jitendra Malik. "Normalized cuts and image segmentation.“\ [5] Shi, Jianbo, and Jitendra Malik. "Normalized cuts and image segmentation." 

Ncut Avoid the unnatural bias Minimize Ncut to segment images the total connection from nodes in A to all nodes in the graph Avoid the unnatural bias Minimize Ncut to segment images [5] Shi, Jianbo, and Jitendra Malik. "Normalized cuts and image segmentation." 

Simulation Results Regular and compact shape Bad adherence to object boundaries High computational cost especially for images with large size [6] Achanta, Radhakrishna, et al. "SLIC superpixels compared to state-of-the-art superpixel methods."  The average superpixel size in the upper left of each image is 100 pixels and is 300 in the lower right. [6] Achanta, Radhakrishna, et al. "SLIC superpixels compared to state-of-the-art superpixel methods." 

ERS Objective function: (1)H(A): entropy rate of a random walk on a graph - compact and homogeneous clusters - superpixels overlapping only a single object (2) B(A): balancing term on the cluster distribution - clusters with similar sizes

Random walks on graphs Let X = { Xt|t ∈ T, Xt ∈V } be a random walk on the graph G = (V, E) and the entropy rate can be written as 假設X是在圖像上隨機遊走的過程,也就是在t這個時間點 位在node Xt 到了t+1 就跑到node Xt+1 這樣在圖上隨機遊走,這樣一個random walk的entropy rate可以用下面式子來表示 Wi 是和節點 i 相連邊的權重和 Wt 是整張圖上所有邊的權重和 Wij 是連接節點i和節點j的邊權重 (相似度) Pij 是節點 i 到節點 j 的轉移概率 (i不等於j), paper裡還有定義self loop的Pij ,這裡因為版面問題所以就沒細說了。

[4] Liu, Ming-Yu, et al. "Entropy rate superpixel segmentation."  The role of entropy rate in obtaining compact and homogeneous clustering. [4] Liu, Ming-Yu, et al. "Entropy rate superpixel segmentation." 

Balancing Term NA is the number of connected components Let the graph partitioning for the edge set A be SA = {S1, S2, ..., SNA}. Then the distribution of ZA is equal to The entropy H(ZA) favors clusters with similar sizes; whereas NA favors fewer number of clusters.

這裡是顯示當平衡項越大時,cluster的大小會越一致。 所以目標函數由Entropy rate和平衡項組成,Maximize the objective function後,就可以得到切割結果 The role of the balancing function in obtaining clusters of similar sizes. [4] Liu, Ming-Yu, et al. "Entropy rate superpixel segmentation." 

Simulation Results Irregular shape but similar size Good adherence to object boundaries Fast [4] [4] Liu, Ming-Yu, et al. "Entropy rate superpixel segmentation." 

Gradient-Based Segmentation Starting from rough initial clusters and then iteratively refine the clusters by gradient until some convergence criterion is met. Simple linear iterative clustering (SLIC) [6] Waterpixel [1] [8]

SLIC CIELAB color space Set initial seeds: distance S and low gradient in 3x3 window Local clustering by k-means in 5D space N pixels, K superpixels,種子點距離S,避免位在edge上,所以把種子移到3x3 window內較低gradient的地方,每個種子設一個唯一的label 根據距離和LAB計算相似度D,將每個pixel分給最相似的種子並標記 m是用來衡量顏色和空間訊息在相似度的比重 只在2Sx2S的空間中進行K-means 而不是在整張圖分群 (a) (b) (a) standard k-means searches the entire image. (b) SLIC searches a limit region. [6] Achanta, Radhakrishna, et al. "SLIC superpixels compared to state-of-the-art superpixel methods." 

Simulation Results Regular and compact superpixel Fast and simple The average superpixel size in the upper left of each image is 100 pixels and is 300 in the lower right The average superpixel size in the upper left of each image is 100 pixels and is 300 in the lower right. [6] Achanta, Radhakrishna, et al. "SLIC superpixels compared to state-of-the-art superpixel methods." 

Waterpixel spatially regularized gradient [11] Machairas, Vaïa, et al. "Waterpixels." Image Processing, IEEE Transactions on24.11 (2015): 3707-3716. spatially regularized gradient [11] Machairas, Vaïa, et al. "Waterpixels." Image Processing, IEEE Transactions on24.11 (2015): 3707-3716.

Waterpixel (h) k=0 (i) k=4 (j) k=10 Waterpixel可以透過調整k來控制superpixel的規律性,: 當k=0,就是原本的gradient,不影響超像素規律性,當 k 越大 , 會越趨近 regular grid. [7] Machairas, V., Etienne Decencìère, and Thomas Walter. "Waterpixels: Superpixels based on the watershed transformation."  The choice of k is application dependent: when k equals zero, no regularization of the gradient is applied; when k , we approach the regular grid. [7] Machairas, V., Etienne Decencìère, and Thomas Walter. "Waterpixels: Superpixels based on the watershed transformation." 

Simulation Results Fast computation Regular shape and similar size Bad adherence to object boundaries Waterpixel 隨著superpixel 數增加 所花時間跟著增加 但基本上都會比SLIC還快 Waterpixel 的邊界吻合度比SLIC還差 Waterpixel Waterpixel [11] Machairas, Vaïa, et al. "Waterpixels." Image Processing, IEEE Transactions on24.11 (2015): 3707-3716.

Conclusion Superpixel methods extract the meaningful regions in the image, and improve the computation based on pixels. Superpixel methods can be categorized into two types: graph-based methods and gradient-based methods. Different superpixel methods have different advantages and drawbacks. We should choose the proper method according to the problem.

Reference [1] Machairas, Vaïa, Etienne Decencière, and Thomas Walter. "Spatial Repulsion Between Markers Improves Watershed Performance." Mathematical Morphology and Its Applications to Signal and Image Processing. Springer International Publishing, 2015. 194-202. [2] Levinshtein, Alex, et al. "Turbopixels: Fast superpixels using geometric flows."Pattern Analysis and Machine Intelligence, IEEE Transactions on 31.12 (2009): 2290-2297. [3] Yi, Faliu, and Inkyu Moon. "Image segmentation: A survey of graph-cut methods." Systems and Informatics (ICSAI), 2012 International Conference on. IEEE, 2012. [4] Liu, Ming-Yu, et al. "Entropy rate superpixel segmentation." Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on. IEEE, 2011. [5] Shi, Jianbo, and Jitendra Malik. "Normalized cuts and image segmentation."Pattern Analysis and Machine Intelligence, IEEE Transactions on 22.8 (2000): 888-905. [6] Achanta, Radhakrishna, et al. "SLIC superpixels compared to state-of-the-art superpixel methods." Pattern Analysis and Machine Intelligence, IEEE Transactions on 34.11 (2012): 2274- 2282.

[7] Machairas, V. , Etienne Decencìère, and Thomas Walter [7] Machairas, V., Etienne Decencìère, and Thomas Walter. "Waterpixels: Superpixels based on the watershed transformation." Image Processing (ICIP), 2014 IEEE International Conference on. IEEE, 2014. [8] http://www.lunwen365.com/qitaleibie/lunwenzhidao/fanli/563192.html [9] http://m.blog.csdn.net/blog/Guzenyel/25769507 [10] Peng, Bo, Lei Zhang, and David Zhang. "A survey of graph theoretical approaches to image segmentation." Pattern Recognition 46.3 (2013): 1020-1038. [11] Machairas, Vaïa, et al. "Waterpixels." Image Processing, IEEE Transactions on24.11 (2015): 3707-3716.