算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
antspy【设计与创意】Use ANTsPy/antspyx for medical image IO, ANTsImage metadata, image operations, registration, segmentation, visualization, and learning helper workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves the Python package distributed as antspyx and imported as ants: medical image IO, ANTsImage objects, preprocessing, registration, transforms, segmentation, labels, plotting, interoperability, or ANTsPy learning/deeplearn helper utilities.
pip install antspyx or conda install conda-forge::antspyx.python -c "import ants; print(ants.__name__)".| User task | Read |
|---|---|
Create, read, write, clone, index, compare, or validate ants.ANTsImage objects and physical metadata | image-core |
Smooth, denoise, mask, crop, pad, slice, resample, threshold, run iMath, compute image metrics, or use morphology | image-ops-math |
| Register images, apply transforms to images or points, inspect transform files, build templates, run motion correction, or compute Jacobians | registration-transforms |
| Run Atropos, k-means, Otsu, priors, joint label fusion, label stats, overlap, geometry, label matrices, centroids, or point images | segmentation-labels |
| Save plots headlessly, build overlays/grids/movies, handle RGB/vector channels, convert image lists/matrices, or interoperate with nibabel/SimpleITK | visualization-interop |
| Use sparse/eigen learning helpers, patch extraction/reconstruction, one-hot labels, random augmentation, simulated bias fields, or learning-oriented crop/pad helpers | learning-deeplearn |
import ants; do not import antspyx as a module.pip install is not enough if importing ants fails; run the environment check script before debugging workflow code.ANTsImage values and physical metadata are both important. Validate shape, dimension, origin, spacing, and direction before mixing images, masks, labels, transforms, overlays, or matrices.nearestNeighbor or genericLabel for labels and masks. Use linear-style interpolation for intensity images unless the workflow requires otherwise.ants.* functions to the owning sub-skill and detailed reference.repo-skills-router during import.antspyx.