0001 function pl = ltpdv_filter_getf(panh)
0002
0003
0004 h = findobj(panh, 'Tag', 'LTPDVfilterF1');
0005 f1 = str2num(get(h, 'String'));
0006
0007 h = findobj(panh, 'Tag', 'LTPDVfilterF2');
0008 f2 = str2num(get(h, 'String'));
0009
0010 h = findobj(panh, 'Tag', 'LTPDVfilterNf');
0011 nf = str2num(get(h, 'String'));
0012
0013 h = findobj(panh, 'Tag', 'LTPDVfilterScale');
0014 idx = get(h, 'Value');
0015 strs = get(h, 'String');
0016 scale = strs{idx};
0017
0018 pl = plist('scale', scale);
0019 if ~isempty(f1)
0020 pl = append(pl, 'f1', f1);
0021 end
0022 if ~isempty(f2)
0023 pl = append(pl, 'f2', f2);
0024 end
0025 if ~isempty(nf)
0026 pl = append(pl, 'nf', nf);
0027 end
0028
0029