Class FractalDetector

Nested Relationships

Nested Types

Class Documentation

class FractalDetector

Public Functions

FractalDetector()
void setConfiguration(int configuration)

setConfiguration

Parameters:

configuration – fractal id

void setConfiguration(std::string configuration)

setConfiguration

Parameters:

configuration – fractal file

inline void setParams(const CameraParameters &cam_params, float markerSize)

setParams

Parameters:
  • cam_params – camera parameters

  • markerSize – in meters

inline FractalMarkerSet getConfiguration()
inline bool detect(const cv::Mat &input)
inline bool poseEstimation()
inline cv::Mat getRvec()
inline cv::Mat getTvec()
void drawImage(cv::Mat &img, cv::Mat &img2)
void drawMarkers(cv::Mat &img)
void draw2d(cv::Mat &img)
void draw3d(cv::Mat &img, bool cube = true, bool axis = true)
void draw3dCube(cv::Mat &Image, FractalMarker m, const CameraParameters &CP, int lineSize)
inline std::vector<Marker> getMarkers()
inline std::vector<cv::Mat> getImagePyramid()