Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
HuginBase::RANSACOptimizer Class Reference

Pairwise ransac optimisation. More...

#include <PTOptimizer.h>

Inheritance diagram for HuginBase::RANSACOptimizer:
Inheritance graph

Public Types

enum  Mode {
  AUTO, HOMOGRAPHY, RPY, RPYV,
  RPYVB
}
 

Public Member Functions

 RANSACOptimizer (PanoramaData &panorama, int i1, int i2, double maxError, Mode mode=RPY)
 
virtual ~RANSACOptimizer ()
 
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData. More...
 
virtual bool runAlgorithm ()
 calls PTools::optimize() More...
 
- Public Member Functions inherited from HuginBase::PanoramaAlgorithm
virtual ~PanoramaAlgorithm ()
 
virtual bool hasRunSuccessfully ()
 
virtual void run ()
 runs the algorithm. More...
 

Static Public Member Functions

static std::vector< int > findInliers (PanoramaData &pano, int i1, int i2, double maxError, Mode mode=RPY)
 

Private Attributes

int o_i1
 
int o_i2
 
double o_maxError
 
std::vector< int > o_inliers
 
Mode o_mode
 

Additional Inherited Members

- Protected Member Functions inherited from HuginBase::PanoramaAlgorithm
 PanoramaAlgorithm (PanoramaData &panorama)
 
- Protected Attributes inherited from HuginBase::PanoramaAlgorithm
PanoramaDatao_panorama
 
bool o_successful
 

Detailed Description

Pairwise ransac optimisation.

Definition at line 66 of file PTOptimizer.h.

Member Enumeration Documentation

Enumerator
AUTO 
HOMOGRAPHY 
RPY 
RPYV 
RPYVB 

Definition at line 69 of file PTOptimizer.h.

Constructor & Destructor Documentation

HuginBase::RANSACOptimizer::RANSACOptimizer ( PanoramaData panorama,
int  i1,
int  i2,
double  maxError,
Mode  mode = RPY 
)
inline

Definition at line 72 of file PTOptimizer.h.

virtual HuginBase::RANSACOptimizer::~RANSACOptimizer ( )
inlinevirtual

Definition at line 78 of file PTOptimizer.h.

Member Function Documentation

std::vector< int > HuginBase::RANSACOptimizer::findInliers ( PanoramaData pano,
int  i1,
int  i2,
double  maxError,
Mode  mode = RPY 
)
static
virtual bool HuginBase::RANSACOptimizer::modifiesPanoramaData ( ) const
inlinevirtual

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 84 of file PTOptimizer.h.

bool HuginBase::RANSACOptimizer::runAlgorithm ( )
virtual

Member Data Documentation

int HuginBase::RANSACOptimizer::o_i1
private

Definition at line 94 of file PTOptimizer.h.

Referenced by runAlgorithm().

int HuginBase::RANSACOptimizer::o_i2
private

Definition at line 94 of file PTOptimizer.h.

Referenced by runAlgorithm().

std::vector<int> HuginBase::RANSACOptimizer::o_inliers
private

Definition at line 96 of file PTOptimizer.h.

Referenced by runAlgorithm().

double HuginBase::RANSACOptimizer::o_maxError
private

Definition at line 95 of file PTOptimizer.h.

Referenced by runAlgorithm().

Mode HuginBase::RANSACOptimizer::o_mode
private

Definition at line 97 of file PTOptimizer.h.

Referenced by runAlgorithm().


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