commit : test->denoisetest for auxiliary

This commit is contained in:
Rafat Hussain
2017-08-22 14:42:57 +05:30
parent 1bde2f9824
commit 59bd91d4fa
7 changed files with 155 additions and 114 deletions

42
auxiliary/waux.h Normal file
View File

@@ -0,0 +1,42 @@
/*
* waux.h
*
* Created on: Aug 22, 2017
* Author: Rafat Hussain
*/
#ifndef AUXILIARY_WAUX_H_
#define AUXILIARY_WAUX_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include "../header/wavelib.h"
#ifdef __cplusplus
extern "C" {
#endif
int compare_double(const void* a, const void* b);
double median(double *x, int N);
double mad(double *x, int N);
int minindex(double *arr, int N);
void getDWTAppx(wt_object wt, double *appx,int N);
void getDWTDetail(wt_object wt, double *detail, int N, int level);
#ifdef __cplusplus
}
#endif
#endif /* AUXILIARY_WAUX_H_ */