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
image-ops-mathUse ANTsPy image operations for smoothing, resampling, masking, cropping, morphology, iMath, bias correction, histogram matching, and image metrics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task asks for ANTsPy preprocessing, filtering, masks, crop/pad/slice, resampling, intensity normalization, morphology, iMath, similarity metrics, neighborhood extraction, or quantitative image utilities.
iMath operations, helper wrappers, operation families, and unsupported-operation recovery.ants.resample_image_to_target(image, target, interp_type="linear") when output must inherit another image's shape, spacing, origin, and direction; use "nearestNeighbor" or "genericLabel" for label images.ants.resample_image(image, params, use_voxels=True, interp_type=0) when params are output voxel counts; use use_voxels=False when params are new physical spacing values.ants.get_mask(image, low_thresh=..., high_thresh=..., cleanup=0) because default cleanup can erase small objects.ants.iMath(image, "Normalize"), ants.iMath(image, "TruncateIntensity", low, high, bins), or helper wrappers such as ants.iMath_normalize(image) for common operations.ANTsImage calls when a step changes shape or physical space so you can inspect dimension, shape, spacing, origin, and direction before combining images.