CLAM::Segmentator Class Reference

#include <Segmentator.hxx>

Inheritance diagram for CLAM::Segmentator:

CLAM::Processing

List of all members.


Detailed Description

Definition at line 71 of file Segmentator.hxx.


Public Member Functions

 Segmentator ()
 Segmentator (const SegmentatorConfig &c)
virtual ~Segmentator ()
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
const ProcessingConfigGetConfig () const
 Configuration getter.
bool Do ()
 Supervised mode execution method (using ports).
bool Do (Segment &originalSegment, SegmentDescriptors &descriptors)

Protected Member Functions

virtual void UnwrapDescriptors (const Segment &originalSegment, SegmentDescriptors &descriptors, Matrix &descriptorsValues)

Protected Attributes

SegmentatorConfig mConfig

Constructor & Destructor Documentation

Segmentator::Segmentator (  ) 

Definition at line 185 of file Segmentator.cxx.

References CLAM::Processing::Configure().

Segmentator::Segmentator ( const SegmentatorConfig c  ) 

Definition at line 190 of file Segmentator.cxx.

References CLAM::Processing::Configure().

Segmentator::~Segmentator (  )  [virtual]

Definition at line 195 of file Segmentator.cxx.


Member Function Documentation

const char* CLAM::Segmentator::GetClassName (  )  const [inline, virtual]

Override it in every subclass and retur the name of that class.

Implements CLAM::Processing.

Definition at line 77 of file Segmentator.hxx.

const ProcessingConfig& CLAM::Segmentator::GetConfig (  )  const [inline, virtual]

Configuration getter.

Gets the configuration parameters used to create the object.

Returns:
Const reference to the configuration object. The usual way to perform a configuration change in the processing object is to take a copy of this reference, to change it and to send it with the Configure method. If not overriden, it returns a NullProcessingConfig.

Reimplemented from CLAM::Processing.

Definition at line 78 of file Segmentator.hxx.

References mConfig.

bool Segmentator::Do (  )  [virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 205 of file Segmentator.cxx.

References CLAM_ASSERT, CLAM_DEBUG_ASSERT, and CLAM::Processing::IsRunning().

bool Segmentator::Do ( Segment originalSegment,
SegmentDescriptors descriptors 
)

Definition at line 215 of file Segmentator.cxx.

References CLAM::Segment::GetnFrames(), mConfig, and UnwrapDescriptors().

void Segmentator::UnwrapDescriptors ( const Segment originalSegment,
SegmentDescriptors descriptors,
Matrix descriptorsValues 
) [protected, virtual]


Member Data Documentation

Definition at line 83 of file Segmentator.hxx.

Referenced by Do(), GetConfig(), and UnwrapDescriptors().


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

Generated on Tue Aug 12 22:33:48 2008 for CLAM by  doxygen 1.5.5