8000 GitHub - alistairwalsh/Dcm2Bids: Convert DICOM images to BIDS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alistairwalsh/Dcm2Bids

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dcm2Bids

Dcm2Bids convert DICOM files to Brain Imaging Data Structure (BIDS).

Learn more about BIDS and read the specifications.

Usage

  1. dcm2bids -o <BIDS dir> -d <DICOM dir> -p <participant> -a <algorithm to parse your DICOM dir>

It's possible to add a session with the key -s

DICOM directories algorithm parser

Every study is different and this step needs a little bit of work.

The logic is in studyparser.py and parse different part of the metadata to filter the DICOM directories.

It creates a batch file in YAML format to feed dcm2niibatch.

DICOM to NIfTI conversion

Conversion is done with dcm2niix through dcm2niibatch tool. See dcm2niix github.

Metadata

dcmstack is used to extract metadata from DICOM files with default filtering.

IT IS YOUR RESPONSIBILITY TO KNOW IF THERE IS PRIVATE HEALTH INFORMATION IN THE METADATA EXTRACTED BY THIS PROGRAM.

To Do

  • find a more pleasant way for the user to enter algotithm
  • add bids validator
  • doc strings
  • write test

About

Convert DICOM images to BIDS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0