aryBound

Enquire the pixel-index bounds of an array

Description:

This function returns the lower and upper pixel-index bounds of each dimension of an array, together with the total number of dimensions.

Invocation

void aryBound( Ary ary, int ndimx, hdsdim lbnd, hdsdim ubnd, int ndim, int status )

Notes:

Parameters :

ary
Array identifier.
ndimx
Maximum number of pixel-index bounds to return (i.e. the declared size of the " lbnd" and " ubnd" arguments).
lbnd
Returned holding the lower pixel-index bounds for each dimension.
ubnd
Returned holding the upper pixel-index bounds for each dimension.
ndim
Returned holding the total number of array dimensions.
status
The global status.