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>
|
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 |
|
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 |
◆ 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] | candidateContours | A set of contours of squared binary marker detected in the current image. |
[in] | matches | matches between the patterns of the dected contours of the pattern of teh reference squared binary marker. |
[out] | patternPoints | The 2D corners of the squared binary marker in the coordinate system of the marker. |
[out] | imagePoints | The 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: