Set pixels ‘bad IRQ_SBADx
’
which satisfy a given quality expression
IRQ_COMP should be called before this routine to produce the compiled quality expression identified
by IDQ. The QUALITY component of the NDF to which the quality expression refers (see IRQ_COMP
argument LOCS) is mapped as a one-dimensional vector. The supplied array VEC must
correspond pixel-for-pixel with the mapped QUALITY vector. All pixels which hold a QUALITY
satisfying the quality expression are found. If HELD is true, then the corresponding pixels
in VEC are set to the ‘bad’
value (other pixels are left unaltered). If HELD is false, the
corresponding pixels in VEC are left as they are, but all the other pixels in VEC are set to the ‘bad’
value. ALLBAD and NOBAD indicate if the output VEC values are either all bad or all
good.
Note, if the QUALITY component of the NDF is mapped for WRITE or UPDATE access on entry to this routine, an error is reported.
’
. Otherwise, those pixels which don’
t hold such a quality are set ‘bad’
. ’
, depending on the corresponding quality values stored in the NDF. It must be the same
size as the NDF, and must correspond pixel-for-pixel with the vectorised NDF. Pixels which are not
explicitly set ‘bad’
by this routine retain the values they had on entry. ’
values, and false if
any returned pixel values are not ‘bad’
. ’
values. False if any ‘bad’
pixel values
are returned. There is a routine for each numeric data type: replace "
x"
in the routine name by D, R, I, W, UW, B or
UB as appropriate. The VEC array supplied to the routine must have the data type specified.