Name

remod — Image combiner

Synopsis

remod [options] -span [-skip] imagefile1 imagefile2 …

Description

Remod takes a stack of n images, loads them all into memory, and outputs a stack of n “gral” images with names constructed by replacing the three character suffix (plus the preceding period) by “_MDL.PNG”.

A “gral” image is the average of 2 span + 1 consecutive images except for the central skip images. The span must be specified on the command line. The skip may be given; it defaults to 1. Note the asymmetry between span, which specifies the half-range, and skip, which specifies the total number of central images to skip. Typically, skip will be odd.

The purpose of remod is to then align the central image to its neighbors with swim.

Options

-e
Do ends. Normally, no output is generated for the first span and last span images. If -e is given, such output is generated, but the skip value is ignored for these outputs (only).
-a
Adaptive mode. Normally, remod calculates a simple average. With -a given, it stretches the contrast of each individual output image.

Authors

remod was written by Tom Wetzel. This page was written by Daniel Wagenaar.