High-Level Data Reduction Library 1.6.0a5
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_image.h File Reference
#include "hdrl_image_math.h"
#include "hdrl_utils.h"
#include "hdrl_buffer.h"
#include "hdrl_types.h"
#include <cpl.h>
Include dependency graph for hdrl_image.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _hdrl_image_ hdrl_image
 

Functions

CPL_BEGIN_DECLS hdrl_imagehdrl_image_new (cpl_size nx, cpl_size ny)
 create new zero filled hdrl image
 
hdrl_imagehdrl_image_create (const cpl_image *image, const cpl_image *error)
 create a new hdrl_image from to existing images by copying them
 
hdrl_imagehdrl_image_duplicate (const hdrl_image *himg)
 copy hdrl_image
 
void hdrl_image_delete (hdrl_image *himg)
 delete hdrl_image
 
cpl_image * hdrl_image_get_image (hdrl_image *himg)
 get data as cpl image
 
const cpl_image * hdrl_image_get_image_const (const hdrl_image *himg)
 get data as cpl image
 
cpl_image * hdrl_image_get_error (hdrl_image *himg)
 get error as cpl image
 
const cpl_image * hdrl_image_get_error_const (const hdrl_image *himg)
 get error as cpl image
 
cpl_mask * hdrl_image_get_mask (hdrl_image *himg)
 get cpl bad pixel mask from image
 
const cpl_mask * hdrl_image_get_mask_const (const hdrl_image *himg)
 get cpl bad pixel mask from image
 
hdrl_value hdrl_image_get_pixel (const hdrl_image *self, cpl_size xpos, cpl_size ypos, int *pis_rejected)
 get pixel values of hdrl_image
 
cpl_error_code hdrl_image_set_pixel (hdrl_image *self, cpl_size xpos, cpl_size ypos, hdrl_value value)
 set pixel values of hdrl_image
 
cpl_size hdrl_image_get_size_x (const hdrl_image *self)
 return size of X dimension of image
 
cpl_size hdrl_image_get_size_y (const hdrl_image *self)
 return size of Y dimension of image
 
hdrl_imagehdrl_image_extract (const hdrl_image *, cpl_size, cpl_size, cpl_size, cpl_size)
 extract copy of window from image
 
cpl_error_code hdrl_image_reject (hdrl_image *self, cpl_size xpos, cpl_size ypos)
 mark pixel as bad
 
cpl_error_code hdrl_image_reject_value (hdrl_image *self, cpl_value mode)
 Reject pixels with the specified special value(s)
 
cpl_error_code hdrl_image_reject_from_mask (hdrl_image *self, const cpl_mask *map)
 set bpm of hdrl_image
 
int hdrl_image_is_rejected (hdrl_image *self, cpl_size xpos, cpl_size ypos)
 return if pixel is marked bad
 
cpl_size hdrl_image_count_rejected (const hdrl_image *self)
 return number of rejected pixels
 
cpl_error_code hdrl_image_accept (hdrl_image *self, cpl_size xpos, cpl_size ypos)
 mark pixel as good
 
cpl_error_code hdrl_image_accept_all (hdrl_image *self)
 Accept all pixels in an image.
 
cpl_error_code hdrl_image_turn (hdrl_image *self, int rot)
 Rotate an image by a multiple of 90 degrees clockwise.
 
cpl_error_code hdrl_image_copy (hdrl_image *dst, const hdrl_image *src, cpl_size xpos, cpl_size ypos)
 Copy one image into another.
 
cpl_error_code hdrl_image_insert (hdrl_image *self, const cpl_image *image, const cpl_image *error, cpl_size xpos, cpl_size ypos)
 Copy cpl images into an hdrl image.
 
cpl_error_code hdrl_image_dump_structure (const hdrl_image *, FILE *)
 Dump structural information of a HDRL image.
 
cpl_error_code hdrl_image_dump_window (const hdrl_image *, cpl_size, cpl_size, cpl_size, cpl_size, FILE *)
 Dump pixel values in a HDRL image.
 

Typedef Documentation

◆ hdrl_image

typedef struct _hdrl_image_ hdrl_image