26 #ifndef _BASICALGORITHMS_CALCULATECPSTSTISTICS_H
27 #define _BASICALGORITHMS_CALCULATECPSTSTISTICS_H
44 :
PanoramaAlgorithm(panorama), o_imageNumber(imgNr), o_resultMin(0), o_resultMax(0), o_resultMean(0), o_resultVar(0)
58 virtual bool runAlgorithm() =0;
116 static void calcCtrlPntsErrorStats(
const PanoramaData& pano,
117 double &
min,
double &
max,
double & mean,
120 const bool onlyActive=
false,
121 const bool ignoreLineCp=
false);
128 calcCtrlPntsErrorStats(o_panorama,
129 o_resultMin, o_resultMax, o_resultMean,
131 o_imageNumber, m_onlyActiveImages, m_ignoreLineCps);
135 bool m_onlyActiveImages =
false;
136 bool m_ignoreLineCps =
false;
155 static void calcCtrlPntsRadiStats(
const PanoramaData& pano,
156 double &
min,
double &
max,
double & mean,
double & var,
157 double & q10,
double & q90,
158 const int& imgNr=-1);
179 calcCtrlPntsRadiStats(o_panorama,
180 o_resultMin, o_resultMax, o_resultMean, o_resultVar,
181 o_resultQ10, o_resultQ90,
just some common implementation; probably not so useful
CalculateCPStatisticsRadial(PanoramaData &panorama, const int &imgNr=-1)
virtual bool runAlgorithm()
implementation of the algorithm.
virtual double getResultMean()
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
virtual bool runAlgorithm()
implementation of the algorithm.
virtual double getResultMax()
virtual ~CalculateCPStatisticsError()
virtual double getResultMin()
virtual double getResultPercentile90()
CalculateCPStatisticsError(PanoramaData &panorama, const int &imgNr=-1)
virtual double getResultPercentile10()
CalculateCPStatistics(PanoramaData &panorama, const int &imgNr=-1)
virtual double getResultVariance()
virtual ~CalculateCPStatistics()
CalculateCPStatisticsError(PanoramaData &panorama, const bool onlyActive, const bool ignoreLineCps=false)
virtual ~CalculateCPStatisticsRadial()