Sistema de detecção de fadiga MATLAB baseado na interface GUI [Matlab 126] [Image Processing 40]

function varargout = GUI(varargin)
% GUI MATLAB code for GUI.fig
%      GUI, by itself, creates a new GUI or raises the existing
%      singleton*.
%
%      H = GUI returns the handle to a new GUI or the handle to
%      the existing singleton*.
% 
%      GUI('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in GUI.M with the given input arguments.
%
%      GUI('Property','Value',...) creates a new GUI or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before GUI_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to GUI_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%

gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @GUI_OpeningFcn, ...
                   'gui_OutputFcn',  @GUI_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 GUI is made visible.
function GUI_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 GUI (see VARARGIN)

% Choose default command line output for GUI
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes GUI wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = GUI_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)
str1=sprintf('思路\n\n');
str2=sprintf('           1.视频分帧\n');
str3=sprintf('           2.人脸定位\n');   
str4=sprintf('           3.人脸定位\n');
str5=sprintf('           4.灰度积分投影,定位黑色眼球面积\n');
str6=sprintf('           3.判断睁眼,闭眼,利用perclos定理判定疲劳与否\n');
str7=sprintf('           3.时间仓促,未尽事宜,可联系Q1321-8148-23\n');
string=[str1 str2 str3 str4 str5 str6 str7];
msgbox(string,'温馨提示','none');


% 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)


% --- Executes on selection change in listbox1.
function listbox1_Callback(hObject, eventdata, handles)
% hObject    handle to listbox1 (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 listbox1 contents as cell array
%        contents{
    
    get(hObject,'Value')} returns selected item from listbox1


% --- Executes during object creation, after setting all properties.
function listbox1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to listbox1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: listbox 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 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 listbox2.
function listbox2_Callback(hObject, eventdata, handles)
% hObject    handle to listbox2 (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 listbox2 contents as cell array
%        contents{
    
    get(hObject,'Value')} returns selected item from listbox2


% --- Executes during object creation, after setting all properties.
function listbox2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to listbox2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: listbox 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 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 selection change in listbox3.
function listbox3_Callback(hObject, eventdata, handles)
% hObject    handle to listbox3 (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 listbox3 contents as cell array
%        contents{
    
    get(hObject,'Value')} returns selected item from listbox3


% --- Executes during object creation, after setting all properties.
function listbox3_CreateFcn(hObject, eventdata, handles)
% hObject    handle to listbox3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: listbox 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 pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)



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

Insira a descrição da imagem aqui

Nota: Um conjunto completo de informações ou QQ1564658423 é necessário.
Revisão >>>>>>
[Matlab 024] [Processamento de imagem 1] Compressão de imagem da série de tutoriais de processamento de imagem Matlab
[Matlab 025] [Processamento de imagem 2] Segmentação de imagem da série de tutoriais de processamento de imagem Matlab (1)
[Matlab Edição 026] [ Processamento de imagem 3] Segmentação de imagem da série de tutoriais de processamento de imagem Matlab (2)
[Matlab 029] [Processamento de imagem 4] Reconhecimento de impressão digital
Matlab [Matlab 030] [Processamento de imagem 5] Reconhecimento de número de cartão bancário Código fonte
Matlab [Matlab 074 [Processamento de imagem 6 ] [Agrupamento de imagens] Processamento de agrupamento de imagens de TC do cérebro baseado em FCM e FCM aprimorado
[Matlab 075] [Processamento de imagem 7] [Avaliação de imagem] Avaliação da qualidade de imagem baseada no algoritmo CCF
[Matlab 076 [Processamento de imagem 8] [Aprimoramento de imagem] Algoritmo CLAHE baseado em realce de contraste local - realce de histograma
[Matlab 077] [Processamento de imagem 9] [Fusão de imagem] Fusão de imagem baseada em partição de frequência
[Matlab 078] [Processamento de imagem 10] [Avaliação de imagem] Avaliação da qualidade de imagem sem referência baseada em svm
[Imagem detecção de bordas] Código fonte Matlab de detecção de bordas de elipse com base no método de mínimos quadrados [Matlab 079] [Processamento de imagem 11]
[Criptografia de imagem] Criptografia e descriptografia de imagem baseada no sistema caótico código-fonte Matlab com GUI [Matlab 080 issue] [Processamento de imagem 12 ]
[Processamento de imagem] Baseado em DWT + DCT + PBFO para melhorar a ocultação da marca d'água da imagem e extração do código-fonte do matlab com GUI [Matlab 081 issue] [Image processing 13]
[Registro de imagem] Código fonte matlab de registro de imagem baseado no algoritmo de sift [Matlab 082] [Processamento de imagem 14]
[Fusão de imagem] Código fonte matlab de fusão de imagem baseado no algoritmo CBF [Matlab 083] [Processamento de imagem 15]
[Segmentação de imagem] Segmentação de imagem código-fonte do matlab baseado no algoritmo de passeio aleatório [Matlab 084] [Processamento de imagem 16]
[Filtragem de imagem] Filtragem gaussiana bilateral bidimensional [Matlab 085] [Processamento de imagem 17]
[Remoção de ruído de imagem] Baseado na morfologia adaptativa Remoção de ruído de imagem [Matlab 086 problema] [Processamento de imagem 18]
[Aprimoramento de imagem] DEHAZENET e HWD baseado em imagens de dispersão subaquática [Matlab 087] [Processamento de imagem 19]
[Aprimoramento de imagem] Otimização de PSO matlab de aprimoramento de imagem ACE Código fonte [Matlab 088] [Processamento de imagem 20]
[ Aprimoramento de imagem] Aprimoramento de imagem em escala de cinza com base na função de transformação de similaridade de região e algoritmo de libélula [Matlab 089] [Processamento de imagem 21]
[Reconstrução de imagem] Algoritmo ASTRA para reconstrução de imagem [Matlab 090 [Processamento de imagem 22]
[Segmentação de imagem] Baseado em segmentação de imagem no código-fonte do quadtree matlab [Matlab 091] [Processamento de imagem 23]
[Segmentação de imagem] Extração da linha central do coração [Matlab 092] [Processamento de imagem 24]
[Reconhecimento de imagem] Baseado em detecção e classificação de doença de folha de planta svm [Matlab 093] [Processamento de imagem 25]
[Reconhecimento de imagem] Baseado no modelo correspondente de interface GUI do sistema de reconhecimento de número manuscrito [Matlab 094] [Processamento de imagem 26]
[Reconhecimento de imagem] baseado no reconhecimento de código de verificação digital do Moment inalterado com interface GUI [Matlab 095] [Processamento de imagem 27]
[ Reconhecimento de imagem] Sistema de reconhecimento de código de barras [Matlab 096] [Processamento de imagem 28]
[Reconhecimento de imagem] Sistema de reconhecimento RMB baseado em rede neural RGB e BP com interface GUI [Matlab 097] [Processamento de imagem 29]
[Reconhecimento de imagem] Reconhecimento de código-fonte Matlab baseado em rede neural convolucional cnn [Matlab 098] [Processamento de imagem 30]
[ Classificação de imagem] Classificação de imagens de sensoriamento remoto com base no classificador de aprendizado extremo [Matlab 099] [Processamento de imagem 31]
[Ajuste em linha reta de imagem] Ajuste em linha reta de imagem baseado no método de mínimos quadrados e bissetriz de ângulo bissetor [Matlab 100 [Processamento de imagem 32]
[ Desembaciamento da imagem] Desembaciamento da imagem com base no canal escuro [Matlab 101 issue] [Image processing 33]
[Imageformation] DIBR-3D imageformation (3D Image Warping) [Matlab 117 issue] [Image processing 34]
[image] segmentação de imagem e segmentação filtro de reconstrução morfológica aprimorado FCM algoritmo (FRFCM) Matlab 118 baseado no [período] [35] o processamento de imagem
[imagem] segmentação de imagem baseada no algoritmo de agrupamento fuzzy FCM segmentação [período] [Matlab 119 Processamento de imagem 36]
[Image segmentation] Intuicionista fuzzy C-means clustering image segmentation IFCM [Matlab 120] [Image processing 37]
[Image segmentation] Maximum between-cluster variance method (otsu) segmentação de imagem [Matlab 121] [Image processing 38]
Matlab Bank Monitoring System Face Recognition [Matlab Issue 124] [Processamento de imagem 39]

Acho que você gosta

Origin blog.csdn.net/TIQCmatlab/article/details/112691823
Recomendado
Clasificación