Three-level Daubechies wavelet transform?

i would like to perform Three-level Daubechies wavelet transform on an input image. i try to for the answer but i dint get the answer. can any one tell me how to get this kind of image
this is an exapmle given in an matlab help
load woman;
% X contains the loaded image.
% map contains the loaded colormap.
nbcol = size(map,1);
% Perform single-level decomposition
% of X using db1.
[cA1,cH1,cV1,cD1] = dwt2(X,'db1');
% Images coding.
cod_X = wcodemat(X,nbcol);
cod_cA1 = wcodemat(cA1,nbcol);
cod_cH1 = wcodemat(cH1,nbcol);
cod_cV1 = wcodemat(cV1,nbcol);
cod_cD1 = wcodemat(cD1,nbcol);
dec2d = [ cod_cA1, cod_cH1;
cod_cV1, cod_cD1];
imshow(dec2d,[])
1) how he get Map i.e [i.e which color map like hsv or gray or bones....],
2) how to perform for 2 or 3 or 4 level decomposition. { i know i just need to change from db1 to db2 or ...... but when i am displaying my result its just a weight colored image }...
Please help me.............

 채택된 답변

Wayne King
Wayne King 2013년 12월 28일

0 개 추천

Have you tried this using
>>dw2dtool
That will allow you to interactively do exactly what you want

댓글 수: 5

sana
sana 2013년 12월 28일
no but i will try this............ Thanks a lot
sana
sana 2013년 12월 28일
this is an gui .
but i never used it.
Wayne King
Wayne King 2013년 12월 28일
Yes, just load your image
File -> Load
Or import from the workspace
Import from Workspace
Then choose your wavelet and level over on the top right.
Look at some of the examples under
File -> Example Analysis
sana
sana 2013년 12월 28일
thanks a lot.. last thing how could i extract the information?
Wayne King
Wayne King 2013년 12월 28일
Use File -> Export to Workspace

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2013년 12월 28일

댓글:

2013년 12월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by