医学图像处理实验.doc





《医学图像处理实验.doc》由会员分享,可在线阅读,更多相关《医学图像处理实验.doc(14页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、实验一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%原图、直方图 对比度
2、增强、直方图%缩小%放大%旋转45yq2I=imread(pears、png);imshow(I);I1=rgb2gray(I);%把彩色图像转换成灰度图像figure,imshow(I1);info= imfinfo(pears、png)%查询文件信息imwrite(I1,D:yq小小、png); %写图像info = :C:MATLAB7toolboximagesimdemospears、png: 03-May-2003 13:53:58: 554554Format: pngFormatVersion: Width: 732Height: 486BitDepth: 24ColorType:
3、 truecolorFormatSignature: 137 80 78 71 13 10 26 10Colormap: Histogram: InterlaceType: noneTransparency: noneSimpleTransparencyData: BackgroundColor: RenderingIntent: Chromaticities: Gamma: XResolution: YResolution: ResolutionUnit: XOffset: YOffset: OffsetUnit: SignificantBits: ImageModTime:20 Feb 2
4、003 20:53:33 +0000Title: Author: Description: Copyright: Copyright CorelCreationTime: Software: Disclaimer: Warning: Source: Comment: OtherText: yq3I,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
5、(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);
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 医学 图像 处理 实验

限制150内