HuginBase::CalculateCPStatisticsError Class Reference

#include <CalculateCPStatistics.h>

Inheritance diagram for HuginBase::CalculateCPStatisticsError:

Inheritance graph
List of all members.

Public Member Functions

 CalculateCPStatisticsError (PanoramaData &panorama, const int &imgNr=-1)
 CalculateCPStatisticsError (PanoramaData &panorama, const bool onlyActive, const bool ignoreLineCps=false)
virtual ~CalculateCPStatisticsError ()
virtual bool runAlgorithm ()
 implementation of the algorithm.

Static Public Member Functions

static void calcCtrlPntsErrorStats (const PanoramaData &pano, double &min, double &max, double &mean, double &var, const int &imgNr=-1, const bool onlyActive=false, const bool ignoreLineCp=false)

Private Attributes

bool m_onlyActiveImages = false
bool m_ignoreLineCps = false

Detailed Description

Definition at line 98 of file CalculateCPStatistics.h.

Constructor & Destructor Documentation

HuginBase::CalculateCPStatisticsError::CalculateCPStatisticsError ( PanoramaData panorama,
const int &  imgNr = -1 
) [inline]

Definition at line 103 of file CalculateCPStatistics.h.

HuginBase::CalculateCPStatisticsError::CalculateCPStatisticsError ( PanoramaData panorama,
const bool  onlyActive,
const bool  ignoreLineCps = false 
) [inline]

Definition at line 106 of file CalculateCPStatistics.h.

virtual HuginBase::CalculateCPStatisticsError::~CalculateCPStatisticsError (  )  [inline, virtual]

Definition at line 111 of file CalculateCPStatistics.h.

Member Function Documentation

void HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats ( const PanoramaData pano,
double &  min,
double &  max,
double &  mean,
double &  var,
const int &  imgNr = -1,
const bool  onlyActive = false,
const bool  ignoreLineCp = false 
) [static]

Definition at line 38 of file CalculateCPStatistics.cpp.

References HuginBase::PanoramaData::getActiveImages(), HuginBase::PanoramaData::getCtrlPoints(), set_contains(), and HuginBase::ControlPoint::X_Y.

Referenced by HuginLines::_getVerticalLines(), OptimizePanel::AskApplyResult(), HuginBase::getCPoutsideLimit(), HuginBase::getCPoutsideLimit_pair(), main(), CPListFrame::OnSelectButton(), and HuginBase::LensDB::SaveLensDataFromPano().

virtual bool HuginBase::CalculateCPStatisticsError::runAlgorithm (  )  [inline, virtual]

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::CalculateCPStatistics.

Definition at line 126 of file CalculateCPStatistics.h.

Member Data Documentation

bool HuginBase::CalculateCPStatisticsError::m_ignoreLineCps = false [private]

Definition at line 136 of file CalculateCPStatistics.h.

bool HuginBase::CalculateCPStatisticsError::m_onlyActiveImages = false [private]

Definition at line 135 of file CalculateCPStatistics.h.

The documentation for this class was generated from the following files:
Generated on 22 May 2018 for Hugintrunk by  doxygen 1.4.7