decomposition using dwt2
Ältere Kommentare anzeigen
Hi, I want the 1 level decomposition of a ct scan which is a grayscale image. However, when I apply the following algorithm, the decomposed images are seen somewhat dark blue and red. Can anyone tell me the reason and how do i get it in grayscale? [ct,map]=imread('ct1.bmp'); sz = size(map,1); [cA1,cH1,cV1,cD1] = dwt2(ct,'db5'); cA=wcodemat(cA1,sz); cH=wcodemat(cH1,sz); cV=wcodemat(cV1,sz); cD=wcodemat(cD1,sz); image(cA); image(cH); image(cV); image(cD); %figure, image(cA); %figure, image(cH); %figure, image(cV); %figure, image(cD); %figure, image(cA1); dec=[cA,cH; cV,cD]; image(dec);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Wavelet Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!