High-Level Data Reduction Library 1.6.0a5
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_imagelist_io.c File Reference
#include "hdrl_image.h"
#include "hdrl_imagelist.h"
#include "hdrl_imagelist_defs.h"
#include "hdrl_imagelist_view.h"
#include "hdrl_iter.h"
#include <cpl.h>
#include <assert.h>
#include <string.h>
Include dependency graph for hdrl_imagelist_io.c:

Data Structures

struct  hdrl_imagelist_row_slices_iter
 

Macros

#define HDRL_MSG   "Imagelist with %d image(s)\n"
 
#define HDRL_IMSG   "Image nb %d of %d in imagelist\n"
 

Functions

hdrl_imagelisthdrl_imagelist_new (void)
 Create an empty imagelist.
 
hdrl_imagelisthdrl_imagelist_create (cpl_imagelist *imlist, cpl_imagelist *errlist)
 Create an hdrl_imagelist out of 2 cpl_imagelist.
 
cpl_size hdrl_imagelist_get_size (const hdrl_imagelist *himlist)
 Get the number of images in the imagelist.
 
cpl_size hdrl_imagelist_get_size_x (const hdrl_imagelist *himlist)
 Get number of colums of images in the imagelist.
 
cpl_size hdrl_imagelist_get_size_y (const hdrl_imagelist *himlist)
 Get number of rows of images in the imagelist.
 
hdrl_imagehdrl_imagelist_get (const hdrl_imagelist *himlist, cpl_size inum)
 Get an image from a list of images.
 
const hdrl_imagehdrl_imagelist_get_const (const hdrl_imagelist *himlist, cpl_size inum)
 Get an image from a list of images.
 
cpl_error_code hdrl_imagelist_set (hdrl_imagelist *himlist, hdrl_image *himg, cpl_size pos)
 Insert an image into an imagelist.
 
hdrl_imagehdrl_imagelist_unset (hdrl_imagelist *himlist, cpl_size pos)
 Remove an image from an imagelist.
 
void hdrl_imagelist_delete (hdrl_imagelist *himlist)
 Free all memory used by a hdrl_imagelist object including the images.
 
void hdrl_imagelist_empty (hdrl_imagelist *himlist)
 Empty an imagelist and deallocate all its images.
 
hdrl_imagelisthdrl_imagelist_duplicate (const hdrl_imagelist *himlist)
 Duplicate an image list.
 
int hdrl_imagelist_is_consistent (const hdrl_imagelist *himlist)
 Determine if an imagelist contains images of equal size and type.
 
cpl_error_code hdrl_imagelist_dump_structure (const hdrl_imagelist *himlist, FILE *stream)
 Dump structural information of images in an imagelist.
 
cpl_error_code hdrl_imagelist_dump_window (const hdrl_imagelist *himlist, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, FILE *stream)
 Dump pixel values of images in a imagelist.
 
void hdrl_imagelist_unwrap (hdrl_imagelist *himlist)
 
hdrl_il_rowsliceiter_data hdrl_imagelist_iter_row_slices_get_data (const hdrl_iter *it)
 
hdrl_iter * hdrl_imagelist_get_iter_row_slices (const hdrl_imagelist *hlist, cpl_size nrows, cpl_size overlap, hdrl_iter_flags flags)
 

Macro Definition Documentation

◆ HDRL_IMSG

#define HDRL_IMSG   "Image nb %d of %d in imagelist\n"

◆ HDRL_MSG

#define HDRL_MSG   "Imagelist with %d image(s)\n"