Solar
|
Gives 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: 79c5b810-d557-11e7-9296-cec278b6b50a
More...
#include <ISBPatternReIndexer.h>
Public Member Functions | |
ISBPatternReIndexer ()=default | |
ISBPatternReIndexer default constructor. | |
virtual | ~ISBPatternReIndexer ()=default |
ISBPatternReIndexer default destructor. | |
virtual 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)=0 |
From a set of Squared Binary Pattern matches as well as the contours of the candidate patterns extracted from the current image, this method 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... | |
Gives 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: 79c5b810-d557-11e7-9296-cec278b6b50a
|
pure virtual |
From a set of Squared Binary Pattern matches as well as the contours of the candidate patterns extracted from the current image, this method 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.
[in] | candidateContours | The set of candidate contours of the patterns extracted in the current image. |
[in] | matches | The set of matches describing which candidates contours defined in the first parameters correspond to the targetted squared binary pattern (here, only work with one squared binary pattern). |
[out] | patternPoints | The 4 corners of the pattern that has been recognized in the image. These corners are defined in a user-defined coordinate system (e.g.the image marker image coordinate system defined in pixels, or the pattern coordinate system defined in cells, etc.). Be sure to use the same coordinate system in the whole pipeline when you are defining 2D points referencing the pattern (For example in the first parameter of the method IImage2WorldMapper::setParameters). |
[out] | imagePoints | the 4 corners in the current image of the recognized pattern. These corners are defined in the image coordinate system (in pixels). |