Name

remod — Image combiner

Synopsis

remod [options] -span [-skipped] 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 skipped images. The span must be specified on the command line. The skipped may be given; it defaults to 1. Note the asymmetry between span, which specifies the half-range, and skipped, which specifies the total number of central images to skipped. Typically, skipped will be odd.

The purpose of remod is to then align_all 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 skipped 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 Art Wetzel. This page was written by Daniel Wagenaar.