Info
此问题已关闭。 请重新打开它进行编辑或回答。
i am getting a straight black line when i want to see the LL subband of the image. what to do to see the LL subband image after DWT
1 次查看(过去 30 天)
显示 更早的评论
code i am executing is\close all; clear all; imData=imread('lena256.bmp'); imshow(imData); title('Original image'); pause(2); map=gray(256);
n=1:256; x=sin((pi/64)*n)+0.01*(n-100);
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('bior5.5'); [N, M]=size(imData); % dwt in row dwt_row_image=zeros(N, M); tmpData=zeros(1, M); for i=1:N tmpData(1, 1:M)=imData(i, 1:M); tmpData(1, 1:M)=dwt(tmpData, Lo_R); dwt_row_image(i, 1:M)=tmpData(1, 1:M); end tmpData=zeros(1, N); dwt1_imData=zeros(N, M); for i=1:M tmpData(1, 1:N)=dwt_row_image(1:N, i)'; tmpData(1, 1:N)=dwt(tmpData, Lo_R); dwt1_imData(1:N, i)=tmpData(1, 1:N)'; end
figure(2); imshow(dwt1_imData, map); title(' After DWT');
imshow(Lo_D);
1 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!