Solar
Public Member Functions | Friends | List of all members
SolAR::datastructure::SquaredBinaryPattern Class Reference

A SquaredBinaryPattern defined with a binary regular grid. More...

#include <SquaredBinaryPattern.h>

Public Member Functions

 SquaredBinaryPattern ()=default
 constructs a default SquaredBinaryPattern
 
 SquaredBinaryPattern (const SquaredBinaryPatternMatrix &pattern)
 constructs a SquaredBinaryPattern from a given SquaredBinaryPatternMatrix
 
 ~SquaredBinaryPattern ()=default
 defines the destructor
 
const SquaredBinaryPatternMatrix & getPatternMatrix (void) const
 returns the SquaredBinaryPatternMatrix to detect. More...
 
FrameworkReturnCode setPatternMatrix (const SquaredBinaryPatternMatrix &pattern)
 defines the new pattern matrix to consider
 
int getSize () const
 returns the size of the squared fiducial pattern to detect More...
 
template<typename Archive >
void serialize (Archive &ar, ATTRIBUTE(maybe_unused) const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

A SquaredBinaryPattern defined with a binary regular grid.

Member Function Documentation

◆ getPatternMatrix()

const SquaredBinaryPatternMatrix & SolAR::datastructure::SquaredBinaryPattern::getPatternMatrix ( void  ) const

returns the SquaredBinaryPatternMatrix to detect.

Returns
the SquaredBinaryPatternMatrix to detect.

◆ getSize()

int SolAR::datastructure::SquaredBinaryPattern::getSize ( ) const
inline

returns the size of the squared fiducial pattern to detect

Returns
the size of the squared fiducial pattern to detect. If the marker is a square of size 7x7, we return 7.

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