|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| std::vector< std::pair< size_t, size_t > > MayaFlux::Kinesis::Discrete::regions_around_positions | ( | const std::vector< size_t > & | positions, |
| size_t | half_region, | ||
| size_t | data_size | ||
| ) |
Build [start, end) intervals centred on a set of positions.
| positions | Sample indices of region centres |
| half_region | Radius in samples on each side |
| data_size | Total span length for clamping |
Definition at line 52 of file Extract.cpp.
Referenced by MayaFlux::Yantra::extract_onsets(), MayaFlux::Yantra::extract_peaks(), and MayaFlux::Yantra::extract_zero_crossings().
Here is the caller graph for this function: