remod — Image combiner
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.