11 %> <b>K
's</b> - see vis_scatter3d2::ks
13 %> <b>Project points onto the walls</b> - see vis_scatter3d2::flag_wallpoints
18 function varargout = uip_vis_scatter3d2(varargin)
20 % Begin initialization code - DO NOT EDIT
22 gui_State = struct('gui_Name
', mfilename, ...
23 'gui_Singleton
', gui_Singleton, ...
24 'gui_OpeningFcn
', @uip_vis_scatter3d2_OpeningFcn, ...
25 'gui_OutputFcn
', @uip_vis_scatter3d2_OutputFcn, ...
26 'gui_LayoutFcn
', [] , ...
28 if nargin && ischar(varargin{1})
29 gui_State.gui_Callback = str2func(varargin{1});
33 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
35 gui_mainfcn(gui_State, varargin{:});
37 % End initialization code - DO NOT EDIT
40 % --- Executes just before uip_vis_scatter3d2 is made visible.
41 function uip_vis_scatter3d2_OpeningFcn(hObject, eventdata, handles, varargin)
42 handles.output.flag_ok = 0;
43 guidata(hObject, handles);
44 gui_set_position(hObject);
48 % --- Outputs from this function are returned to the command clae.
49 function varargout = uip_vis_scatter3d2_OutputFcn(hObject, eventdata, handles)
51 uiwait(handles.figure1);
52 handles = guidata(hObject);
53 varargout{1} = handles.output;
58 varargout{1} = output;
62 function editReg_Callback(hObject, eventdata, handles)
64 % --- Executes during object creation, after setting all properties.
65 function editReg_CreateFcn(hObject, eventdata, handles)
66 if ispc && isequal(get(hObject,'BackgroundColor
'), get(0,'defaultUicontrolBackgroundColor
'))
67 set(hObject,'BackgroundColor
','white
');
70 function pushbuttonOK_Callback(hObject, eventdata, handles)
72 handles.output.params = {...
73 'idx_fea
', get(handles.edit_idx_fea, 'String
'), ...
74 'confidences
', mat2str(eval(get(handles.edit_confidences, 'String
'))), ...
75 'flags_min
', mat2str(eval(get(handles.edit_flags_min, 'String
'))), ...
76 'ks
', mat2str(eval(get(handles.edit_ks, 'String
'))), ...
77 'flag_wallpoints
', int2str(get(handles.checkbox_flag_wallpoints, 'Value
')), ...
79 handles.output.flag_ok = 1;
80 guidata(hObject, handles);
83 irerrordlg(ME.message, 'Cannot
continue');
88 function edit_idx_fea_Callback(hObject, eventdata, handles)
90 % --- Executes during object creation, after setting all properties.
91 function edit_idx_fea_CreateFcn(hObject, eventdata, handles)
92 if ispc && isequal(get(hObject,'BackgroundColor
'), get(0,'defaultUicontrolBackgroundColor
'))
93 set(hObject,'BackgroundColor
','white
');
96 function edit_confidences_Callback(hObject, eventdata, handles)
98 % --- Executes during object creation, after setting all properties.
99 function edit_confidences_CreateFcn(hObject, eventdata, handles)
100 if ispc && isequal(get(hObject,'BackgroundColor
'), get(0,'defaultUicontrolBackgroundColor
'))
101 set(hObject,'BackgroundColor
','white
');
104 function edit_flags_min_Callback(hObject, eventdata, handles)
106 % --- Executes during object creation, after setting all properties.
107 function edit_flags_min_CreateFcn(hObject, eventdata, handles)
108 if ispc && isequal(get(hObject,'BackgroundColor
'), get(0,'defaultUicontrolBackgroundColor
'))
109 set(hObject,'BackgroundColor
','white
');
114 function edit_ks_Callback(hObject, eventdata, handles)
116 function edit_ks_CreateFcn(hObject, eventdata, handles)
117 if ispc && isequal(get(hObject,'BackgroundColor
'), get(0,'defaultUicontrolBackgroundColor
'))
118 set(hObject,'BackgroundColor
','white
');
121 function checkbox_flag_wallpoints_Callback(hObject, eventdata, handles)
Property flags_min
=[1, 1, 1]
Visualization - 3D Scatterplot - Ellipse Walls.
Property idx_fea
=[1, 2, 3] Index of features to be uses as coordinates. Must be a 3-element vector.