Image Component Library (ICL)
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
icl::markers::MarkerGridBasedUndistortionOptimizer Class Reference

#include <MarkerGridBasedUndistortionOptimizer.h>

Public Member Functions

 MarkerGridBasedUndistortionOptimizer ()
 
 ~MarkerGridBasedUndistortionOptimizer ()
 
int size () const
 
void add (const MarkerGrid &grid)
 
void clear ()
 
void setUseOpenCL (bool on)
 
float computeError (const float k[9])
 k = k0,k1,k2,k3,k4, w/2 + ix-offset, h/2 + iy-offset More...
 
std::vector< float > optimizeSample (const float kInit[9], int idx, float min, float max, const std::vector< int > steps=std::vector< int >(3, 10))
 
std::vector< float > optimizeAutoSample (const utils::Size &imageSize)
 
std::vector< float > optimizeAutoSimplex (const utils::Size &imageSize)
 

Private Types

typedef AdvancedMarkerGridDetector::Marker Marker
 
typedef AdvancedMarkerGridDetector::MarkerGrid MarkerGrid
 

Private Member Functions

void undistort (const MarkerGrid &src, MarkerGrid &dst, const float k[9]) const
 

Private Attributes

Data * m_data
 

Member Typedef Documentation

◆ Marker

◆ MarkerGrid

Constructor & Destructor Documentation

◆ MarkerGridBasedUndistortionOptimizer()

icl::markers::MarkerGridBasedUndistortionOptimizer::MarkerGridBasedUndistortionOptimizer ( )

◆ ~MarkerGridBasedUndistortionOptimizer()

icl::markers::MarkerGridBasedUndistortionOptimizer::~MarkerGridBasedUndistortionOptimizer ( )

Member Function Documentation

◆ add()

void icl::markers::MarkerGridBasedUndistortionOptimizer::add ( const MarkerGrid grid)

◆ clear()

void icl::markers::MarkerGridBasedUndistortionOptimizer::clear ( )

◆ computeError()

float icl::markers::MarkerGridBasedUndistortionOptimizer::computeError ( const float  k[9])

k = k0,k1,k2,k3,k4, w/2 + ix-offset, h/2 + iy-offset

◆ optimizeAutoSample()

std::vector<float> icl::markers::MarkerGridBasedUndistortionOptimizer::optimizeAutoSample ( const utils::Size imageSize)

◆ optimizeAutoSimplex()

std::vector<float> icl::markers::MarkerGridBasedUndistortionOptimizer::optimizeAutoSimplex ( const utils::Size imageSize)

◆ optimizeSample()

std::vector<float> icl::markers::MarkerGridBasedUndistortionOptimizer::optimizeSample ( const float  kInit[9],
int  idx,
float  min,
float  max,
const std::vector< int >  steps = std::vector< int >(3, 10) 
)

◆ setUseOpenCL()

void icl::markers::MarkerGridBasedUndistortionOptimizer::setUseOpenCL ( bool  on)

◆ size()

int icl::markers::MarkerGridBasedUndistortionOptimizer::size ( ) const

◆ undistort()

void icl::markers::MarkerGridBasedUndistortionOptimizer::undistort ( const MarkerGrid src,
MarkerGrid dst,
const float  k[9] 
) const
private

Member Data Documentation

◆ m_data

Data* icl::markers::MarkerGridBasedUndistortionOptimizer::m_data
private

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