File: commands_list.rst

package info (click to toggle)
mrtrix3 3.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: cpp: 130,470; python: 9,603; sh: 597; makefile: 62; xml: 47
file content (276 lines) | stat: -rw-r--r-- 16,195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276

.. _list-of-mrtrix3-commands:

########################
List of MRtrix3 commands
########################




.. toctree::
    :hidden:

    commands/5tt2gmwmi
    commands/5tt2vis
    commands/5ttcheck
    commands/5ttedit
    commands/5ttgen
    commands/afdconnectivity
    commands/amp2response
    commands/amp2sh
    commands/connectome2tck
    commands/connectomeedit
    commands/connectomestats
    commands/dcmedit
    commands/dcminfo
    commands/dirflip
    commands/dirgen
    commands/dirmerge
    commands/dirorder
    commands/dirsplit
    commands/dirstat
    commands/dwi2adc
    commands/dwi2fod
    commands/dwi2mask
    commands/dwi2response
    commands/dwi2tensor
    commands/dwibiascorrect
    commands/dwicat
    commands/dwidenoise
    commands/dwiextract
    commands/dwifslpreproc
    commands/dwigradcheck
    commands/dwinormalise
    commands/dwishellmath
    commands/fixel2peaks
    commands/fixel2sh
    commands/fixel2tsf
    commands/fixel2voxel
    commands/fixelcfestats
    commands/fixelconnectivity
    commands/fixelconvert
    commands/fixelcorrespondence
    commands/fixelcrop
    commands/fixelfilter
    commands/fixelreorient
    commands/fod2dec
    commands/fod2fixel
    commands/for_each
    commands/label2colour
    commands/label2mesh
    commands/labelconvert
    commands/labelsgmfix
    commands/labelstats
    commands/maskdump
    commands/maskfilter
    commands/mesh2voxel
    commands/meshconvert
    commands/meshfilter
    commands/mraverageheader
    commands/mrcalc
    commands/mrcat
    commands/mrcentroid
    commands/mrcheckerboardmask
    commands/mrclusterstats
    commands/mrcolour
    commands/mrconvert
    commands/mrdegibbs
    commands/mrdump
    commands/mredit
    commands/mrfilter
    commands/mrgrid
    commands/mrhistmatch
    commands/mrhistogram
    commands/mrinfo
    commands/mrmath
    commands/mrmetric
    commands/mrregister
    commands/mrstats
    commands/mrthreshold
    commands/mrtransform
    commands/mrtrix_cleanup
    commands/mrview
    commands/mtnormalise
    commands/peaks2amp
    commands/peaks2fixel
    commands/population_template
    commands/responsemean
    commands/sh2amp
    commands/sh2peaks
    commands/sh2power
    commands/sh2response
    commands/shbasis
    commands/shconv
    commands/shview
    commands/tck2connectome
    commands/tck2fixel
    commands/tckconvert
    commands/tckdfc
    commands/tckedit
    commands/tckgen
    commands/tckglobal
    commands/tckinfo
    commands/tckmap
    commands/tckresample
    commands/tcksample
    commands/tcksift
    commands/tcksift2
    commands/tckstats
    commands/tcktransform
    commands/tensor2metric
    commands/transformcalc
    commands/transformcompose
    commands/transformconvert
    commands/tsfdivide
    commands/tsfinfo
    commands/tsfmult
    commands/tsfsmooth
    commands/tsfthreshold
    commands/tsfvalidate
    commands/vectorstats
    commands/voxel2fixel
    commands/voxel2mesh
    commands/warp2metric
    commands/warpconvert
    commands/warpcorrect
    commands/warpinit
    commands/warpinvert


.. csv-table::
    :header: "Lang", "Command", "Synopsis"

    |cpp.png|, :ref:`5tt2gmwmi`, "Generate a mask image appropriate for seeding streamlines on the grey matter-white matter interface"
    |cpp.png|, :ref:`5tt2vis`, "Generate an image for visualisation purposes from an ACT 5TT segmented anatomical image"
    |cpp.png|, :ref:`5ttcheck`, "Thoroughly check that one or more images conform to the expected ACT five-tissue-type (5TT) format"
    |cpp.png|, :ref:`5ttedit`, "Manually set the partial volume fractions in an ACT five-tissue-type (5TT) image using mask images"
    |python.png|, :ref:`5ttgen`, "Generate a 5TT image suitable for ACT"
    |cpp.png|, :ref:`afdconnectivity`, "Obtain an estimate of fibre connectivity between two regions using AFD and streamlines tractography"
    |cpp.png|, :ref:`amp2response`, "Estimate response function coefficients based on the DWI signal in single-fibre voxels"
    |cpp.png|, :ref:`amp2sh`, "Convert a set of amplitudes (defined along a set of corresponding directions) to their spherical harmonic representation"
    |cpp.png|, :ref:`connectome2tck`, "Extract streamlines from a tractogram based on their assignment to parcellated nodes"
    |cpp.png|, :ref:`connectomeedit`, "Perform basic operations on a connectome"
    |cpp.png|, :ref:`connectomestats`, "Connectome group-wise statistics at the edge level using non-parametric permutation testing"
    |cpp.png|, :ref:`dcmedit`, "Edit DICOM file in-place"
    |cpp.png|, :ref:`dcminfo`, "Output DICOM fields in human-readable format"
    |cpp.png|, :ref:`dirflip`, "Invert the polarity of individual directions so as to optimise a unipolar electrostatic repulsion model"
    |cpp.png|, :ref:`dirgen`, "Generate a set of uniformly distributed directions using a bipolar electrostatic repulsion model"
    |cpp.png|, :ref:`dirmerge`, "Splice / merge multiple sets of directions in such a way as to maintain near-optimality upon truncation"
    |cpp.png|, :ref:`dirorder`, "Reorder a set of directions to ensure near-uniformity upon truncation"
    |cpp.png|, :ref:`dirsplit`, "Split a set of evenly distributed directions (as generated by dirgen) into approximately uniformly distributed subsets"
    |cpp.png|, :ref:`dirstat`, "Report statistics on a direction set"
    |cpp.png|, :ref:`dwi2adc`, "Convert mean dwi (trace-weighted) images to mean ADC maps"
    |cpp.png|, :ref:`dwi2fod`, "Estimate fibre orientation distributions from diffusion data using spherical deconvolution"
    |cpp.png|, :ref:`dwi2mask`, "Generates a whole brain mask from a DWI image"
    |python.png|, :ref:`dwi2response`, "Estimate response function(s) for spherical deconvolution"
    |cpp.png|, :ref:`dwi2tensor`, "Diffusion (kurtosis) tensor estimation"
    |python.png|, :ref:`dwibiascorrect`, "Perform B1 field inhomogeneity correction for a DWI volume series"
    |python.png|, :ref:`dwicat`, "Concatenating multiple DWI series accounting for differential intensity scaling"
    |cpp.png|, :ref:`dwidenoise`, "dMRI noise level estimation and denoising using Marchenko-Pastur PCA"
    |cpp.png|, :ref:`dwiextract`, "Extract diffusion-weighted volumes, b=0 volumes, or certain shells from a DWI dataset"
    |python.png|, :ref:`dwifslpreproc`, "Perform diffusion image pre-processing using FSL's eddy tool; including inhomogeneity distortion correction using FSL's topup tool if possible"
    |python.png|, :ref:`dwigradcheck`, "Check the orientation of the diffusion gradient table"
    |python.png|, :ref:`dwinormalise`, "Perform various forms of intensity normalisation of DWIs"
    |python.png|, :ref:`dwishellmath`, "Apply an mrmath operation to each b-value shell in a DWI series"
    |cpp.png|, :ref:`fixel2peaks`, "Convert data in the fixel directory format into a 4D image of 3-vectors"
    |cpp.png|, :ref:`fixel2sh`, "Convert a fixel-based sparse-data image into an spherical harmonic image"
    |cpp.png|, :ref:`fixel2tsf`, "Map fixel values to a track scalar file based on an input tractogram"
    |cpp.png|, :ref:`fixel2voxel`, "Convert a fixel-based sparse-data image into some form of scalar image"
    |cpp.png|, :ref:`fixelcfestats`, "Fixel-based analysis using connectivity-based fixel enhancement and non-parametric permutation testing"
    |cpp.png|, :ref:`fixelconnectivity`, "Generate a fixel-fixel connectivity matrix"
    |cpp.png|, :ref:`fixelconvert`, "Convert between the old format fixel image (.msf / .msh) and the new fixel directory format"
    |cpp.png|, :ref:`fixelcorrespondence`, "Obtain fixel-fixel correpondence between a subject fixel image and a template fixel mask"
    |cpp.png|, :ref:`fixelcrop`, "Crop/remove fixels from sparse fixel image using a binary fixel mask"
    |cpp.png|, :ref:`fixelfilter`, "Perform filtering operations on fixel-based data"
    |cpp.png|, :ref:`fixelreorient`, "Reorient fixel directions"
    |cpp.png|, :ref:`fod2dec`, "Generate FOD-based DEC maps, with optional panchromatic sharpening and/or luminance/perception correction"
    |cpp.png|, :ref:`fod2fixel`, "Perform segmentation of continuous Fibre Orientation Distributions (FODs) to produce discrete fixels"
    |python.png|, :ref:`for_each`, "Perform some arbitrary processing step for each of a set of inputs"
    |cpp.png|, :ref:`label2colour`, "Convert a parcellated image (where values are node indices) into a colour image"
    |cpp.png|, :ref:`label2mesh`, "Generate meshes from a label image"
    |cpp.png|, :ref:`labelconvert`, "Convert a connectome node image from one lookup table to another"
    |python.png|, :ref:`labelsgmfix`, "In a FreeSurfer parcellation image, replace the sub-cortical grey matter structure delineations using FSL FIRST"
    |cpp.png|, :ref:`labelstats`, "Compute statistics of parcels within a label image"
    |cpp.png|, :ref:`maskdump`, "Print out the locations of all non-zero voxels in a mask image"
    |cpp.png|, :ref:`maskfilter`, "Perform filtering operations on 3D / 4D mask images"
    |cpp.png|, :ref:`mesh2voxel`, "Convert a mesh surface to a partial volume estimation image"
    |cpp.png|, :ref:`meshconvert`, "Convert meshes between different formats, and apply transformations"
    |cpp.png|, :ref:`meshfilter`, "Apply filter operations to meshes"
    |cpp.png|, :ref:`mraverageheader`, "Calculate the average (unbiased) coordinate space of all input images"
    |cpp.png|, :ref:`mrcalc`, "Apply generic voxel-wise mathematical operations to images"
    |cpp.png|, :ref:`mrcat`, "Concatenate several images into one"
    |cpp.png|, :ref:`mrcentroid`, "Determine the centre of mass / centre of gravity of an image"
    |cpp.png|, :ref:`mrcheckerboardmask`, "Create bitwise checkerboard image"
    |cpp.png|, :ref:`mrclusterstats`, "Voxel-based analysis using permutation testing and threshold-free cluster enhancement"
    |cpp.png|, :ref:`mrcolour`, "Apply a colour map to an image"
    |cpp.png|, :ref:`mrconvert`, "Perform conversion between different file types and optionally extract a subset of the input image"
    |cpp.png|, :ref:`mrdegibbs`, "Remove Gibbs Ringing Artifacts"
    |cpp.png|, :ref:`mrdump`, "Print out the values within an image"
    |cpp.png|, :ref:`mredit`, "Directly edit the intensities within an image from the command-line"
    |cpp.png|, :ref:`mrfilter`, "Perform filtering operations on 3D / 4D MR images"
    |cpp.png|, :ref:`mrgrid`, "Modify the grid of an image without interpolation (cropping or padding) or by regridding to an image grid with modified orientation, location and or resolution. The image content remains in place in real world coordinates."
    |cpp.png|, :ref:`mrhistmatch`, "Modify the intensities of one image to match the histogram of another"
    |cpp.png|, :ref:`mrhistogram`, "Generate a histogram of image intensities"
    |cpp.png|, :ref:`mrinfo`, "Display image header information, or extract specific information from the header"
    |cpp.png|, :ref:`mrmath`, "Compute summary statistic on image intensities either across images, or along a specified axis of a single image"
    |cpp.png|, :ref:`mrmetric`, "Computes a dissimilarity metric between two images"
    |cpp.png|, :ref:`mrregister`, "Register two images together using a symmetric rigid, affine or non-linear transformation model"
    |cpp.png|, :ref:`mrstats`, "Compute images statistics"
    |cpp.png|, :ref:`mrthreshold`, "Create bitwise image by thresholding image intensity"
    |cpp.png|, :ref:`mrtransform`, "Apply spatial transformations to an image"
    |python.png|, :ref:`mrtrix_cleanup`, "Clean up residual temporary files & scratch directories from MRtrix3 commands"
    |cpp.png|, :ref:`mrview`, "The MRtrix image viewer"
    |cpp.png|, :ref:`mtnormalise`, "Multi-tissue informed log-domain intensity normalisation"
    |cpp.png|, :ref:`peaks2amp`, "Extract amplitudes from a peak directions image"
    |cpp.png|, :ref:`peaks2fixel`, "Convert peak directions image to a fixel directory"
    |python.png|, :ref:`population_template`, "Generates an unbiased group-average template from a series of images"
    |python.png|, :ref:`responsemean`, "Calculate the mean response function from a set of text files"
    |cpp.png|, :ref:`sh2amp`, "Evaluate the amplitude of an image of spherical harmonic functions along specified directions"
    |cpp.png|, :ref:`sh2peaks`, "Extract the peaks of a spherical harmonic function in each voxel"
    |cpp.png|, :ref:`sh2power`, "Compute the total power of a spherical harmonics image"
    |cpp.png|, :ref:`sh2response`, "Generate an appropriate response function from the image data for spherical deconvolution"
    |cpp.png|, :ref:`shbasis`, "Examine the values in spherical harmonic images to estimate (and optionally change) the SH basis used"
    |cpp.png|, :ref:`shconv`, "Perform spherical convolution"
    |cpp.png|, :ref:`shview`, "View spherical harmonics surface plots"
    |cpp.png|, :ref:`tck2connectome`, "Generate a connectome matrix from a streamlines file and a node parcellation image"
    |cpp.png|, :ref:`tck2fixel`, "Compute a fixel TDI map from a tractogram"
    |cpp.png|, :ref:`tckconvert`, "Convert between different track file formats"
    |cpp.png|, :ref:`tckdfc`, "Perform the Track-Weighted Dynamic Functional Connectivity (TW-dFC) method"
    |cpp.png|, :ref:`tckedit`, "Perform various editing operations on track files"
    |cpp.png|, :ref:`tckgen`, "Perform streamlines tractography"
    |cpp.png|, :ref:`tckglobal`, "Multi-Shell Multi-Tissue Global Tractography"
    |cpp.png|, :ref:`tckinfo`, "Print out information about a track file"
    |cpp.png|, :ref:`tckmap`, "Use track data as a form of contrast for producing a high-resolution image"
    |cpp.png|, :ref:`tckresample`, "Resample each streamline in a track file to a new set of vertices"
    |cpp.png|, :ref:`tcksample`, "Sample values of an associated image along tracks"
    |cpp.png|, :ref:`tcksift`, "Filter a whole-brain fibre-tracking data set such that the streamline densities match the FOD lobe integrals"
    |cpp.png|, :ref:`tcksift2`, "Optimise per-streamline cross-section multipliers to match a whole-brain tractogram to fixel-wise fibre densities"
    |cpp.png|, :ref:`tckstats`, "Calculate statistics on streamlines lengths"
    |cpp.png|, :ref:`tcktransform`, "Apply a spatial transformation to a tracks file"
    |cpp.png|, :ref:`tensor2metric`, "Generate maps of tensor-derived parameters"
    |cpp.png|, :ref:`transformcalc`, "Perform calculations on linear transformation matrices"
    |cpp.png|, :ref:`transformcompose`, "Compose any number of linear transformations and/or warps into a single transformation"
    |cpp.png|, :ref:`transformconvert`, "Convert linear transformation matrices"
    |cpp.png|, :ref:`tsfdivide`, "Divide corresponding values in track scalar files"
    |cpp.png|, :ref:`tsfinfo`, "Print out information about a track scalar file"
    |cpp.png|, :ref:`tsfmult`, "Multiply corresponding values in track scalar files"
    |cpp.png|, :ref:`tsfsmooth`, "Gaussian filter a track scalar file"
    |cpp.png|, :ref:`tsfthreshold`, "Threshold and invert track scalar files"
    |cpp.png|, :ref:`tsfvalidate`, "Validate a track scalar file against the corresponding track data"
    |cpp.png|, :ref:`vectorstats`, "Statistical testing of vector data using non-parametric permutation testing"
    |cpp.png|, :ref:`voxel2fixel`, "Map the scalar value in each voxel to all fixels within that voxel"
    |cpp.png|, :ref:`voxel2mesh`, "Generate a surface mesh representation from a voxel image"
    |cpp.png|, :ref:`warp2metric`, "Compute fixel-wise or voxel-wise metrics from a 4D deformation field"
    |cpp.png|, :ref:`warpconvert`, "Convert between different representations of a non-linear warp"
    |cpp.png|, :ref:`warpcorrect`, "Replaces voxels in a deformation field that point to a specific out of bounds location with nan,nan,nan"
    |cpp.png|, :ref:`warpinit`, "Create an initial warp image, representing an identity transformation"
    |cpp.png|, :ref:`warpinvert`, "Invert a non-linear warp field"


.. |cpp.png| image:: cpp.png
   :alt: C++

.. |python.png| image:: python.png
   :alt: Python