Functions | |
cpl_imagelist * | cpl_imagelist_new () |
Create an empty imagelist. | |
cpl_imagelist * | cpl_imagelist_load (const char *filename, cpl_type type, int extnum) |
Load a FITS file extension into a list of images. | |
int | cpl_imagelist_get_size (const cpl_imagelist *imlist) |
Get the number of images in the imagelist. | |
cpl_image * | cpl_imagelist_get (const cpl_imagelist *imlist, int inum) |
Get an image from a list of images. | |
cpl_error_code | cpl_imagelist_set (cpl_imagelist *imlist, cpl_image *im, int pos) |
Insert an image into an imagelist. | |
void | cpl_imagelist_delete (cpl_imagelist *imlist) |
Free memory associated to a cpl_imagelist object. | |
cpl_imagelist * | cpl_imagelist_duplicate (const cpl_imagelist *imlist) |
Copy an image list. | |
cpl_error_code | cpl_imagelist_erase (cpl_imagelist *imlist, const cpl_vector *valid) |
Reject one or more images in a list according to an array of flags. | |
cpl_error_code | cpl_imagelist_save (const cpl_imagelist *imlist, const char *filename, cpl_type_bpp bpp, const cpl_propertylist *pl, unsigned mode) |
Save an imagelist to disk in FITS format. | |
int | cpl_imagelist_is_uniform (const cpl_imagelist *imlist) |
Determine if an imagelist contains images of equal size and type. |
#include "cpl_imagelist_io.h"
|
Free memory associated to a cpl_imagelist object.
|
|
Copy an image list.
Possible _cpl_error_code_ set in this function:
|
|
Reject one or more images in a list according to an array of flags.
Images flagged as invalid are removed from the list. The removal of image(s) will reduce the length of the list accordingly. Possible _cpl_error_code_ set in this function:
|
|
Get an image from a list of images.
Possible _cpl_error_code_ set in this function:
|
|
Get the number of images in the imagelist.
|
|
Determine if an imagelist contains images of equal size and type.
Possible _cpl_error_code_ set in this function:
|
|
Load a FITS file extension into a list of images.
type can be CPL_TYPE_DOUBLE, CPL_TYPE_FLOAT or CPL_TYPE_INT. The returned cpl_imagelist must be deallocated using cpl_imagelist_delete() Possible _cpl_error_code_ set in this function:
|
|
Create an empty imagelist.
|
|
Save an imagelist to disk in FITS format.
imlist can be of type CPL_CLASS_DOUBLE, CPL_CLASS_FLOAT or CPL_CLASS_INT. Currently, the supported output mode is CPL_IO_DEFAULT (create a new file). Possible _cpl_error_code_ set in this function:
|
|
Insert an image into an imagelist.
It is allowed to specify the position equal to the number of images in the list. This will increment the size of the imagelist. No action occurs if an image is inserted more than once into the same position. It is (currently) not allowed to insert the same image into two different positions in a list. It is not allowed to insert images of different size into a list. You should not deallocate the image after it has been inserted into an imagelist, since the cpl_imagelist_delete() will deallocate its images. Possible _cpl_error_code_ set in this function:
|