CCG_CNT3x

Combines data lines by counting pixels

Description:

This routine accepts an array consisting a series of (vectorised) lines of data. The data values in the lines are then collapsed to the count of good (or bad) values in each line. The output values are returned in the array RESULT.

Invocation

CALL CCG_CNT3x( IMETH, NPIX, NLINES, STACK, RESULT, NCON, NBAD, STATUS )

Arguments

IMETH = INTEGER (Given)
35 - Return the number of good values in each line. 36 - Return the number of bad values in each line.
NPIX = INTEGER (Given)
The number of pixels in a line of data.
NLINES = INTEGER (Given)
The number of lines of data in the stack.
STACK( NPIX, NLINES ) = ? (Given)
The array of lines which are to be combined into a single line.
RESULT( NPIX ) = INTEGER (Returned)
The output line of data. Note, the data type is always INTEGER.
NCON( NLINES ) = DOUBLE PRECISION (Returned)
The actual number of contributing pixels from each input line to the output line. Each value in this array is set to NPIX.
NBAD = INTEGER (Returned)
The number of bad values in the output array created while forming the statistics. This is always returned as zero by this routine.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: