Patching dual tree complex wavelet code. It works now...

This commit is contained in:
Emil Martinec
2012-01-27 20:57:47 -06:00
parent 325d8d1620
commit 163098df71
5 changed files with 264 additions and 489 deletions

View File

@@ -24,10 +24,15 @@ namespace rtengine {
cplx_wavelet_decomposition::~cplx_wavelet_decomposition()
{
for(int i = 0; i < lvltot; i++)
{
delete dual_tree_coeffs[i];
for(int i = 0; i < lvltot; i++) {
for (int j=0; j<4; j++) {
delete dual_tree_coeffs[i][j];
}
}
delete[] first_lev_anal;
delete[] first_lev_synth;
delete[] wavfilt_anal;
delete[] wavfilt_synth;
}
};