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
132 const cpl_size ury)
const;
149 const cpl_size ury)
const;
167 const cpl_size ury)
const;
185 const cpl_size ury)
const;
203 const cpl_size ury)
const;
221 const cpl_size ury)
const;
240 const cpl_size ury)
const;
258 const cpl_size ury)
const;
276 double CallCplStat(
double (*fp)(
const cpl_image *))
const ;
295 double CallCplStatBox(
double (*fp)(
const cpl_image *,
303 const cpl_size ury)
const;
311#include "imageStatistics.ipp"
This class handle the errors produced by the calling of image processing routines.
Definition error.hpp:35
This class is interface for a CPL image statistics functions. It provides a simplified interface that...
Definition imageStatistics.hpp:40
ImageStatistics(const odp::Image *image)
Class constructor.
Definition imageStatistics.cpp:17
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:24
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:44