How to display c matrix shown below?

2 次查看(过去 30 天)
juveria fatima
juveria fatima 2018-9-18
回答: KSSV 2018-9-18
>> I = imread('baboon.tiff'); %input image of size 512*512*3
E1 = encode(I);% this function will return 262144*8
t = wpdec2(E1,2,'db4');% apply wpdec2
cfs = wpcoef(t);% extract coefficients
c = reshape(cfs, 512, 512, 8);% reshaping it back to get E1
% now we wish to display c

回答(1 个)

KSSV
KSSV 2018-9-18
Simply typing c will display on the workspace.....but what's the use? Read about imagesc, imshow, pcolor.

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by