![]()  | 
  
    SLProject
    4.2.000
    
   A platform independent 3D computer graphics framework for desktop OS,  Android,  iOS and online in web browsers 
   | 
 
OpenCV chessboard tracker class derived from CVTracked. More...
#include <CVTrackedChessboard.h>
Public Member Functions | |
| CVTrackedChessboard (string calibIniPath) | |
| bool | track (CVMat imageGray, CVMat imageBgr, CVCalibration *calib) final | 
| Tracks the chessboard image in the given image for the first sceneview.  More... | |
  Public Member Functions inherited from CVTracked | |
| CVTracked () | |
| virtual | ~CVTracked ()=default | 
| void | drawDetection (bool draw) | 
| bool | isVisible () | 
| bool | drawDetection () | 
| CVMatx44f | objectViewMat () | 
Private Member Functions | |
| void | calcBoardCorners3D (const CVSize &boardSize, float squareSize, CVVPoint3f &objectPoints3D) | 
| bool | loadCalibParams () | 
Private Attributes | |
| string | _calibParamsFileName | 
| float | _edgeLengthM | 
| CVVPoint3f | _boardPoints3D | 
| CVSize | _boardSize | 
| bool | _solved | 
| CVMat | _rVec | 
| CVMat | _tVec | 
| string | _calibIniPath | 
Additional Inherited Members | |
  Static Public Member Functions inherited from CVTracked | |
| static cv::Matx44f | createGLMatrix (const CVMat &tVec, const CVMat &rVec) | 
| Create an OpenGL 4x4 matrix from an OpenCV translation & rotation vector.  More... | |
| static void | createRvecTvec (const CVMatx44f &glMat, CVMat &tVec, CVMat &rVec) | 
| Creates the OpenCV rvec & tvec vectors from an column major OpenGL 4x4 matrix.  More... | |
| static CVMatx44f | calcObjectMatrix (const CVMatx44f &cameraObjectMat, const CVMatx44f &objectViewMat) | 
| static CVVec3f | averageVector (vector< CVVec3f > vectors, vector< float > weights) | 
| static SLQuat4f | averageQuaternion (vector< SLQuat4f > quaternions, vector< float > weights) | 
| static void | resetTimes () | 
| Resets all static variables.  More... | |
  Static Public Attributes inherited from CVTracked | |
| static AvgFloat | trackingTimesMS | 
| Averaged time for video tracking in ms.  More... | |
| static AvgFloat | detectTimesMS | 
| Averaged time for video feature detection & description in ms.  More... | |
| static AvgFloat | detect1TimesMS | 
| Averaged time for video feature detection subpart 1 in ms.  More... | |
| static AvgFloat | detect2TimesMS | 
| Averaged time for video feature detection subpart 2 in ms.  More... | |
| static AvgFloat | matchTimesMS | 
| Averaged time for video feature matching in ms.  More... | |
| static AvgFloat | optFlowTimesMS | 
| Averaged time for video feature optical flow tracking in ms.  More... | |
| static AvgFloat | poseTimesMS | 
| Averaged time for video feature pose estimation in ms.  More... | |
  Protected Attributes inherited from CVTracked | |
| bool | _isVisible | 
| Flag if marker is visible.  More... | |
| bool | _drawDetection | 
| Flag if detection should be drawn into image.  More... | |
| CVMatx44f | _objectViewMat | 
| view transformation matrix  More... | |
| HighResTimer | _timer | 
| High resolution timer.  More... | |
OpenCV chessboard tracker class derived from CVTracked.
The chessboard tracker uses the same chessboard pattern as the calibration class defined in CVCalibration. See CVTrackedChessboard::track for the core tracking implementation.
Definition at line 31 of file CVTrackedChessboard.h.
      
  | 
  explicit | 
Definition at line 24 of file CVTrackedChessboard.cpp.
      
  | 
  private | 
Definition at line 65 of file CVTrackedChessboard.cpp.
      
  | 
  private | 
Definition at line 42 of file CVTrackedChessboard.cpp.
      
  | 
  finalvirtual | 
Tracks the chessboard image in the given image for the first sceneview.
Implements CVTracked.
Definition at line 81 of file CVTrackedChessboard.cpp.
      
  | 
  private | 
Definition at line 48 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 49 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 53 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 46 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 47 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 51 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 50 of file CVTrackedChessboard.h.
      
  | 
  private | 
Definition at line 52 of file CVTrackedChessboard.h.