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

Utility class that performs gradient-descent based inverse undistortion mapping. More...

#include <InverseUndistortionProcessor.h>

Inheritance diagram for icl::InverseUndistortionProcessor:
icl::utils::Uncopyable

Public Member Functions

 InverseUndistortionProcessor (bool preferOpenCL)
 constructor More...
 
 ~InverseUndistortionProcessor ()
 destructor More...
 
void setPreferOpenCL (bool preferOpenCL)
 sets whether to try to use open cl More...
 
const std::vector< utils::Point32f > & run (const std::vector< utils::Point32f > &p, const float kf[9])
 performs the mapping with given distortion coefficients More...
 

Private Attributes

Data * m_data
 internal data structure More...
 

Additional Inherited Members

- Protected Member Functions inherited from icl::utils::Uncopyable
 Uncopyable ()
 Empty base constructor. More...
 

Detailed Description

Utility class that performs gradient-descent based inverse undistortion mapping.

Internally, the class has two operation modes. An OpenCL-implementation and a C++-version. Unfortunately, the OpenCL version is not significantly faster for common numbers of points

Constructor & Destructor Documentation

◆ InverseUndistortionProcessor()

icl::InverseUndistortionProcessor::InverseUndistortionProcessor ( bool  preferOpenCL)

constructor

◆ ~InverseUndistortionProcessor()

icl::InverseUndistortionProcessor::~InverseUndistortionProcessor ( )

destructor

Member Function Documentation

◆ run()

const std::vector<utils::Point32f>& icl::InverseUndistortionProcessor::run ( const std::vector< utils::Point32f > &  p,
const float  kf[9] 
)

performs the mapping with given distortion coefficients

◆ setPreferOpenCL()

void icl::InverseUndistortionProcessor::setPreferOpenCL ( bool  preferOpenCL)

sets whether to try to use open cl

Member Data Documentation

◆ m_data

Data* icl::InverseUndistortionProcessor::m_data
private

internal data structure

internal data pointer


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