CLAM-Development
1.4.0
|
#include <FrameDescriptors.hxx>
Public Member Functions | |
DYNAMIC_TYPE_USING_INTERFACE (FrameDescriptors, 10, Descriptor) | |
DYN_ATTRIBUTE (0, public, SpectralDescriptors, SpectrumD) | |
Spectrum analyzed from the Audio input. | |
DYN_ATTRIBUTE (1, public, SpectralPeakDescriptors, SpectralPeakD) | |
Vector of peaks in spectral analysis. | |
DYN_ATTRIBUTE (2, public, SpectralDescriptors, ResidualSpecD) | |
Residual spectrum of the Audio. | |
DYN_ATTRIBUTE (3, public, SpectralDescriptors, SinusoidalSpecD) | |
Sinusoidal spectrum of the Audio. | |
DYN_ATTRIBUTE (4, public, AudioDescriptors, AudioFrameD) | |
Audio chunk we want to analyze. | |
DYN_ATTRIBUTE (5, public, AudioDescriptors, SinusoidalAudioFrameD) | |
Sinusoidal synthesized Audio. | |
DYN_ATTRIBUTE (6, public, AudioDescriptors, ResidualAudioFrameD) | |
Residual synthesized Audio. | |
DYN_ATTRIBUTE (7, public, AudioDescriptors, SynthAudioFrameD) | |
Global synthesized Audio. | |
DYN_ATTRIBUTE (8, public, MorphologicalFrameDescriptors, MorphologicalFrameD) | |
Morphological descriptors. | |
DYN_ATTRIBUTE (9, public, TTime, CenterTime) | |
Frame Center Time is some times interesting to also have it in descriptors. | |
FrameDescriptors (Frame *pFrame) | |
FrameDescriptors (TData initVal) | |
const Frame * | GetpFrame () const |
void | SetpFrame (const Frame *pFrame) |
void | Compute () |
void | ConcreteCompute () |
TData | GetFundamental () |
![]() | |
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 43 of file FrameDescriptors.hxx.
CLAM::FrameDescriptors::FrameDescriptors | ( | Frame * | pFrame | ) |
Definition at line 32 of file FrameDescriptors.cxx.
CLAM::FrameDescriptors::FrameDescriptors | ( | TData | initVal | ) |
Definition at line 38 of file FrameDescriptors.cxx.
References CLAM::DynamicType::UpdateData().
|
virtual |
Reimplemented from CLAM::DescriptorTmpl< abs >.
Definition at line 105 of file FrameDescriptors.cxx.
References ConcreteCompute().
|
virtual |
Implements CLAM::DescriptorTmpl< abs >.
Definition at line 113 of file FrameDescriptors.cxx.
Referenced by Compute().
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 0 | , |
public | , | ||
SpectralDescriptors | , | ||
SpectrumD | |||
) |
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 1 | , |
public | , | ||
SpectralPeakDescriptors | , | ||
SpectralPeakD | |||
) |
Vector of peaks in spectral analysis.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 2 | , |
public | , | ||
SpectralDescriptors | , | ||
ResidualSpecD | |||
) |
Residual spectrum of the Audio.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 3 | , |
public | , | ||
SpectralDescriptors | , | ||
SinusoidalSpecD | |||
) |
Sinusoidal spectrum of the Audio.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 4 | , |
public | , | ||
AudioDescriptors | , | ||
AudioFrameD | |||
) |
Audio chunk we want to analyze.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 5 | , |
public | , | ||
AudioDescriptors | , | ||
SinusoidalAudioFrameD | |||
) |
Sinusoidal synthesized Audio.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 6 | , |
public | , | ||
AudioDescriptors | , | ||
ResidualAudioFrameD | |||
) |
Residual synthesized Audio.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 7 | , |
public | , | ||
AudioDescriptors | , | ||
SynthAudioFrameD | |||
) |
Global synthesized Audio.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 8 | , |
public | , | ||
MorphologicalFrameDescriptors | , | ||
MorphologicalFrameD | |||
) |
Morphological descriptors.
CLAM::FrameDescriptors::DYN_ATTRIBUTE | ( | 9 | , |
public | , | ||
TTime | , | ||
CenterTime | |||
) |
Frame Center Time is some times interesting to also have it in descriptors.
CLAM::FrameDescriptors::DYNAMIC_TYPE_USING_INTERFACE | ( | FrameDescriptors | , |
10 | , | ||
Descriptor | |||
) |
|
inline |
Definition at line 83 of file FrameDescriptors.hxx.
const Frame * CLAM::FrameDescriptors::GetpFrame | ( | ) | const |
Definition at line 61 of file FrameDescriptors.cxx.
void CLAM::FrameDescriptors::SetpFrame | ( | const Frame * | pFrame | ) |
Definition at line 65 of file FrameDescriptors.cxx.
References CLAM::DynamicType::UpdateData().