Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
how to get desired frequency spectrum after dwt? i am executing the code below. after this code i want to work on LL,HL,HH, and Lh bans saperately but i am not getting how to access them.
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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');% get db filter length 6
% first dwt [N, M]=size(imData); 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');
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!