基于小波變换的医学超声图像去噪方法研究程序.docVIP

  • 3
  • 0
  • 约8.25千字
  • 约 18页
  • 2016-11-27 发布于重庆
  • 举报

基于小波變换的医学超声图像去噪方法研究程序.doc

基于小波變换的医学超声图像去噪方法研究程序

I=imread(xian.bmp);subplot(2,2,1);imshow(I);title(原始图像); if ~isempty(size(I,3))y=rgb2gray(I);end subplot(2,2,2); imshow(y); title(原始灰度图像); J=imnoise(y,speckle); subplot(2,2,3); imshow(J); title(加噪后的图像); J=double(J); A=log(1+J); subplot(2,2,4); imshow(A,[]); title(对数变换后的图像);I=imread(xian.bmp); if ~isempty(size(I,3))y=rgb2gray(I);endsubplot(2,2,1);imshow(y);title(原始灰度图像);J=imnoise(y,speckle);subplot(2,2,2);imshow(J);title(加噪后的图像);[m,n]=size(J);J=double(J);k1=filter2(fspecial(average,3),J)/255;%3*3均值滤波k2=filter2(fspecial(average,7),J)/255;%7*7均值滤波subplot(2,2,3);imshow(k1, []);title(3*3均值滤波);subpl

文档评论(0)

1亿VIP精品文档

相关文档