Skip to main content

Module voronoi_otsu_label

Module voronoi_otsu_label 

Source
Expand description

Voronoi–Otsu labeling (lite): Otsu threshold → distance peaks → watershed split.

Separates touching bright blobs without external libraries (scikit-image voronoi_otsu_labeling style, reduced to pure-Rust caller-buffered labels).

Functions§

otsu_threshold_from_hist
Otsu threshold for a Gray8 histogram (returns 0 if image empty / single-tone).
voronoi_otsu_label
Voronoi–Otsu label map: split touching bright objects.