电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

医学图像处理实验

医学图像处理实验_第1页
1/14
医学图像处理实验_第2页
2/14
医学图像处理实验_第3页
3/14
实验一yq1I=imread('cameraman、tif');%读黑白图像subplot(2,2,1);imshow(I) %显示图像subplot(2,2,2);imhist(I) %显示直方图J=imadjust(I,[0、02 0、7],[0 1]);%对比度增强subplot(2,2,3);imshow(J)subplot(2,2,4);imhist(J)I1=imresize(I,0、5);imview(I1)%缩小I2=imresize(I,1、5);imview(I2)%放大I3=imrotate(I,45,'bilinear','crop');imview(I3)%旋转 45°%%原图、直方图 对比度增强、直方图%%缩小%%放大%%旋转 45°yq2I=imread('pears、png');imshow(I);I1=rgb2gray(I);%把彩色图像转换成灰度图像figure,imshow(I1);info= imfinfo('pears、png')%查询文件信息imwrite(I1,'D:\yq\小小、png'); %写图像info = :'C:\MATLAB7\toolbox\images\imdemos\pears、png': '03-May-2025 13:53:58': 554554Format: 'png'FormatVersion: []Width: 732Height: 486BitDepth: 24ColorType: 'truecolor'FormatSignature: [137 80 78 71 13 10 26 10]Colormap: []Histogram: []InterlaceType: 'none'Transparency: 'none'SimpleTransparencyData: []BackgroundColor: []RenderingIntent: []Chromaticities: []Gamma: []XResolution: []YResolution: []ResolutionUnit: []XOffset: []YOffset: []OffsetUnit: []SignificantBits: []ImageModTime:'20 Feb 2025 20:53:33 +0000'Title: []Author: []Description: []Copyright: 'Copyright Corel'CreationTime: []Software: []Disclaimer: []Warning: []Source: []Comment: []OtherText: []yq3[I,map]=imread('trees、tif');imshow(I,map)I1=ind2gray(I,map);%把索引色转换成灰度图像figure,imshow(I1,map)%%索引色图像%%灰度图像实验二yq4%%对比度调整I=imread('pout、tif');subplot(2,2,1);imshow(I);subplot(2,2,2);imhist(I);J=imadjust(I,[0、3 0、7],[0 1]);subplot(2,2,3);imshow(J);subplot(2,2,4);imhist(J);%%原图、直方图 对比度增强、直方图yq5%%直方图均衡化:I=imread('pout、tif');imshow(I);figure,imhist(I);[J,T]=histeq(I,64);figure,imshow(J);figure,imhist(J); yq6%%线性滤波得 MATLAB 实现I=imread('kids、tif');I1=imnoise(I,'salt & pepper',0、02);%加椒盐噪声K1=filter2(fspecial('average',3),I1)/255;K2=filter2(fspecial('average',5),I1)/255;K3=filter2(fspecial('average',7),I1)/255;subplot(2,2,1);imshow(I...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

医学图像处理实验

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部