Skip to main content

Module watershed_markers

Module watershed_markers 

Source
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.