XXXXXXXX大学xxxxxxxUniversityxxXXXXXXXXXXX毕业设计专业:xxxxxxxxxxx班级学号:xxxxxxxxxx学生姓名:xxxxxxxxx指导教师:xxxxxx教授二○一一年六月xxxxxxxxxx大学本科生毕业设计图像处理演示实验MATLAB平台制作MakingPlatformforImageProcessingDemonstrationExperiment专业班级:xxxxxxxxx学生姓名:xxxxxxxxx指导教师:xxxxx教授系别:xxxxxxxxx2011年6月I摘要图形用户界面的广泛流行是当今计算机技术的重大成就之一,它极大地方便了非专业用户的使用,人们不再需要死记硬背大量的命令,而可以通过窗口、菜单方便的进行操作。图形用户界面(GUI)在MATLAB程序开发中起着举足轻重的作用。一个好的界面不仅有利于用户快速掌握程序的操作流程,有效地使用程序,也有利于开发者展示MATLAB平台下的开发技术。GUI在科研实践和工程实践中有着广泛的应用,尤其是在图形处理技术、人工智能技术等方面。图像增强是一类基本的图像处理技术,其目的是对图像进行加工,以得到对具体应用来说视觉效果更“好”、更“有用”的图像。在图像增强中可进行如下处理:提高对比度、增加亮度、改善颜色效果等——通常与改善视觉效果相一致。随着计算机与信息技术的高速发展,数字图像处理技术也得到快速的发展,目前已成为计算机科学、医学、生物学、工程学、信息科学等领域各学科之间学习和研究的对象。本设计的GUI实现了对图像处理实验的演示,主要功能有:图像灰度处理,图像取反,直方图均衡和直方图统计,截图,图像缩放,亮度、对比度调节,几种噪声的添加与滤除,边缘信息检测,图像变形等。关键词:图形用户界面;数字图像;图像处理IIABSTRACTGraphicaluserinterfaceiswidespreadincomputertechnologywhichisoneofthemajorachievements,whichgreatlyfacilitatetheuseofnonprofessionalusers,thatpeoplenolongerneedtobememorizedalargenumberoforders,andthroughthewindow,themenuforoperations.Thegraphicaluserinterface(GUI)matlabapplicationdevelopmentinplayingaveryimportantrole.Agoodinterfaceisnotonlyconducivetotheuserquicklyinoperatingproceduresandeffectivelyusetheprogram,butalsobeneficialtothedevelopersmatlabplatformstodisplaythedevelopmentoftechnology.GUIinscientificresearchandengineeringpractice,practiceiswidelyused,especiallyinthegraphicprocessingtechnologyandtechnicalaspects.Imagesenhanceisabasicimageprocessingtechonlogy,theaimistogettowork,forspecificapplicationsforvisualeffectismore“good”andmore“useful”image.Theincreaseintheprocessingcanenhancecontrast:toincreasebrightnessandcoloreffect—withtheimprovementinthevisualeffect.Ascomputersandinformationtechnologyisdevelopingatbreakneckspeed,thedigitalimagingtechnologyhavealsobeenrapiddevelopment,hansbecomeacomputerscience,biologyormedicalscienceandengineering,informationonthesubjectareabetweentheobjectofstudyandresearch.ThisdesignoftheGUIrealizetheexperimentaldemonstrationofimageprocessing,themainfunctionsare:gray-scaleimageprocessing,imagenegative,histogramequalizationandhistogramstatistics,screenshots,imagezoom,adjustmentofbrightnessandcontrast,additionandfilteringofsomenoise,edgeinformationdetection,imagedeformation,etc.KeyWords:graphicaluserinterface;digitalimage;imageprocessing目录1引言................................................................................................................................12总体设计........................................................................................................................42.1总体外观..............................................................................................................42.2初始运行界面......................................................................................................42.3功能模块的显示与隐藏......................................................................................53菜单设计........................................................................................................................63.1菜单结构设计......................................................................................................63.2“文件”菜单设计..............................................................................................63.2.1打开文件...................................................................................................73.2.2保存文件...................................................................................................83.2.3退出...........................................................................................................93.3“编辑”菜单设计............................................................................................104图像处理功能设计......................................................................................................114.1基本操作............................................................................................................114.1.1还原.........................................................................................................114.1.2撤销.........................................................................................................114.2常用处理............................................................................................................124.2.1图像取反.................................................................................................124.2.2灰度处理.................................................................................................134.2.3直方图统计.............................................................................................154.2.4直方图均衡.............................................................................................164.2.5截图.........................................................................................................174.2.6亮度调节.................................................................................................184.3添加噪声............................................................................................................194.3.1椒盐噪声......