CALL IMG_INDF( 'IN', ID, ISTAT )
This returns an NDF identifier (ID) to your image dataset
(this shouldn't be confused with the pointers to images which we have
used so far). This allows you to get at the other components of the
NDF (our ``images'' are really the main NDF data array) such as its
variance, quality or world coordinate system. It also allows you to
access NDF extensions (our ``sources'' of header information) in more
sophisticated ways. As a very simple example the next program snippet
shows how to write out the name of an image dataset
(also see IMG_NAME):
CALL IMG_INDF( 'IN', ID, ISTAT ) [1]
CALL NDF_MSG( 'NAME', ID ) [2]
CALL MSG_OUT( ' ', 'Name of image = ^NAME', ISTAT ) [3]
CALL NDF_ANNUL( ID, ISTAT ) [4]
The following notes refer to the numbered statements:
IMG Simple Image Data Access