GestureRecognitionToolkit
Version: 0.2.0
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
ClassLabelChangeFilter.h
Go to the documentation of this file.
1
32
#ifndef GRT_CLASS_LABEL_CHANGE_FILTER_HEADER
33
#define GRT_CLASS_LABEL_CHANGE_FILTER_HEADER
34
35
#include "../Util/GRTCommon.h"
36
#include "../CoreModules/PostProcessing.h"
37
38
GRT_BEGIN_NAMESPACE
39
40
class
GRT_API
ClassLabelChangeFilter
:
public
PostProcessing
{
41
public
:
45
ClassLabelChangeFilter
();
46
54
ClassLabelChangeFilter
(
const
ClassLabelChangeFilter
&rhs);
55
59
virtual
~
ClassLabelChangeFilter
();
60
67
ClassLabelChangeFilter
& operator=(
const
ClassLabelChangeFilter
&rhs);
68
77
virtual
bool
deepCopyFrom
(
const
PostProcessing
*postProcessing);
78
87
virtual
bool
process
(
const
VectorDouble
&inputVector);
88
96
virtual
bool
reset
();
97
105
virtual
bool
saveModelToFile
( std::string filename )
const
;
106
114
virtual
bool
saveModelToFile
( std::fstream &file )
const
;
115
123
virtual
bool
loadModelFromFile
( std::string filename );
124
132
virtual
bool
loadModelFromFile
( std::fstream &file );
133
139
bool
init
();
140
147
UINT filter(UINT predictedClassLabel);
148
154
UINT
getFilteredClassLabel
(){
return
filteredClassLabel; }
155
161
bool
getChange();
162
163
protected
:
164
UINT filteredClassLabel;
165
bool
labelChanged;
166
167
static
RegisterPostProcessingModule< ClassLabelChangeFilter >
registerModule;
168
};
169
170
GRT_END_NAMESPACE
171
172
#endif //GRT_CLASS_LABEL_CHANGE_FILTER_HEADER
ClassLabelChangeFilter
Definition:
ClassLabelChangeFilter.h:40
PostProcessing::deepCopyFrom
virtual bool deepCopyFrom(const PostProcessing *postProcessing)
Definition:
PostProcessing.h:57
PostProcessing::process
virtual bool process(const VectorFloat &inputVector)
Definition:
PostProcessing.h:73
RegisterPostProcessingModule< ClassLabelChangeFilter >
PostProcessing
Definition:
PostProcessing.h:38
PostProcessing::loadModelFromFile
virtual bool loadModelFromFile(std::string filename)
Definition:
PostProcessing.cpp:110
VectorFloat
Definition:
VectorFloat.h:33
PostProcessing::reset
virtual bool reset()
Definition:
PostProcessing.h:81
PostProcessing::init
bool init()
Definition:
PostProcessing.cpp:79
ClassLabelChangeFilter::getFilteredClassLabel
UINT getFilteredClassLabel()
Definition:
ClassLabelChangeFilter.h:154
PostProcessing::saveModelToFile
virtual bool saveModelToFile(std::string filename) const
Definition:
PostProcessing.cpp:96
GRT
PostProcessingModules
ClassLabelChangeFilter.h
Generated on Sun Aug 7 2016 19:16:03 for GestureRecognitionToolkit by
1.8.11