New and slightly modified Code. (Output dwtout.txt added)
This commit is contained in:
parent
a657292131
commit
a05f0ccd87
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include "wavelet2d.h" // Include wavelet2s.h if you are working with static library
|
#include "wavelet2d.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
@ -58,6 +58,11 @@ int main() {
|
|||||||
vector<int> length;
|
vector<int> length;
|
||||||
|
|
||||||
dwt_sym(sig, J, nm, dwt_output,flag,length);
|
dwt_sym(sig, J, nm, dwt_output,flag,length);
|
||||||
|
ofstream dwtout("dwtout.txt");
|
||||||
|
for (unsigned int i = 0; i < dwt_output.size(); i++){
|
||||||
|
dwtout << dwt_output[i] << endl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Perform J-Level IDWT
|
//Perform J-Level IDWT
|
||||||
|
Loading…
Reference in New Issue
Block a user