一、简介











二、源代码

function varargout = Lucy_Richadson(varargin)
% LUCY_RICHADSON M-file for Lucy_Richadson.fig
%      LUCY_RICHADSON, by itself, creates a new LUCY_RICHADSON or raises the existing
%      singleton*.
%
%      H = LUCY_RICHADSON returns the handle to a new LUCY_RICHADSON or the handle to
%      the existing singleton*.
%
%      LUCY_RICHADSON('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in LUCY_RICHADSON.M with the given input arguments.
%
%      LUCY_RICHADSON('Property','Value',...) creates a new LUCY_RICHADSON or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before Lucy_Richadson_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to Lucy_Richadson_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 Lucy_Richadson% Last Modified by GUIDE v2.5 22-May-2009 10:28:41% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...'gui_Singleton',  gui_Singleton, ...'gui_OpeningFcn', @Lucy_Richadson_OpeningFcn, ...'gui_OutputFcn',  @Lucy_Richadson_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{:});
elsegui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT% --- Executes just before Lucy_Richadson is made visible.
function Lucy_Richadson_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 Lucy_Richadson (see VARARGIN)
I = checkerboard(8);
axes(handles.axes1);
imshow(I);
PSF = fspecial('gaussian',7,10);
V = 0.0001;
noise = imnoise(imfilter(I,PSF),'gaussian',0,V);
axes(handles.axes2);
imshow(noise);
WT = zeros(size(I));
WT(5:end-4,5:end-4) = 1;
J = deconvlucy(noise,PSF,20,sqrt(V),WT);
axes(handles.axes3);
imshow(J);
set(handles.r_edit,'string',7);
set(handles.sig_edit,'string',10);
set(handles.m_edit,'string',0);
set(handles.v_edit,'string',0.0001);
% Choose default command line output for Lucy_Richadson
handles.output = hObject;% Update handles structure
guidata(hObject, handles);% UIWAIT makes Lucy_Richadson wait for user response (see UIRESUME)
% uiwait(handles.Lucy_Richadson);% --- Outputs from this function are returned to the command line.
function varargout = Lucy_Richadson_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 during object creation, after setting all properties.
function r_edit_CreateFcn(hObject, eventdata, handles)
% hObject    handle to r_edit (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 ispcset(hObject,'BackgroundColor','white');
elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
endfunction r_edit_Callback(hObject, eventdata, handles)
% hObject    handle to r_edit (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 r_edit as text
%        str2double(get(hObject,'String')) returns contents of r_edit as a double% --- Executes during object creation, after setting all properties.
function sig_edit_CreateFcn(hObject, eventdata, handles)
% hObject    handle to sig_edit (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 ispcset(hObject,'BackgroundColor','white');
elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
endfunction sig_edit_Callback(hObject, eventdata, handles)
% hObject    handle to sig_edit (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 sig_edit as text
%        str2double(get(hObject,'String')) returns contents of sig_edit as a double% --- Executes during object creation, after setting all properties.
function m_edit_CreateFcn(hObject, eventdata, handles)
% hObject    handle to m_edit (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 ispcset(hObject,'BackgroundColor','white');
elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
endfunction m_edit_Callback(hObject, eventdata, handles)
% hObject    handle to m_edit (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 m_edit as text
%        str2double(get(hObject,'String')) returns contents of m_edit as a double% --- Executes during object creation, after setting all properties.
function v_edit_CreateFcn(hObject, eventdata, handles)
% hObject    handle to v_edit (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 ispcset(hObject,'BackgroundColor','white');
elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
endfunction v_edit_Callback(hObject, eventdata, handles)
% hObject    handle to v_edit (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 v_edit as text
%        str2double(get(hObject,'String')) returns contents of v_edit as a double

三、运行结果

四、备注

版本:2014a

【图像修复】基于matlab GUI Lucy_Richardson迭代法图像修复【含Matlab源码 846期】相关推荐

  1. 【运动学】基于matlab GUI三体运动模拟【含Matlab源码 871期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[运动学]基于matlab GUI三体运动模拟[含Matlab源码 871期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: ...

  2. 【音乐播放】基于matlab GUI动感音乐播放【含Matlab源码 778期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[音乐播放]基于matlab GUI动感音乐播放[含Matlab源码 778期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: ...

  3. 【雷达通信】基于matlab GUI相控阵雷达方向图【含Matlab源码 1048期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[雷达通信]基于matlab GUI相控阵雷达方向图[含Matlab源码 1048期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方 ...

  4. 【数据分析】基于matlab GUI齿轮箱振动数据分析【含Matlab源码 2122期】

    一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[数据分析]基于matlab GUI齿轮箱振动数据分析[含Matlab源码 2122期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方 ...

  5. 【光学】基于matlab GUI维达尔之眼计算【含Matlab源码 2545期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[光学]基于matlab GUI维达尔之眼计算[含Matlab源码 2545期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: ...

  6. 【光学】基于matlab GUI双孔干涉【含Matlab源码 2119期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[光学]基于matlab GUI双孔干涉[含Matlab源码 2119期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: 付费 ...

  7. 【光学】基于matlab GUI双缝干涉和牛顿环【含Matlab源码 2165期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[光学]基于matlab GUI双缝干涉和牛顿环[含Matlab源码 2165期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2 ...

  8. 【数字信号】基于matlab GUI电话按键识别【含Matlab源码 2382期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[数字信号]基于matlab GUI电话按键识别[含Matlab源码 2382期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2 ...

  9. Matlab GUI/APP 浅谈(附计算器源码)

    Matlab GUI/APP 浅谈(附计算器源码) 今天没有什么段子,也没有心灵鸡汤.毒鸡汤啥的,纯粹聊一聊这些年从有关MATLAB GUI/APP开发中悟出的一点道理,顺便把计算器的源代码给大家. ...

  10. 【身份证识别】基于matlab GUI身份证号码识别【含Matlab源码 014期】

    ⛄一.身份证号码识别简介 1 引言 作为居民身份的象征,身份证是居民身份的唯一标识,它已成为生活中必不可少的证件.在火车站.酒吧等公共场所,流动人口大人员复杂,警察需要对公民的身份证进行核对,排除可疑 ...

最新文章

  1. Delphi 2009 泛型容器单元(Generics.Collections)[1]: TListT
  2. 《编写高质量代码:改善c程序代码的125个建议》——第1章 数据,程序设计之根本建议1:认识ANSI C...
  3. Distributed Systems笔记-NFS、AFS、GFS
  4. 终结 Python 原生字典?这个库要逆天改命了
  5. 在Visual Studio的Server Explorer中怎样修改表名
  6. 如何使用 jMeter CSV Data Set config
  7. UDP和TCP协议包大小的计算-转
  8. python中 r是什么意思_python中rb含义理解
  9. linux命令sort的用法,linux之sort命令的用法
  10. Android笔记 网络源代码浏览器demo
  11. CXF发布RestFul WebService和SOAP WebService
  12. 整合重组叠加市场扩容 “广电云”发展将提速
  13. UNIX-LINUX编程实践教程-第五章-实例代码注解-echostate.c
  14. 2019年下半年教师资格中学《综合素质》真题与参考答案
  15. node 常用 npm 命令
  16. Rmarkdown 报错:无法打开链接
  17. 【课程作业】西瓜书 机器学习课后习题 : 第五章
  18. canvas制作简单表格
  19. 千兆12光12电工业级环网交换机24口全千兆二层网管型机架式工业以太网交换机
  20. C#,图像二值化(16)——全局阈值的力矩保持算法(Moment-proserving Thresholding)及其源代码

热门文章

  1. 第一节:分布式文件系统(DFS,Distributed File System)
  2. Json类型的转化 及 JsonArray,JsonObject详解
  3. Java进阶之路,技术要点
  4. 2020-11-30 OpenCV人工智能图像处理学习笔记 第4章 计算机视觉加强之图像特效
  5. Python字符串学习
  6. Atitit 反模式 黑名单 异常处理 反模式(antipatterns) 目录 1.1. 记录并抛出(log and throw) 1 1.2. 抛出异常基类(Throwing Excepti
  7. Atitit 融合战略的艺术 目录 1.1. Os方向 uwp ms。。 1 1.2. Sdk 方向 。ms netcore 1 2. Netcore优点 1 2.1. .NET应用程序可以
  8. Atitit refact art 重构的艺术 目录 1. Concept 1 1.1. Bp 1 2. Prob 2 3. Tool 2 1.Concept 1. legacy code遗留代
  9. Atitit 提升开发进度大方法--高频功能与步骤的优化 类似性能优化
  10. Atitit 迭代法  “二分法”和“牛顿迭代法 attilax总结