Go to the documentation of this file.
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
131 const cpl_size ury)
const;
148 const cpl_size ury)
const;
166 const cpl_size ury)
const;
184 const cpl_size ury)
const;
202 const cpl_size ury)
const;
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"
double GetMedian() const
Get median pixel value over an image.
double GetFlux(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get sum of pixel values over a window of an image.
double GetAbsFlux() const
Get sum of absolute pixel values over an image.
double GetMin() const
Get minimum pixel value over an image.
double GetFlux() const
Get the sum of pixel values over an image.
ImageStatistics(const odp::Image *image)
Class constructor.
Definition: imageStatistics.cpp:18
double GetMedian(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get median pixel value over a window of an image.
double GetMean() const
Get mean pixel value over an image.
This class handle the errors produced by the calling of image processing routines.
Definition: error.hpp:35
double GetMax(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get maximum pixel value over a window of an image.
double GetStdev(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get standard deviation over a window of an image.
virtual ~ImageStatistics()
Class destructor.
Definition: imageStatistics.cpp:25
double GetSqFlux() const
Get sum of squared pixel values over an image.
double GetStdev() const
Get standard deviation value over an image.
double GetAbsFlux(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get sum of absolute pixel values over a window of an image.
This class is interface for a CPL image statistics functions. It provides a simplified interface that...
Definition: imageStatistics.hpp:39
double GetMean(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get mean pixel value over a window of an image.
This class is C++ wrapper for a CPL image object. It provides a simplified interface that allows to c...
Definition: image.hpp:44
double GetMin(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get minimum pixel value over a window of an image.
double GetMax() const
Get maximum pixel value over an image.
double GetSqFlux(const cpl_size llx, const cpl_size lly, const cpl_size urx, const cpl_size ury) const
Get sum of squared pixel values over a window of an image.