CLAM-Development  1.4.0
Public Member Functions
CLAM::SegmentDescriptors Class Reference

#include <SegmentDescriptors.hxx>

List of all members.

Public Member Functions

 DYNAMIC_TYPE_USING_INTERFACE (SegmentDescriptors, 9, Descriptor)
 DYN_ATTRIBUTE (0, public, FrameDescriptors, MeanD)
 All these attributes refer to mean values of descriptors across frames in the segment.
 DYN_ATTRIBUTE (1, public, FrameDescriptors, MaxD)
 All these attributes refer to maximum values of descriptors across frames in the segment.
 DYN_ATTRIBUTE (2, public, FrameDescriptors, MinD)
 All these attributes refer to minimum values of descriptors across frames in the segment.
 DYN_ATTRIBUTE (3, public, FrameDescriptors, VarianceD)
 All these attributes refer to the variance of descriptors across frames in the segment.
 DYN_ATTRIBUTE (4, public, TData, Fundamental)
 Mean value for fundamental across all frames.
 DYN_ATTRIBUTE (5, public, AudioDescriptors, AudioD)
 DYN_ATTRIBUTE (6, public, Array< FrameDescriptors >, FramesD)
 DYN_ATTRIBUTE (7, public, MorphologicalSegmentDescriptors, MorphologicalSegmentD)
 Mean value for fundamental across all frames.
 DYN_ATTRIBUTE (8, public, List< SegmentDescriptors >, ChildrenD)
 Children.
 SegmentDescriptors (Segment *pSegment)
void SetpSegment (const Segment *pSegment)
const SegmentGetpSegment () const
FrameDescriptorsGetFrameD (TIndex pos)
void Compute ()
void ConcreteCompute ()
void SetFramePrototype (const FrameDescriptors &proto, int nFrames)
- Public Member Functions inherited from CLAM::DescriptorTmpl< abs >
 DescriptorTmpl (int n)
 DescriptorTmpl (const DescriptorTmpl< abs > &prototype, bool shareData=false, bool deep=true)
virtual ~DescriptorTmpl ()
void SetPrototype (const DescriptorTmpl< abs > &proto)
- Public Member Functions inherited from CLAM::ProcessingData
 ProcessingData (const int n)
 Constructor of an object that will contain the number of attributes passed by parameter.
 ProcessingData (const ProcessingData &prototype, bool shareData=false, bool deep=true)
 Copy constructor of a ProcessingData object.
virtual ~ProcessingData ()
- Public Member Functions inherited from CLAM::DynamicType
 DynamicType (const int nAttr)
 Constructs a DynamicType object that can hold.
 DynamicType (const DynamicType &prototype, const bool shareData, const bool deepCopy)
 Copy constructor of a dynamic Type.
 DynamicType (const DynamicType &prototype)
virtual ~DynamicType ()
virtual const char * GetClassName () const =0
 Return the class name.
void CopyInit (const DynamicType &dt)
 This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted.
bool UpdateData ()
 Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done.
unsigned GetNDynamicAttributes () const
const char * GetDynamicAttributeName (unsigned i)
virtual const std::type_info & GetTypeId (unsigned i) const =0
bool AttributeIsComponent (unsigned i) const
bool AttributeIsDynamictype (unsigned i) const
bool IsAttributeInstantiated (unsigned i) const
const void * GetAttributeAsVoidPtr (unsigned i) const
const ComponentGetAttributeAsComponent (unsigned i) const
ComponentGetAttributeAsComponent (unsigned i)
void FullfilsInvariant () const
virtual ComponentDeepCopy () const
void Debug () const
virtual void StoreOn (CLAM::Storage &storage) const
 Stores component's subitems on the given Storage.
virtual void LoadFrom (CLAM::Storage &storage)
 Loads component's subitems from the given Storage.
- Public Member Functions inherited from CLAM::Component
virtual ~Component ()

Additional Inherited Members

- Protected Member Functions inherited from CLAM::DescriptorTmpl< abs >
void InitStats (DataArray *pData)
- Protected Attributes inherited from CLAM::DescriptorTmpl< abs >
StatsTmpl< abs > * mpStats

Detailed Description

Definition at line 41 of file SegmentDescriptors.hxx.


Constructor & Destructor Documentation

CLAM::SegmentDescriptors::SegmentDescriptors ( Segment pSegment)

Definition at line 28 of file SegmentDescriptors.cxx.


Member Function Documentation

void CLAM::SegmentDescriptors::Compute ( )
virtual

Reimplemented from CLAM::DescriptorTmpl< abs >.

Definition at line 90 of file SegmentDescriptors.cxx.

References ConcreteCompute().

void CLAM::SegmentDescriptors::ConcreteCompute ( )
virtual
CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
FrameDescriptors  ,
MeanD   
)

All these attributes refer to mean values of descriptors across frames in the segment.

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
FrameDescriptors  ,
MaxD   
)

All these attributes refer to maximum values of descriptors across frames in the segment.

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
FrameDescriptors  ,
MinD   
)

All these attributes refer to minimum values of descriptors across frames in the segment.

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
FrameDescriptors  ,
VarianceD   
)

All these attributes refer to the variance of descriptors across frames in the segment.

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Fundamental   
)

Mean value for fundamental across all frames.

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
AudioDescriptors  ,
AudioD   
)
CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
Array< FrameDescriptors ,
FramesD   
)
Todo:
: this should better be a List but by now Stats do not operate on lists
CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
MorphologicalSegmentDescriptors  ,
MorphologicalSegmentD   
)

Mean value for fundamental across all frames.

Morphological descriptors still not computable in CLAM

CLAM::SegmentDescriptors::DYN_ATTRIBUTE ( ,
public  ,
List< SegmentDescriptors ,
ChildrenD   
)

Children.

CLAM::SegmentDescriptors::DYNAMIC_TYPE_USING_INTERFACE ( SegmentDescriptors  ,
,
Descriptor   
)
FrameDescriptors& CLAM::SegmentDescriptors::GetFrameD ( TIndex  pos)
inline

Definition at line 80 of file SegmentDescriptors.hxx.

Referenced by CLAM::Segmentator::UnwrapDescriptors().

const Segment * CLAM::SegmentDescriptors::GetpSegment ( ) const

Definition at line 48 of file SegmentDescriptors.cxx.

void CLAM::SegmentDescriptors::SetFramePrototype ( const FrameDescriptors proto,
int  nFrames 
)

Definition at line 72 of file SegmentDescriptors.cxx.

void CLAM::SegmentDescriptors::SetpSegment ( const Segment pSegment)

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