MATLAB: When I run the following code image() command is not displaying any thing. It is showing blank figure window. Can I know the reason

image display

clc;
clear all;
close all;
i = imread('C:\Documents and Settings\ece13401\My Documents\noise.jpg');
wname = 'bior6.8';
level = 3;
sorh = 's';
[coefs,sizes] = wavedec2(i,level,wname);
thr=wthrmngr('dw2ddenoLVL','penalhi',coefs,sizes,3);
[XDEN,cfsDEn,dinCFS]=wdencmp('lvd',coefs,sizes,wname,level,thr,sorh);
image(XDEN);

Best Answer

Try
imshow(XDEN, []);
Related Question