CLAM-Development
1.4.0
|
#include <SegmentDescriptors.hxx>
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 Segment * | GetpSegment () const |
FrameDescriptors & | GetFrameD (TIndex pos) |
void | Compute () |
void | ConcreteCompute () |
void | SetFramePrototype (const FrameDescriptors &proto, int nFrames) |
![]() | |
DescriptorTmpl (int n) | |
DescriptorTmpl (const DescriptorTmpl< abs > &prototype, bool shareData=false, bool deep=true) | |
virtual | ~DescriptorTmpl () |
void | SetPrototype (const DescriptorTmpl< abs > &proto) |
![]() | |
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 () |
![]() | |
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 Component * | GetAttributeAsComponent (unsigned i) const |
Component * | GetAttributeAsComponent (unsigned i) |
void | FullfilsInvariant () const |
virtual Component * | DeepCopy () 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. | |
![]() | |
virtual | ~Component () |
Additional Inherited Members | |
![]() | |
void | InitStats (DataArray *pData) |
![]() | |
StatsTmpl< abs > * | mpStats |
Definition at line 41 of file SegmentDescriptors.hxx.
CLAM::SegmentDescriptors::SegmentDescriptors | ( | Segment * | pSegment | ) |
Definition at line 28 of file SegmentDescriptors.cxx.
|
virtual |
Reimplemented from CLAM::DescriptorTmpl< abs >.
Definition at line 90 of file SegmentDescriptors.cxx.
References ConcreteCompute().
|
virtual |
Implements CLAM::DescriptorTmpl< abs >.
Definition at line 100 of file SegmentDescriptors.cxx.
References CLAM::StatsTmpl< abs, T, U, initOrder >::GetMax(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMean(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMin(), CLAM::Segment::GetnFrames(), and CLAM::StatsTmpl< abs, T, U, initOrder >::GetVariance().
Referenced by Compute().
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 0 | , |
public | , | ||
FrameDescriptors | , | ||
MeanD | |||
) |
All these attributes refer to mean values of descriptors across frames in the segment.
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 1 | , |
public | , | ||
FrameDescriptors | , | ||
MaxD | |||
) |
All these attributes refer to maximum values of descriptors across frames in the segment.
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 2 | , |
public | , | ||
FrameDescriptors | , | ||
MinD | |||
) |
All these attributes refer to minimum values of descriptors across frames in the segment.
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 3 | , |
public | , | ||
FrameDescriptors | , | ||
VarianceD | |||
) |
All these attributes refer to the variance of descriptors across frames in the segment.
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 4 | , |
public | , | ||
TData | , | ||
Fundamental | |||
) |
Mean value for fundamental across all frames.
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 5 | , |
public | , | ||
AudioDescriptors | , | ||
AudioD | |||
) |
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 6 | , |
public | , | ||
Array< FrameDescriptors > | , | ||
FramesD | |||
) |
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 7 | , |
public | , | ||
MorphologicalSegmentDescriptors | , | ||
MorphologicalSegmentD | |||
) |
Mean value for fundamental across all frames.
Morphological descriptors still not computable in CLAM
CLAM::SegmentDescriptors::DYN_ATTRIBUTE | ( | 8 | , |
public | , | ||
List< SegmentDescriptors > | , | ||
ChildrenD | |||
) |
Children.
CLAM::SegmentDescriptors::DYNAMIC_TYPE_USING_INTERFACE | ( | SegmentDescriptors | , |
9 | , | ||
Descriptor | |||
) |
|
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 | ) |
Definition at line 52 of file SegmentDescriptors.cxx.
References CLAM_ASSERT, CLAM::Segment::GetFrame(), CLAM::Segment::GetnFrames(), CLAM::StatsTmpl< abs, T, U, initOrder >::SetArray(), and CLAM::DynamicType::UpdateData().