NDF_QMASK

Combine an NDF quality value with a bad-bits mask to give a logical result

Description:

This function may be used to combine an NDF quality array value with the associated bad-bits mask value to derive a logical result indicating whether an NDF pixel should be included or excluded from processing by general-purpose software.

Invocation

RESULT = NDF_QMASK( QUAL, BADBIT )

Arguments

QUAL = BYTE (Given)
The unsigned byte quality value.
BADBIT = BYTE (Given)
The unsigned byte bad-bits mask value.

Returned Value

NDF_QMASK = LOGICAL
If the function returns a .TRUE. result, then the pixel with quality value QUAL should be included in processing by general-purpose software. If it returns a .FALSE. result, then the pixel should be regarded as "bad" and excluded from processing.

Notes: