• Stars
    star
    235
  • Rank 171,079 (Top 4 %)
  • Language
    Python
  • License
    Other
  • Created about 9 years ago
  • Updated 11 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Flexible DICOM conversion into structured directory layouts

HeuDiConv

a heuristic-centric DICOM converter

Our Docker image GitHub Actions (test) CodeCoverage Readthedocs Zenodo (latest) Debian Unstable Gentoo (::science) PyPI

About

heudiconv is a flexible DICOM converter for organizing brain imaging data into structured directory layouts.

  • It allows flexible directory layouts and naming schemes through customizable heuristics implementations.
  • It only converts the necessary DICOMs and ignores everything else in a directory.
  • You can keep links to DICOM files in the participant layout.
  • Using dcm2niix under the hood, it's fast.
  • It can track the provenance of the conversion from DICOM to NIfTI in W3C PROV format.
  • It provides assistance in converting to BIDS.
  • It integrates with DataLad to place converted and original data under git/git-annex version control while automatically annotating files with sensitive information (e.g., non-defaced anatomicals, etc).

Installation

See our installation page on heudiconv.readthedocs.io .

HOWTO 101

In a nutshell -- heudiconv operates using a heuristic which, given metadata from DICOMs, would decide how to name resultant (from conversion using dcm2niix) files. Heuristic convertall could actually be used with no real heuristic and by simply establish your own conversion mapping through editing produced mapping files. In most use-cases of retrospective study data conversion, you would need to create your custom heuristic following existing heuristics as examples and/or referring to "Heuristic" section in the documentation. Note that ReproIn heuristic is generic and powerful enough to be adopted virtually for any study: For prospective studies, you would just need to name your sequences following the ReproIn convention, and for retrospective conversions, you often would be able to create a new versatile heuristic by simply providing remappings into ReproIn as shown in this issue (documentation is coming).

Having decided on a heuristic, you could use the command line:

heudiconv -f HEURISTIC-FILE-OR-NAME -o OUTPUT-PATH --files INPUT-PATHs

with various additional options (see heudiconv --help or "Usage" in documentation) to tune its behavior to convert your data.

For detailed examples and guides, please check out ReproIn conversion invocation examples and the user tutorials in the documentation.

How to cite

Please use Zenodo record for your specific version of HeuDiConv. We also support gathering all relevant citations via DueCredit.

How to contribute

For a detailed into, see our contributing guide.

Our releases are packaged using Intuit auto, with the corresponding workflow including Docker image preparation being found in .github/workflows/release.yml.

More Repositories

1

nipype

Workflows and interfaces for neuroimaging packages
Python
749
star
2

nibabel

Python package to access a cacophony of neuro-imaging file formats
Python
653
star
3

nipy

Neuroimaging in Python FMRI analysis package
Python
383
star
4

nitime

Timeseries analysis for neuroscience data
Python
244
star
5

PySurfer

Cortical neuroimaging visualization in Python
Python
243
star
6

mindboggle

Automated anatomical brain label/shape analysis software (+ website)
Python
146
star
7

pbrain

Python EEG and ECoG analysis software by John Hunter et al
Python
94
star
8

niwidgets

Neuroimaging widgets for jupyter notebooks
Jupyter Notebook
84
star
9

brainx

Tools for analysis of brain imaging-derived networks, based on NetworkX
Python
39
star
10

nireg

Brain image registration package
Python
30
star
11

nitransforms

a standalone fork of nipy/nibabel#656
Python
28
star
12

nilabels

Tools to automate simple manipulations and measurements of medical images and segmentations in nifti format.
Python
21
star
13

dmriprep

MOVED TO https://github.com/nipreps/dmriprep
Python
17
star
14

workshops

Brain imaging workshops
Jupyter Notebook
15
star
15

quickshear

Quickshear Defacing for Neuroimages
Python
11
star
16

nibotmi

NIPY BuildBot Master Instance
Python
11
star
17

nipy-artwork

Fliers, images, etc
TeX
9
star
18

nipy.github.io

Main website for the Neuroimaging in Python community
HTML
8
star
19

PyLocator

Localization of EEG-electrodes from MRI-recordings
Python
7
star
20

nipy-suite

Meta-project to provide a single point of getting/testing for all projects under NiPy umbrella
Shell
4
star
21

data-packaging

Utilities for managing data packages
Python
4
star
22

napari-nibabel

A napari plugin that uses nibabel to display medical images
Python
3
star
23

nidoodles

Work-in-progress notes and code fragments for the nipy projects
Python
2
star
24

nipyco

Nipy community web pages
Python
2
star
25

heudiconv-joss-paper

Repository to prepare HeuDiConv paper
Python
2
star
26

nipy-labs

Work-in-progress add-ons for nipy (require lapack)
C
2
star
27

blog

Makefile
1
star
28

nisext

Shareable distutils etc utilities
Python
1
star
29

nibabel-paper

Journal manuscript for the initial publication of NiBabel
Python
1
star