




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
福建农林大学计算机与信息学院实验报告课程名称:数字图像处理(双语)(Digital Image Processing)姓 名:系:计算机科学与技术专 业:计算机科学与技术年 级:2012级学 号:指导教师:职 称:副教授20142015学年下学期福建农林大学计算机与信息学院实验报告系: 计算机科学与技术 专业:计算机科学与技术 年级:2012级 姓名: 学号: 实验室号 田家炳510 计算机号实验时间:2015年5月 日 指导教师签字: 成绩: Experiment III Implement convolution filter to obtain image smoothing as well as edge enhancement (validated)(2 periods)ObjectiveGet fully understand of the notion of the convolution and its applications on image smoothing and enhancement MethodologyConvolute an image with different dedicated designed function to get image smoothing and image edge enhancement by means of MATLAB.Environment Hardware: General PC Operating system: Windows XP Calculating platform: MATLAB 6.5 or higher version jpg=imread(E:university数字图像处理实验3test.jpg); j=rgb2gray(jpg); imshow(j);加入乘性噪声: x=imnoise(xx,speckle,0.02); imshow(x);Experiment in detail:1Image smoothing with different size of spatial masksA. Image smoothing with arithmetic averaging filter (spatial convolution). h=ones(3,3)/9; hh = 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 x1=imfilter(x,h); subplot(121);imshow(x);title(原图); subplot(122);imshow(x1);title(经过(3*3)邻域平均后图); h1=ones(5,5)/25; h1h1 = 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 x2=imfilter(x,h1); subplot(121);imshow(x);title(原图); subplot(122);imshow(x2);title(经过(5*5)邻域平均后图);B. Make a comparison of noise reduction by both median filter and averaging filter. avgx=filter2(fspecial(average,5),x)/255; midx=medfilt2(x,5,5); subplot(131);imshow(x);title(原图); subplot(132);imshow(avgx);title(经过(5*5)均值滤波图); subplot(133);imshow(midx);title(经过(5*5)中值滤波图);2Edge enhancement by means of spatial filtering.A. Develop a program to implement a Gradient Mask to obtain edge of an object (in compare with the function provided by Matlab) subplot(231);imshow(j);title(原图); eSoble=edge(j,sobel); subplot(232);imshow(eSoble);title(Soble图); ePrewitt=edge(j,prewitt); subplot(233);imshow(ePrewitt);title(Prewitt图); eRobert=edge(j,roberts); subplot(234);imshow(eRobert);title(Robert图); eLog=edge(j,log); subplot(235);imshow(eLog);title(Log图); eCanny=edge(j,canny); subplot(236);imshow(eCanny);title(Canny图);B. Image enhancement with High-Boost Filtering Mask and compare with the result of the operation defined by equation subplot(131);imshow(j);title(原图); H=-1 -1 -1;-1 -9 -1;-1 -1 -1; xhigh=filter2(H,j); subplot(132);imshow(xhigh,);title(高通滤波); jdouble=double(j); M=1 1 1;1 1 1;1 1 1/9; xmask=double(xhigh); xmask2=filter2(M,xmask); xm=xmask-xmask2; subplot(133);imshow(xresult);title(掩膜处理);Experimental resultData in whatever chart, image and other form is required with explanati
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 广东环境保护工程职业学院《新零售管理》2023-2024学年第二学期期末试卷
- 教育游戏化的设计原则与实施策略研究
- 心理教学在提高学习动机中的作用研究
- 2025年中国智能摄像机市场调查研究及行业投资潜力预测报告
- 2021-2026年中国商用车变速器行业市场全景调研及投资规划建议报告
- 2023-2029年中国搭扣行业市场发展现状及投资战略咨询报告
- 2025-2030年中国不銹钢转鼓行业深度研究分析报告
- 2024年中国乙草胺市场竞争格局调查报告
- 中国园林铺装行业市场全景评估及投资前景展望报告
- 中国离心球墨铸铁管行业市场深度分析及投资策略咨询报告
- 江苏苏州工业园区苏相合作区管理委员会机关工作人员招聘13人告5204笔试题库含答案解析
- 三年级下学期音乐复习题
- 电网调度自动化系统调试报告模板
- 电梯维保考试经典试题
- 飞机应急设备检查与控制
- GA 1808-2022军工单位反恐怖防范要求
- 抖音底层逻辑与算法
- 钢铁厂应急预案
- 幼儿园幼小衔接美术:《流转的星月夜·梵高》 课件
- 硬式内窥镜的清洗与保养
- 2023-2024学年云南省大理市小学数学四年级下册期末通关测试题
评论
0/150
提交评论