skimage2.segmentation#

Warning

This module is part of the experimental skimage2 namespace and is subject to change without notice. Do not use it in production code. See the migration guide for more details.

Algorithms to partition images into meaningful regions or boundaries.

active_contour

Active contour model.

chan_vese

Chan-Vese segmentation algorithm.

checkerboard_level_set

Create a checkerboard level set with binary values.

clear_border

Clear objects connected to the label image border.

disk_level_set

Create a disk level set with binary values.

expand_labels

Expand labels in label image by distance pixels without overlapping.

felzenszwalb

Computes Felsenszwalb's efficient graph based image segmentation.

find_boundaries

Return bool array where boundaries between labeled regions are True.

flood

Mask corresponding to a flood fill.

flood_fill

Perform flood filling on an image.

inverse_gaussian_gradient

Inverse of gradient magnitude.

join_segmentations

Return the join of the two input segmentations.

mark_boundaries

Return image with boundaries between labeled regions highlighted.

morphological_chan_vese

Morphological Active Contours without Edges (MorphACWE)

morphological_geodesic_active_contour

Morphological Geodesic Active Contours (MorphGAC).

quickshift

Segment image using quickshift clustering in Color-(x,y) space.

random_walker

Random walker algorithm for segmentation from markers.

relabel_sequential

Relabel arbitrary labels to {offset, .

slic

Segments image using k-means clustering in Color-(x,y,z) space.

watershed

Find watershed basins in an image flooded from given markers.