How to display c matrix shown below?

3 vues (au cours des 30 derniers jours)
juveria fatima
juveria fatima le 18 Sep 2018
Réponse apportée : KSSV le 18 Sep 2018
>> 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

Réponses (1)

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

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by