109 double* scratch =
new double[
m_length ];
117 for( j = 0; j < k; j++)
162 val = src[ i ] - scratch[ i ] -
m_delta;
190 double DFAlphaNorm = 0;
196 for(
unsigned int i = 0; i<
m_length; i++)
198 dst[ i ] = ( src[ i ] - DFMin ) / DFAlphaNorm;
DFProcess(DFProcConfig Config)
void removeDCNormalize(double *src, double *dst)
void medianFilter(double *src, double *dst)
void initialise(DFProcConfig Config)
FilterConfig m_FilterConfigParams
double * m_filtScratchOut
void process(double *src, double *dst)
Zero-phase digital filter, implemented by processing the data through a filter specified by the given...
void process(double *src, double *dst, unsigned int length)
static void getAlphaNorm(const double *data, unsigned int len, unsigned int alpha, double *ANorm)
static double median(const double *src, unsigned int len)
Return the median of the values in the given array of the given length.
static void getFrameMinMax(const double *data, unsigned int len, double *min, double *max)
Return through min and max pointers the highest and lowest values in the given array of the given len...