diff --git a/reconSpyr.m b/reconSpyr.m index fc9317f..270009d 100755 --- a/reconSpyr.m +++ b/reconSpyr.m @@ -91,6 +91,6 @@ %% residual highpass subband if any(levs == 0) - res = upConv( subMtx(pyr, pind(1,:)), hi0filt, edges, [1 1], [1 1], size(res), res); + upConv( subMtx(pyr, pind(1,:)), hi0filt, edges, [1 1], [1 1], size(res), res); end diff --git a/reconSpyrLevs.m b/reconSpyrLevs.m index e8db963..f8e456c 100755 --- a/reconSpyrLevs.m +++ b/reconSpyrLevs.m @@ -38,7 +38,7 @@ for b = 1:nbands if any(bands == b) bfilt = reshape(bfilts(:,b), bfiltsz, bfiltsz); - res = upConv(reshape(pyr(ind:ind+prod(res_sz)-1), res_sz(1), res_sz(2)), ... + upConv(reshape(pyr(ind:ind+prod(res_sz)-1), res_sz(1), res_sz(2)), ... bfilt, edges, [1 1], [1 1], res_sz, res); end ind = ind + prod(res_sz);