[求助]分解出来全是黑色一片
			 
			 
			
		
		
		
			
			我在做lena256图像分解 为什么分解出来时一片黑色  显示的错误在Error in ==> F:\zhongyao\work\waveletgx.m 
On line 16  ==> Y = waveletcdf97(X,1);  % 1-stage transform of the intensity channel 
 
我的程序是clear,close all,clc 
ImageFile = 'lena256.bmp'; 
 
% Load the demo image, a photograph of a palm tree 
X = double(imread(ImageFile))/255; 
N = size(X); 
 
figure;  
subplot(2,1,1); 
imshow(X); 
axis image; axis off; 
title(sprintf('Original (%dx%d)',N(2),N(1))); 
drawnow; 
 
subplot(2,2,3); 
Y = waveletcdf97(X,1);  % 1-stage transform of the intensity channel 
imshow(abs(Y).^0.5); 
axis image; axis off; 
title('1-stage transform'); 
drawnow; 
 
subplot(2,2,4); 
Y = waveletcdf97(X,3);  % 3-stage transform 
imshow(abs(Y).^0.5); 
axis image; axis off; 
title('3-stage transform'); 
drawnow; 
 
有没有高手帮我改下 不胜感激   谢谢
		 
		
		
		
		
		
		
		
	 |