Overview
Watershed segmentation grows basins from local minima or markers until boundaries meet at ridges in the image surface.
Segments regions by treating image intensity as a terrain flooded from markers.
Compact metadata for implementation and discovery.
Watershed segmentation grows basins from local minima or markers until boundaries meet at ridges in the image surface.
Quick facts
Runtime and memory behavior at a glance.
Best
O(pixels log pixels)
Average
O(pixels log pixels)
Worst
O(pixels log pixels)
Space
O(pixels)
Show the source image beside masks, filters, or motion vectors produced by the algorithm.
Watershed Segmentation should be used with the assumptions and tradeoffs of image Segmentation in mind.
What each reference supports for this entry.
Reference for watershed segmentation using immersion-style flooding and catchment basins.
Open sourceImage-processing textbook support for Watershed Segmentation filtering, morphology, segmentation, restoration, or connected-component behavior.
Good next jumps from the relationship graph, ranked for useful discovery.
Watershed segmentation is often paired with morphological cleanup of markers and regions.