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

Provides both the 4 corners of a pattern in its reference coordinate system (pixels, cells, etc.) and the 4 corners in pixels of this pattern in the current image. UUID: a2ef5542-029e-4fce-9974-0aea14b29d6f More...

#include <SolARSBPatternReIndexer.h>

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

Public Member Functions

FrameworkReturnCode reindex (const std::vector< SolAR::datastructure::Contour2Df > &candidateContours, const std::vector< SolAR::datastructure::DescriptorMatch > &matches, std::vector< SolAR::datastructure::Point2Df > &patternPoints, std::vector< SolAR::datastructure::Point2Df > &imagePoints) override
 Provides both the 4 corners of a pattern in its reference coordinate system (pixels, cells, etc.) and the 4 corners in pixels of this pattern in the current image. More...
 
void unloadComponent () override final
 

Detailed Description

Provides both the 4 corners of a pattern in its reference coordinate system (pixels, cells, etc.) and the 4 corners in pixels of this pattern in the current image. UUID: a2ef5542-029e-4fce-9974-0aea14b29d6f

Properties
sbPatternSize
type: int; range : [0..MAX INT]; default: 0

Member Function Documentation

◆ reindex()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARSBPatternReIndexer::reindex ( const std::vector< SolAR::datastructure::Contour2Df > &  candidateContours,
const std::vector< SolAR::datastructure::DescriptorMatch > &  matches,
std::vector< SolAR::datastructure::Point2Df > &  patternPoints,
std::vector< SolAR::datastructure::Point2Df > &  imagePoints 
)
override

Provides both the 4 corners of a pattern in its reference coordinate system (pixels, cells, etc.) and the 4 corners in pixels of this pattern in the current image.

Parameters
[in]candidateContoursA set of contours of squared binary marker detected in the current image.
[in]matchesmatches between the patterns of the dected contours of the pattern of teh reference squared binary marker.
[out]patternPointsThe 2D corners of the squared binary marker in the coordinate system of the marker.
[out]imagePointsThe 2D corners of the squared binary marker in the coordinate system of the current image.
Returns
FrameworkReturnCode::SUCCESS if sucessful, eiher FrameworkRetunrnCode::_ERROR.

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