matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI

上传人:hs****ma 文档编号:433171555 上传时间:2023-03-19 格式:DOC 页数:60 大小:147.50KB
返回 下载 相关 举报
matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI_第1页
第1页 / 共60页
matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI_第2页
第2页 / 共60页
matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI_第3页
第3页 / 共60页
matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI_第4页
第4页 / 共60页
matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI_第5页
第5页 / 共60页
点击查看更多>>
资源描述

《matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI》由会员分享,可在线阅读,更多相关《matlab毕业编程【谷速软件】动态轮廓地实施和测试平台地GUI(60页珍藏版)》请在金锄头文库上搜索。

1、wordfunction varargout = ActiveCountorsGUI(varargin)% ACTIVECOUNTORSGUI, by itself, creates a new ACTIVECOUNTORSGUI or raises the existing% singleton*.% H = ACTIVECOUNTORSGUI returns the handle to a new ACTIVECOUNTORSGUI or the handle to% the existing singleton*.% ACTIVECOUNTORSGUI(CALLBACK,hObject,

2、eventData,handles,.) calls the local% function named CALLBACK in ACTIVECOUNTORSGUI.M with the given input arguments.% ACTIVECOUNTORSGUI(Property,Value,.) creates a new ACTIVECOUNTORSGUI or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before Ac

3、tiveCountorsGUI_OpeningFunction gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to ActiveCountorsGUI_OpeningF via varargin.% *See GUI Options on GUIDEs Tools menu. Choose GUI allows only one% instance to run (singleton).% See also:

4、 GUIDE, GUIDATA, GUIHANDLES% Edit the above NoiseLambdaText to modify the response to help ActiveCountorsGUI% Last Modified by GUIDE v2.5 28-Jun-2011 11:26:19% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct(gui_Name, mfilename, . gui_Singleton, gui_Singleton, . gui_Openi

5、ngF, ActiveCountorsGUI_OpeningF, . gui_OutputF, ActiveCountorsGUI_OutputF, . gui_LayoutF, , . gui_Callback, );if nargin & ischar(varargin1) gui_State.gui_Callback = str2func(varargin1);endif nargout varargout1:nargout = gui_mainf(gui_State, varargin:);else gui_mainf(gui_State, varargin:);end% End in

6、itialization code - DO NOT EDIT% - Executes just before ActiveCountorsGUI is made visible.function ActiveCountorsGUI_OpeningF(hObject, eventdata, handles, varargin)% This function has no output args, see OutputF.% hObject handle to figure% eventdata reserved - to be defined in a future version of MA

7、TLAB% handles structure with handles and user data (see GUIDATA)% varargin mand line arguments to ActiveCountorsGUI (see VARARGIN)% Choose default mand line output for ActiveCountorsGUIhandles.output = hObject;% subplot(Position,0.29,0.12,0.79,0.79);X=zeros(300,250,3);X(:,:,2)=200;imshow(uint8(X),Pa

8、rent,handles.Axes);txt_hndl=zeros(1,2);txt_hndl(1)=text(20,146,Wele to our GUI!,. ,1. Choose image file for segmentation, using Load Image File button.,. ,2. Choose noise model parameters in , Noise Model panel.,. ,3. Choose the Gaussian blur filter Sigma value in , Blur denoise panel.,. ,4. Choose

9、the color space and colr element in , Color space panel.,. ,5. Choose the contour based segmentation algorithm , to apply and set desired algorithm parameters.,. ,6. Choose your display settings in the, Display Menu panel.,. ,7. Choose refresh rate of displayed images, and save rate of saved images.

10、,. ,8. Choose output path for saved images during, algorithm application (default - current directory).,. ,9. Finally, press Run below, and enjoy the magic.,. FontSize,12); txt_hndl(2)=text(50,308,copyright Nikolay S. & Alex B.,FontSize,10,FontAngle,italic,Color,r); set(txt_hndl,Units,Normalized);se

11、t(txt_hndl,FontUnits,Normalized);% Update handles structureguidata(hObject, handles);% UIWAIT makes ActiveCountorsGUI wait for user response (see UIRESUME)% uiwait(handles.GUIfig);% - Outputs from this function are returned to the mand line.function varargout = ActiveCountorsGUI_OutputF(hObject, eve

12、ntdata, handles) % varargout cell array for returning output args (see VARARGOUT);% hObject handle to figure% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Get default mand line output from handles structurevarargout1 =

13、handles.output;% - Executes during object creation, after setting all properties.function GUIfig_CreateF(hObject, eventdata, handles)% hObject handle to GUIfig (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFs c

14、alled% - Executes on button press in ShowContour.clc;clear all;warning off;fprintf(%snn,Active Contours GUI started.); % - Executes on selection change in popupmenu2.function popupmenu2_Callback(hObject, eventdata, handles)% hObject handle to popupmenu2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,String) retu

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号