⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imgaliasexpo.m

📁 非常好的数字处理教程
💻 M
字号:
function varargout = imgaliasexpo(varargin)% IMGALIASEXPO M-file for imgaliasexpo.fig%      IMGALIASEXPO, by itself, creates a new IMGALIASEXPO or raises the existing%      singleton*.%%      H = IMGALIASEXPO returns the handle to a new IMGALIASEXPO or the handle to%      the existing singleton*.%%      IMGALIASEXPO('CALLBACK',hObject,eventData,handles,...) calls the local%      function named CALLBACK in IMGALIASEXPO.M with the given input arguments.%%      IMGALIASEXPO('Property','Value',...) creates a new IMGALIASEXPO or raises the%      existing singleton*.  Starting from the left, property value pairs are%      applied to the GUI before imgaliasexpo_OpeningFunction gets called.  An%      unrecognized property name or invalid value makes property application%      stop.  All inputs are passed to imgaliasexpo_OpeningFcn 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 imgaliasexpo% Last Modified by GUIDE v2.5 27-Apr-2004 19:06:05% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name',       mfilename, ...                   'gui_Singleton',  gui_Singleton, ...                   'gui_OpeningFcn', @imgaliasexpo_OpeningFcn, ...                   'gui_OutputFcn',  @imgaliasexpo_OutputFcn, ...                   'gui_LayoutFcn',  [] , ...                   'gui_Callback',   []);if nargin & isstr(varargin{1})    gui_State.gui_Callback = str2func(varargin{1});endif nargout    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});else    gui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDIT% --- Executes just before imgaliasexpo is made visible.function imgaliasexpo_OpeningFcn(hObject, eventdata, handles, varargin)	handles.output = hObject;	guidata(hObject, handles);	set(gcf,'UserData',handles);	imgaliasexpofn;if (nargin > 3)    datastruct = varargin{1};    imgaliasexpofn('readinput',datastruct);end% --- Outputs from this function are returned to the command line.function varargout = imgaliasexpo_OutputFcn(hObject, eventdata, handles)	varargout{1} = handles.output;% --------------------------------------------------------------------function FileMenu_Callback(hObject, eventdata, handles)% --------------------------------------------------------------------function OpenMenuItem_Callback(hObject, eventdata, handles)	imgaliasexpofn 'load';% --------------------------------------------------------------------function PrintMenuItem_Callback(hObject, eventdata, handles)	imgaliasexpofn 'print';% --------------------------------------------------------------------function CloseMenuItem_Callback(hObject, eventdata, handles)	imgaliasexpofn 'close';% --- Executes on button press in inverse.function inverse_Callback(hObject, eventdata, handles)	imgaliasexpofn 'inverse';% --- Executes on button press in print.function print_Callback(hObject, eventdata, handles)	imgaliasexpofn 'print';% --- Executes during object creation, after setting all properties.function downsample_CreateFcn(hObject, eventdata, handles)% hObject    handle to downsample (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in downsample.function downsample_Callback(hObject, eventdata, handles)	imgaliasexpofn 'downsample';% --- Executes during object creation, after setting all properties.function kernel_size_CreateFcn(hObject, eventdata, handles)if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on button press in scale.function scale_Callback(hObject, eventdata, handles)	imgaliasexpofn 'scale';% --- Executes on button press in zoomreset.function zoomreset_Callback(hObject, eventdata, handles)	imgaliasexpofn 'zoom_reset';% --- Executes during object creation, after setting all properties.function filtertag_CreateFcn(hObject, eventdata, handles)% hObject    handle to filtertag (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --------------------------------------------------------------------function save_Callback(hObject, eventdata, handles)	imgaliasexpofn 'save';% --- Executes on button press in horizontal.function horizontal_Callback(hObject, eventdata, handles)	set(handles.vertical,'Value',0);	set(handles.kernel,'Value',0);	imgaliasexpofn 'downsample';% --- Executes on button press in vertical.function vertical_Callback(hObject, eventdata, handles)	set(handles.horizontal,'Value',0);	set(handles.kernel,'Value',0);	imgaliasexpofn 'downsample';% --- Executes on button press in kernel.function kernel_Callback(hObject, eventdata, handles)	set(handles.horizontal,'Value',0);	set(handles.vertical,'Value',0);	imgaliasexpofn 'downsample';% --- Executes during object creation, after setting all properties.function colormap_CreateFcn(hObject, eventdata, handles)% hObject    handle to colormap (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in colormap.function colormap_Callback(hObject, eventdata, handles)% hObject    handle to colormap (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') returns colormap contents as cell array%        contents{get(hObject,'Value')} returns selected item from colormap    imgaliasexpofn 'colormap';% --- Executes on button press in checkbox5.function checkbox5_Callback(hObject, eventdata, handles)% hObject    handle to checkbox5 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of checkbox5% --- Executes on button press in inversecolor.function inversecolor_Callback(hObject, eventdata, handles)% hObject    handle to inversecolor (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of inversecolor    imgaliasexpofn 'inversecolor';% --- Executes on button press in plot.function plot_Callback(hObject, eventdata, handles)% hObject    handle to plot (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    imgaliasexpofn 'plot';% --------------------------------------------------------------------function help_Callback(hObject, eventdata, handles)% hObject    handle to help (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    imgaliasexpofn 'help';% --- Executes on button press in keepsize.function keepsize_Callback(hObject, eventdata, handles)% hObject    handle to keepsize (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of keepsize	imgaliasexpofn 'downsample';% --- Executes on button press in antialias.function antialias_Callback(hObject, eventdata, handles)% hObject    handle to antialias (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of antialias	imgaliasexpofn 'downsample';% --------------------------------------------------------------------function Untitled_1_Callback(hObject, eventdata, handles)% hObject    handle to Untitled_1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function imgfilterexpo_Callback(hObject, eventdata, handles)% hObject    handle to imgfilterexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	imgaliasexpofn 'imgfilterexpo';% --------------------------------------------------------------------function imgspecexpo_Callback(hObject, eventdata, handles)% hObject    handle to imgspecexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	imgaliasexpofn 'imgspecexpo';

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -