nifti1-testdatasets/README.md

77 lines
3.3 KiB
Markdown

# NIfTI-1 Test Data Sets
Valid test data sets of 3D (structural) and 4D (functional) images in NIfTI-1 format.
This information was taken from https://nifti.nimh.nih.gov/nifti-1/data
Note: The software `nifti_tool` is part of the reference implementation.
## 3D Structural Images
### Labeled LR Standard (MNI152) Images in Nifti Format
Two images in nifti1 format (dual file or single file) in MNI152 space, with
appropriate sform and qform (gzipped for convenient transfer)
- `avg152T1_LR_nifti.hdr.gz` and `avg152T1_LR_nifti.img.gz` or [avg152T1_LR_nifti.nii.gz](avg152T1_LR_nifti.nii.gz)
- dimensions: 91 x 109 x 91 ; 2mm x 2mm x 2mm
- text header dump by `nifti_tool`: [avg152T1_LR_nifti_ntool.txt](avg152T1_LR_nifti_ntool.txt)
- `avg152T1_RL_nifti.hdr.gz` and `avg152T1_RL_nifti.img.gz` or [avg152T1_RL_nifti.nii.gz](avg152T1_RL_nifti.nii.gz)
- dimensions: 91 x 109 x 91 ; 2mm x 2mm x 2mm
- text header dump by `nifti_tool`: [avg152T1_RL_nifti_ntool.txt](avg152T1_RL_nifti_ntool.txt)
The first image (LR) is stored in radiological convention. The second image
(RL) is stored in neurological convention. Any nifti-1 compliant viewing
software should display these images identically.
### Statistic Image
A single z-statistic image in gzipped single file nifti-1 form
- [zstat1.nii.gz](zstat1.nii.gz)
- dimensions: 64 x 64 x 21 ; 4mm x 4mm x 6mm
- text header dump by `nifti_tool`: [zstat1_ntool.txt](zstat1_ntool.txt)
## 4D Functional Images
### Simple Time-series or multi-volume image
A simple image time-series in gzipped single file nifti-1 form.
- [filtered_func_data.nii.gz]([filtered_func_data.nii.gz)
- dimensions: 64 x 64 x 21 x 180 ; 4mm x 4mm x 6mm x 3 sec
- text header dump by `nifti_tool`: [filtered_func_data_ntool.txt](filtered_func_data_ntool.txt)
### Sternberg Item Recognition Paradigm (SIRP) fMRI Study + XML Extension Data
- `sirp_fmri_study_ver4.tar.gz`
- text header dump by `nifti_tool`: [newsirp_final_XML_ntool.txt](newsirp_final_XML_ntool.txt)
147 volumes of a SIRP study in a single NIfTI `*.nii` image file with `sform`
and `qform` properly set and an extension space consisting of the XCEDE XML
formatted E-prime task data, Quickmood assessments acquired before and after
the scanning session, and the image acquisition parameters. The first volume of
the series contains an "L" superimposed on the left side of the volume to help
in testing implementations that read the qforms. Additionally the XML file
portion is also saved as an independent XML file for easy browsing called
`103.1.sirp.xml`. Also includes a PDF description of task.
## Minimal Nifti1 Dataset
The "minimal" dataset `minimal.hdr.gz`, `minimal.img.gz` and
[minimal.nii.gz](minimal.nii.gz) is provided as an example and test dataset. It
contains close to the minimum number of header fields that need to be set in
NIfTI1 dataset and have it still conform to the NIfTI1 standard. It is not the
very minimum, because one could create 1 dimensional image. But, we wanted to
provide a minimal dataset that could be loaded and viewed as an image.
`minimal.img` is a simple ramp image, increasing from 0-63 along the Y axis.
See the [NIfTI1 FAQ](https://nifti.nimh.nih.gov/nifti-1/documentation/faq)
question #4 for an explanation of the minimal fields that must be set in NIfTI1
datasheet.