aryOffs

Obtain the pixel offset between two arrays

Description:

This function returns the pixel offset for each requested dimension between two arrays. These values are the offsets which should be added to the pixel indices of the first array to obtain the indices of the corresponding pixel in the second array.

Invocation

void aryOffs( Ary ary1, Ary ary2, int mxoffs, hdsdim offs, int status )

Notes:

Parameters :

iary1
First array identifier.
iary2
Second array identifier.
mxoffs
Maximum number of pixel offsets to return (i.e. the declared size of the supplied " offs" array).
offs
Returned holding an array of pixel offsets for each dimension.
status
The global status.