MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]急!!!!!!!关于图片消噪 (https://www.labfans.com/bbs/showthread.php?t=5834)

sqqssqq 2008-12-14 12:58

[求助]急!!!!!!!关于图片消噪
 
要将以个加了高斯噪声的图片进行中值滤波要怎么做?请高手说说下

sqqssqq 2008-12-14 13:05

回复: [求助]急!!!!!!!关于图片消噪
 
I=imread('football.tif');
J=imnoise(I,'salt & pepper',0.02);
K=filter2(fspecial('average',3),J)/255;
inshow(K)
这是我写的加了椒盐噪声和均平处理可由错误,哪位大虾看看!!!
??? Undefined function or method 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.

Error in ==> filter2 at 73
y = conv2(hcol, hrow, x, shape);

Error in ==> Untitled3 at 3
K=filter2(fspecial('average',3),J)/255;
后面的是错误提示


所有时间均为北京时间。现在的时间是 11:27

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.