how to get output image after performing IWT
7 views (last 30 days)
Show older comments
I performed IWT on 3D image,the code is
LS = liftwave('db4','Int2Int');
X = my input image
[CA,CH,CV,CD] = lwt2(X,LS);
X1 = ilwt2(CA,CH,CV,CD,LS);
isequal(X,X1)
how to get that IWT image ,can anyone tell please
0 Comments
Answers (1)
Walter Roberson
on 30 Sep 2011
I do not know enough about wavelets to know what you mean by "get that IWT image" or "get output image". What kind of output were you hoping to obtain?
Looking around, it appears to me that a plausible answer for you is:
Instead of creating separate outputs, create a combined output:
liftedImage = lwt2(X,LS);
Then, you can display each pane separately:
ax1 = subplot(1,3,1);
surf(ax1, liftedImage(:,:,1));
title(ax1, 'Lifted red pane');
ax2 = subplot(1,3,2);
surf(ax2, liftedImage(:,:,2));
title(ax2, 'Lifted green pane');
ax3 = subplot(1,3,3);
surf(ax3, liftedImage(:,:,3));
title(ax3, 'Lifted blue pane');
I could, of course, be completely off-base as to what you want. Perhaps you want to use image() instead of surf() ?
5 Comments
Walter Roberson
on 30 Sep 2011
Okay, then use surf() to look at the data.
Please indicate min(liftedImage(:)) and max(liftedImage(:))
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!