wavelib/header/denoise.h

31 lines
673 B
C
Raw Normal View History

2017-08-07 09:10:11 +08:00
/*
Copyright (c) 2017, Rafat Hussain
*/
#ifndef DENOISE_H_
#define DENOISE_H_
#include "wavelib.h"
#ifdef __cplusplus
extern "C" {
#endif
2017-08-11 18:51:33 +08:00
//depends on J
2017-08-07 09:10:11 +08:00
void visushrink(double *signal,int N,int J,char *wname,char *method,char *ext,char *thresh,char *level,double *denoised);
2017-08-09 07:20:41 +08:00
void sureshrink(double *signal,int N,int J,char *wname,char *method,char *ext,char *thresh,char *level,double *denoised);
2017-08-07 09:10:11 +08:00
2017-08-24 20:44:49 +08:00
void getDWTRecCoeff(double *coeff,int *length,char *ctype,char *ext, int level, int J,double *lpr,
double *hpr,int lf,int siglength,double *reccoeff);
2017-08-07 09:10:11 +08:00
double mad(double *x, int N);
#ifdef __cplusplus
}
#endif
#endif /* DENOISE_H_ */