function varargout = one(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @one_OpeningFcn, ...
'gui_OutputFcn', @one_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if 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 one is made visible.
function one_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to one (see VARARGIN)
% Choose default command line output for one
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes one wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = one_OutputFcn(hObject, eventdata, 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 command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
axes(handles.axes1);
[filename,pathname]=uigetfile({'*.jpg;*.png;*.jfif'},'Select RGB image','pick an image');
file=strcat(pathname,filename);
I=imread(file);
imshow(I);
handles.img=I;
guidata(hObject,handles);
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% [filename,pathname] = uigetfile({'*.*';'*.jpg';'*.bmp';'*.gif';'*.png';'*.tif'},'Read Pic');
% str = [pathname,filename];
% global src_img;
% if ~isequal([pathname,filename],[0,0])
% src_img = imread(str);
guidata(hObject,handles);
axes(handles.axes2);
global In;
imshow(In);
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu1 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu1
var=get(handles.popupmenu1,'value');
axes(handles.axes2);
I=handles.img;
global In;
switch var
case 1
In = RemoveFogByGlobalHisteq(I, flag);
case 2
In = RemoveFogByLocalHisteq(I , flag);
case 3
In = RemoveFogByRetinex(I, flag);
guidata(hObject,handles);
end
% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu1 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
《项目介绍》 图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip 图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip 图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip 图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip 【注】 1.项目代码均经过功能验证ok,确保稳定可靠运行。欢迎下载使用体验! 2.主要针对各个计算机相关专业,包括计算机科学、信息安全、数据科学与大数据技术、人工智能、通信、物联网等领域的在校学生、专业教师、企业员工。 3.项目具有丰富的拓展空间,不仅可作为入门进阶,也可直接作为毕设、课程设计、大作业、初期项目立项演示等用途。 4.当然也鼓励大家基于此进行二次开发。在使用过程中,如有问题或建议,请及时沟通。 5.期待你能在项目中找到乐趣和灵感,也欢迎你的分享和反馈!
资源推荐
资源详情
资源评论
收起资源包目录
图像处理作业-基于matlab实现图像去雾项目源码+详细注释.zip (17个子文件)
RemoveFogByLocalHisteq.m 886B
RemoveFogByGlobalHisteq.m 604B
介绍.md 33B
RGB.jpg 33KB
one.m 4KB
RemoveFogByRetinex.m 2KB
code—project
RemoveFogByLocalHisteq.m 886B
RemoveFogByGlobalHisteq.m 604B
介绍.md 33B
RGB.jpg 33KB
one.m 4KB
RemoveFogByRetinex.m 2KB
one.fig 42KB
GetLocalHisteq.m 99B
one.fig 42KB
code—project.zip 78KB
GetLocalHisteq.m 99B
共 17 条
- 1
资源评论
- djqi7215212024-03-15非常有用的资源,可以直接使用,对我很有用,果断支持!
.whl
- 粉丝: 3960
- 资源: 4908
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 服装销售平台源代码.zip
- 高校心理教育辅导设计与实现.zip
- 服装生产管理系统源代码.zip
- 3b123中学生日常行为评分管理系统_springboot+vue.zip
- 3b125流浪狗领养管理_springboot+vue.zip
- 3b124电影推荐系统_springboot+vue.zip
- 购物推荐网站源代码.zip
- 技术交流和分享平台源代码.zip
- 基于B2B平台的医疗病历交互系统源代码.zip
- 3b127旅游网站设计_springboot+vue0.zip
- 3b126小说网站系统_springboot+vue.zip
- 教师工作量管理系统源代码.zip
- 俱乐部管理系统源代码.zip
- 兼职网源代码.zip
- 美容院管理系统源代码.zip
- 旅游网站源代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功