dpm_tools.segmentation#

Segmentation#

This submodule contains functions for 2D and 3D segmentation. So far, we have implemented the statistical region merging and seeded region growing algorithms, similar to ImageJ/Fiji.

These are optional dependencies, and the functions will only be available if dpm_srg (for seeded region growing) and dpm_srm (for statistical region merging) are installed.

statistical_region_merging(image[, Q, normalize])

Perform statistical region merging on a gray level image

seeded_region_growing(image, seed_image[, ...])

Perform seeded region growing on a gray level image using predefined seeds