IMG_MOD[n][x]

Access an image for modification

Description:

This routine provides access to an input image. It returns the size of the image and a pointer to its data. Existing values in the image may be modified.

The [n] and [x] parts of the name are optional. If used [n] indicates the number of dimensions of the data (1 to 3, the default is 2) and [x] the data type (one of R, D, I, W, UW, B or UB, the default is R). So for instance if you wanted to use 3-D data with a data type of DOUBLE PRECISION, the subroutine that you should call is IMG_MOD3D.

Invocation

CALL IMG_MOD( PARAM, NX, NY, IP, STATUS )
CALL IMG_MOD1[x]( PARAM, NX, IP, STATUS )
CALL IMG_MOD2[x]( PARAM, NX, NY, IP, STATUS )
CALL IMG_MOD3[x]( PARAM, NX, NY, NZ, IP, STATUS )

Arguments

PARAM = CHARACTER ∗ ( ∗ ) (Given)
Parameter name (case insensitive).
NX = INTEGER (Returned)
First dimension of the image (in pixels).
NY = INTEGER (Returned)
Second dimension of the image (in pixels).
NZ = INTEGER (Returned)
Third dimension of the image (in pixels).
IP = INTEGER (Returned)
Pointer to image data.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: