I just had my theory of wavelets complete and decided to test using matlab. However, I am not able to interpret the result of dwt2 and idwt2. When I used imshow to display my results, I did not get any image.
[ca,ch,cv,cd] = dwt2(I_gray,'haar');
I_regray = idwt2(ca,ch,cv,cd,'haar');
figure(1);
imshow(I_regray);
figure(2);
imshow(ca);
Both the figures are blank. I am not able to view my downscaled image as well. Could you please tell me the right way to view it? The matlab help speaks about some way of plotting. Am not getting it clear though. Please help me. My apologies if the question is rudimentary. Thanks in advance.