EXPAND

The EXPAND procedure shrinks or expands a two-dimensional array, using bilinear interpolation. It is similar to the CONGRID and REBIN routines.

This routine is written in the IDL language. Its source code can be found in the file expand.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

EXPAND, A, Nx, Ny, Result

Arguments

A

A two-dimensional array to be magnified.

Nx

Desired size of the X dimension, in pixels.

Ny

Desired size of the Y dimension, in pixels.

Result

A named variable that will contain the magnified array.

Keywords

MAXVAL

Set this keyword equal to the largest good value. Elements greater than this value are set equal to the value of the FILLVAL keyword.

FILLVAL

Set this keyword equal to the value to use when elements larger than MAXVAL are encountered. The default is -1.

See Also

CONGRID , REBIN