CLAM-Development
1.1
|
#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) |
Definition at line 41 of file SegmentDescriptors.hxx.
CLAM::SegmentDescriptors::SegmentDescriptors | ( | Segment * | pSegment | ) |
Definition at line 28 of file SegmentDescriptors.cxx.
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] |
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.
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 | ) |
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().