[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HuginBase::CalculateOptimalScale Class Reference

#include <CalculateOptimalScale.h>

Inheritance diagram for HuginBase::CalculateOptimalScale:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CalculateOptimalScale (PanoramaData &panorama)
virtual ~CalculateOptimalScale ()
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData.
virtual bool runAlgorithm ()
 implementation of the algorithm.
virtual double getResultOptimalScale ()
virtual unsigned getResultOptimalWidth ()

Static Public Member Functions

double calcOptimalScale (PanoramaData &panorama)
double calcOptimalPanoScale (const SrcPanoImage &src, const PanoramaOptions &dest)
 function to calculate the scaling factor so that the distances in the input image and panorama image are similar at the panorama center

Protected Attributes

double o_optimalScale

Constructor & Destructor Documentation

HuginBase::CalculateOptimalScale::CalculateOptimalScale PanoramaData panorama  )  [inline]
 

virtual HuginBase::CalculateOptimalScale::~CalculateOptimalScale  )  [inline, virtual]
 


Member Function Documentation

double HuginBase::CalculateOptimalScale::calcOptimalPanoScale const SrcPanoImage src,
const PanoramaOptions dest
[static]
 

function to calculate the scaling factor so that the distances in the input image and panorama image are similar at the panorama center

double HuginBase::CalculateOptimalScale::calcOptimalScale PanoramaData panorama  )  [static]
 

virtual double HuginBase::CalculateOptimalScale::getResultOptimalScale  )  [inline, virtual]
 

virtual unsigned HuginBase::CalculateOptimalScale::getResultOptimalWidth  )  [inline, virtual]
 

virtual bool HuginBase::CalculateOptimalScale::modifiesPanoramaData  )  const [inline, virtual]
 

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::SetWidthOptimal.

virtual bool HuginBase::CalculateOptimalScale::runAlgorithm  )  [inline, virtual]
 

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::SetWidthOptimal.


Member Data Documentation

double HuginBase::CalculateOptimalScale::o_optimalScale [protected]
 


The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:35 2010 for Hugintrunk by doxygen 1.3.9.1