Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-03-10
年龄: 38
帖子: 6
声望力: 0 ![]() |
![]()
我在做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; 有没有高手帮我改下 不胜感激 谢谢 |
![]() |
![]() |
![]() |
#2 |
高级会员
注册日期: 2008-11-01
年龄: 39
帖子: 406
声望力: 26 ![]() |
![]()
lz waveletcdf97( )这个函数不是MatLAB中的函数 前面应当没有错的
估计是这个函数的问题 把函数贴出来 大家一起讨论一下 |
![]() |
![]() |