This structure is used for storing data-quality information.
Table:
Components of QUALITY structure
Component Name
TYPE
Brief Description
[VARIANT]
_CHAR
registered variant
[QUALITY]
p_array
quality value of each pixel
[BADBITS]
_UBYTE
mask of allowed bad bits in quality
[VARIANT]
Currently can only be `SIMPLE'.
[QUALITY]
The data-quality value(s). If it is scalar it applies
to all the pixels. The actual or
equivalent primitive type must be _UBYTE. Mandatory.
The rôle of data-quality and how it can be used to advantage were
described earlier.
[BADBITS]
A set of 8 one-bit flags which flag that the corresponding
data quality bits indicate bad pixels;
if omitted a default value of zero (i.e. data quality
is ignored in deciding whether a pixel is bad or not)
is assumed.