Segmentation#
segment() partitions an image into labelled regions (for example the sand
layers of a FluidFlower rig) using a watershed on a gradient or monochromatic
signal. The remaining helpers manage label arrays produced by segmentation.
|
Segment an image using watershed segmentation, with denoising. |
|
Segment an image by matching pixel colours to a reference map. |
|
Unite labels in the given groups. |
|
Reassign labels according to the provided mapping. |
|
Ensure that labels in the image are consecutive integers starting from 0. |
Masks#
|
Iterable object converting a label imaged to masks. |
|
Create a full-domain boolean mask image from one or more bounding-box ROIs. |