libcvd
Public Member Functions | Public Attributes | List of all members
CVD::ESMEstimator< TRANSFORM, APPEARANCE, IMAGE, GRADIENT > Class Template Reference

The main class for the ESM module. More...

#include <esm.h>

Collaboration diagram for CVD::ESMEstimator< TRANSFORM, APPEARANCE, IMAGE, GRADIENT >:
Collaboration graph
[legend]

Public Member Functions

 ESMEstimator (const Image< IMAGE > &t, const Image< GRADIENT > &g)
 
 ESMEstimator (const Image< IMAGE > &t)
 
 ESMEstimator (const BasicImage< IMAGE > &t)
 
void set_image (const Image< IMAGE > &t, const Image< GRADIENT > &g)
 
void set_image (const Image< IMAGE > &t)
 
void set_image (const BasicImage< IMAGE > &t)
 
void reset ()
 
const ESMResultoptimize (const BasicImage< IMAGE > &to)
 
const ESMResultoptimize (const BasicImage< IMAGE > &from, const BasicImage< IMAGE > &to)
 
const ESMResultoptimize (const BasicImage< IMAGE > &from, const BasicImage< GRADIENT > &fromGradient, const BasicImage< IMAGE > &to)
 
const ESMResultget_result () const
 

Public Attributes

TRANSFORM transform
 
APPEARANCE appearance
 
Image< IMAGE > templ
 
Image< GRADIENT > templGradient
 
int max_iterations
 
double min_delta
 
double max_RMSE
 
ESMResult result
 

Detailed Description

template<typename TRANSFORM, typename APPEARANCE, typename IMAGE = CVD::byte, typename GRADIENT = TooN::Vector<2, typename Pixel::traits<IMAGE>::wider_type>>
class CVD::ESMEstimator< TRANSFORM, APPEARANCE, IMAGE, GRADIENT >

The main class for the ESM module.

This class stores the template image, the transformations and other information required to run the optimization. It is parameterized with two types that describe which geometric and radiometric transformations to use.


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