nii2dcm

Convert NIfTI volumes to single-frame DICOM series with MR/SVR tagging.

78|3|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/CUHK-AIM-Group/NeuroClaw --skill nii2dcm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nii2dcm
Source: https://github.com/CUHK-AIM-Group/NeuroClaw/tree/main/skills/nii2dcm
Command: npx skills add https://github.com/CUHK-AIM-Group/NeuroClaw --skill nii2dcm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NIfTI files (.nii/.nii.gz) are research-oriented and lack patient metadata, making direct comparison with clinical DICOM data difficult. This skill wraps nii2dcm to convert NIfTI volumes into single-frame DICOM series (multi-slice 2D) so researchers can audit, compare, and archive results in the same clinical data ecosystem. It also supports transferring metadata from a reference DICOM when needed, and handles modality-specific tags for MR and SVR.

Core Features & Use Cases

  • Converts 3D NIfTI volumes to multi-slice DICOM series with optional MR/SVR tagging.
  • Copies or maps patient/study metadata from a reference DICOM to preserve provenance in clinical-style viewers.
  • Useful for QA, visualization, and archiving of results alongside original clinical data in research pipelines.

Quick Start

Run nii2dcm on a processed NIfTI file to produce a DICOM series in the specified output directory.

Frequently Asked Questions about nii2dcm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert NIfTI files to DICOM series for PACS integration?

Converting NIfTI files to PACS-ready DICOM series involves transforming 3D volumes into single-frame, multi-slice 2D DICOM files. This allows research-oriented NIfTI data lacking patient metadata to be integrated, archived, and compared within clinical workflows.

Can I copy patient metadata from an existing DICOM to a converted NIfTI volume?

Yes, you can transfer patient and study metadata from a reference DICOM to the converted NIfTI volume. This metadata mapping preserves provenance and ensures the newly generated DICOM series displays correctly alongside original clinical data in viewers.

What DICOM modality tags are supported when converting NIfTI volumes?

When converting NIfTI volumes to DICOM, the process supports modality-specific tagging for MR and SVR. These tags ensure the generated single-frame DICOM series adheres to the required metadata standards for these specific imaging modalities.

Are there limitations when using NIfTI to DICOM conversion for clinical workflows?

NIfTI to DICOM conversion produces single-frame DICOM series from 3D volumes and carries explicit research-use-only limitations. It is intended for QA, visualization, and archiving in research pipelines rather than primary clinical diagnostics or direct patient care.