// file: discriminator.h #ifndef __DISCRIMINATOR_H #define __DISCRIMINATOR_H #include "Region.h" #include std::vector * discriminator( std::vector& input, // vector of floats, the discriminator acts on float thr = 5., // threshold bool clean = true, // choose here, if the discriminator should already discard Regions, which are assumend to sit on the predessesors falling edge int fallingEdge = 100, // number of slices, after the maximum, which should be discarded... bool debug = false ); int cleanRegionsOnFallingEdge ( std::vector &dest, std::vector &src, int fallingEdgeLen = 100, bool debug = false); #endif