Skip to content

Commit cf71cf8

Browse files
committed
First example for dcm2niix
1 parent 559fe77 commit cf71cf8

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

examples/dcm2niix_1/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# BIDS Prov example for `dcm2niix`
22

3-
This example aim at showing provenance traces from a DICOM to Nifti conversion, performed by `dcm2niix` on a Linux-based (Fedora) operating system.
3+
This example aims at showing provenance traces from a DICOM to Nifti conversion, performed by `dcm2niix` on a Linux-based (Fedora) operating system.
44

55
## Overview
66

7-
> [!NOTE] We use the single file `prov/dcm2niix.prov.jsonld` to store all provenance traces relative to the conversion steps.
7+
We use the single file `prov/dcm2niix.prov.jsonld` to store all provenance traces relative to the conversion steps.
88

9-
After conversion, and adding the provenance traces, the resulting directory tree looks like this:
9+
After conversion, and adding provenance traces, the resulting directory tree looks like this:
1010

1111
```
1212
prov/
@@ -29,7 +29,7 @@ pip install -r ../../requirements.txt
2929
python ../../bids_prov/visualize.py --input_file prov/dcm2niix.prov.jsonld --output_file prov/dcm2niix.prov.png
3030
```
3131

32-
![](/examples/dcm2niix/prov/dcm2niix.prov.png)
32+
![](/examples/dcm2niix_1/prov/dcm2niix.prov.png)
3333

3434
## Source dataset
3535

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"Modality": "MR",
3+
"ManufacturersModelName": "nifti2dicom",
4+
"SoftwareVersions": "0.4.11",
5+
"SeriesDescription": "anat-T1w",
6+
"ProtocolName": "anat-T1w",
7+
"ImageType": ["DERIVED", "SECONDARY"],
8+
"RawImage": false,
9+
"SeriesNumber": 401,
10+
"AcquisitionTime": "13:25:18.000000",
11+
"AcquisitionNumber": 1,
12+
"SliceThickness": 0.666667,
13+
"SpacingBetweenSlices": 0.666667,
14+
"ImageOrientationPatientDICOM": [
15+
0.999032,
16+
-0.0217884,
17+
0.0382096,
18+
0.0265195,
19+
0.991414,
20+
-0.128044 ],
21+
"ConversionSoftware": "dcm2niix",
22+
"ConversionSoftwareVersion": "v1.0.20220720",
23+
"GeneratedBy": "bids::prov/conversion-00f3a18f"
24+
}

0 commit comments

Comments
 (0)