Segmentation (xripl.segmentation)

Created on Thu Jan 10 10:10:36 2019

Image segmentation tools for radiographic images.

@author: Pawel M. Kozlowski

Functions

merge_labels(labels_image, labels_to_merge, ...)

Utility function for merging different labeled regions.

nSegments(labels, n)

Get the n largest area segments from a segmented (labeled) image.

segmentContour(labels, segmentNumber[, plots])

Given a segmented image and a selected segment number, obtains the longest contour of that segment.

detectShock(image[, originalImage, ...])

This is a convenience function for applying watershed segmentation using regions of low gradient as markers, and using another gradient image for processing via watershed.