registration-alignment
БесплатноБез исполняемых скриптовНе проверенReslice Dipy images, configure affine and SyN registration, apply transforms, correct DWI motion, and align streamlines or bundles.
от lza6★ 19 звёзд на GitHubОб этом скилле
Dipy Registration And Alignment
Use this sub-skill when a task involves Dipy spatial resampling, affine image registration, SyN/diffeomorphic registration, applying saved transforms, between-volume DWI motion correction, streamline linear registration, or BundleWarp bundle deformation. Keep this file as the router; detailed API choices, CLI recipes, and failure recovery live in the bundled references.
Route Here For
- Reslicing or resampling 3D/4D image arrays to new voxel sizes with
dipy.align.reslice.resliceordipy_reslice. - Choosing and configuring center-of-mass, translation, rigid, scaling, or affine image registration.
- Running SyN registration with CC, SSD, or EM metrics and saving/applying displacement fields.
- Applying affine
.txtor diffeomorphic displacement-field transforms to images. - Correcting between-volume DWI motion from a 4D image plus b-values/b-vectors.
- Running streamline linear registration (SLR) or BundleWarp when bundle geometry, not voxel data, is the registration target.
Route Elsewhere
- NIfTI loading/saving, b-values/b-vectors, headers, tractogram reference handling, and format conversion:
../io-data/. - Tractography, streamline clustering, bundle recognition, segmentation outputs, and tractometry after alignment:
../tracking-segmentation/. - Generic Dipy CLI discovery, parser behavior, and cross-family command inventories:
../cli-workflows/. - Model fitting, peaks, ODFs, tensor maps, or DWI reconstruction before/after alignment:
../reconstruction-models/.
Bundled Runtime References
references/api-reference.mdsummarizes the registration APIs, transform objects, metrics, and owned CLI entry points.references/workflows.mdgives safe recipes for reslice, affine/SyN registration, transform application, motion correction, SLR, and BundleWarp.references/troubleshooting.mdmaps symptoms to causes, concrete recovery actions, and validation checks.scripts/dipy_reslice_smoke.pyruns a deterministic tiny 3D reslice check and prints JSON.
Safe Defaults
- Start with a small crop or synthetic array before full-resolution whole-volume registration.
- Preserve and validate affines: moving data is transformed into static/reference space, and saved aligned images should use the static affine.
- Prefer affine or rigid registration for global pose/scale mismatch; add SyN only when nonlinear anatomical deformation is scientifically justified.
- Avoid assuming
matplotlib, FURY, or display backends are installed; visual overlays fromdipy.viz.regtoolsare optional QA, not required for runtime validation. - For labels or masks, use nearest-neighbor interpolation; for scalar anatomical images, linear interpolation is usually safer.
Minimal Validation
Run the bundled smoke script before deeper debugging:
python scripts/dipy_reslice_smoke.py
Expected output is JSON with ok: true, a changed shape, a changed affine diagonal consistent with the target voxel size, and preserved value range for the tiny synthetic volume.
Установить registration-alignment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл registration-alignment?
Reslice Dipy images, configure affine and SyN registration, apply transforms, correct DWI motion, and align streamlines or bundles.
Как установить скилл registration-alignment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл registration-alignment запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic