NDF_NBLOC

Determine the number of blocks of adjacent pixels in an NDF

Description:

The routine determines the number of "blocks" (i.e. sections) of adjacent pixels that can be obtained from an NDF, subject to the constraint that no block should exceed a specified maximum number of pixels in any dimension. More specifically, given the maximum size in pixels of a block in each dimension (MXDIM), this routine returns the maximum value which can be supplied for the IBLOCK argument of the routine NDF_BLOCK if a valid NDF identifier for a block of adjacent pixels is to be returned.

Invocation

CALL NDF_NBLOC( INDF, NDIM, MXDIM, NBLOCK, STATUS )

Arguments

INDF = INTEGER (Given)
NDF identifier.
NDIM = INTEGER (Given)
Number of maximum dimension sizes.
MXDIM( NDIM ) = INTEGER (Given)
Array specifying the maximum size of a block in pixels along each dimension.
NBLOCK = INTEGER (Returned)
Number of blocks which can be obtained from the NDF.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: