OMEGA Pipeline Reference Manual
1.0.5
|
Functions | |
float | get_kth_float (float *a, int n, int k) |
Get the kth smallest value in a float array. | |
cpl_stats * | omega_iter_stat (cpl_image *img, double threshold, int iter) |
Compute statistics of an image iteratively. | |
cpl_stats * | omega_iter_stat_opts (cpl_image *img, cpl_vector *zone, double threshold, int iter) |
Compute statistics of an image iteratively. |
This module provides functions to calculate statistics
float get_kth_float | ( | float * | a, |
int | n, | ||
int | k | ||
) |
Get the kth smallest value in a float array.
a | the float array |
n | the array size |
k | the requested value position in the sorted array |
Definition at line 220 of file omega_stats.c.
cpl_stats* omega_iter_stat | ( | cpl_image * | img, |
double | threshold, | ||
int | iter | ||
) |
Compute statistics of an image iteratively.
image_in | Input image. |
threshold | The threshold rejecting outlying pixels |
iter | Maximum number of iterations |
Compute various images statistics iteratively until reaching a convergency. Results are all stored into a returned cpl_stats object, that must be deallocated later.
Definition at line 83 of file omega_stats.c.
Referenced by omega_darkcurrent_combine().
cpl_stats* omega_iter_stat_opts | ( | cpl_image * | img, |
cpl_vector * | zone, | ||
double | threshold, | ||
int | iter | ||
) |
Compute statistics of an image iteratively.
image_in | Input image. |
threshold | The threshold rejecting outlying pixels |
iter | Maximum number of iterations |
Compute various images statistics iteratively until reaching a convergency. Results are all stored into a returned stats object, that must be deallocated.
Definition at line 140 of file omega_stats.c.
Referenced by DoStatistics(), and omega_scan_stats().