aryBad

Determine if an array may contain bad pixels

Description:

This function returns a boolean value indicating whether an array may contain bad pixels for which checks must be made when its values are processed. Only if the returned value is zero can such checks be omitted. If the " check" argument to this function is set non-zero, then it will perform an explicit check (if necessary) to see whether bad pixels are actually present.

Invocation

void aryBad( Ary ary, int check, int bad, int status )

Notes:

Parameters :

ary
Array identifier.
check
If non-zero, an explicit check is performed to see if bad pixels are actually present.
bad
Returned holding a flag indicating whether it is necessary to check for bad pixels when processing the array s values.
status
The global status.