|pixinterp2x [-h] [-s squarefilesize] [-w file_width] [-n file_height] [infile.pix] > outfile.pix|
Pixinterp2x does a bilinear interpolation between the pixels of the input pix(5) file to create the output file. This program is most useful when creating images for photographing. Even though no additional image information is created, there may be significant photographic advantages to operating the display at its highest resolution.
This is a very fast implementation of one special case of interpolation; the general tool for interpolation is pixscale(1).
-h"hires" flag. Set both the height and width of the input to 1024. The default is 512x512.
-w file_widthSpecify the width (in pixels) of the scanlines in the input file. The default is 512.
-n file_heightSpecify the number of scanlines of input to be processed. The default is 512.
-s squarefilesizeSpecify both the number of pixels per scanline and the number of scanlines in the file to process.
The interpolated scanlines fall exactly half way between the input lines, and the input lines are exactly preserved. Rather than extrapolate beyond the edges of the file, the first X and Y line is duplicated (left and bottom edge). This differs from the behavior of pixscale(1).
brlcad(1), pixscale(1), pix(5).
More memory is used than is strictly necessary.
This software is Copyright (c) 1989-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <email@example.com>.