NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkTwoTrackerAnalysis.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef mitkTwoTrackerAnalysis_h
16 #define mitkTwoTrackerAnalysis_h
17 
18 #include "niftkOpenCVExports.h"
19 #include "mitkTwoTrackerMatching.h"
20 #include <cv.h>
21 #include <itkObject.h>
22 #include <itkObjectFactory.h>
23 #include <mitkCommon.h>
24 
25 namespace mitk
26 {
27 
28 
35 {
36 public:
37  mitkClassMacroItkParent ( TwoTrackerAnalysis, itk::Object)
38  itkNewMacro (TwoTrackerAnalysis)
39 
40 
44  void TemporalCalibration (int windowLow = -100, int windowHigh = 100, bool visualise = false , std::string fileout = "" );
45 
53  void HandeyeCalibration (bool visualise = false , std::string fileout = "", int HowManyMatrices = 4 , bool CullOutliers = false);
54 
58  bool CheckRigidBody (cv::Mat w2ToW1 , bool CullOutliers = false );
59 
60  itkSetMacro (TimingTolerance, long long int);
61 
62 protected:
64  virtual ~TwoTrackerAnalysis();
65 
66  TwoTrackerAnalysis(const TwoTrackerAnalysis&); // Purposefully not implemented.
67  TwoTrackerAnalysis& operator=(const TwoTrackerAnalysis&); // Purposefully not implemented.
68 
69 private:
70  long long int m_TimingTolerance; // the maximum allowable timing error
71 };
72 
73 
74 } // namespace
75 
76 
77 #endif // niftkTwoTrackerAnalysis_h
A class to match two sets of time stamped data currently for reading recorded tracking data...
Definition: mitkTwoTrackerMatching.h:32
Definition: ReceptorMemberCommandTest.cxx:25
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
GLsizei const GLcharARB ** string
Definition: glew.h:5194
A class to match video frames to tracking frames, or two sets of tracking data when reading recorded ...
Definition: mitkTwoTrackerAnalysis.h:34