Expand description
Marker-controlled watershed flooding on a gray topographic surface.
Seeds grow by priority (lower gray first). When fronts from distinct labels
meet, the contested pixel stays unlabeled (0) as a watershed ridge.
Output labels are written into a caller-owned u16 buffer.
Functionsยง
- watershed_
markers - Marker-controlled watershed.