[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::PhotometricOptimizer Class Reference

#include <PhotometricOptimizer.h>

Inheritance diagram for HuginBase::PhotometricOptimizer:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::vector< vigra_ext::PointPairRGBPointPairs

Public Member Functions

 PhotometricOptimizer (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay, const OptimizeVector &vars, const PointPairs &correspondences)
virtual ~PhotometricOptimizer ()
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData.
virtual bool runAlgorithm ()
 implementation of the algorithm.
double getResultError () const

Static Public Member Functions

void optimizePhotometric (PanoramaData &pano, const OptimizeVector &vars, const PointPairs &correspondences, AppBase::ProgressReporter &progress, double &error)

Static Protected Member Functions

int photometricVis (double *p, double *x, int m, int n, int iter, double sqerror, void *data)
void photometricError (double *p, double *x, int m, int n, void *data)

Protected Attributes

const OptimizeVectoro_vars
const PointPairso_correspondences
double o_resultError

Member Typedef Documentation

typedef std::vector<vigra_ext::PointPairRGB> HuginBase::PhotometricOptimizer::PointPairs
 


Constructor & Destructor Documentation

HuginBase::PhotometricOptimizer::PhotometricOptimizer PanoramaData panorama,
AppBase::ProgressDisplay progressDisplay,
const OptimizeVector vars,
const PointPairs correspondences
[inline]
 

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


Member Function Documentation

double HuginBase::PhotometricOptimizer::getResultError  )  const [inline]
 

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

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

void HuginBase::PhotometricOptimizer::optimizePhotometric PanoramaData pano,
const OptimizeVector vars,
const PointPairs correspondences,
AppBase::ProgressReporter progress,
double error
[static]
 

void HuginBase::PhotometricOptimizer::photometricError double p,
double x,
int  m,
int  n,
void *  data
[static, protected]
 

int HuginBase::PhotometricOptimizer::photometricVis double p,
double x,
int  m,
int  n,
int  iter,
double  sqerror,
void *  data
[static, protected]
 

bool HuginBase::PhotometricOptimizer::runAlgorithm  )  [virtual]
 

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::SmartPhotometricOptimizer.


Member Data Documentation

const PointPairs& HuginBase::PhotometricOptimizer::o_correspondences [protected]
 

double HuginBase::PhotometricOptimizer::o_resultError [protected]
 

const OptimizeVector& HuginBase::PhotometricOptimizer::o_vars [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