Mercurial > hg > match-vamp
diff src/FeatureConditioner.h @ 116:eed5f9594268 refactors
Add OutputDerivative, for completeness, & make DistanceMetric cope with negative feature values
author | Chris Cannam |
---|---|
date | Fri, 05 Dec 2014 10:05:31 +0000 |
parents | dc9cc3278636 |
children | 96c2191a85cc 8e240bbea845 |
line wrap: on
line diff
--- a/src/FeatureConditioner.h Thu Dec 04 16:51:13 2014 +0000 +++ b/src/FeatureConditioner.h Fri Dec 05 10:05:31 2014 +0000 @@ -48,9 +48,13 @@ OutputFeatures, /** Output the half-wave rectified difference between the - * previous and current features instead of the straight - * feature values. */ + * previous and current features instead of the straight + * feature values. */ OutputRectifiedDerivative, + + /** Output the difference between the previous and current + * features instead of the straight feature values. */ + OutputDerivative, }; struct Parameters {