executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
segmentation-labelsUse ANTsPy segmentation and label workflows for Atropos, k-means, Otsu, priors, joint label fusion, label statistics, overlap, geometry, matrices, centroids, points, and multi-label morphology.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task asks for ANTsPy segmentation, label images, connected components, label statistics, overlap/geometry measures, label matrices, centroid or point-image workflows, multi-label morphology, or segmentation-to-mask/registration handoffs.
import ants; the package distribution is antspyx.antspyx installed.ants.atropos(...), ants.kmeans_segmentation(...), and ants.prior_based_segmentation(...) return dictionaries with segmentation and probabilityimages; ants.otsu_segmentation(...) returns only an ANTsImage label image.ants.joint_label_fusion(...) returns an ANTsImage for intensity-only fusion when no labels are supplied, and a dictionary with segmentation, intensity, probabilityimages, and segmentation_numbers when label_list is supplied.ants.fuzzy_spatial_cmeans_segmentation(...) and ants.functional_lung_segmentation(...) use snake_case keys segmentation_image and probability_images; lung segmentation also returns processed_image.unsigned int; non-integer or out-of-range labels can fail or silently collapse if not validated first.image_physical_space_consistency, and coordinate transforms: image-core.iMath: image-ops-math.