20#ifndef IMAGESTATS_HPP_
21#define IMAGESTATS_HPP_
88 const int lly,
const int urx,
const int ury);
107 const int lly,
const int urx,
const int ury);
133 const int lly,
const int urx,
const int ury);
153 const int lly,
const int urx,
const int ury);
174 const int lly,
const int urx,
const int ury);
205 const int llx,
const int lly,
206 const int urx,
const int ury);
227 const int y_pos,
double*
const fwhm_x,
228 double*
const fwhm_y);
246 const cpl_apertures*
const apertures);
269 const double kernel_size = 5);
287 const int y_pos,
int*
const is_rejected);
296void GetHistogram(
const cpl_image*
const image,
const int64_t min_value,
297 const int64_t max_value, std::vector<int>& distribution);
309 const int64_t max_value, std::vector<int>& distribution);
321 const double percentage,
double*
const min_value,
322 double*
const max_value);
339bool GetIQEValues(
const cpl_image*
const sub_image,
double*
const x_axis_angle,
340 double*
const background,
double*
const peak_above_background,
341 double*
const fwhm_x,
double*
const fwhm_y,
342 double*
const object_coord_x,
double*
const object_coord_y);
363double SigmaCplImage(
const cpl_image*
const image,
double*
const sigma);
377 const int lly,
const int urx,
const int ury,
378 double*
const sigma);
bool MedianMinMaxPixelsCplImage(const cpl_image *const image, double *const min, double *const max, const double kernel_size=5)
Definition: imageStats.cpp:382
void CheckForNanValues(cpl_image *const image)
Definition: imageStats.cpp:434
bool FwhmValuesCplImage(const cpl_image *const image, const int x_pos, const int y_pos, double *const fwhm_x, double *const fwhm_y)
Definition: imageStats.cpp:275
CplStatistics * StatisticsCplStats(const cpl_stats *const stats_cpl)
Definition: imageStats.cpp:249
double SigmaCplImage(const cpl_image *const image, double *const sigma)
Definition: imageStats.cpp:728
void GetHistogram(const cpl_image *const image, const int64_t min_value, const int64_t max_value, std::vector< int > &distribution)
Definition: imageStats.cpp:465
double MeanPixelCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:107
void GetCutValuesPercentage(const cpl_image *const image, const double percentage, double *const min_value, double *const max_value)
Definition: imageStats.cpp:550
CplStatistics * StatisticsCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:231
void GetHistogramBins(const cpl_image *const image, const int64_t min_value, const int64_t max_value, std::vector< int > &distribution)
Definition: imageStats.cpp:498
double PixelValueCplImage(const cpl_image *const image, const int x_pos, const int y_pos, int *const is_rejected)
Definition: imageStats.cpp:458
double SigmaCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury, double *const sigma)
Definition: imageStats.cpp:732
bool MinMaxInvalidCheck(const cpl_image *const image, double *const min, double *const max)
Definition: imageStats.cpp:678
CplStatistics * StatisticsCplImage(const cpl_image *const image)
Definition: imageStats.cpp:212
double MinPixelCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:75
double MaxPixelCplImage(const cpl_image *const image)
Definition: imageStats.cpp:39
double MedianPixelCplImage(const cpl_image *const image)
Definition: imageStats.cpp:85
double RmsValueCplStats(const cpl_stats *const stats_cpl)
Definition: imageStats.cpp:191
double RmsValueCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:140
double MinPixelCplImage(const cpl_image *const image)
Definition: imageStats.cpp:62
const size_t MAX_HIST_LENGTH
Definition: imageStats.hpp:69
bool MinMaxPixelsCplImage(const cpl_image *const image, double *const min, double *const max)
Definition: imageStats.cpp:326
cpl_apertures * AperturesCplImage(const cpl_image *const image, const double sigma)
Definition: imageStats.cpp:294
double RmsValueCplImage(const cpl_image *const image)
Definition: imageStats.cpp:117
double MaxPixelCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:52
cpl_stats * StatsCplImage(const cpl_image *const image)
Definition: imageStats.cpp:161
cpl_stats * StatsCplImageWindow(const cpl_image *const image, const int llx, const int lly, const int urx, const int ury)
Definition: imageStats.cpp:177
bool GetIQEValues(const cpl_image *const sub_image, double *const x_axis_angle, double *const background, double *const peak_above_background, double *const fwhm_x, double *const fwhm_y, double *const object_coord_x, double *const object_coord_y)
Definition: imageStats.cpp:631
double MeanPixelCplImage(const cpl_image *const image)
Definition: imageStats.cpp:94
bool AperturesCplImageDump(const char *const file_name, const cpl_apertures *const apertures)
Definition: imageStats.cpp:305
Definition: imageStats.hpp:42
double median_val
Definition: imageStats.hpp:66
double max_val
Definition: imageStats.hpp:50
int pix_num
Definition: imageStats.hpp:62
double rms_val
Definition: imageStats.hpp:58
double mean_val
Definition: imageStats.hpp:54
double min_val
Definition: imageStats.hpp:46