cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
svlTrackerCisst.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6  Author(s): Maneesh Dewan & Balazs Vagvolgyi
7  Created on: 2007
8 
9  (C) Copyright 2006-2007 Johns Hopkins University (JHU), All Rights
10  Reserved.
11 
12 --- begin cisst license - do not edit ---
13 
14 This software is provided "as is" under an open source license, with
15 no warranty. The complete license can be found in license.txt and
16 http://www.cisst.org/cisst/license.txt.
17 
18 --- end cisst license ---
19 
20 */
21 
22 #ifndef _svlTrackerCisst_h
23 #define _svlTrackerCisst_h
24 
26 
27 // Always include last!
29 
30 
32 {
33 public:
35  virtual ~svlTrackerCisst();
36 
37  virtual int SetParameters(svlErrorMetric metric,
38  unsigned int templateradius,
39  unsigned int windowradius,
40  void* param = 0);
41 
42  virtual int SetTargetCount(unsigned int targetcount);
43  virtual int GetTarget(unsigned int targetid, svlTarget2D & target);
44 
45  virtual int Initialize();
46  virtual int Track(svlSampleImage & image, unsigned int videoch = SVL_LEFT);
47  virtual void Release();
48 
49 protected:
51 
52  void* TrackerCisst;
53  unsigned short* Image16;
54  unsigned int TemplateRadius;
55  unsigned int WindowRadius;
57  void* TrackerParam;
58 };
59 
60 #endif //_svlTrackerCisst_h
61 
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual int Track(svlSampleImage &image, unsigned int videoch=SVL_LEFT)=0
svlErrorMetric Metric
Definition: svlTrackerCisst.h:56
bool TargetsAdded
Definition: svlTrackerCisst.h:50
svlErrorMetric
Definition: svlDefinitions.h:258
virtual int Initialize()
void * TrackerCisst
Definition: svlTrackerCisst.h:52
Definition: svlTypes.h:309
Definition: svlFilterImageTracker.h:151
virtual int GetTarget(unsigned int targetid, svlTarget2D &target)
Definition: svlTrackerCisst.h:31
unsigned int TemplateRadius
Definition: svlTrackerCisst.h:54
Definition: svlSampleImage.h:35
unsigned int WindowRadius
Definition: svlTrackerCisst.h:55
Macros to export the symbols of cisstStereoVision (in a Dll).
#define SVL_LEFT
Definition: svlDefinitions.h:121
virtual void Release()
void * TrackerParam
Definition: svlTrackerCisst.h:57
virtual int SetTargetCount(unsigned int targetcount)
unsigned short * Image16
Definition: svlTrackerCisst.h:53