Mercurial > hg > minc-tools
annotate progs/mincaverage/mincaverage.man1 @ 1784:0e4a869ecb1a
Revised man pages
author | bert <bert> |
---|---|
date | Thu, 20 May 2004 21:52:07 +0000 |
parents | 8c04b124e8e0 |
children |
rev | line source |
---|---|
1784 | 1 .\" Hey, EMACS: -*- nroff -*- |
832 | 2 .\" Copyright 1995 Peter Neelin, McConnell Brain Imaging Centre, |
3 .\" Montreal Neurological Institute, McGill University. | |
4 .\" Permission to use, copy, modify, and distribute this | |
5 .\" software and its documentation for any purpose and without | |
6 .\" fee is hereby granted, provided that the above copyright | |
7 .\" notice appear in all copies. The author and McGill University | |
8 .\" make no representations about the suitability of this | |
9 .\" software for any purpose. It is provided "as is" without | |
10 .\" express or implied warranty. | |
11 .\" | |
1784 | 12 .\" $Header: /private-cvsroot/minc/progs/mincaverage/mincaverage.man1,v 6.3 2004-05-20 21:52:07 bert Exp $ |
832 | 13 .\" |
1784 | 14 .TH MINCAVERAGE 1 "$Date: 2004-05-20 21:52:07 $" "" "MINC User's Guide" |
832 | 15 |
16 .SH NAME | |
17 mincaverage - average minc files | |
18 | |
19 .SH SYNOPSIS | |
20 .B mincaverage | |
21 [<options>] <in1>.mnc [<in2>.mnc...] <out>.mnc | |
22 | |
23 .SH DESCRIPTION | |
1784 | 24 \fIMincaverage\fR averages minc files together. A range of optional |
25 behaviour is permitted as well: pre-normalizing volumes, creating a | |
26 standard deviation volume, averaging over a specified dimension of the | |
27 input files. | |
832 | 28 |
29 .SH OPTIONS | |
30 Note that options can be specified in abbreviated form (as long as | |
31 they are unique) and can be given anywhere on the command line. | |
32 | |
33 .SH General options | |
1784 | 34 .TP |
35 \fB\-2\fR | |
36 Create a MINC 2.0 format output file. | |
37 .TP | |
38 \fB\-clobber\fR | |
832 | 39 Overwrite an existing file. |
1784 | 40 .TP |
41 \fB\-noclobber\fR | |
832 | 42 Don't overwrite an existing file (default). |
1784 | 43 .TP |
44 \fB\-verbose\fR | |
45 Print out progress information for each chunk of data copied (default). | |
46 .TP | |
47 \fB\-quiet\fR | |
832 | 48 Do not print out progress information. |
1784 | 49 .TP |
50 \fB\-debug\fR | |
833 | 51 Print extra information (e.g. normalization factors). |
1784 | 52 .TP |
53 \fB\-filelist\fR \fIfilename\fR | |
1275
8092b8fc921e
Added option -filelist to read file names from a file. This gets around
neelin <neelin>
parents:
1112
diff
changeset
|
54 Specify a file containing a list of input file names. If "-" is given, then |
8092b8fc921e
Added option -filelist to read file names from a file. This gets around
neelin <neelin>
parents:
1112
diff
changeset
|
55 file names are read from stdin. If this option is given, then there should be |
8092b8fc921e
Added option -filelist to read file names from a file. This gets around
neelin <neelin>
parents:
1112
diff
changeset
|
56 no input file names specified on the command line. Empty lines in the input |
8092b8fc921e
Added option -filelist to read file names from a file. This gets around
neelin <neelin>
parents:
1112
diff
changeset
|
57 file are ignored. |
1784 | 58 .TP |
59 \fB\-max_buffer_size_in_kb\fR \fIbuffer-size\fR | |
832 | 60 Specify the maximum size of the internal buffers (in kbytes). Default is |
61 4096 kbytes. | |
62 | |
63 .SH Output type options | |
1784 | 64 These options control the storage precision and size of individual voxel |
65 values in the output file. | |
66 .TP | |
67 \fB-filetype\fR | |
832 | 68 Don't do any type conversion (default). |
1784 | 69 .TP |
70 \fB\-byte\fR | |
71 Write out 8-bit integer values. | |
72 .TP | |
73 \fB\-short\fR | |
74 Write out 16-bit integer values. | |
75 .TP | |
76 \fB-int\fR | |
1336 | 77 Write out 32-bit integer values. |
1784 | 78 .TP |
79 \fB\-long\fR | |
1336 | 80 Superseded by -int. |
1784 | 81 .TP |
82 \fB\-float\fR | |
832 | 83 Write out single-precision floating point values. |
1784 | 84 .TP |
85 \fB\-double\fR | |
832 | 86 Write out double-precision floating point values. |
87 .P | |
1784 | 88 \fB\-signed\fR |
832 | 89 Write out values as signed integers (default for short and long). Ignored for |
90 floating point types. | |
1784 | 91 .TP |
92 \fB\-unsigned\fR | |
832 | 93 Write out values as unsigned integers (default for byte). Ignored for |
94 floating point types. | |
1784 | 95 .TP |
96 \fB\-range\fR \fImin max\fR | |
832 | 97 specifies the valid range of output voxel values in their integer |
98 representation. Default is the full range | |
99 for the type and sign. This option is ignored for floating point | |
100 values. For it to have any effect, you must specify a type. | |
101 | |
102 .SH Averaging options | |
1784 | 103 .TP |
104 \fB\-normalize\fR | |
833 | 105 Normalize volumes to their global average before averaging them (based |
832 | 106 on the mean of voxels with value greater than 2 percent of full range |
107 above the minimum). | |
1784 | 108 .TP |
109 \fB\-nonormalize\fR | |
833 | 110 Do not normalize volumes (default). |
1784 | 111 .TP |
112 \fB\-sdfile\fR \fIsdfile.mnc\fR | |
832 | 113 Specify the name of an output standard deviation file, to be |
114 calculated in addition the mean that is normally calculated. | |
1784 | 115 .TP |
116 \fB\-copy_header\fR | |
832 | 117 Copy all of the additional header information from the first input |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
118 file (default for one input file). |
1784 | 119 .TP |
120 \fB\-nocopy_header\fR | |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
121 Do not copy additional header information (default for many input files). |
1784 | 122 .TP |
123 \fB\-avgdim\fR \fIdimname\fR | |
832 | 124 Specify the name of a dimension over which we should be averaging (or |
833 | 125 calculating standard deviation). If normalization is done, it still |
126 only applies to separate files only - no normalization is done within | |
832 | 127 a file. |
1784 | 128 .TP |
129 \fB\-binarize\fR | |
833 | 130 Binarize the input volumes before calculating the average. The |
131 binarization is done by specifying a range of values that contribute 1 | |
132 to the average. Normalization of the input is not permitted when | |
133 performing binarization. | |
1784 | 134 .TP |
135 \fB\-binrange\fR \fImin max\fR | |
833 | 136 Specify the range of values for binarization. |
1784 | 137 .TP |
138 \fB\-binvalue\fR \fIvalue\fR | |
833 | 139 Specify a single legal value (integer) for binarization. The range is |
140 set to be +/- 0.5 around this value to achieve an effective rounding | |
141 of input values. | |
1784 | 142 .TP |
143 \fB\-weights\fR \fI<w1,w2,...>\fR | |
958 | 144 Specify a series of weights for averaging. The number of weighting |
145 values must match the number of input files and the values must be | |
146 provided as a single argument with commas or spaces as | |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
147 separators. The sum of the weights must be non-zero. If weights are |
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
148 used with an averaging dimension, then only one input file can be |
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
149 specified. |
1784 | 150 .TP |
151 \fB\-width_weighted\fR | |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
152 This option can only be used when averaging across a dimension |
1784 | 153 (\fB-avgdim\fR option). It specifies that weighting should be done using the |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
154 width variable that corresponds to the averaging dimension. For |
1784 | 155 example, using \fB\-width_weighted\fR with \fB\-avgdim\fR time will use the |
995
26eb4481c907
Added -width_weighted option. Allow -weights with -avgdim option.
neelin <neelin>
parents:
958
diff
changeset
|
156 time-width variable to weight the values. |
832 | 157 |
158 .SH Generic options for all commands: | |
1784 | 159 .TP |
160 \fB-help\fR | |
161 Print summary of command-line options and exit. | |
162 .TP | |
163 \fB\-version\fR | |
164 Print the program's version number and exit. | |
832 | 165 |
166 .SH AUTHOR | |
167 Peter Neelin | |
168 | |
169 .SH COPYRIGHTS | |
1784 | 170 Copyright \(co 1995 by Peter Neelin |
832 | 171 |
172 |