XVista manual page

NAME

imshift - shifts the pixels in an image

SYNOPSIS

imshift file [dr=] [dc=] [fill=]

DESCRIPTION

Shifts each pixel value in the given file by dr rows and/or dc columns. Any pixels shifted out of the image are discarded, and vacated pixels are set to zero or the value set by the fill keyword.

If the pixel shift in either rows or columns differs from an integer by more than .001, the program uses a bi-linear interpolation algorithm.

EXAMPLE

imshift m13 dr=10.3 dc=-5

SEE ALSO rotate, flip

BUGS

Nothing is done to the header to indicate that the image has been shifted.