|
ifw-odp 5.0.0
|
This class is interface for a CPL image statistics functions. It provides a simplified interface that allows to call CPL routines from INS applications. More...
#include <imageStatistics.hpp>
Public Member Functions | |
| ImageStatistics (const odp::Image *image) | |
| Class constructor. | |
| virtual | ~ImageStatistics () |
| Class destructor. | |
| double | GetMin () const |
| Get minimum pixel value over an image. | |
| double | GetMax () const |
| Get maximum pixel value over an image. | |
| double | GetMean () const |
| Get mean pixel value over an image. | |
| double | GetMedian () const |
| Get median pixel value over an image. | |
| double | GetStdev () const |
| Get standard deviation value over an image. | |
| double | GetFlux () const |
| Get the sum of pixel values over 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 | 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 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 | 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 | 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 | 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 | 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 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 | 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. | |
Public Member Functions inherited from ifw::odp::Error | |
| Error () | |
| Class constructor. | |
| virtual | ~Error () |
| Class destructor. | |
| void | ResetCplError () |
| Reset CPL error and internal error flag. | |
| bool | CheckCplError () const |
| Check if there is an error in CPL. | |
Additional Inherited Members | |
Protected Member Functions inherited from ifw::odp::Error | |
| std::string | GetErrorMsg () const |
| Get CPL error message. | |
This class is interface for a CPL image statistics functions. It provides a simplified interface that allows to call CPL routines from INS applications.
ImageStatistics - CPL image statistics interface class
|
explicit |
Class constructor.
|
virtual |
Class destructor.
| double ifw::odp::ImageStatistics::GetAbsFlux | ( | ) | const |
Get sum of absolute pixel values over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetFlux | ( | ) | const |
Get the sum of pixel values over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetMax | ( | ) | const |
Get maximum pixel value over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetMean | ( | ) | const |
Get mean pixel value over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetMedian | ( | ) | const |
Get median pixel value over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetMin | ( | ) | const |
Get minimum pixel value over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetSqFlux | ( | ) | const |
Get sum of squared pixel values over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |
| double ifw::odp::ImageStatistics::GetStdev | ( | ) | const |
Get standard deviation value over an image.
| double ifw::odp::ImageStatistics::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.
| [in] | llx | Lower left X coordinate. |
| [in] | lly | Lower left Y coordinate. |
| [in] | urx | Upper right X coordinate. |
| [in] | ury | Upper right Y coordinate. |