XiePhotoCount(3X) — Subroutines
Digital
NAME
XiePhotoCount − This routine returns a count of the number of components in an image.
C Format
count = XiePhotoCount(photo_id)
C Argument Information
unsigned long count;
XiePhoto photo_id;
RETURN VALUES
The routine returns the count of the number of components in the count argument.
PARAMETERS
photo_idThe photo_id argument specifies the identifier of the source image. The source image can be either an unbound photomap, a photoflo, a phototap, or a photomap bound to a photoflo. If the source image is a photoflo, the routine operates on the photomap or phototap currently at the end of the photoflo.
DESCRIPTION
This routine returns a count of the number of components in an image. Multispectral images contain 3 components and all others contain 1. You can use the C Macro PhotoCount_ instead of this routine.
XIE Events and Error Messages
Protocol Messages: None
XIE event returned: None
XieLib errors: None
XieServer errors: None