Functions | |
double | cpl_image_get_min_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
computes minimum pixel value over an image sub-window. | |
double | cpl_image_get_min (const cpl_image *image) |
computes minimum pixel value over an image. | |
double | cpl_image_get_max_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
computes maximum pixel value over an image sub-window. | |
double | cpl_image_get_max (const cpl_image *image) |
computes maximum pixel value over an image. | |
double | cpl_image_get_mean_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
computes mean pixel value over an image sub-window. | |
double | cpl_image_get_mean (const cpl_image *image) |
computes mean pixel value over an image. | |
double | cpl_image_get_median_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
computes median pixel value over an image sub-window. | |
double | cpl_image_get_median (const cpl_image *image) |
computes median pixel value over an image. | |
double | cpl_image_get_stdev_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
computes pixel standard deviation over an image sub-window. | |
double | cpl_image_get_stdev (const cpl_image *image) |
computes pixel standard deviation over an image. | |
double | cpl_image_get_flux_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
Computes the sum of pixel values over an image sub-window. | |
double | cpl_image_get_flux (const cpl_image *image) |
Computes the sum of pixel values over an image. | |
double | cpl_image_get_absflux_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
Computes the sum of absolute values over an image sub-window. | |
double | cpl_image_get_sqflux_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
Computes the sum of squared values over an image sub-window. | |
double | cpl_image_get_absflux (const cpl_image *image) |
Computes the sum of absolute values over an image. | |
double | cpl_image_get_sqflux (const cpl_image *image) |
Computes the sum of squared values over an image. | |
double | cpl_image_get_centroid_x_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
Computes the x centroid value over an image sub-window. | |
double | cpl_image_get_centroid_y_window (const cpl_image *image, int llx, int lly, int urx, int ury) |
Computes the y centroid value over an image sub-window. | |
cpl_error_code | cpl_image_get_minpos_window (const cpl_image *image, int llx, int lly, int urx, int ury, int *px, int *py) |
Computes minimum pixel value and position over an image sub window. | |
cpl_error_code | cpl_image_get_minpos (const cpl_image *image, int *px, int *py) |
Computes minimum pixel value and position over an image. | |
cpl_error_code | cpl_image_get_maxpos_window (const cpl_image *image, int llx, int lly, int urx, int ury, int *px, int *py) |
Computes maximum pixel value and position over an image sub window. | |
cpl_error_code | cpl_image_get_maxpos (const cpl_image *image, int *px, int *py) |
Computes maximum pixel value and position over an image. | |
double | cpl_image_get_median_dev (const cpl_image *image, double *sigma) |
Computes first and second order image statistics using median. |
The bad pixel map stored in the image is taken into account for the statistics computations. These functions can compute the mean, median, maximum, minimum, flux, etc... of the good pixels of an image.
#include "cpl_image_stats.h"
|
Computes the sum of absolute values over an image.
|
|
Computes the sum of absolute values over an image sub-window.
|
|
Computes the x centroid value over an image sub-window.
|
|
Computes the y centroid value over an image sub-window.
|
|
Computes the sum of pixel values over an image.
|
|
Computes the sum of pixel values over an image sub-window.
|
|
computes maximum pixel value over an image.
|
|
computes maximum pixel value over an image sub-window.
|
|
Computes maximum pixel value and position over an image.
|
|
Computes maximum pixel value and position over an image sub window.
|
|
computes mean pixel value over an image.
|
|
computes mean pixel value over an image sub-window.
|
|
computes median pixel value over an image.
Possible _cpl_error_code_ set in this function:
|
|
Computes first and second order image statistics using median.
Possible _cpl_error_code_ set in this function:
|
|
computes median pixel value over an image sub-window.
In case of error, the _cpl_error_code_ code is set, and the returned double is undefined. Images can be CPL_TYPE_FLOAT, CPL_TYPE_INT or CPL_TYPE_DOUBLE. Possible _cpl_error_code_ set in this function:
|
|
computes minimum pixel value over an image.
Possible _cpl_error_code_ set in this function:
|
|
computes minimum pixel value over an image sub-window.
Possible _cpl_error_code_ set in this function:
|
|
Computes minimum pixel value and position over an image.
Possible _cpl_error_code_ set in this function:
|
|
Computes minimum pixel value and position over an image sub window.
Images can be CPL_TYPE_FLOAT, CPL_TYPE_INT or CPL_TYPE_DOUBLE. Possible _cpl_error_code_ set in this function:
|
|
Computes the sum of squared values over an image.
|
|
Computes the sum of squared values over an image sub-window.
|
|
computes pixel standard deviation over an image.
|
|
computes pixel standard deviation over an image sub-window.
|