跳到正文
cccskills
免费在 GitHub 公开

antspy

Use ANTsPy/antspyx for medical image IO, ANTsImage metadata, image operations, registration, segmentation, visualization, and learning helper workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(40)

  • SKILL.md4.6 KB
  • references/api-index.md2.7 KB
  • references/package-overview.md3.1 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json488 B
  • references/troubleshooting.md4.4 KB
  • scripts/antspy_environment_check.py2.8 KB
  • scripts/run_antspy_smoke_suite.py2.8 KB
  • sub-skills/image-core/references/api-reference.md12.7 KB
  • sub-skills/image-core/references/troubleshooting.md9.6 KB
  • sub-skills/image-core/references/workflows.md7.7 KB
  • sub-skills/image-core/scripts/antspy_image_smoke.py4.3 KB
  • sub-skills/image-core/SKILL.md4.4 KB
  • sub-skills/image-ops-math/references/api-reference.md11.6 KB
  • sub-skills/image-ops-math/references/imath-reference.md8.0 KB
  • sub-skills/image-ops-math/references/troubleshooting.md8.6 KB
  • sub-skills/image-ops-math/references/workflows.md10.1 KB
  • sub-skills/image-ops-math/scripts/antspy_ops_smoke.py4.6 KB
  • sub-skills/image-ops-math/SKILL.md3.0 KB
  • sub-skills/learning-deeplearn/references/api-reference.md10.4 KB
  • sub-skills/learning-deeplearn/references/troubleshooting.md8.0 KB
  • sub-skills/learning-deeplearn/references/workflows.md9.7 KB
  • sub-skills/learning-deeplearn/scripts/antspy_deeplearn_smoke.py6.2 KB
  • sub-skills/learning-deeplearn/SKILL.md4.8 KB
  • sub-skills/registration-transforms/references/api-reference.md12.4 KB
  • sub-skills/registration-transforms/references/transform-types.md8.3 KB
  • sub-skills/registration-transforms/references/troubleshooting.md7.5 KB
  • sub-skills/registration-transforms/references/workflows.md13.5 KB
  • sub-skills/registration-transforms/scripts/antspy_registration_smoke.py4.6 KB
  • sub-skills/registration-transforms/SKILL.md4.7 KB
  • sub-skills/segmentation-labels/references/api-reference.md8.6 KB
  • sub-skills/segmentation-labels/references/troubleshooting.md7.2 KB
  • sub-skills/segmentation-labels/references/workflows.md9.7 KB
  • sub-skills/segmentation-labels/scripts/antspy_segmentation_smoke.py4.8 KB
  • sub-skills/segmentation-labels/SKILL.md3.8 KB
  • sub-skills/visualization-interop/references/api-reference.md12.4 KB
  • sub-skills/visualization-interop/references/troubleshooting.md10.4 KB
  • sub-skills/visualization-interop/references/workflows.md10.7 KB
  • sub-skills/visualization-interop/scripts/antspy_plotting_smoke.py6.8 KB
  • sub-skills/visualization-interop/SKILL.md4.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

ANTsPy Repo Skill

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.

Start Here

  1. Install the package with pip install antspyx or conda install conda-forge::antspyx.
  2. Verify the public import with python -c "import ants; print(ants.__name__)".
  3. Run scripts/antspy_environment_check.py for a tiny import/API smoke check.
  4. Read references/package-overview.md for package scope, compiled-backend caveats, and workflow boundaries.
  5. Read references/troubleshooting.md when installation, import, compiled libraries, physical-space metadata, optional dependencies, or expensive algorithms fail.
  6. Check references/repo-provenance.md before deciding whether this skill is stale for a newer ANTsPy checkout.

Route by Task

User taskRead
Create, read, write, clone, index, compare, or validate ants.ANTsImage objects and physical metadataimage-core
Smooth, denoise, mask, crop, pad, slice, resample, threshold, run iMath, compute image metrics, or use morphologyimage-ops-math
Register images, apply transforms to images or points, inspect transform files, build templates, run motion correction, or compute Jacobiansregistration-transforms
Run Atropos, k-means, Otsu, priors, joint label fusion, label stats, overlap, geometry, label matrices, centroids, or point imagessegmentation-labels
Save plots headlessly, build overlays/grids/movies, handle RGB/vector channels, convert image lists/matrices, or interoperate with nibabel/SimpleITKvisualization-interop
Use sparse/eigen learning helpers, patch extraction/reconstruction, one-hot labels, random augmentation, simulated bias fields, or learning-oriented crop/pad helperslearning-deeplearn

Cross-Cutting Rules

  • Import with import ants; do not import antspyx as a module.
  • ANTsPy wraps compiled ANTs/ITK code. A successful 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.
  • Use label-safe interpolation such as nearestNeighbor or genericLabel for labels and masks. Use linear-style interpolation for intensity images unless the workflow requires otherwise.
  • Prefer small synthetic images for smoke checks and troubleshooting. Full nonlinear registration, joint label fusion, high-resolution 3-D operations, and template building can be expensive.
  • Keep ANTsPyNet, neural-network model training, and application-specific medical pipelines outside this skill unless the task only uses ANTsPy helper utilities.

Shared References and Scripts

  • Package overview: package identity, public workflow map, data model, optional dependencies, and version caveats.
  • API index: quick map from common ants.* functions to the owning sub-skill and detailed reference.
  • Troubleshooting: install/import failures, wheel/source-build problems, shadowed imports, physical-space errors, optional dependencies, and expensive workflow triage.
  • Repo provenance: source commit, dirty-state baseline, package versions, and evidence paths used for this generated skill.
  • Routing metadata: structured scenario metadata consumed by the managed repo-skills-router during import.
  • Environment check: tiny import/API smoke check for antspyx.
  • Smoke suite: runs the bundled sub-skill smoke scripts with the current Python interpreter.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3382026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题