Image Quantization

This program greymap performs intensity scaling and windowing. (see code)

Command Usage

greymap [options] infile outfile
        [-d]      Print debugging information
        [-s # #]  Scale pixels to specified range
        [-w # #]  Window pixels to specified range
        [-h]      Perform histogram equalization
        [-t]      Trim top and bottom 1 percent of range

Example

greymap -s 30 35 input.im greymap.im
disp input.im greymap.im