亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? andrdemo.m

?? Edge detection with svm (doc and matlabcode)
?? M
?? 第 1 頁 / 共 2 頁
字號:
function result = andrdemo(action,hfigure,varargin)
% ANDRDEMO demo on Generalized Anderson's task.%% ANDRDEMO demonstrates the algorithms which solve %  the Generalized Anderson`s Task (GAT). %%  The found solution (hyperplane, line in 2D) is vizualized %  as well as the input Gaussians which describe input classes.%%  Following algorithms can be tested:%     %  e-Optimal - Epsilon-solution of the GAT.%  Original  - Original Anderson-Bahadur's solution for two distributions.%  Gradient  - Algorithm using theorem of the generalized gradient methods.%  General   - Implementation of general algorithm framework by SH10.%  General2  - Implementation of general algorithm framework, improved.%% Control:%  Algorithm  - select algorithm for testing.%  Parameter input line - parameters for the selected algorithm%             (see help 'given algorithm').%  Iterations - number of iterations in one step.%  Animation  - enable/dissable animation.%%  FIG2EPS     - export screen to the PostScript file.%  Load data   - load input point sets from file.%  Create data - call interactive program for creating sets of Gaussians.%  Reset       - set the tested algorithm to the initial state.%  Play        - run the tested algorithm.%  Stop        - stop the running algorithm.%  Step        - perform only one step.%  Info        - display the info box.%  Close       - close the program.%% See also EANDERS, OANDERS, GGANDERS, GANDERS, GANDERS2.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac
% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz
% Written Vojtech Franc (diploma thesis) 24.10.1999, 27.02.2000
% Modifications
% 11-June-2001, V.Franc, comments added.% 24. 6.00 V. Hlavac, comments polished.

% constants
ALGONAMES=['e-Optimal ';'Original  ';'Gradient  ';'General   ';'General 2 '];
PREC_TITLE=['Max error (0-50) [%]';...    % e-Optimal solution
            'd(lambda,ni) (0,inf)';...    % Original Anderson`s solution
            'd( min r ) (0,inf)  ';...    % Gradient method
            'd( min r ) (0,inf)  ';...    % General solution 1
            'd( min r ) (0,inf)  '];      % General solution 2
DEF_PRECISION=[5,1e-3,0,0,0];     % default values of the precision of algo. 1,2,3,4,5
BORDER=0.5;
DATA_IDENT='Infinite sets, Normal distributions';       % M-file identifier
%PLOT_FCE='pandr2d';     % outlined ellipsoids
PLOT_FCE='pandr2df';     % outlined ellipsoids

% if number of arguments is less then 1, that means first call of this function. Every
% other calls set up at least argument action
if nargin < 1,
   action = 'initialize';
end

% what action is required ?
switch lower(action)

case 'initialize'
   % == Initialize user interface control and figure window ================

   % == Figure =============================================================
   left=0.1;
   width=0.8;
   bottom=0.1;
   height=0.8;
   hfigure=figure('Name','Anderson`s task', ...
      'Visible','off',...
      'Units','normalized', ...
       'NumberTitle','off', ...
      'Position',[left bottom width height],...
      'tag','Andrdemo',...
      'Units','normalized', ...
      'RendererMode','manual');

   % == Axes ===============================================================
   left=0.1;
   width=0.65;

   % axes for showing sets
   bottom=0.35;
   height=0.60;
   haxes1=axes(...
       'Units','normalized', ...
      'Box','on', ...
      'DrawMode','fast',...
      'NextPlot','add',...
      'Layer','top',...
      'UserData',[],...
      'Position',[left bottom width height]);
   xlabel('feature x');
   ylabel('feature y');

   % == Comment window =====================================================

   % Comment Window frame
   bottom=0.05;
   height=0.2;
   uicontrol( ...
        'Style','frame', ...
        'Units','normalized', ...
        'Position',[left bottom width height], ...
        'BackgroundColor',[0.5 0.5 0.5]);

   % Text label
   uicontrol( ...
        'Style','text', ...
        'Units','normalized', ...
        'Position',[left height-0.01 width 0.05], ...
        'BackgroundColor',[0.5 0.5 0.5], ...
        'ForegroundColor',[1 1 1], ...
        'String','Comment Window');

   % Edit window
   border=0.01;
   hconsole=uicontrol( ...
        'Style','edit', ...
        'HorizontalAlignment','left', ...
        'Units','normalized', ...
        'Max',10, ...
        'BackgroundColor',[1 1 1], ...
        'Position',[left+border bottom width-2*border height-0.05], ...
        'Enable','inactive',...
        'String','');


    % == Buttons ===========================================================
   % -- Export to EPS ---------
   width=0.1;
   left=0.75-width;
   bottom=0.95;
   height=0.04;
   hbtclose = uicontrol(...
    'Units','Normalized', ...
      'Callback','fig2eps(gcf)',...
        'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','FIG2EPS');
   %----------------------------------

   % Close button
   left=0.8;
   bottom=0.05;
   height=0.05;
   width=0.15;
   hbtclose = uicontrol(...
    'Units','Normalized', ...
      'Callback','close(gcf)',...
        'ListboxTop',0, ...
        'Position',[left bottom width height], ...
        'String','Close');

   % Info button: call stanard info box
   bottom=bottom+1.5*height;
   hbtinfo = uicontrol(...
    'Units','Normalized', ...
      'Callback','andrdemo(''info'',gcf)',...
        'ListboxTop',0, ...
        'Position',[left bottom width height], ...
        'String','Info');

   % Step button: perform one adaptation step
   bottom=bottom+1.5*height;
    hbtstep = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Step', ...
      'Interruptible','off',...
      'Callback','andrdemo(''step'',gcf)');

   % Stop button: stop process of adaptation
   bottom=bottom+height;
   hbtstop = uicontrol(...
    'Units','Normalized', ...
        'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Stop', ...
      'Callback','set(gcbo,''UserData'',1)',...
      'Enable','off');

   % Play button: start up adaptation
   bottom=bottom+height;
   hbtplay = uicontrol(...
    'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Play', ...
      'Callback','andrdemo(''play'',gcf)');

   % Reset button: set up t = 0
   bottom=bottom+height;
    hbtreset = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Reset', ...
      'Callback','andrdemo(''reset'',gcf)');

   % Create data
   bottom=bottom+1.5*height;
    hbtcreat = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Create data', ...
      'Callback','andrdemo(''creatdata'',gcf)');

   % Load data
   bottom=bottom+1*height;
    hbtload = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Load data', ...
      'Callback','andrdemo(''getfile'',gcf)');

   % == Check boxes ===============================================================

   % Make chack box to determine if a line will be drawn in one step or smoothly.
   bottom=bottom+height*1.2;
    hxbanim = uicontrol(...
    'Style','checkbox', ...
       'Units','normalized', ...
    'ListboxTop',0, ...
       'Position',[left bottom width height], ...
    'String','Animation');


   % == Popup menus ==========================================================

   % Pop up menu for the selection between algorithms
    % title
   bottom=0.95-height;
   htxalgo=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'String','Algorithm');
   % popup menu
   bottom=bottom-0.9*height;
   hpualgo=uicontrol( ...
      'Style','popup', ...
      'Units','normalized', ...
      'CallBack','andrdemo(''algohandler'',gcf)',...
      'Position',[left bottom width height], ...
      'UserData',1,...
      'String',ALGONAMES);


   % == Edit lines ================================================================

   bottom=0.95-3.5*height;
   % Precision of solution
   htxprec=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'String',PREC_TITLE(1,:));

   bottom=bottom-height;
   hedprec = uicontrol(...
    'Units','normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'Style','edit',...
      'String',num2str(DEF_PRECISION(1)) );

   % # of iterations
   bottom=bottom-1.5*height;
   htxiter=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'String','Iterations');

   bottom=bottom-0.9*height;
   hediter = uicontrol(...
    'Units','normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'Style','edit',...
      'String',1);

    % ==============================================================================

   % Store handlers
   handlers=struct(...
      'line',struct('handler',-1,'alpha',0,'alpha1',0,'alpha2',0,'lambda',0,'theta',0,'t',0),...
      'btstep',hbtstep,...
      'btstop',hbtstop,...
      'btclose',hbtclose,...
      'btplay',hbtplay,...
      'btreset',hbtreset,...
      'btinfo',hbtinfo,...
      'btload',hbtload,...
      'btcreat',hbtcreat,...
      'pualgo',hpualgo,...
      'console',hconsole,...
      'edprec',hedprec,...
      'editer',hediter,...
      'txprec',htxprec,...
      'axes1',haxes1,...
      'xbanim',hxbanim);

   set(hfigure,'UserData',handlers);

   % Reset adaptation, t=0
   andrdemo('reset',hfigure);

   % Put figure on desktop
   set(hfigure,'Visible','on');

   drawnow;


case 'creatdata'
   % == Invoke data set creator ============================================
   creatset('normal',2,'andrdemo','created',hfigure);


case 'created'
   % == Load new created data set ===========================================

   % get handler and make this figure active
   figure(hfigure);
   h=get(hfigure,'UserData');

   % get file name
   path=varargin{1};
   name=varargin{2};
   pathname=strcat(path,name);

   if checkdat(pathname,DATA_IDENT,2,[0 0])==1,
      file.pathname=pathname;
      file.path=path;
      file.name=name;
      set(h.btload,'UserData',file);
      andrdemo('loadsets',hfigure);
      andrdemo('reset',hfigure);
   else
      errordlg('This file does not contain required data.','Bad file','modal');
   end


case 'getfile'
   % == Invoke standard open file dialog ====================================
   % Opens file and checks if contains apropriate data, if yes loads data.

   h=get(hfigure,'UserData');

   % change path to directory
%%   wres=what('anderson');
%%   cd(wres.path);

   [name,path]=uigetfile('*.mat','Open file');
   if name~=0,
      file.pathname=strcat(path,name);
      file.path=path;
      file.name=name;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区视频在线看| 亚洲另类春色校园小说| 欧美一区二区三级| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 波多野结衣精品在线| 成人久久视频在线观看| 99r国产精品| 欧美亚洲尤物久久| 欧美久久一区二区| 日韩精品在线一区| 久久久久久久久久久99999| 久久久噜噜噜久噜久久综合| 国产欧美日韩三级| 亚洲欧美激情视频在线观看一区二区三区| 亚洲色图色小说| 亚洲一区二区三区四区不卡| 日韩精品免费专区| 国内欧美视频一区二区| 成人污污视频在线观看| 欧美性一级生活| 日韩区在线观看| 国产精品久久久久国产精品日日| 综合久久给合久久狠狠狠97色| 亚洲一二三四久久| 另类小说图片综合网| www.亚洲人| 91精品国模一区二区三区| 精品国产一区二区亚洲人成毛片 | 在线视频综合导航| 91精品久久久久久久99蜜桃 | 91网上在线视频| 欧美日本韩国一区| 久久久不卡网国产精品一区| 国产精品国产三级国产三级人妇 | 久久亚洲一级片| 亚洲免费在线播放| 蜜桃在线一区二区三区| 97久久人人超碰| 日韩精品一区二区三区老鸭窝| 国产精品视频看| 久久成人综合网| 欧美亚洲动漫精品| 国产欧美日韩在线观看| 午夜精品aaa| 99re热视频精品| 亚洲精品在线观| 日本欧美在线看| 日本韩国欧美国产| 国产午夜精品久久久久久免费视 | 51精品视频一区二区三区| 国产精品久线在线观看| 蜜臀av一区二区| 欧美二区三区的天堂| 亚洲精品免费看| 不卡av在线免费观看| 精品国产乱码久久久久久蜜臀| 图片区日韩欧美亚洲| 成人网在线播放| 中文字幕乱码一区二区免费| 男男gaygay亚洲| 欧美一区二区三区色| 亚洲国产精品久久久久秋霞影院 | 国产欧美日韩麻豆91| 韩国精品一区二区| 欧美一区二区三区在线观看| 性做久久久久久免费观看欧美| 丁香激情综合国产| 久久久综合视频| 狠狠色丁香婷婷综合久久片| 日韩一级视频免费观看在线| 五月天激情小说综合| 欧美三级蜜桃2在线观看| 亚洲免费在线视频一区 二区| 国产成人在线免费| 亚洲r级在线视频| 欧美专区日韩专区| 亚洲国产裸拍裸体视频在线观看乱了| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 成人免费av网站| 国产精品久久国产精麻豆99网站| 国产999精品久久久久久| 久久精品亚洲一区二区三区浴池| 久久成人av少妇免费| 欧美电影免费提供在线观看| 免费日本视频一区| 精品久久久久久久久久久院品网 | 免费在线看成人av| 精品国产乱码久久久久久夜甘婷婷 | 91精品国产一区二区| 免费高清视频精品| 久久久www成人免费毛片麻豆 | 亚洲视频免费在线观看| 色美美综合视频| 亚洲国产aⅴ天堂久久| 日韩欧美精品在线| 国产伦精一区二区三区| 亚洲欧洲一区二区在线播放| 在线一区二区视频| 麻豆久久久久久久| 国产精品久久久久9999吃药| 在线观看欧美精品| 国产一区二区三区在线观看免费 | 久久女同精品一区二区| 成人av动漫网站| 午夜久久久久久久久久一区二区| 精品理论电影在线观看| fc2成人免费人成在线观看播放| 亚洲一区二区欧美| 久久美女高清视频| 欧美图片一区二区三区| 狠狠久久亚洲欧美| 一区二区三区国产精品| 日韩欧美国产电影| 色94色欧美sute亚洲线路二| 久久精品国产秦先生| 一区二区三区四区视频精品免费 | 欧美精品久久99久久在免费线| 国产一区激情在线| 亚洲一区二区三区视频在线 | 久久美女高清视频| 欧美三级日韩三级国产三级| 国产成人综合在线观看| 亚洲成人精品影院| 国产精品久久久久影视| 欧美videossexotv100| 99久精品国产| 国产成人8x视频一区二区| 麻豆精品视频在线观看免费| 亚洲一区二区三区四区在线观看 | 欧美精品乱人伦久久久久久| 国产盗摄女厕一区二区三区| 日韩中文字幕av电影| 亚洲图片另类小说| 国产视频一区在线播放| 欧美一区二区黄色| 欧美色综合影院| 91黄色免费网站| 99视频精品在线| 成人avav影音| 成人一区二区三区视频| 国产一区视频导航| 国产一区二区久久| 狠狠色综合播放一区二区| 日韩av电影天堂| 性做久久久久久| 日韩在线a电影| 午夜视频在线观看一区二区 | 欧美色网一区二区| 在线精品视频免费播放| 一本久道久久综合中文字幕| 97国产一区二区| 91老师国产黑色丝袜在线| 成人免费看片app下载| 国产成人午夜精品影院观看视频 | 国产乱人伦偷精品视频不卡| 久草热8精品视频在线观看| 麻豆国产一区二区| 国模冰冰炮一区二区| 国产精品亚洲一区二区三区妖精| 韩国视频一区二区| 成人激情动漫在线观看| 99久久免费精品高清特色大片| 91啪在线观看| 欧美日韩激情在线| 欧美一区二区免费观在线| 亚洲精品一区二区精华| 久久久精品综合| 综合电影一区二区三区 | 国产欧美日韩亚州综合| 国产精品久久免费看| 一区二区三区 在线观看视频| 亚洲成人先锋电影| 精品影视av免费| 不卡影院免费观看| 欧美日韩一区二区三区四区五区 | 日本亚洲电影天堂| 国产一区二区h| 色偷偷成人一区二区三区91| 欧美日韩一区二区三区不卡| 日韩一区二区免费电影| 中文av一区特黄| 亚洲一区二区3| 国产精一区二区三区| 91黄色激情网站| 日韩精品中文字幕一区| 亚洲欧洲美洲综合色网| 日韩av中文字幕一区二区| 成人自拍视频在线| 777欧美精品| 国产精品久久久久久久午夜片 | 色哟哟精品一区| 日韩美女主播在线视频一区二区三区 | 国产一区二区三区美女| 日本国产一区二区| 国产亚洲一区二区三区在线观看| 一区二区三区中文字幕精品精品 | 亚洲人成伊人成综合网小说| 偷偷要91色婷婷| 91美女在线视频| 久久午夜色播影院免费高清 |