You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docker/README.md
+44-10Lines changed: 44 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -81,32 +81,66 @@ Before running the Docker container, here are the available options for the `Doc
81
81
82
82
- You can run the dicom2niix_wrapper.py script either directly or from inside a Docker container (non-interactive only). Here are the available options:
83
83
84
-
#### Required (CLI Mode Only)
84
+
##### example usage:
85
+
86
+
```sh
87
+
sudo docker run -it --rm --name TF2.4_IVIM-MRI_CodeCollection \
output: Path to the output directory for the converted NIfTI files.
88
115
89
116
#### Optional Flags
90
-
-n, --series-number:
117
+
118
+
#### -n, --series-number
119
+
91
120
Convert only the specified DICOM series number.
92
-
Example: --series-number 5
121
+
A special feature of this option is unleashed when you provide a negative series number ("-n -1"): in this case the software will report the series numbers available in the input folder, but will convert nothing.
122
+
123
+
#### -m, --merge-2d
124
+
125
+
Merge 2D slices into a 3D or 4D NIfTI image regardless of study time, echo, coil, orientation, etc.
126
+
Depending on your vendor, you may want to keep images segmented based on these attributes or merge/combine them.
93
127
94
-
-m, --merge-2d:
95
-
Merge 2D slices into a 3D or 4D volume if supported.
96
-
Example: --merge-2d
128
+
#### -s, --single-file
97
129
98
-
-s, --single-file:
99
130
Use single file mode (convert only one series per folder).
100
-
Example: --single-file
101
131
102
-
-pu, --prompt-user:
132
+
For example, if the input path "~/dir/001.dcm" will only convert the file 001.dcm.
133
+
134
+
#### -pu, --prompt-user
135
+
103
136
Run the tool in interactive mode. This launches a terminal-based wizard where you can select DICOM folders and configure conversion interactively.
104
137
105
138
[Note that NIfTI and DICOM encode space differently](https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Spatial_Coordinates)
##### The goal of dcm2niix is to create FSL format bvec/bval files for processing. A crucial concern is ensuring that the gradient directions are reported in the frame of reference expected by the software you use to fit your tractography. [dicom2niix should generate a ".bvec" file that reports the tensors as expected](https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging) by FSL's dtifit, where vectors are reported relative to image frame of reference (rather than relative to the scanner bore).
142
+
##### The goal of dcm2niix is to create FSL format bvec/bval files for processing. A crucial concern is ensuring that the gradient directions are reported in the frame of reference expected by the software you use to fit your tractography. [dicom2niix should generate a ".bvec" file that reports the tensors as expected](https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging) by FSL's dtifit, where vectors are reported relative to image frame of reference (rather than relative to the scanner bore)
110
143
111
144
#### It is strongly recommend that users check validate the b-vector directions for their hardware and sequence as [described in a dedicated document](https://www.nitrc.org/docman/?group_id=880)
0 commit comments