Image Component Library (ICL)
|
Utility class that performs gradient-descent based inverse undistortion mapping. More...
#include <InverseUndistortionProcessor.h>
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... | |
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
icl::InverseUndistortionProcessor::InverseUndistortionProcessor | ( | bool | preferOpenCL | ) |
constructor
icl::InverseUndistortionProcessor::~InverseUndistortionProcessor | ( | ) |
destructor
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
void icl::InverseUndistortionProcessor::setPreferOpenCL | ( | bool | preferOpenCL | ) |
sets whether to try to use open cl
|
private |
internal data structure
internal data pointer