Marsyas  0.5.0-beta1
Public Member Functions
Annotator Class Reference

Annotate a feature vector/slice with a label. More...

#include <Annotator.h>

Inherits MarSystem.

Public Member Functions

 Annotator (std::string name)
 Annotator constructor.
 Annotator (const Annotator &a)
 Annotator copy constructor.
MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess() method.
 ~Annotator ()
 Annotator destructor.

Detailed Description

Annotate a feature vector/slice with a label.

The Annotator adds an observation row for labeling the feature stream. The label can be set through the mrs_natural/label control. Note that this label control expects a natural number representation of the label. Also note that only one label can be given at each processing step and this given label is applied to all samples of the time slice.

Controls:

Definition at line 51 of file Annotator.h.


Constructor & Destructor Documentation

Annotator ( std::string  name)

Annotator constructor.

Definition at line 25 of file Annotator.cpp.

Annotator ( const Annotator a)

Annotator copy constructor.

Definition at line 31 of file Annotator.cpp.

~Annotator ( )

Annotator destructor.

Definition at line 38 of file Annotator.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 43 of file Annotator.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Implementation of the MarSystem::myProcess() method.

Implements MarSystem.

Definition at line 87 of file Annotator.cpp.


The documentation for this class was generated from the following files: