Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2017-11-22 18:02:09
Size: 494
Comment:
Revision 6 as of 2017-11-22 18:16:07
Size: 1928
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
Concatenates input data sets.
Line 10: Line 11:
mri_segstats --seg <segvol> --annot <subject hemi parc> --slabel <subject hemi label> --sum <file> mri_concat.bin
Line 14: Line 15:
== Required Flagged Arguments ==
|| --seg segvol || input segmentation volume ||
|| --annot subject hemi parc || create a segmentation from hemi.parc.annot ||
== Optional Flagged Arguments ==
|| --o out || Output ||
|| --i invol || Input ||
|| --f listfile || List file has a text list of files (up to 40000)||
|| --paired-sum || Computes paired sum (1+2, 3d+4, ect.) ||
|| --paired-avg || Computes paired average (1+2, 3d+4, ect.) ||
|| --paired-diff || Computes paired difference (1-2, 3d-4, ect.) ||
|| --paired-diff-norm || Same as paired difference but scale by TP1, 2 average ||
|| --paired-diff-norm1 || Same as paired difference but scale by TP1 ||
|| --paired-diff-norm2 || Same as paired difference but scale by TP2 ||
|| --norm-mean || Normalize frames by mean of all TP ||
|| --norm1 || Normalize frames by TP1 ||
|| --mtx matrix.asc || Multiply by matrix in ascii file ||
|| --gmean Ng || Create matrix to average Ng groups, Nper=Ntot/Ng ||
|| --combine || Average frames from non-zero voxels. Useful to combine lh.ribbon.mgz and rh.ribbon.mgz. ||
|| --keep-datatype || Write output in same datatype as input. Default is to write output in Float format ||
|| --abs || Take absolute value of input ||
|| --pos || Set input negatives to 0 ||
|| --neg || Set input positives to 0 ||
|| --mean || Compute mean of concatenated volumes ||
|| --median || Compute median of concatenated volumes ||
|| --mean-div-n || Compute mean per nframes (good for variance) ||
|| --sum || Compute sum of concatenated volumes ||
|| --var || Compute variance of concatenated volumes ||
|| --std || Compute standard deviation of concatenated volumes ||
|| --max || Compute maximum of concatenated volumes ||
|| --max-index || Compute index of maximum of concatenated volumes (1-based) ||

Index

Name

mri_concat

Description

Concatenates input data sets.

Synopsis

mri_concat.bin

Arguments

Optional Flagged Arguments

--o out

Output

--i invol

Input

--f listfile

List file has a text list of files (up to 40000)

--paired-sum

Computes paired sum (1+2, 3d+4, ect.)

--paired-avg

Computes paired average (1+2, 3d+4, ect.)

--paired-diff

Computes paired difference (1-2, 3d-4, ect.)

--paired-diff-norm

Same as paired difference but scale by TP1, 2 average

--paired-diff-norm1

Same as paired difference but scale by TP1

--paired-diff-norm2

Same as paired difference but scale by TP2

--norm-mean

Normalize frames by mean of all TP

--norm1

Normalize frames by TP1

--mtx matrix.asc

Multiply by matrix in ascii file

--gmean Ng

Create matrix to average Ng groups, Nper=Ntot/Ng

--combine

Average frames from non-zero voxels. Useful to combine lh.ribbon.mgz and rh.ribbon.mgz.

--keep-datatype

Write output in same datatype as input. Default is to write output in Float format

--abs

Take absolute value of input

--pos

Set input negatives to 0

--neg

Set input positives to 0

--mean

Compute mean of concatenated volumes

--median

Compute median of concatenated volumes

--mean-div-n

Compute mean per nframes (good for variance)

--sum

Compute sum of concatenated volumes

--var

Compute variance of concatenated volumes

--std

Compute standard deviation of concatenated volumes

--max

Compute maximum of concatenated volumes

--max-index

Compute index of maximum of concatenated volumes (1-based)

Examples

Example 1

See Also

Reporting Bugs

Report bugs to freesurfer@nmr.mgh.harvard.edu

mri_concat (last edited 2017-11-22 18:41:12 by MorganFogarty)