Common Pipeline Library Reference Manual  6.4.1
Functions
Frame Sets IO functions

Functions

cpl_imagelist * cpl_imagelist_load_frameset (const cpl_frameset *fset, cpl_type im_type, cpl_size pnum, cpl_size xtnum)
 Load an imagelist from a frameset.
 

Detailed Description

Synopsis:
#include <cpl_frameset_io.h>

Function Documentation

cpl_imagelist* cpl_imagelist_load_frameset ( const cpl_frameset fset,
cpl_type  im_type,
cpl_size  pnum,
cpl_size  xtnum 
)

Load an imagelist from a frameset.

Parameters
fsetThe frames set
im_typeThe required image type
pnumThe plane number, 1 for first, 0 for all planes
xtnumThe extension number, 0 for primary, n for nth, -1 for all
Returns
the loaded list of images or NULL on error.
Note
The returned cpl_imagelist must be deallocated using cpl_imagelist_delete()

Possible _cpl_error_code_ set in this function:

  • CPL_ERROR_NULL_INPUT if fset is NULL
  • CPL_ERROR_ILLEGAL_INPUT if pnum is negative, xtnum is lower than -1 or one image cannot be loaded as specified