subpixelcorner.h
Go to the documentation of this file.
1 #ifndef aruco_SUBPIXELCORNER_HPP
2 #define aruco_SUBPIXELCORNER_HPP
3 
4 #include <opencv2/core/core.hpp> // Basic OpenCV structures (cv::Mat)
5 
6 namespace aruco {
7 
9  private:
10  int _winSize;
12  cv::TermCriteria _term;
13  double eps;
14  cv::Mat mask;
16 
17  public:
18  bool enable;
20 
21  void checkTerm();
22 
23  double pointDist(cv::Point2f estimate_corner, cv::Point2f curr_corner);
24 
26  void RefineCorner(cv::Mat image, std::vector< cv::Point2f > &corners);
27 
28  // function to generate the mask
29  void generateMask();
30 };
31 }
32 
33 #endif // SUBPIXELCORNER_HPP
void RefineCorner(cv::Mat image, std::vector< cv::Point2f > &corners)
method to refine the corners
cv::TermCriteria _term
double pointDist(cv::Point2f estimate_corner, cv::Point2f curr_corner)


asr_aruco_marker_recognition
Author(s): Allgeyer Tobias, Meißner Pascal, Qattan Mohamad
autogenerated on Mon Feb 28 2022 21:41:30