8#ifndef ODP_IMAGE_STATISTICS_HPP
9#define ODP_IMAGE_STATISTICS_HPP
13#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"
This class handle the errors produced by the calling of image processing routines.
Definition error.hpp:34
ImageStatistics(const odp::Image *image)
Class constructor.
Definition imageStatistics.cpp:15
double GetMedian() const
Get median pixel value over an image.
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.
virtual ~ImageStatistics()
Class destructor.
Definition imageStatistics.cpp:22
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.
double GetMax() const
Get maximum pixel value over an image.
double GetMean() const
Get mean pixel value over an image.
double GetFlux() const
Get the sum of pixel values over an image.
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 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.
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.
double GetStdev() const
Get standard deviation value over an image.
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 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 GetSqFlux() const
Get sum of squared pixel values over 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.
double GetMin() const
Get minimum pixel value over an image.
This class is C++ wrapper for a CPL image object. It provides a simplified interface that allows to c...
Definition image.hpp:41
Array class source file.
Definition array.cpp:14