comparison xtract/libxtract.h @ 123:efb1c1ae2ba8

- reimplemented xtract_spectral_variance() xtract_spectral_skewness() and xtract_spectral_kurtosis() using correct maths - removed xtract_spectral_average_deviation()
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 30 Mar 2011 10:51:39 +0000
parents 6c5ece9cba3a
children e4f704649c50
comparison
equal deleted inserted replaced
122:571c53e87dbd 123:efb1c1ae2ba8
66 * 66 *
67 * Defines a very simple API that provides access to the functions in the library 67 * Defines a very simple API that provides access to the functions in the library
68 * @{ 68 * @{
69 */ 69 */
70 70
71 #define XTRACT_FEATURES 60 71 #define XTRACT_FEATURES 59
72 72
73 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */ 73 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
74 enum xtract_features_ { 74 enum xtract_features_ {
75 XTRACT_MEAN, 75 XTRACT_MEAN,
76 XTRACT_VARIANCE, 76 XTRACT_VARIANCE,
79 XTRACT_SKEWNESS, 79 XTRACT_SKEWNESS,
80 XTRACT_KURTOSIS, 80 XTRACT_KURTOSIS,
81 XTRACT_SPECTRAL_MEAN, 81 XTRACT_SPECTRAL_MEAN,
82 XTRACT_SPECTRAL_VARIANCE, 82 XTRACT_SPECTRAL_VARIANCE,
83 XTRACT_SPECTRAL_STANDARD_DEVIATION, 83 XTRACT_SPECTRAL_STANDARD_DEVIATION,
84 XTRACT_SPECTRAL_AVERAGE_DEVIATION, 84 /*XTRACT_SPECTRAL_AVERAGE_DEVIATION, */
85 XTRACT_SPECTRAL_SKEWNESS, 85 XTRACT_SPECTRAL_SKEWNESS,
86 XTRACT_SPECTRAL_KURTOSIS, 86 XTRACT_SPECTRAL_KURTOSIS,
87 XTRACT_SPECTRAL_CENTROID, 87 XTRACT_SPECTRAL_CENTROID,
88 XTRACT_IRREGULARITY_K, 88 XTRACT_IRREGULARITY_K,
89 XTRACT_IRREGULARITY_J, 89 XTRACT_IRREGULARITY_J,