63 const std::vector<int> &markerIDs=std::vector<int>(),
64 const std::string &markerType=
"bch") ;
98 std::vector<utils::Point32f>
data()
const;
101 std::vector<utils::Point32f> corners()
const;
104 void appendCornersTo(std::vector<utils::Point32f> &dst)
const;
159 template<
class Transform>
193 const Marker &getMarker(
int id)
const ;
199 template<
class Transform>
201 if(getSize() != dst.
getSize()){
204 for(
int i=0;i<getDim();++i){
205 operator[](i).transformImagePointsTo(dst[i],t);
217 void init(
const AdvancedGridDefinition &def);
Utility class that allows a regular grid of fiducial markers to be tracked.
Definition: MarkerGridDetector.h:45
undocument this line if you encounter any issues!
Definition: Any.h:37
const Size & getSize() const
returns the matrix size
Definition: Array2D.h:163
utils::Point32f lr
upper left point
Definition: AdvancedMarkerGridDetector.h:89
AdvancedGridDefinition gridDef
internal metrics
Definition: AdvancedMarkerGridDetector.h:172
const utils::Size32f & getGridBounds() const
returns internal grid-bounds value
Definition: AdvancedMarkerGridDetector.h:71
internal key-point structure
Definition: AdvancedMarkerGridDetector.h:87
const utils::Size32f & getMarkerBounds() const
returns internal marker-bounds value
Definition: AdvancedMarkerGridDetector.h:67
const MarkerGrid * getMarkerGrid() const
returns the internal marker grid
Definition: AdvancedMarkerGridDetector.h:223
Marker Grid geometry definition type.
Definition: MarkerGridDetector.h:59
void setFound(bool found)
sets the 'found' flag
Definition: AdvancedMarkerGridDetector.h:129
Floating point precision implementation of the Rect class.
Definition: Rect32f.h:45
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
utils::Size32f gridBounds
size of the whole grid
Definition: AdvancedMarkerGridDetector.h:53
const KeyPoints & getGridPoints() const
returns static grid points
Definition: AdvancedMarkerGridDetector.h:142
static const Point32f null
null Point is x=0, y=0
Definition: Point32f.h:51
Size class of the ICL.
Definition: Size.h:61
utils::Point32f ll
lower left point
Definition: AdvancedMarkerGridDetector.h:90
bool operator<(const Marker &m) const
for sorting (is that needed)
Definition: AdvancedMarkerGridDetector.h:126
KeyPoints & getImagePoints()
returns current image points (unconst version)
Definition: AdvancedMarkerGridDetector.h:147
utils::Size32f markerBounds
size of a single marker in mm
Definition: AdvancedMarkerGridDetector.h:48
const KeyPoints & getImagePoints() const
returns current image points
Definition: AdvancedMarkerGridDetector.h:138
KeyPoints gridPts
internal key-points (in grid space, initialized at construction time)
Definition: AdvancedMarkerGridDetector.h:112
Abstract class for visualization tasks.
Definition: VisualizationDescription.h:73
MarkerGridDetector Super
Definition: AdvancedMarkerGridDetector.h:45
utils::Point32f ur
upper right point
Definition: AdvancedMarkerGridDetector.h:88
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
Extension of the MarkerGridDetector class that provides a more advanced output.
Definition: AdvancedMarkerGridDetector.h:43
Simple 2D-Array class that provides shallow copy per default.
Definition: Array2D.h:61
int id
marker id
Definition: AdvancedMarkerGridDetector.h:82
utils::Array2D< Marker > Super
convenience typedef
Definition: AdvancedMarkerGridDetector.h:171
KeyPoints imagePts
internal key-points (in image space, updated at runtime)
Definition: AdvancedMarkerGridDetector.h:110
void transformImagePointsTo(Marker &dst, Transform t) const
utility method that transforms the marker's image points ...
Definition: AdvancedMarkerGridDetector.h:160
internal data-class the represents a more sophisticated
Definition: AdvancedMarkerGridDetector.h:81
Size32f class of the ICL (float valued)
Definition: Size32f.h:40
bool wasFound() const
Definition: AdvancedMarkerGridDetector.h:133
utils::Point32f ul
upper left point
Definition: AdvancedMarkerGridDetector.h:91
Represents whole grid of markers.
Definition: AdvancedMarkerGridDetector.h:170
bool found
was it found
Definition: AdvancedMarkerGridDetector.h:83
#define ICLMarkers_API
Definition: CompatMacros.h:180
utils::Point32f center
center point
Definition: AdvancedMarkerGridDetector.h:92
const AdvancedGridDefinition & getGridDef() const
returns the internal grid definitiion
Definition: AdvancedMarkerGridDetector.h:188
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Definition: AdvancedMarkerGridDetector.h:47
MarkerGrid grid
internal marker grid
Definition: AdvancedMarkerGridDetector.h:226
void transformImagePointsTo(MarkerGrid &dst, Transform t) const
transforms all markers using a transformation function
Definition: AdvancedMarkerGridDetector.h:200
AdvancedGridDefinition()
Definition: AdvancedMarkerGridDetector.h:57