60 likes | 427 Views
Watershed Segmentation. Hang Xiao Jan 25, 2013. Idea. Region-based segmentation approach a landscape or topographic relief which is flooded by water watersheds are the dividing lines of the domains of attraction of rain falling over the region Basins: local minima Watershed lines : dams.
E N D
Watershed Segmentation Hang Xiao Jan 25, 2013
Idea • Region-based segmentation approach • a landscape or topographic relief which is flooded by water • watersheds are the dividing lines of the domains of attraction of rain falling over the region • Basins: local minima • Watershed lines : dams
Algorithm (Vincent and Soile) • Generate a list of all pixels in the image in height order. • Pixels belonging to the minimum are labeled with different identifier and placed into a FIFO queue • Loop until all pixels are visited • Removed the top pixel from the queue and put its unvisited neighbors into the queue • For the top pixel label it • if its neighboring have only one kind of labeled identifier, label it with the same identifier • Else label it with watershed line h = 0 h = 1 h = 2 h = 3