|
High-Level Data Reduction Library 1.6.0
High-Level data reduction routines for ESO pipelines
|
#include "hdrl_elemop.h"#include "hdrl_image.h"#include "hdrl_collapse.h"#include <cpl.h>#include <math.h>
Functions | |
| cpl_error_code | hdrl_image_add_image (hdrl_image *self, const hdrl_image *other) |
| Add two images, store the result in the first image. | |
| hdrl_image * | hdrl_image_add_image_create (const hdrl_image *self, const hdrl_image *other) |
| Add two images. | |
| cpl_error_code | hdrl_image_add_scalar (hdrl_image *self, hdrl_value value) |
| Elementwise addition of a scalar to an image. | |
| cpl_error_code | hdrl_image_sub_image (hdrl_image *self, const hdrl_image *other) |
| Subtract two images, store the result in the first image. | |
| hdrl_image * | hdrl_image_sub_image_create (const hdrl_image *self, const hdrl_image *other) |
| Subtract two images. | |
| cpl_error_code | hdrl_image_sub_scalar (hdrl_image *self, hdrl_value value) |
| Elementwise subtraction of a scalar from an image. | |
| cpl_error_code | hdrl_image_mul_image (hdrl_image *self, const hdrl_image *other) |
| Multiply two images, store the result in the first image. | |
| hdrl_image * | hdrl_image_mul_image_create (const hdrl_image *self, const hdrl_image *other) |
| Multiply two images. | |
| cpl_error_code | hdrl_image_mul_scalar (hdrl_image *self, hdrl_value value) |
| Elementwise multiplication of an image with a scalar. | |
| cpl_error_code | hdrl_image_div_image (hdrl_image *self, const hdrl_image *other) |
| Divide two images, store the result in the first image. | |
| hdrl_image * | hdrl_image_div_image_create (const hdrl_image *self, const hdrl_image *other) |
| Divide two images and return the resulting image. | |
| cpl_error_code | hdrl_image_div_scalar (hdrl_image *self, hdrl_value value) |
| Elementwise division of an image with a scalar. | |
| hdrl_value | hdrl_image_get_mean (const hdrl_image *self) |
| computes mean pixel value and associated error of an image. | |
| hdrl_value | hdrl_image_get_sigclip_mean (const hdrl_image *self, double kappa_low, double kappa_high, int niter) |
| computes the sigma-clipped mean and associated error of an image. | |
| hdrl_value | hdrl_image_get_minmax_mean (const hdrl_image *self, double nlow, double nhigh) |
| computes the minmax rejected mean and the associated error of an image. | |
| hdrl_value | hdrl_image_get_mode (const hdrl_image *self, double histo_min, double histo_max, double bin_size, hdrl_mode_type method, cpl_size error_niter) |
| computes the mode and the associated error of an image. | |
| hdrl_value | hdrl_image_get_median (const hdrl_image *self) |
| computes the median and associated error of an image. | |
| hdrl_value | hdrl_image_get_weighted_mean (const hdrl_image *self) |
| computes the weighted mean and associated error of an image. | |
| double | hdrl_image_get_stdev (const hdrl_image *self) |
| computes the standard deviation of the data of an image | |
| hdrl_value | hdrl_image_get_sum (const hdrl_image *self) |
| computes the sum of all pixel values and the associated error of an image. | |
| hdrl_value | hdrl_image_get_sqsum (const hdrl_image *self) |
| computes the sum of all pixel values and the error of a squared image. | |
| cpl_error_code | hdrl_image_pow_scalar (hdrl_image *self, const hdrl_value exponent) |
| computes the power of an image by a scalar | |
| hdrl_image * | hdrl_image_pow_scalar_create (const hdrl_image *self, const hdrl_value exponent) |
| computes the power of an image by a scalar creating a new image | |
| cpl_error_code | hdrl_image_exp_scalar (hdrl_image *self, const hdrl_value base) |
| computes the exponential of an image by a scalar | |
| hdrl_image * | hdrl_image_exp_scalar_create (const hdrl_image *self, const hdrl_value base) |
| computes the exponential of an image by a scalar creating a new image | |