High-Level Data Reduction Library: hdrl_image.c File Reference

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Functions
hdrl_image.c File Reference
`#include "hdrl_elemop.h"`
`#include "hdrl_image.h"`
`#include "hdrl_image_defs.h"`
`#include "hdrl_utils.h"`
`#include "hdrl_buffer.h"`
`#include <cpl.h>`
`#include <string.h>`
`#include <math.h>`
Include dependency graph for hdrl_image.c:

## Functions
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_image * | hdrl_image_wrap (cpl_image *img, cpl_image *err, hdrl_free *destructor, cpl_boolean sync_mask)
void | hdrl_image_unwrap (hdrl_image *himg)
hdrl_image * | hdrl_image_create (const cpl_image *image, const cpl_image *error)
| create a new hdrl_image from to existing images by copying them
hdrl_image * | hdrl_image_new (cpl_size nx, cpl_size ny)
| create new zero filled hdrl image
hdrl_image * | hdrl_image_new_from_buffer (cpl_size nx, cpl_size ny, hdrl_buffer *buf)
void | hdrl_image_delete (hdrl_image *himg)
| delete hdrl_image
hdrl_image * | hdrl_image_duplicate (const hdrl_image *himg)
| copy hdrl_image
cpl_error_code | hdrl_image_reject_from_mask (hdrl_image *self, const cpl_mask *map)
| set bpm of hdrl_image
cpl_error_code | hdrl_image_reject (hdrl_image *self, cpl_size xpos, cpl_size ypos)
| mark pixel as bad
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_reject_value (hdrl_image *self, cpl_value mode)
| Reject pixels with the specified special value(s)
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_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_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
hdrl_image * | hdrl_image_extract (const hdrl_image *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
| extract copy of window from 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 *himg, FILE *stream)
| Dump structural information of a HDRL image.
cpl_error_code | hdrl_image_dump_window (const hdrl_image *himg, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, FILE *stream)
| Dump pixel values in a HDRL image.