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

Filters a set of matches. UUID: e0d6cc82-6af2-493d-901a-2384fca0b16f More...

#include <IMatchesFilter.h>

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

Public Member Functions

 IMatchesFilter ()=default
 IMatchesFilter default constructor.
 
virtual ~IMatchesFilter ()=default
 IMatchesFilter default destructor.
 
virtual void filter (const std::vector< SolAR::datastructure::DescriptorMatch > &inputMatches, std::vector< SolAR::datastructure::DescriptorMatch > &outputMatches, const std::vector< SolAR::datastructure::Keypoint > &keyPoints_1, const std::vector< SolAR::datastructure::Keypoint > &keyPoints_2)=0
 filter matches. Draw all the lines joining the keypoints that match between two images More...
 
virtual void filter (ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::DescriptorMatch > &inputMatches, ATTRIBUTE(maybe_unused) std::vector< SolAR::datastructure::DescriptorMatch > &outputMatches, ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::Keypoint > &inputKeyPoints1, ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::Keypoint > &inputKeyPoints2, ATTRIBUTE(maybe_unused) const SolAR::datastructure::Transform3Df &pose1, ATTRIBUTE(maybe_unused) const SolAR::datastructure::Transform3Df &pose2, ATTRIBUTE(maybe_unused) const SolAR::datastructure::CamCalibration &intrinsicParams)
 filter matches based fundamental matrix calculated from camera matrices More...
 

Detailed Description

Filters a set of matches. UUID: e0d6cc82-6af2-493d-901a-2384fca0b16f

Member Function Documentation

◆ filter() [1/2]

virtual void SolAR::api::features::IMatchesFilter::filter ( ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::DescriptorMatch > &  inputMatches,
ATTRIBUTE(maybe_unused) std::vector< SolAR::datastructure::DescriptorMatch > &  outputMatches,
ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::Keypoint > &  inputKeyPoints1,
ATTRIBUTE(maybe_unused) const std::vector< SolAR::datastructure::Keypoint > &  inputKeyPoints2,
ATTRIBUTE(maybe_unused) const SolAR::datastructure::Transform3Df pose1,
ATTRIBUTE(maybe_unused) const SolAR::datastructure::Transform3Df pose2,
ATTRIBUTE(maybe_unused) const SolAR::datastructure::CamCalibration intrinsicParams 
)
inlinevirtual

filter matches based fundamental matrix calculated from camera matrices

Parameters
[in]Originalmatches found between two descriptors "desc_1" and "desc_2".
[out]Filtredmatches based on geometric relations such as epipolar constraint.
[in]Originalkeypoints associated to desc_1.
[in]Originalkeypoints associated to desc_2.
[in]camerapose 1.
[in]camerapose 2.
[in]camera'sintrinsic parameters.

◆ filter() [2/2]

virtual void SolAR::api::features::IMatchesFilter::filter ( const std::vector< SolAR::datastructure::DescriptorMatch > &  inputMatches,
std::vector< SolAR::datastructure::DescriptorMatch > &  outputMatches,
const std::vector< SolAR::datastructure::Keypoint > &  keyPoints_1,
const std::vector< SolAR::datastructure::Keypoint > &  keyPoints_2 
)
pure virtual

filter matches. Draw all the lines joining the keypoints that match between two images

Parameters
[in]Originalmatches found between two descriptors "desc_1" and "desc_2".
[out]Filtredmatches based on redanduncy or geometric relations such as epipolar constraint.
[in]Originalkeypoints associated to desc_1.
[in]Originalkeypoints associated to desc_2.

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