9 #ifndef ODP_IMAGE_STATISTICS_HPP
10 #define ODP_IMAGE_STATISTICS_HPP
14 #error This is a C++ include file and cannot be used from plain C
128 double GetMin (
const cpl_size llx,
131 const cpl_size ury)
const;
145 double GetMax (
const cpl_size llx,
148 const cpl_size ury)
const;
163 double GetMean (
const cpl_size llx,
166 const cpl_size ury)
const;
184 const cpl_size ury)
const;
199 double GetStdev (
const cpl_size llx,
202 const cpl_size ury)
const;
217 double GetFlux (
const cpl_size llx,
220 const cpl_size ury)
const;
239 const cpl_size ury)
const;
257 const cpl_size ury)
const;
275 double CallCplStat(
double (*fp)(
const cpl_image *))
const ;
294 double CallCplStatBox(
double (*fp)(
const cpl_image *,
302 const cpl_size ury)
const;
310 #include "imageStatistics.ipp"
This class is C++ wrapper for a CPL image object. It provides a simplified interface that allows to c...
Definition: image.hpp:43
double GetMin() const
Get minimum pixel value over an image.
double GetMax() const
Get maximum pixel value over an image.
double GetStdev() const
Get standard deviation value over an image.
This class handle the errors produced by the calling of image processing routines.
Definition: error.hpp:34
double GetFlux() const
Get the sum of pixel values over an image.
double GetMean() const
Get mean pixel value over an image.
double GetSqFlux() const
Get sum of squared pixel values over an image.
This class is interface for a CPL image statistics functions. It provides a simplified interface that...
Definition: imageStatistics.hpp:38
ImageStatistics(const odp::Image *image)
Class constructor.
Definition: imageStatistics.cpp:18
double GetMedian() const
Get median pixel value over an image.
double GetAbsFlux() const
Get sum of absolute pixel values over an image.
virtual ~ImageStatistics()
Class destructor.
Definition: imageStatistics.cpp:25