ants.label

Modules

image_to_cluster_images(image[, ...])

Converts an image to several independent images.

label_clusters(image[, min_cluster_size, ...])

This will give a unique ID to each connected component 1 through N of size > min_cluster_size

label_geometry_measures(label_image[, ...])

Wrapper for the ANTs funtion LabelGeometryMeasures

label_image_centroids(image[, physical, ...])

Converts a label image to coordinates summarizing their positions

label_overlap_measures(source_image, ...)

Get overlap measures from two label images (e.g., Dice)

label_stats(image, label_image)

Get label statistics from an image.

labels_to_matrix(image, mask[, ...])

Convert a labeled image to an n x m binary matrix where n = number of voxels and m = number of labels.

make_points_image(pts, target[, radius])

Create label image from physical space points

multi_label_morphology(image, operation, radius)

Morphology on multi label images.