Solar
Public Member Functions | List of all members
SolAR::MODULES::TOOLS::SolARMultiFiducialMarkersPoseEstimator Class Reference

Estimate camera pose based on a set of fiducial markers. UUID: 9a4521de-2ea5-48f4-97ba-7e698a426076 More...

#include <SolARMultiFiducialMarkersPoseEstimator.h>

Inheritance diagram for SolAR::MODULES::TOOLS::SolARMultiFiducialMarkersPoseEstimator:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::TOOLS::SolARMultiFiducialMarkersPoseEstimator:
Collaboration graph
[legend]

Public Member Functions

 SolARMultiFiducialMarkersPoseEstimator ()
 SolARMultiFiducialMarkersPoseEstimator constructor;.
 
 ~SolARMultiFiducialMarkersPoseEstimator ()=default
 SolARMultiFiducialMarkersPoseEstimator destructor;.
 
void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsicParams, const SolAR::datastructure::CamDistortion &distorsionParams) override
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
FrameworkReturnCode setTrackables (const std::vector< SRef< SolAR::datastructure::Trackable > > trackables) override
 this method is used to set the trackable used to estimate the pose. More...
 
FrameworkReturnCode estimate (const SRef< SolAR::datastructure::Image > image, SolAR::datastructure::Transform3Df &pose) override
 Estimates camera pose based on a fiducial marker. More...
 
void unloadComponent () override final
 

Detailed Description

Estimate camera pose based on a set of fiducial markers. UUID: 9a4521de-2ea5-48f4-97ba-7e698a426076

Injectables
SolAR::api::solver::pose::I3DTransformFinderFrom2D3D
SolAR::api::geom::IProject
SolAR::api::features::I2DTrackablesDetector
Properties
m_maxReprojError
type: float; range : [0..MAX FLOAT]; default: 1.0

Member Function Documentation

◆ estimate()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARMultiFiducialMarkersPoseEstimator::estimate ( const SRef< SolAR::datastructure::Image >  image,
SolAR::datastructure::Transform3Df &  pose 
)
override

Estimates camera pose based on a fiducial marker.

Parameters
[in]imageinput image.
[out]posecamera pose.
Returns
FrameworkReturnCode::SUCCESS if the estimation succeed, else FrameworkReturnCode::_ERROR

◆ setCameraParameters()

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

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

Parameters
[in]intrinsicParamsCamera calibration matrix parameters.
[in]distorsionParamsCamera distorsion parameters.

◆ setTrackables()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARMultiFiducialMarkersPoseEstimator::setTrackables ( const std::vector< SRef< SolAR::datastructure::Trackable > >  trackables)
override

this method is used to set the trackable used to estimate the pose.

Parameters
[in]trackablesthe set of trackables used to estimate the pose.

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