Table of Contents

Name

marcombine, tkmarcombine- adds up images in mar345 format and produces

output files with combined intensities

Synopsis

marcombine [ -h (--help) ] [ -f (--factor) FACTOR ] [ -b (--back) M ] [ -avg (--average) ] [ -v (--verbose) ] [ -o (--out) NAME ] -a (--add) N -s (--subtract) (file1 file2) | (root ffrm lfrm extension)

Description

marcombine adds up or subtracts images. On output, it applies a multiplication factor.

Options

-h, --help
Provides a summary of the options.
-f, --factor FACTOR
Applies multiplication factor FACTOR to all summed pixels on output Default is: 1.0.
-avg, --average
Averages summed images. This is equivalent to --factor 1/N. Default is: no averaging, i.e. plain summation.
-a, --add N
Sum up N images in a row. This keyword is mandatory unless using file1 file2.
-s, --subtract
Subtracts file2 from file1.
-b, --back M
After summing up N images, go back M images and sum the next N images. Defaults is: 0.
-v, --verbose
Writes more information to stdout.
(file1 file2) | (root ffrm lfrm extension)
Image name root, starting and ending image and image extension. Alternatively, give 2 filenames. In that case -a 2 is implicit unless -s is given.

Examples

marcombine -a 5 xtal 1 10 mar1200
Sums up images xtal_001.mar1200 to xtal_005.mar1200 and xtal_006.mar1200 to xtal_010.mar1200. The 2 resulting output files are named xtal_001:005.mar1200 and xtal_006:010.mar1200.
marcombine -a 5 -b 4 xtal 1 10 mar1200
Sums up images xtal_001.mar1200 to xtal_005.mar1200, xtal_002.mar1200 to xtal_006.mar1200, ..., and xtal_006.mar1200 to xtal_010.mar1200. The 6 resulting output files are named xtal_001:005.mar1200, xtal_002:006.mar1200, ... and xtal_006:010.mar1200.
marcombine x_001.mar1200 y_001.mar1200
Sums up images x_001.mar1200 and y_001.mar1200. The resulting output file is named x_001+y_001.mar1200.
marcombine -s x_001.mar1200 y_001.mar1200
Subtracts images y_001.mar1200 from x_001.mar1200. The resulting output file is named x_001-y_001.mar1200.

See Also

mar345_formats

Author

Claudio Klein, Marresearch G.m.b.H., Norderstedt,

Germany

Copyright

© Copyright 2000-2004 Marresearch G.m.b.H., Norderstedt, Germany

Address

Marresearch G.m.b.H.Phone: +49 - (40) - 529 884-0
Hans-Boeckler-Ring 17 FAX: +49 - (40) - 529 884-20
D-22851 Norderstedt - GERMANYinfo@marresearch.com
www.marrresearch.com


Table of Contents