26#ifndef _BASICALGORITHMS_CALCULATECPSTSTISTICS_H
27#define _BASICALGORITHMS_CALCULATECPSTSTISTICS_H
116 static void calcCtrlPntsErrorStats(
const PanoramaData& pano,
117 double & min,
double & max,
double &
mean,
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,
CalculateCPStatisticsError(PanoramaData &panorama, const bool onlyActive, const bool ignoreLineCps=false)
virtual ~CalculateCPStatisticsError()
CalculateCPStatisticsError(PanoramaData &panorama, const int &imgNr=-1)
virtual bool runAlgorithm()
implementation of the algorithm.
virtual bool runAlgorithm()
implementation of the algorithm.
virtual double getResultPercentile90()
virtual ~CalculateCPStatisticsRadial()
CalculateCPStatisticsRadial(PanoramaData &panorama, const int &imgNr=-1)
virtual double getResultPercentile10()
just some common implementation; probably not so useful
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
virtual double getResultMin()
virtual ~CalculateCPStatistics()
virtual bool runAlgorithm()=0
implementation of the algorithm.
virtual double getResultMean()
virtual double getResultMax()
CalculateCPStatistics(PanoramaData &panorama, const int &imgNr=-1)
virtual double getResultVariance()
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.