Исследование алгоритмов устранения дефектов изображения

Заказать уникальную дипломную работу
Тип работы: Дипломная работа
Предмет: Матлаб
  • 5454 страницы
  • 16 + 16 источников
  • Добавлена 05.07.2016
3 000 руб.
  • Содержание
  • Часть работы
  • Список литературы
  • Вопросы/Ответы

ВВЕДЕНИЕ 2
1. Организация и способы представления изображений 4
1.1. Модель представления изображения 4
1.2. Основные форматы представления изображений 6
1.3. Общие принципы обработки изображений 12
1.4. Алгоритмы линейной фильтрации изображений 15
1.5. Выводы по разделу 17
2. Алгоритмы фильтрации и анализа изображений 18
2.1. Общие алгоритмы фильтрации изображений 18
2.2. Алгоритмы реконструкции изображений 24
2.3. Выводы по разделу 31
3. Инструментальные средства обработки изображений 33
3.1. Анализ инструментальных средств обработки изображений 33
3.2. Matlab как среда анализа и обработки изображений 34
3.3. Разработка программного комплекса устранения дефектов изображения 37
3.4. Вычислительный эксперимент и анализ результатов 45
3.5. Выводы по разделу 50
ЗАКЛЮЧЕНИЕ 51
СПИСОК ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ 52
ПРИЛОЖЕНИЕ 54

Фрагмент для ознакомления

An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to BlurFilter_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 BlurFilter% Last Modified by GUIDE v2.5 15-Apr-2016 17:52:59% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @BlurFilter_OpeningFcn, ... 'gui_OutputFcn', @BlurFilter_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 BlurFilter is made visible.function BlurFilter_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 BlurFilter (see VARARGIN)% Choose default command line output for BlurFilterhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes BlurFilter wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = BlurFilter_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 structurevarargout{1} = handles.output;% Обработчиксобытияfunction pushbutton1_Callback(hObject, eventdata, handles)global Image;global BlurredImage;global PSFglobal Index;% Длинаследаразмытияlength=get(handles.edit1,'String');length=eval(length);%Уголразмытияtheta=get(handles.edit2,'String');theta=eval(theta);%Генерация матрицы фильтра смазаPSF = fspecial('motion',length,theta);% Если выбран фильтр преобразованияif(Index==1)%ПреобразованиеизображенияBlurredImage=imfilter(Image,PSF,'full');%Выводизображенияfigure,imshow(BlurredImage);title('Смазанноеизображение');endfunction edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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');end% --- 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% --- 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');endfunction edit2_Callback(hObject, eventdata, handles)% hObject handle to edit2 (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 edit2 as text% str2double(get(hObject,'String')) returns contents of edit2 as a double% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject handle to edit2 (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');endGaussFilter.mfunction varargout = GaussFilter(varargin)% GAUSSFILTER MATLAB code for GaussFilter.fig% GAUSSFILTER, by itself, creates a new GAUSSFILTER or raises the existing% singleton*.%% H = GAUSSFILTER returns the handle to a new GAUSSFILTER or the handle to% the existing singleton*.%% GAUSSFILTER('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in GAUSSFILTER.M with the given input arguments.%% GAUSSFILTER('Property','Value',...) creates a new GAUSSFILTER or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before GaussFilter_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to GaussFilter_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 GaussFilter% Last Modified by GUIDE v2.5 15-Apr-2016 17:58:48% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @GaussFilter_OpeningFcn, ... 'gui_OutputFcn', @GaussFilter_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 GaussFilter is made visible.function GaussFilter_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 GaussFilter (see VARARGIN)% Choose default command line output for GaussFilterhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes GaussFilter wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = GaussFilter_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 structurevarargout{1} = handles.output;% Обработчиксобытияfunction pushbutton1_Callback(hObject, eventdata, handles)global Image;global BlurredImage;global PSFglobal Index;% Порядокфильтраorder=get(handles.edit1,'String');order=eval(order);%Стандартноеотклонениеsigma=get(handles.edit2,'String');sigma=eval(sigma);%Генерация матрицы фильтра смазаPSF = fspecial('gaussian',order,sigma);% Если выбран фильтр преобразованияif(Index==1)%ПреобразованиеизображенияBlurredImage=imfilter(Image,PSF,'full');%Выводизображенияfigure,imshow(BlurredImage);title('РезультатдействияфильтраГаусса');endfunction edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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');end% --- 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% --- 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');endfunction edit2_Callback(hObject, eventdata, handles)% hObject handle to edit2 (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 edit2 as text% str2double(get(hObject,'String')) returns contents of edit2 as a double% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject handle to edit2 (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');endRegParams.mfunction varargout = RegParams(varargin)% REGPARAMS MATLAB code for RegParams.fig% REGPARAMS, by itself, creates a new REGPARAMS or raises the existing% singleton*.%% H = REGPARAMS returns the handle to a new REGPARAMS or the handle to% the existing singleton*.%% REGPARAMS('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in REGPARAMS.M with the given input arguments.%% REGPARAMS('Property','Value',...) creates a new REGPARAMS or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before RegParams_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to RegParams_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 RegParams% Last Modified by GUIDE v2.5 28-Apr-2016 00:01:15% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @RegParams_OpeningFcn, ... 'gui_OutputFcn', @RegParams_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 RegParams is made visible.function RegParams_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 RegParams (see VARARGIN)% Choose default command line output for RegParamshandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes RegParams wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = RegParams_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 structurevarargout{1} = handles.output;% --- 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% --- 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');endfunction edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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');end% Обработчикзаданияпраметраfunction pushbutton1_Callback(hObject, eventdata, handles)global Funcglobal varglobal alphaalpha=get(handles.edit1,'String');alpha=eval(alpha);var=get(handles.popupmenu1,'Value');Func=@DeblurReg;RichardsonParams.mfunction varargout = RichardsonParams(varargin)% RICHARDSONPARAMS MATLAB code for RichardsonParams.fig% RICHARDSONPARAMS, by itself, creates a new RICHARDSONPARAMS or raises the existing% singleton*.%% H = RICHARDSONPARAMS returns the handle to a new RICHARDSONPARAMS or the handle to% the existing singleton*.%% RICHARDSONPARAMS('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in RICHARDSONPARAMS.M with the given input arguments.%% RICHARDSONPARAMS('Property','Value',...) creates a new RICHARDSONPARAMS or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before RichardsonParams_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to RichardsonParams_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 RichardsonParams% Last Modified by GUIDE v2.5 26-Apr-2016 23:47:56% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @RichardsonParams_OpeningFcn, ... 'gui_OutputFcn', @RichardsonParams_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 RichardsonParams is made visible.function RichardsonParams_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 RichardsonParams (see VARARGIN)% Choose default command line output for RichardsonParamshandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes RichardsonParams wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = RichardsonParams_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 structurevarargout{1} = handles.output;function edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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 edit2_Callback(hObject, eventdata, handles)% hObject handle to edit2 (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 edit2 as text% str2double(get(hObject,'String')) returns contents of edit2 as a double% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject handle to edit2 (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');end% --- Executes on button press in pushbutton1.function pushbutton1_Callback(hObject, eventdata, handles)global epsglobal maxitglobal tauglobal Funceps=get(handles.edit1,'String');eps=eval(eps);maxit=get(handles.edit2,'String');maxit=eval(maxit);tau=get(handles.edit3,'String');tau=eval(tau);Func=@IterMethod;function edit3_Callback(hObject, eventdata, handles)% hObject handle to edit3 (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 edit3 as text% str2double(get(hObject,'String')) returns contents of edit3 as a double% --- Executes during object creation, after setting all properties.function edit3_CreateFcn(hObject, eventdata, handles)% hObject handle to edit3 (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');endLR_Params.mfunction varargout = LR_Params(varargin)% LR_PARAMS MATLAB code for LR_Params.fig% LR_PARAMS, by itself, creates a new LR_PARAMS or raises the existing% singleton*.%% H = LR_PARAMS returns the handle to a new LR_PARAMS or the handle to% the existing singleton*.%% LR_PARAMS('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in LR_PARAMS.M with the given input arguments.%% LR_PARAMS('Property','Value',...) creates a new LR_PARAMS or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before LR_Params_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to LR_Params_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 LR_Params% Last Modified by GUIDE v2.5 28-Apr-2016 22:49:43% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @LR_Params_OpeningFcn, ... 'gui_OutputFcn', @LR_Params_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 LR_Params is made visible.function LR_Params_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 LR_Params (see VARARGIN)% Choose default command line output for LR_Paramshandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes LR_Params wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = LR_Params_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 structurevarargout{1} = handles.output;function edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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 edit2_Callback(hObject, eventdata, handles)% hObject handle to edit2 (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 edit2 as text% str2double(get(hObject,'String')) returns contents of edit2 as a double% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject handle to edit2 (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');end% --- Executes on button press in pushbutton1.function pushbutton1_Callback(hObject, eventdata, handles)global maxitglobal Funcmaxit=get(handles.edit2,'String');maxit=eval(maxit);Func=@LR_IterMethod;function edit3_Callback(hObject, eventdata, handles)% hObject handle to edit3 (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 edit3 as text% str2double(get(hObject,'String')) returns contents of edit3 as a double% --- Executes during object creation, after setting all properties.function edit3_CreateFcn(hObject, eventdata, handles)% hObject handle to edit3 (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');endBlind_Params.mfunction varargout = Blind_Params(varargin)% BLIND_PARAMS MATLAB code for Blind_Params.fig% BLIND_PARAMS, by itself, creates a new BLIND_PARAMS or raises the existing% singleton*.%% H = BLIND_PARAMS returns the handle to a new BLIND_PARAMS or the handle to% the existing singleton*.%% BLIND_PARAMS('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in BLIND_PARAMS.M with the given input arguments.%% BLIND_PARAMS('Property','Value',...) creates a new BLIND_PARAMS or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before Blind_Params_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to Blind_Params_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 Blind_Params% Last Modified by GUIDE v2.5 28-Apr-2016 23:24:44% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @Blind_Params_OpeningFcn, ... 'gui_OutputFcn', @Blind_Params_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin && ischar(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 Blind_Params is made visible.function Blind_Params_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 Blind_Params (see VARARGIN)% Choose default command line output for Blind_Paramshandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes Blind_Params wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = Blind_Params_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 structurevarargout{1} = handles.output;function edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (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 edit1 as text% str2double(get(hObject,'String')) returns contents of edit1 as a double% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (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 edit2_Callback(hObject, eventdata, handles)% hObject handle to edit2 (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 edit2 as text% str2double(get(hObject,'String')) returns contents of edit2 as a double% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject handle to edit2 (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');end% --- Executes on button press in pushbutton1.function pushbutton1_Callback(hObject, eventdata, handles)global maxitglobal Funcmaxit=get(handles.edit2,'String');maxit=eval(maxit);Func=@Blind;function edit3_Callback(hObject, eventdata, handles)% hObject handle to edit3 (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 edit3 as text% str2double(get(hObject,'String')) returns contents of edit3 as a double% --- Executes during object creation, after setting all properties.function edit3_CreateFcn(hObject, eventdata, handles)% hObject handle to edit3 (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');end

1. Грошев И.В., Корольков В.И. Системы технического зрения и обработки изображений. Учебное пособие. М.: РУДН, 2008. – 212 с.
2. Сойфер С.А. Компьютерная обработка изображений 1 Часть 2. Методы и алгоритмы. Соросовский образовательный журнал, № 2, 1996 г. – с. 110-121.
3. Гонсалес Р., Вудс Р. Цифровая обработка изображений. - М.: Техносфера, 2005. - 1072 с.
4. Гонсалес Р., Вудс Р. Цифровая обработка изображений в среде MATLAB (+CD). - М.: Техносфера, 2006. - 621 с.
5. Грузман И.С., Киричук В.С., Косых В.П., Перетягин Г.И., Спектор А.А. Цифровая Обработка Изображений В Информационных Системах: Учебное пособие.- Новосибирск: Изд-во НГТУ, 2000. – 168 с.
6. Д. Сэломон Сжатие данных, изображений и звука Москва: Техносфера, 2004. - 368с.
7. Яне Б. Цифровая обработка изображений. М.: Техносфера, 2007. – 584 с.
8. Шапиро Л., Стокман Дж. Компьютерное зрение. – М.: БИНОМ. Лаборатория знаний, 2006. – 752 с.
9. Н. Н. Калиткин, П. В. Корякин. Численные методы : в 2 кн. Кн. 2. Методы математической физики: учебник для студ. учреждений высш. проф. образования - М. : Издательский центр «Академия», 2013. - 304 с.
10. Петров Ю. П., Сизиков В. С. Корректные, некорректные и промежуточные задачи с приложениями: Учебное пособие для вузов. - СПб: Политехника, 2003. - 261 с.
11. Потапов А.А. Новейшие методы обработки изображений. М.: Физматлит, 2008. - 496 с.
12. Хермен Г. Восстановление изображений по проекциям: Основы реконструктивной томографии. Пер. с англ., Москва, Изд-во Мир, 1983, 352 с
13. Сизиков B.C. Математические методы обработки результатов-измерений. СПб.: Политехника, 2001. - 240 с.
14. Квасов Б. Численные методы анализа и линейной алгебры. Использование Matlab и Scilab. Лань, 2016 г.
15. Кетков Ю., Кетков А., Шульц М. - MATLAB 7. Программирование, численные методы. БХВ-Петербург, 2005. – 742 с.
16. Солонина А.И., Клионский Д.М. Цифровая обработка сигналов и MATLAB, СПб.: БХВ-Петербург, 2013. - 512с

Вопрос-ответ:

Какие алгоритмы используются для устранения дефектов изображения?

Для устранения дефектов изображения можно использовать различные алгоритмы, такие как фильтрация, реконструкция и другие.

Как организовано представление изображений?

Изображения могут быть представлены в различных моделях, таких как растровая и векторная. Каждая модель имеет свои особенности и применение.

Какие форматы используются для представления изображений?

Основные форматы представления изображений включают JPEG, PNG, GIF и другие. Каждый формат имеет свои преимущества и недостатки.

Какие алгоритмы используются для линейной фильтрации изображений?

Для линейной фильтрации изображений используются алгоритмы, такие как фильтр Собеля, фильтр Гаусса и другие. Они позволяют улучшить качество изображения и устранить некоторые дефекты.

Какие алгоритмы можно использовать для реконструкции изображений?

Для реконструкции изображений можно использовать алгоритмы, такие как интерполяция, восстановление по контуру и другие. Они позволяют восстановить части изображения, которые были испорчены или утеряны.

Какие способы представления изображений существуют?

Существуют различные способы представления изображений: растровое представление, векторное представление, уровневое представление и т.д.

Какие форматы представления изображений наиболее распространены?

Наиболее распространенными форматами представления изображений являются JPEG, PNG и GIF.

Как осуществляется обработка изображений?

Обработка изображений осуществляется путем применения различных фильтров, алгоритмов и операций, таких как изменение размера, поворот, резкость, сглаживание и т.д.

Какие алгоритмы используются для фильтрации и анализа изображений?

Для фильтрации и анализа изображений используются различные алгоритмы, включая алгоритмы реконструкции, алгоритмы фильтрации и алгоритмы обработки.