Solar
Public Member Functions | List of all members
SolAR::api::features::IFeatureWithDepthFromStereo Class Referenceabstract

Perform feature extraction and keypoint depth estimation from each stereo images. UUID: 10853f36-c0c0-4afb-81b8-0b1a06ca4e71 More...

#include <IFeatureWithDepthFromStereo.h>

Inheritance diagram for SolAR::api::features::IFeatureWithDepthFromStereo:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::features::IFeatureWithDepthFromStereo:
Collaboration graph
[legend]

Public Member Functions

 IFeatureWithDepthFromStereo ()=default
 IFeatureWithDepthFromStereo constructor.
 
virtual ~IFeatureWithDepthFromStereo ()
 ~IFeatureWithDepthFromStereo
 
virtual void setRectificationParameters (const SolAR::datastructure::CameraParameters &camParams1, const SolAR::datastructure::CameraParameters &camParams2, const SolAR::datastructure::RectificationParameters &rectParams1, const SolAR::datastructure::RectificationParameters &rectParams2)=0
 this method is used to set rectification parameters of the stereo camera More...
 
virtual FrameworkReturnCode compute (SRef< SolAR::datastructure::Image > image1, SRef< SolAR::datastructure::Image > image2, SRef< SolAR::datastructure::Frame > &frame1, SRef< SolAR::datastructure::Frame > &frame2)=0
 Perform feature extraction and keypoint depth estimation. More...
 

Detailed Description

Perform feature extraction and keypoint depth estimation from each stereo images. UUID: 10853f36-c0c0-4afb-81b8-0b1a06ca4e71

Member Function Documentation

◆ compute()

virtual FrameworkReturnCode SolAR::api::features::IFeatureWithDepthFromStereo::compute ( SRef< SolAR::datastructure::Image image1,
SRef< SolAR::datastructure::Image image2,
SRef< SolAR::datastructure::Frame > &  frame1,
SRef< SolAR::datastructure::Frame > &  frame2 
)
pure virtual

Perform feature extraction and keypoint depth estimation.

Parameters
[in]image1The first image.
[in]image2The second image.
[out]frame1The first frame that contains features and estimated depths of the first image.
[out]frame2The second frame that contains features and estimated depths of the second image. ///
Returns
FrameworkReturnCode::SUCCESS if computing succeed, else FrameworkReturnCode::_ERROR

◆ setRectificationParameters()

virtual void SolAR::api::features::IFeatureWithDepthFromStereo::setRectificationParameters ( const SolAR::datastructure::CameraParameters camParams1,
const SolAR::datastructure::CameraParameters camParams2,
const SolAR::datastructure::RectificationParameters rectParams1,
const SolAR::datastructure::RectificationParameters rectParams2 
)
pure virtual

this method is used to set rectification parameters of the stereo camera

Parameters
[in]camParams1Camera parameters of the first camera.
[in]camParams2Camera parameters of the second camera.
[in]rectParams1Rectification parameters of the first camera.
[in]rectParams2Rectification parameters of the second camera.

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