THONGTIN.m ( File view )
Description:face detector using neural network...
- By vietcf2010 2014-12-19
- View(s):4
- Download(s):0
- Point(s): 1
function varargout = THONGTIN(varargin) % THONGTIN M-file for THONGTIN.fig % THONGTIN, by itself, creates a new THONGTIN or raises the existing % singleton*. % % H = THONGTIN returns the handle to a new THONGTIN or the handle to % the existing singleton*. % % THONGTIN('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in THONGTIN.M with the given input arguments. % % THONGTIN('Property','Value',...) creates a new THONGTIN or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before THONGTIN_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to THONGTIN_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 THONGTIN % Last Modified by GUIDE v2.5 27-Dec-2013 23:47:08 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @THONGTIN_OpeningFcn, ... 'gui_OutputFcn', @THONGTIN_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 THONGTIN is made visible. function THONGTIN_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 THONGTIN (see VARARGIN) % Choose default command line output for THONGTIN handles.output = hObject; % Update handles structure guidata(hObject, handles); % UIWAIT makes THONGTIN wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = THONGTIN_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 selection change in p_chon. function p_chon_Callback(hObject, eventdata, handles) % hObject handle to p_chon (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = get(hObject,'String') returns p_chon contents as cell array % contents{ get(hObject,'Value') } returns selected item from % p_chon load bokiemtra TestData; v=get(handles.p_chon,'value'); if(v==2) axes(handles.axes1); imshow(TestData{ 1 }); title('Ch so 1','FontName','VNI-Times'); axes(handles.axes2); imshow(TestData{ 2 }); title('Ch so 2','FontName','VNI-Times'); axes(handles.axes3); imshow(TestData{ 3 }); title('Ch so 3','FontName','VNI-Times'); axes(handles.axes4); imshow(TestData{ 4 }); title('Ch so 4','FontName','VNI-Times'); elseif(v==3) axes(handles.axes1); imshow(TestData{ 5 }); title('Ch so 5','FontName','VNI-Times'); axes(handles.axes2); imshow(TestData{ 6 }); title('Ch so 6','FontName','VNI-Times'); axes(handles.axes3); imshow(TestData{ 7 }); title('Ch so 7','FontName','VNI-Times'); axes(handles.axes4); imshow(TestData{ 8 }); title('Ch so 8','FontName','VNI-times'); elseif(v==4) axes(handles.axes1); imshow(TestData{ 9 }); title('Ch so 9','FontName','VNI-times'); axes(handles.axes2); imshow(TestData{ 10 }); title('Ch so 10','FontName','VNI-Times'); axes(handles.axes3); imshow(TestData{ 11 }); title('Ch so 11','FontName','VNI-Times'); axes(handles.axes4); imshow(TestData{ 12 }); title('Ch so 12','FontName','VNI-Times'); elseif(v==5) axes(handles.axes1); imshow(TestData{ 13 }); title('Ch so 13','FontName','VNI-Times'); axes(handles.axes2); imshow(TestData{ 14 }); title('Ch so 14','FontName','VNI-Times'); axes(handles.axes3); imshow(TestData{ 15 }); title('Ch so 15','FontName','VNI-Times'); axes(handles.axes4); imshow(TestData{ 16 }); title('Ch so 16','FontName','VNI-Times'); else axes(handles.axes1); imshow(TestData{ 17 }); title('Ch so 17','FontName','VNI-Times'); axes(handles.axes2); imshow(TestData{ 18 }); title('Ch so 18','FontName','VNI-Times'); axes(handles.axes3); imshow(TestData{ 19 }); title('Ch so 19','FontName','VNI-Times'); axes(handles.axes4); imshow(TestData{ 20 }); title('Ch so 20','FontName','VNI-Times'); end % --- Executes during object creation, after setting all properties. function p_chon_CreateFcn(hObject, eventdata, handles) % hObject handle to p_chon (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 % --- Executes on button press in thoat. function thoat_Callback(hObject, eventdata, handles) % hObject handle to thoat (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) closereq;
...
Expand> <Close
Sponsored links
File list
Tips: You can preview the content of files by clicking file names^_^Name | Size | Date |
---|---|---|
anhdulieu.mat | 153.08 kB | 12-01-14 00:14 |
anhkiemtra.mat | 152.27 kB | 12-01-14 00:14 |
B.mat | 1.66 MB | 27-12-13 19:26 |
bokiemtra.mat | 696.71 kB | 12-01-14 00:14 |
DA2.asv | 3.30 kB | 11-12-13 21:37 |
da2.fig | 4.78 kB | 02-01-14 09:53 |
DA2.m | 3.31 kB | 11-12-13 21:41 |
hs_err_pid5292.log | 17.09 kB | 27-12-13 09:15 |
HuongDan.txt | 97.00 B | 04-01-14 15:25 |
1.jpg | 7.04 kB | 09-12-13 10:48 |
2.jpg | 7.53 kB | 09-12-13 10:48 |
3.jpg | 6.67 kB | 09-12-13 10:48 |
4.jpg | 6.80 kB | 09-12-13 10:48 |
1.jpg | 4.82 kB | 25-11-13 16:03 |
2.jpg | 4.66 kB | 25-11-13 16:03 |
3.jpg | 4.92 kB | 25-11-13 16:03 |
4.jpg | 4.64 kB | 25-11-13 16:03 |
1.jpg | 8.92 kB | 09-12-13 10:46 |
2.jpg | 8.93 kB | 09-12-13 10:46 |
3.jpg | 8.45 kB | 09-12-13 10:46 |
4.jpg | 8.75 kB | 09-12-13 10:46 |
1.jpg | 4.53 kB | 25-11-13 15:51 |
2.jpg | 4.80 kB | 25-11-13 15:51 |
3.jpg | 4.71 kB | 25-11-13 15:51 |
4.jpg | 4.61 kB | 25-11-13 15:51 |
1.jpg | 8.83 kB | 09-12-13 10:49 |
2.jpg | 8.79 kB | 09-12-13 10:49 |
3.jpg | 9.02 kB | 09-12-13 10:49 |
4.jpg | 8.30 kB | 09-12-13 10:49 |
1.jpg | 8.79 kB | 09-12-13 10:49 |
2.jpg | 7.04 kB | 09-12-13 10:48 |
3.jpg | 4.82 kB | 25-11-13 16:03 |
4.jpg | 8.82 kB | 09-12-13 10:46 |
5.jpg | 4.80 kB | 25-11-13 15:51 |
err.jpg | 16.49 kB | 18-12-13 13:14 |
1.jpg | 6.99 kB | 09-12-13 10:48 |
2.jpg | 6.79 kB | 09-12-13 10:48 |
3.jpg | 6.73 kB | 09-12-13 10:48 |
4.jpg | 6.82 kB | 09-12-13 10:49 |
1.jpg | 4.84 kB | 25-11-13 16:03 |
2.jpg | 5.05 kB | 25-11-13 16:03 |
3.jpg | 4.89 kB | 25-11-13 16:03 |
4.jpg | 5.10 kB | 25-11-13 16:03 |
1.jpg | 8.78 kB | 09-12-13 10:46 |
2.jpg | 8.82 kB | 09-12-13 10:46 |
3.jpg | 8.93 kB | 09-12-13 10:46 |
4.jpg | 7.91 kB | 09-12-13 10:46 |
1.jpg | 4.61 kB | 25-11-13 15:51 |
2.jpg | 4.69 kB | 25-11-13 15:51 |
3.jpg | 4.75 kB | 25-11-13 15:51 |
4.jpg | 4.97 kB | 25-11-13 15:51 |
1.jpg | 7.72 kB | 09-12-13 10:49 |
2.jpg | 7.73 kB | 09-12-13 10:49 |
3.jpg | 9.21 kB | 09-12-13 10:49 |
4.jpg | 8.76 kB | 09-12-13 10:49 |
logo.jpg | 36.98 kB | 14-11-13 15:43 |
logsigfx.m | 300.00 B | 01-08-04 11:17 |
M.mat | 190.15 kB | 12-01-14 00:15 |
MN.mat | 711.47 kB | 12-01-14 00:16 |
msnn1.asv | 2.20 kB | 27-12-13 17:56 |
msnn1.m | 2.23 kB | 29-12-13 17:43 |
msnn2.asv | 2.27 kB | 11-12-13 22:45 |
N.mat | 189.67 kB | 12-01-14 00:16 |
THONGTIN.asv | 3.94 kB | 27-12-13 23:25 |
THONGTIN.fig | 10.39 kB | 27-12-13 23:47 |
THONGTIN.m | 5.76 kB | 27-12-13 23:47 |
ts.mat | 264.00 B | 12-01-14 00:14 |
untitled.asv | 16.21 kB | 29-12-13 17:36 |
untitled.fig | 9.12 kB | 29-12-13 17:46 |
untitled.m | 17.12 kB | 12-01-14 00:14 |
vectormuctieu.mat | 385.00 B | 12-01-14 00:14 |
wq.mat | 33.54 kB | 12-01-14 00:16 |
zq.mat | 376.00 B | 12-01-14 00:16 |
<phuong> | 0.00 B | 22-01-14 10:05 |
<sanh> | 0.00 B | 22-01-14 10:05 |
<son> | 0.00 B | 22-01-14 10:05 |
<tri> | 0.00 B | 22-01-14 10:05 |
<viet> | 0.00 B | 22-01-14 10:05 |
<phuong> | 0.00 B | 22-01-14 10:05 |
<sanh> | 0.00 B | 22-01-14 10:05 |
<son> | 0.00 B | 22-01-14 10:05 |
<tri> | 0.00 B | 22-01-14 10:05 |
<viet> | 0.00 B | 22-01-14 10:05 |
<anhdulieu> | 0.00 B | 22-01-14 10:05 |
<anhketqua> | 0.00 B | 22-01-14 10:05 |
<anhkiemtra> | 0.00 B | 22-01-14 10:05 |
<images> | 0.00 B | 22-01-14 10:05 |
<facedetector> | 0.00 B | 22-01-14 10:05 |
Sponsored links