实验四、基于GUIDE的图像处理软件开发 实验目的 学****使用MATLAB GUIDE的基本操作。 以图像增强为例完成基本图像处理功能的回调函数编写。 实验主要仪器设备 台式机或笔记本电脑。 MATLAB软件(含GUIDE开发环境)。 实验原理 基于灰度直方图变换的图像增强。 灰度修正图像增强。 图像平滑滤波。 图像锐化处理。 实验容 直方图的计算及用直方图均衡原理增强图像。 线性灰度变换图像增强。 对受椒盐噪声污染的图像采用低通处理模板去燥。 对受椒盐噪声污染的图像采用中值滤波去噪。 对图像采用梯度算子和拉普拉斯算子进行锐化。 实验步骤 建立开发环境。 编写相关回调函数。 不断调试、优化,获得较满意的人机交互效果。 实验程序 function varargout = test4(varargin) % TEST4 MATLAB code for % TEST4, by itself, creates a new TEST4 or raises the existing % singleton*. % % H = TEST4 returns the handle to a new TEST4 or the handle to % the existing singleton*. % % TEST4('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in with the given input arguments. % % TEST4('Property','Value',...) creates a new TEST4 or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before test4_OpeningF gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to test4_OpeningF via varargin. % % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)". % % See also: GUIDE, GUIDATA, GUIHANDLES % Edit the above text to modify the response to help test4 % Last Modified by GUIDE 30-May-2017 17:23: