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

📄 main.m

📁 A matlab gui for basic image processing operations
💻 M
📖 第 1 页 / 共 3 页
字号:
% --------------------------------------------------------------------function unsharp_1_Callback(hObject, eventdata, handles)% hObject    handle to unsharp_1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)global choice;choice=7;set(handles.edit_un_alpha,'Enable','on');function edit_av_len_Callback(hObject, eventdata, handles)% hObject    handle to edit_av_len (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_av_len as text%        str2double(get(hObject,'String')) returns contents of edit_av_len as a double% --- Executes during object creation, after setting all properties.function edit_av_len_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_av_len (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_av_theta_Callback(hObject, eventdata, handles)% hObject    handle to edit_av_theta (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_av_theta as text%        str2double(get(hObject,'String')) returns contents of edit_av_theta as a double% --- Executes during object creation, after setting all properties.function edit_av_theta_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_av_theta (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_g_rows_Callback(hObject, eventdata, handles)% hObject    handle to edit_g_rows (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_g_rows as text%        str2double(get(hObject,'String')) returns contents of edit_g_rows as a double% --- Executes during object creation, after setting all properties.function edit_g_rows_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_g_rows (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_g_col_Callback(hObject, eventdata, handles)% hObject    handle to edit_g_col (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_g_col as text%        str2double(get(hObject,'String')) returns contents of edit_g_col as a double% --- Executes during object creation, after setting all properties.function edit_g_col_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_g_col (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_g_sigma_Callback(hObject, eventdata, handles)% hObject    handle to edit_g_sigma (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_g_sigma as text%        str2double(get(hObject,'String')) returns contents of edit_g_sigma as a double% --- Executes during object creation, after setting all properties.function edit_g_sigma_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_g_sigma (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_disk_radius_Callback(hObject, eventdata, handles)% hObject    handle to edit_disk_radius (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_disk_radius as text%        str2double(get(hObject,'String')) returns contents of edit_disk_radius as a double% --- Executes during object creation, after setting all properties.function edit_disk_radius_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_disk_radius (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_log_sigma_Callback(hObject, eventdata, handles)% hObject    handle to edit_log_sigma (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_log_sigma as text%        str2double(get(hObject,'String')) returns contents of edit_log_sigma as a double% --- Executes during object creation, after setting all properties.function edit_log_sigma_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_log_sigma (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_log_col_Callback(hObject, eventdata, handles)% hObject    handle to edit_log_col (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_log_col as text%        str2double(get(hObject,'String')) returns contents of edit_log_col as a double% --- Executes during object creation, after setting all properties.function edit_log_col_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_log_col (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_log_rows_Callback(hObject, eventdata, handles)% hObject    handle to edit_log_rows (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_log_rows as text%        str2double(get(hObject,'String')) returns contents of edit_log_rows as a double% --- Executes during object creation, after setting all properties.function edit_log_rows_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_log_rows (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_l_alpha_Callback(hObject, eventdata, handles)% hObject    handle to edit_l_alpha (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_l_alpha as text%        str2double(get(hObject,'String')) returns contents of edit_l_alpha as a double% --- Executes during object creation, after setting all properties.function edit_l_alpha_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_l_alpha (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_m_rows_Callback(hObject, eventdata, handles)% hObject    handle to edit_m_rows (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_m_rows as text%        str2double(get(hObject,'String')) returns contents of edit_m_rows as a double% --- Executes during object creation, after setting all properties.function edit_m_rows_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_m_rows (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_m_col_Callback(hObject, eventdata, handles)% hObject    handle to edit_m_col (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_m_col as text%        str2double(get(hObject,'String')) returns contents of edit_m_col as a double% --- Executes during object creation, after setting all properties.function edit_m_col_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit_m_col (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit_un_alpha_Callback(hObject, eventdata, handles)% hObject    handle to edit_un_alpha (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit_un_alpha as text%        str2double(get(hObject,'String')) returns contents of edit_un_alpha as a double

⌨️ 快捷键说明

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