The array NCON holds the actual numbers of pixels that were used in deriving the output value plus any values already present in the array; thus a cumulative sum of contributing pixel numbers may be kept.
KAPLIBS -- Internal subroutines used within the KAPPA package.