![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class allowing to estimate a 3d homography transformationWe compute a homography transformation such as :
. More...
#include <HomographyTransform3dEstimator.h>
Public Types | |
| enum | eEstimParams { eEP_Hxx, eEP_Hxy, eEP_Hxz, eEP_Hxw, eEP_Hyx, eEP_Hyy, eEP_Hyz, eEP_Hyw, eEP_Hzx, eEP_Hzy, eEP_Hzz, eEP_Hzw, eEP_Hwx, eEP_Hwy, eEP_Hwz, eEP_Hww } |
Public Member Functions | |
| IPSDK_ENUM (eDataType,(eDT_X1)(eDT_Y1)(eDT_Z1)(eDT_X2)(eDT_Y2)(eDT_Z2)) static const ipUInt32 g_dataSize | |
| description of data into data set More... | |
| BoolResult | computeEstimation (const math::DataSet &dataSet, math::Matrix4d &matH) |
| method allowing to estimate homography matrix from a given data set More... | |
| BoolResult | computeResiduals (const math::DataSet &dataSet, const math::Matrix4d &matH, math::ResidualsSet &residualsSet) const |
| method allowing to compute estimation residuals from a given data set and some estimated parameters More... | |
Constructors and destructor | |
| HomographyTransform3dEstimator () | |
| ~HomographyTransform3dEstimator () | |
Public Member Functions inherited from ipsdk::math::BaseEstimator | |
| bool | isInit () const |
| check for object initialization | |
| ipUInt32 | getNbMinRequestedData () const |
| retrieve minimum data set size to ensure an estimation More... | |
| ipUInt32 | getNbEstimParams () const |
| retrieve number of estimated parameters More... | |
| ipUInt32 | getDataSize () const |
| unitary data size into data set collection More... | |
| BoolResult | computeEstimation (const DataSet &dataSet, ParameterType &estimParams) |
| method allowing to estimate parameters from a given data set More... | |
| BoolResult | computeResiduals (const DataSet &dataSet, const ParameterType &estimParams, ResidualsSet &residualsSet) const |
| method allowing to compute estimation residuals from a given data set and some estimated parameters More... | |
| BaseEstimator () | |
| virtual | ~BaseEstimator ()=0 |
Static Public Attributes | |
| static const ipUInt32 | g_parameterSize = eEstimParams::size |
| size of estimated parameters | |
Protected Member Functions | |
| BoolResult | processEstimation (const math::DataSet &dataSet, math::ParameterType &estimParams) |
| method allowing to compute estimation into derived classes More... | |
| BoolResult | processResiduals (const math::DataSet &dataSet, const math::ParameterType &estimParams, math::ResidualsSet &residualsSet) const |
| method allowing to compute residuals into derived classes More... | |
Protected Member Functions inherited from ipsdk::math::BaseEstimator | |
| void | initBase (const ipUInt32 nbMinRequestedData, const ipUInt32 nbEstimParams, const ipUInt32 dataSize) |
| base class initialization More... | |
| BoolResult | checkData (const DataSet &dataSet, const ParameterType &estimParams) const |
| method allowing to check input data properties associated to estimation More... | |
| virtual BoolResult | processEstimation (const DataSet &dataSet, ParameterType &estimParams)=0 |
| method allowing to compute estimation into derived classes More... | |
| virtual BoolResult | processResiduals (const DataSet &dataSet, const ParameterType &estimParams, ResidualsSet &residualsSet) const =0 |
| method allowing to compute residuals into derived classes More... | |
Class allowing to estimate a 3d homography transformation
We compute a homography transformation such as :
.
and where a pair of input points
and
are linked by following estimation formula :
description of estimated parameters (8 degrees of freedom)
| ipsdk::geom::HomographyTransform3dEstimator::IPSDK_ENUM | ( | eDataType | , |
| (eDT_X1)(eDT_Y1)(eDT_Z1)(eDT_X2)(eDT_Y2)(eDT_Z2) | |||
| ) | const |
description of data into data set
size of data into data set
| BoolResult ipsdk::geom::HomographyTransform3dEstimator::computeEstimation | ( | const math::DataSet & | dataSet, |
| math::Matrix4d & | matH | ||
| ) |
method allowing to estimate homography matrix from a given data set
| ipsdk::math::IPSDKMathException | if isInit() == false |
| BoolResult ipsdk::geom::HomographyTransform3dEstimator::computeResiduals | ( | const math::DataSet & | dataSet, |
| const math::Matrix4d & | matH, | ||
| math::ResidualsSet & | residualsSet | ||
| ) | const |
method allowing to compute estimation residuals from a given data set and some estimated parameters
| ipsdk::math::IPSDKMathException | if isInit() == false |
| ipsdk::math::IPSDKMathException | if dataSet.size() != residualsSet.size() |
|
protected |
method allowing to compute estimation into derived classes
|
protected |
method allowing to compute residuals into derived classes
1.8.14