aubio
0.3.2
|
Histogram function. More...
Go to the source code of this file.
Typedefs | |
typedef struct _aubio_hist_t | aubio_hist_t |
histogram object |
Functions | |
aubio_hist_t * | new_aubio_hist (smpl_t flow, smpl_t fhig, uint_t nelems, uint_t channels) |
histogram creation | |
void | del_aubio_hist (aubio_hist_t *s) |
histogram deletion | |
void | aubio_hist_do (aubio_hist_t *s, fvec_t *input) |
compute the histogram | |
void | aubio_hist_do_notnull (aubio_hist_t *s, fvec_t *input) |
compute the histogram ignoring null elements | |
smpl_t | aubio_hist_mean (aubio_hist_t *s) |
compute the mean of the histogram | |
void | aubio_hist_weigth (aubio_hist_t *s) |
weight the histogram | |
void | aubio_hist_dyn_notnull (aubio_hist_t *s, fvec_t *input) |
compute dynamic histogram for non-null elements |
Histogram function.
Big hacks to implement an histogram
aubio_hist_t* new_aubio_hist | ( | smpl_t | flow, |
smpl_t | fhig, | ||
uint_t | nelems, | ||
uint_t | channels | ||
) |
histogram creation
flow | minimum input |
fhig | maximum input |
nelems | number of histogram columns |
channels | number of channels |