denoising-preprocessing
БесплатноБез исполняемых скриптовНе проверенChoose and run Dipy denoising and preprocessing steps, including NLMeans, local PCA, MPPCA, Patch2Self, Gibbs removal, noise estimation, bias correction, and…
от lza6★ 19 звёзд на GitHubОб этом скилле
Denoising And Preprocessing
Use this sub-skill when a Dipy task needs denoising or preprocessing before reconstruction, tracking, segmentation, or metric extraction: NLMeans, localpca, mppca, Patch2Self, Gibbs ringing removal, noise estimation, DWI bias-field correction, preprocessing masks, and validation of 3D/4D volume, mask, sigma, and patch-radius choices.
Route First
- Use
../io-data/for loading/saving NIfTI files, b-values/b-vectors,GradientTableconstruction from files, affine/header preservation, and image/gradient shape validation. - Use
../reconstruction-models/after preprocessing when the next task is tensor/CSD/DKI/ODF/peak fitting or reconstruction metric generation. - Use
../tracking-segmentation/for brain masks, tissue classification, streamline tracking, segmentation, and tractometry; keep only preprocessing-specific masks here. - Use
../cli-workflows/for console-entry discovery, parser behavior,--helpprobing, globbing semantics, and genericdipy_*command mechanics. - Treat neural-network surfaces such as
dipy_evac_plusanddipy_correct_biasfield --method n4as optional because base installs may lack model assets or ML dependencies.
Core References
references/api-reference.mdlists denoising/preprocessing APIs, signatures, array contracts, and validation checks.references/workflows.mdgives decision rules and safe API/CLI recipes for NLMeans, LPCA, MPPCA, Patch2Self, Gibbs removal, and bias correction.references/troubleshooting.mdmaps common shape, sigma, patch, mask, CLI, and optional-dependency failures to concrete fixes.scripts/dipy_denoise_smoke.pyruns deterministic tiny in-memory checks and prints JSON; it does not download data or write persistent outputs.
Fast Operating Pattern
- Classify the preprocessing goal: suppress random noise, estimate noise, remove Gibbs ringing, correct smooth DWI intensity bias, or validate inputs before fitting.
- Confirm data dimensionality before choosing an API: PCA and Patch2Self need 4D DWI data; NLMeans accepts 3D or 4D; Gibbs accepts 2D, 3D, or 4D.
- Validate
data.shape[-1]against b-values/b-vectors for gradient-aware paths and validate any mask withmask.shape == data.shape[:3]. - Choose the method from available information: use NLMeans with a credible
sigma, LPCA withsigmaor agtab, MPPCA when noise is unknown and volume count supports local PCA, and Patch2Self for self-supervised DWI denoising with enough volumes. - Keep parameters conservative for first runs: small explicit output directories for CLIs,
num_processes=1for deterministic Gibbs probes, and tiny synthetic arrays for smoke tests. - After preprocessing, validate finite values, preserved shape, expected dtype or requested
out_dtype, nonempty in-mask output, and no accidental all-zero background expansion.
Safety Defaults
- Prefer in-memory synthetic checks and existing user-provided images; do not fetch datasets, import visualization, train models, or download neural-network weights unless explicitly requested.
- Avoid running full-image Patch2Self, MPPCA, bias correction, or multi-process Gibbs on large data until the user confirms runtime expectations.
- If running inside a source checkout shadows the installed package and
import dipyfails because generated version metadata is missing, run smoke checks from outside the checkout or use a normal installed package environment. - Do not import
peaks_from_modelfromdipy.reconst.peaks; route reconstruction to../reconstruction-models/, where the verified import isdipy.direction.peaks.peaks_from_model.
Установить denoising-preprocessing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл denoising-preprocessing?
Choose and run Dipy denoising and preprocessing steps, including NLMeans, local PCA, MPPCA, Patch2Self, Gibbs removal, noise estimation, bias correction, and pre-fit validation.
Как установить скилл denoising-preprocessing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл denoising-preprocessing запускает скрипты?
Нет, скилл состоит только из инструкций (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