3 %>@brief Properties Window
for @ref
pre_wden
5 %>@image html Screenshot-uip_pre_wden.png
16 function varargout = blockuip_fsel_rmiesc(varargin)
17 % Last Modified by GUIDE v2.5 04-Feb-2011 14:29:17
19 % Begin initialization code - DO NOT EDIT
21 gui_State =
struct(
'gui_Name', mfilename, ...
22 'gui_Singleton', gui_Singleton, ...
23 'gui_OpeningFcn', @blockuip_fsel_rmiesc_OpeningFcn, ...
24 'gui_OutputFcn', @blockuip_fsel_rmiesc_OutputFcn, ...
25 'gui_LayoutFcn', [] , ...
27 if nargin && ischar(varargin{1})
28 gui_State.gui_Callback = str2func(varargin{1});
32 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
34 gui_mainfcn(gui_State, varargin{:});
36 % End initialization code - DO NOT EDIT
39 % --- Executes just before blockuip_fsel_rmiesc is made visible.
40 function blockuip_fsel_rmiesc_OpeningFcn(hObject, eventdata, handles, varargin)
41 handles.output.flag_ok = 0;
42 guidata(hObject, handles);
46 % --- Outputs from this function are returned to the command clae.
47 function varargout = blockuip_fsel_rmiesc_OutputFcn(hObject, eventdata, handles)
49 uiwait(handles.figure1);
50 handles = guidata(hObject);
51 varargout{1} = handles.output;
55 varargout{1} = output;
60 function editReg_Callback(hObject, eventdata, handles)
61 % hObject handle to editReg (see GCBO)
62 % eventdata reserved - to be defined in a future version of MATLAB
63 % handles structure with handles and user data (see GUIDATA)
65 % Hints:
get(hObject,
'String') returns contents of editReg
as text
66 % str2double(
get(hObject,
'String')) returns contents of editReg
as a
double
69 % --- Executes during
object creation, after setting all properties.
70 function editReg_CreateFcn(hObject, eventdata, handles)
71 % hObject handle to editReg (see GCBO)
72 % eventdata reserved - to be defined in a future version of MATLAB
73 % handles empty - handles not created until after all CreateFcns called
75 % Hint: edit controls usually have a white background on Windows.
76 % See ISPC and COMPUTER.
77 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
78 set(hObject,'BackgroundColor','white');
83 % --- Executes on button press in pushbuttonOk.
84 function pushbuttonOk_Callback(hObject, eventdata, handles)
85 % hObject handle to pushbuttonOk (see GCBO)
86 % eventdata reserved - to be defined in a future version of MATLAB
87 % handles structure with handles and user data (see GUIDATA)
89 handles.output.params = {...
90 'waveletname', [
'''' fel(get(handles.popupmenuWaveletname, 'String
')) ''''], ...
91 'no_levels', int2str(eval(
get(handles.editNo_levels,
'String'))), ...
92 'thresholds', mat2str(eval(
get(handles.editThresholds,
'String'))) ...
95 handles.output.flag_ok = 1;
96 guidata(hObject, handles);
101 function editHelp_Callback(hObject, eventdata, handles)
102 % hObject handle to editHelp (see GCBO)
103 % eventdata reserved - to be defined in a future version of MATLAB
104 % handles structure with handles and user data (see GUIDATA)
106 % Hints:
get(hObject,
'String') returns contents of editHelp
as text
107 % str2double(
get(hObject,
'String')) returns contents of editHelp
as a
double
110 % --- Executes during
object creation, after setting all properties.
111 function editHelp_CreateFcn(hObject, eventdata, handles)
112 % hObject handle to editHelp (see GCBO)
113 % eventdata reserved - to be defined in a future version of MATLAB
114 % handles empty - handles not created until after all CreateFcns called
116 % Hint: edit controls usually have a white background on Windows.
117 % See ISPC and COMPUTER.
118 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
119 set(hObject,'BackgroundColor','white');
124 function editNo_levels_Callback(hObject, eventdata, handles)
125 % hObject handle to editNo_levels (see GCBO)
126 % eventdata reserved - to be defined in a future version of MATLAB
127 % handles structure with handles and user data (see GUIDATA)
129 % Hints: get(hObject,'String') returns contents of editNo_levels
as text
130 % str2double(get(hObject,'String')) returns contents of editNo_levels
as a
double
133 % --- Executes during
object creation, after setting all properties.
134 function editNo_levels_CreateFcn(hObject, eventdata, handles)
135 % hObject handle to editNo_levels (see GCBO)
136 % eventdata reserved - to be defined in a future version of MATLAB
137 % handles empty - handles not created until after all CreateFcns called
139 % Hint: edit controls usually have a white background on Windows.
140 % See ISPC and COMPUTER.
141 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
142 set(hObject,'BackgroundColor','white');
146 % --- Executes on selection change in popupmenuWaveletname.
147 function popupmenuWaveletname_Callback(hObject, eventdata, handles)
148 % hObject handle to popupmenuWaveletname (see GCBO)
149 % eventdata reserved - to be defined in a future version of MATLAB
150 % handles structure with handles and user data (see GUIDATA)
152 % Hints: contents = get(hObject,'String') returns popupmenuWaveletname contents
as cell array
153 % contents{
get(hObject,
'Value')} returns selected item from popupmenuWaveletname
156 % --- Executes during
object creation, after setting all properties.
157 function popupmenuWaveletname_CreateFcn(hObject, eventdata, handles)
158 % hObject handle to popupmenuWaveletname (see GCBO)
159 % eventdata reserved - to be defined in a future version of MATLAB
160 % handles empty - handles not created until after all CreateFcns called
162 % Hint: popupmenu controls usually have a white background on Windows.
163 % See ISPC and COMPUTER.
164 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
165 set(hObject,'BackgroundColor','white');
170 function editThresholds_Callback(hObject, eventdata, handles)
171 % hObject handle to editThresholds (see GCBO)
172 % eventdata reserved - to be defined in a future version of MATLAB
173 % handles structure with handles and user data (see GUIDATA)
175 % Hints: get(hObject,'String') returns contents of editThresholds
as text
176 % str2double(get(hObject,'String')) returns contents of editThresholds
as a
double
179 % --- Executes during
object creation, after setting all properties.
180 function editThresholds_CreateFcn(hObject, eventdata, handles)
181 % hObject handle to editThresholds (see GCBO)
182 % eventdata reserved - to be defined in a future version of MATLAB
183 % handles empty - handles not created until after all CreateFcns called
185 % Hint: edit controls usually have a white background on Windows.
186 % See ISPC and COMPUTER.
187 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
188 set(hObject,'BackgroundColor','white');
Wavelet De-noising block.
Property thresholds
= [0 0 0 20 20 100] - given in the coarsest-to-finest order
function gui_set_position(in hObject)
Analysis Session (AS) base class.
Property waveletname
='haar'