mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-19 18:16:44 +00:00
commit : Minor changes
This commit is contained in:
parent
661432388d
commit
4b187b1e02
@ -7,7 +7,7 @@
|
|||||||
int main() {
|
int main() {
|
||||||
// gcc -Wall -I../header -L../Bin denoisetest.c -o denoise -ldenoiselib -lwavelib -lm
|
// gcc -Wall -I../header -L../Bin denoisetest.c -o denoise -ldenoiselib -lwavelib -lm
|
||||||
double *inp,*oup;
|
double *inp,*oup;
|
||||||
int i,N;
|
int i,N,J;
|
||||||
FILE *ifp,*ofp;
|
FILE *ifp,*ofp;
|
||||||
double temp[2400];
|
double temp[2400];
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ int main() {
|
|||||||
char *ext = "sym";
|
char *ext = "sym";
|
||||||
char *thresh = "soft";
|
char *thresh = "soft";
|
||||||
|
|
||||||
ifp = fopen("noisyheavisine.txt", "r");
|
ifp = fopen("noisybumps.txt", "r");
|
||||||
i = 0;
|
i = 0;
|
||||||
if (!ifp) {
|
if (!ifp) {
|
||||||
printf("Cannot Open File");
|
printf("Cannot Open File");
|
||||||
@ -31,6 +31,7 @@ int main() {
|
|||||||
fclose(ifp);
|
fclose(ifp);
|
||||||
|
|
||||||
N = i;
|
N = i;
|
||||||
|
J = 7;
|
||||||
|
|
||||||
inp = (double*)malloc(sizeof(double)* N);
|
inp = (double*)malloc(sizeof(double)* N);
|
||||||
oup = (double*)malloc(sizeof(double)* N);
|
oup = (double*)malloc(sizeof(double)* N);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user