next up previous 237
Next: NDF_NCHNK - Determine the number of chunks of contiguous pixels in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_MTYPN - Match the types of the array components of a number of NDFs


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:



next up previous 237
Next: NDF_NCHNK - Determine the number of chunks of contiguous pixels in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_MTYPN - Match the types of the array components of a number of NDFs

NDF [1ex
Starlink User Note 33
R.F. Warren-Smith & D.S. Berry
16th July 2012
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council