Image Segmentation
Machine Learning Study Group
Presented by Yaochen Xie Jan 25, 2018
Image Segmentation Machine Learning Study Group Presented by - - PowerPoint PPT Presentation
Image Segmentation Machine Learning Study Group Presented by Yaochen Xie Jan 25, 2018 Outline Overview Three Levels of Segmentation Basic Segmentation Semantic Segmentation (FCN, DeepLab) Instance Segmentation (Mask-RCNN)
Machine Learning Study Group
Presented by Yaochen Xie Jan 25, 2018
image into multiple segments.
boundaries.
is the process of assigning a label to every pixel in an image such that pixels with the same label share certain visual characteristics.
http://imagej.net/Segmentation
Image segmentation partitions an image into regions called segments
segments of connected pixels by analyzing some similarity criteria: Intensity, color, texture, histogram, features…
features
set of elements to be grouped (by human visual system)
“I stand at the window and see a house, trees, sky. Theoretically I might say there were 327 brightnesses and nuances of color. Do I have ”327”? No. I have sky, house, and trees.”
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
(Mostly unsupervised learning)
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
5 dimensions: 3 color channels & 2 space location
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Approach answers a basic question - Q: how to find a path from seed to mouse that follows object boundary as closely as possible?
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Basic Idea
Q: How to define cose? How to find the path? (Dijkstra)
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
How does really work? Treat the image as a graph:
Graph
link between every adjacent
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Felzenszwalb P F , Huttenlocher D P . Efficient Graph-Based Image Segmentation[J]. International Journal of Computer Vision, 2004, 59(2):167-181.
Basic Idea: Consider image as a graph, pixels as nodes and similarities as weights of edges. Cut edges with less weight in each iteration.
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Break graph into segments To delete links that cross between segments (with low weight)
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Measuring Affinity (weight):
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Measuring Affinity (weight):
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Measuring Affinity (weight):
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Measuring Affinity (weight):
Source: Forsyth & Ponce
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Steps: 1.Compute all the weights of edges. Put each node into separate components. 2.Sort edges by their weights. 3.In each iteration, for edge with the least weight: If its 2 ends belongs to different components and its weight is less than the threshold of both components, merge two ends. Set new threshold as min{weights}.
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Transforming fully connected layers into convolution layers enables a classification net to output a heat-map Fully Convolutional Networks [CVPR 2015]
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Convolution Deconvolution
Fully Convolutional Networks [CVPR 2015]
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Fully Convolutional Networks [CVPR 2015]
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
Atrous convolution
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
500 x 500 16 x 16 Fully Convolutional Network DeepLab 67 x 67 514 x 514
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
From output feature map From raw image
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation
❖ Basic Segmentation ❖ Semantic Segmentation ❖ Instance Segmentation