matlab如何给三维点云加入高斯噪声
1个回答
2017-09-28
展开全部
matlab如何给三维点云加入高斯噪声
使用imnoise函数
X=imread('D:\matlab7.1\toolbox\images\imdemos\greens.jpg');
Y=imnoise(X,'gaussian');%%默认均值为0,方差为0.01
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
A double-class image must have values between zero and one,这个问题是你的图像是double型,但是你的图像的数值不是0-1之间,给他除以255即可!
使用imnoise函数
X=imread('D:\matlab7.1\toolbox\images\imdemos\greens.jpg');
Y=imnoise(X,'gaussian');%%默认均值为0,方差为0.01
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
A double-class image must have values between zero and one,这个问题是你的图像是double型,但是你的图像的数值不是0-1之间,给他除以255即可!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询