Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Miscellaneous improvements and fixes to the file format table #55

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions code/01-scanner-to-computer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
"\n",
"## Neuroimaging file formats\n",
"\n",
"|Format Name | File Extension | Origin |\n",
"|---|---|---|\n",
"| DICOM | none | ACR/NEMA Consortium |\n",
"| Analyze | .img/.hdr | Analyze Software, Mayo Clinic |\n",
"| NIfTI | .nii | Neuroimaging Informatics Technology Initiative |\n",
"| MINC | .mnc | Montreal Neurological Institute |\n",
"| NRRD | .nrrd | |\n",
"| Format Name | File Extension | Origin/Group |\n",
"|-------------|----------------|--------------|\n",
"| [DICOM](https://www.dicomstandard.org/current) | none (*) | ACR/NEMA Consortium |\n",
"| [Analyze](https://eeg.sourceforge.net/ANALYZE75.pdf) | `.img`/`.hdr` | Analyze Software, Mayo Clinic |\n",
"| [NIfTI](https://nifti.nimh.nih.gov/) | `.nii` (**) | Neuroimaging Informatics Technology Initiative |\n",
"| [MINC](https://www.mcgill.ca/bic/software/minc) | `.mnc` | Montreal Neurological Institute |\n",
"| [NRRD](https://teem.sourceforge.net/nrrd/format.html) | `.nrrd` | Gordon L. Kindlmann |\n",
"| [MGH](https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat) | `.mgz` or `.mgh` | Massachusetts General Hospital |\n",
"\n",
"(*) DICOM files typically have a `.dcm` file extension.\n",
"(**) Some files are typically compressed and their extension may incorporate the corresponding compression tool extension (e.g. `.nii.gz`).\n",
"\n",
"From the MRI scanner, images are initially collected in the DICOM format and can be converted to these other formats to make working with the data easier.\n",
"\n",
Expand Down
22 changes: 12 additions & 10 deletions episodes/scanner-to-computer.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Anatomical

![](fig/t1t2flairbrain.jpg)

Check warning on line 27 in episodes/scanner-to-computer.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/t1t2flairbrain.jpg

*Sourced from [https://case.edu/med/neurology/NR/MRI%20Basics.htm](https://case.edu/med/neurology/NR/MRI%20Basics.htm)*

Expand All @@ -33,9 +33,9 @@

### Functional

![](fig/bold.gif)

Check warning on line 36 in episodes/scanner-to-computer.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/bold.gif

![](fig/fmri_timeseries.png)

Check warning on line 38 in episodes/scanner-to-computer.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/fmri_timeseries.png

*Sourced from Wagner and Lindquist, 2015*

Expand All @@ -44,9 +44,9 @@

### Diffusion

![](fig/dwi.gif)

Check warning on line 47 in episodes/scanner-to-computer.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/dwi.gif

![](fig/dwi_tracts.png)

Check warning on line 49 in episodes/scanner-to-computer.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/dwi_tracts.png

*Sourced from [http://brainsuite.org/processing/diffusion/tractography/](https://brainsuite.org/processing/diffusion/tractography/)*

Expand All @@ -58,16 +58,18 @@

<h6 id="fileformats"> Common file formats:</h6>

| Format Name | File Extension | Origin/Group | More info|
| ----------- | -------------- | --------------------------------------------- |-----------
| DICOM | none or `.dc` | ACR/NEMA Consortium |https://www.dicomstandard.org/ |
| Analyze | `.img`/`.hdr` | Analyze Software, Mayo Clinic |https://eeg.sourceforge.net/ANALYZE75.pdf|
| NIfTI | `.nii` (or `.nii.gz`) | Neuroimaging Informatics Technology Initiative|https://brainder.org/2012/09/23/the-nifti-file-format/|
| MINC | `.mnc` | Montreal Neurological Institute |https://www.mcgill.ca/bic/software/minc|
| NRRD | `.nrrd` | |https://teem.sourceforge.net/nrrd/format.html|
| MGH |`.mgz` or `.mgh` (or `.mgh.gz`) | Massachusetts General Hospital|https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat|


| Format Name | File Extension | Origin/Group |
|-------------|----------------|--------------|
| [DICOM](https://www.dicomstandard.org/current) | none (*) | ACR/NEMA Consortium |
| [Analyze](https://eeg.sourceforge.net/ANALYZE75.pdf) | `.img`/`.hdr` | Analyze Software, Mayo Clinic |
| [NIfTI](https://nifti.nimh.nih.gov/) | `.nii` (**)| Neuroimaging Informatics Technology Initiative |
| [MINC](https://www.mcgill.ca/bic/software/minc) | `.mnc` | Montreal Neurological Institute |
| [NRRD](https://teem.sourceforge.net/nrrd/format.html) | `.nrrd` | Gordon L. Kindlmann |
| [MGH](https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat) | `.mgz` or `.mgh` | Massachusetts General Hospital |

(*) DICOM files typically have a `.dcm` file extension.
(**) Some files are typically compressed and their extension may incorporate the corresponding
compression tool extension (e.g. `.nii.gz`).

From the MRI scanner, images are initially collected in the DICOM format and can be converted to these other formats to make working with the data easier.

Expand Down
Loading