Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARHomographyMatrixDecomposerOpencv Class Reference

Decomposes a homography matrix to extract four possible 3D poses. UUID: b5fab395-2184-4123-b0d5-4af74d0a2d79 More...

#include <SolARHomographyMatrixDecomposerOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARHomographyMatrixDecomposerOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARHomographyMatrixDecomposerOpencv:
Collaboration graph
[legend]

Public Member Functions

void setCameraParameters (const datastructure::CamCalibration &intrinsicParams, const datastructure::CamDistortion &distorsionParams) override
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
bool decompose (const datastructure::Transform2Df &F, std::vector< datastructure::Transform3Df > &decomposedPoses) override
 decompose a transform 2d to a transform 3d (4 possible poses {R1,t1},{R1,t2}, {R2,t1}, {R2,t2}). More...
 
void unloadComponent () override final
 

Detailed Description

Decomposes a homography matrix to extract four possible 3D poses. UUID: b5fab395-2184-4123-b0d5-4af74d0a2d79

Member Function Documentation

◆ decompose()

bool SolAR::MODULES::OPENCV::SolARHomographyMatrixDecomposerOpencv::decompose ( const datastructure::Transform2Df &  F,
std::vector< datastructure::Transform3Df > &  decomposedPoses 
)
override

decompose a transform 2d to a transform 3d (4 possible poses {R1,t1},{R1,t2}, {R2,t1}, {R2,t2}).

Parameters
[in]Transform2D (fundamental matrxi, homgraphy..).
[out]Set(04 possibles cases) of the decomposed camera poses in the world coordinate system expressed as Transform3D.

◆ setCameraParameters()

void SolAR::MODULES::OPENCV::SolARHomographyMatrixDecomposerOpencv::setCameraParameters ( const datastructure::CamCalibration &  intrinsicParams,
const datastructure::CamDistortion &  distorsionParams 
)
override

this method is used to set intrinsic parameters and distorsion of the camera

Parameters
[in]Cameracalibration matrix parameters.
[in]Cameradistorsion parameters.

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