Segmenter Class Referenceabstract

#include <Segmenter.h>

Inheritance diagram for Segmenter:
Inheritance graph

Public Member Functions

 Segmenter ()
 
virtual ~Segmenter ()
 
virtual void initialise (int samplerate)=0
 
virtual int getWindowsize ()=0
 
virtual int getHopsize ()=0
 
virtual void extractFeatures (const double *samples, int nsamples)=0
 
virtual void segment ()=0
 
virtual void segment (int m)=0
 
virtual void clear ()
 
const SegmentationgetSegmentation () const
 

Protected Attributes

std::vector< std::vector< double > > features
 
Segmentation segmentation
 
int samplerate
 

Detailed Description

Definition at line 41 of file Segmenter.h.

Constructor & Destructor Documentation

Segmenter::Segmenter ( )
inline

Definition at line 44 of file Segmenter.h.

virtual Segmenter::~Segmenter ( )
inlinevirtual

Definition at line 45 of file Segmenter.h.

Member Function Documentation

virtual void Segmenter::initialise ( int  samplerate)
pure virtual

Implemented in ClusterMeltSegmenter.

virtual int Segmenter::getWindowsize ( )
pure virtual

Implemented in ClusterMeltSegmenter.

virtual int Segmenter::getHopsize ( )
pure virtual

Implemented in ClusterMeltSegmenter.

virtual void Segmenter::extractFeatures ( const double *  samples,
int  nsamples 
)
pure virtual

Implemented in ClusterMeltSegmenter.

virtual void Segmenter::segment ( )
pure virtual

Implemented in ClusterMeltSegmenter.

virtual void Segmenter::segment ( int  m)
pure virtual

Implemented in ClusterMeltSegmenter.

virtual void Segmenter::clear ( )
inlinevirtual

Definition at line 52 of file Segmenter.h.

Referenced by ClusterMeltSegmenter::segment().

const Segmentation& Segmenter::getSegmentation ( ) const
inline

Definition at line 53 of file Segmenter.h.

Member Data Documentation

std::vector<std::vector<double> > Segmenter::features
protected
Segmentation Segmenter::segmentation
protected

Definition at line 56 of file Segmenter.h.

Referenced by ClusterMeltSegmenter::makeSegmentation().


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