Use of wcodemat and wkeep ?
Show older comments
sz=size(input image);
LL3 = wcodemat(a3,ncolors,'m',X); LL3 = wkeep(LL3, sz/8);
HL3 = wcodemat(h3,ncolors,'m',X); HL3 = wkeep(HL3, sz/8);
LH3 = wcodemat(v3,ncolors,'m',X); LH3 = wkeep(LH3, sz/8);
HH3 = wcodemat(d3,ncolors,'m',X); HH3 = wkeep(HH3, sz/8);
By using wkeep will my input image's information be lost?
Accepted Answer
More Answers (1)
Wayne King
on 8 Aug 2013
Edited: Wayne King
on 8 Aug 2013
0 votes
Yes, in the sense that the inverse wavelet transform will no longer work. By using wkeep() you are removing elements of the detail images.
The same is true of using wcodemat() which is really just for display.
Categories
Find more on Wavelet Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!