I am having degraded image.here i need to separate high frequency information and low frequency information from the image by choosing different decomposition level from 1 to 8 and daubechies db8.
I have done like this but from this i can able to separate only low frequency information for 8 levels.
I=imread('img.jpg');
[Lo_D,Hi_D,Lo_R,Hi_R]=wfilters('db8');
[C,S]=wavedec2(I,8,Lo_D,Hi_D);
LF1=wrcoef2('a',C,S,'db8',1);
LF2=wrcoef2('a',C,S,'db8',2);
. .
LF8=wrcoef2('a',C,S,'db8',8);
imshow(uint8(LF1));
Does any one know how to extract high frequency information from the image or is any other method to do the same?
thank you
1 Comment
Chandra Shekhar (view profile)
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/65180-how-to-perform-wavelet-decomposition-hpf-and-lpf-on-image-separately#comment_132917
Sign in to comment.