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

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

?? ac_evolution.m

?? active contours in matlab
?? M
字號:
function varargout = ac_evolution(task, about_acontours, varargin)
%ac_evolution: storage, properties, and plot of the evolution of a set of active
%              contours
%   o_e = ac_evolution(t, b, a) performs a task, t, related to the evolution of
%   a set of active contours according to some arguments, a. t is a string among
%   'initialization', 'new resolution', 'update', 'evolution rate', 'durations',
%   'durations (str)', 'plot', and 'clear'. The tasks 'initialization', 'new
%   resolution', 'update', and 'evolution rate' are meant to be called by
%   ac_segmentation only.
%
%   d = ac_evolution('durations', b) returns the optimal evolution steps
%   computed for active contour b during the last resolution/scale, or an empty
%   array if the constant step mode was chosen. At each iteration, the velocity
%   computed by the function passed to ac_segmentation as the argument
%   velocity_amplitude is multiplied by a constant or optimal evolution step
%   representing time, hence the name duration.
%
%   d = ac_evolution('durations (str)', b) returns the optimal evolution steps
%   of active contour b as a formatted string.
%
%   ac_evolution('plot', b) creates a figure and plots the optimal steps (or the
%   constant function 1 for constant step) and the mean abs-amplitude of active
%   contour b during the last resolution/scale.
%
%   ac_evolution('clear') clears the persistent variables of ac_evolution. Most
%   of the tasks produce an error if called afterward.
%
%   Note:
%   The other tasks should be documented in a later release.
%
%See also ac_segmentation, acontour.
%
%Active Contour Toolbox by Eric Debreuve
%Last update: June 21, 2006

persistent p_resolution_idx p_mean_amplitudes...
   p_storage_per_resolution p_duration_storage p_durations
%{resolution}(acontour index, iteration)

switch task
   case 'initialization'%, number of acontours, number of resolutions, fake "previous" durations
      p_resolution_idx = 0;

      p_mean_amplitudes = cell(varargin{1}, 1);

      p_storage_per_resolution = (varargin{2} <= 0);
      if any(p_storage_per_resolution)
         p_durations = cell(varargin{1}, 1);
      end

      for resolution_idx = 1:varargin{1}
         p_mean_amplitudes{resolution_idx} = zeros(about_acontours, 1);
         p_mean_amplitudes{resolution_idx}(:,1) = 1;%fake "previous" mean amplitudes
         if p_storage_per_resolution(resolution_idx)
            p_durations{resolution_idx} = zeros(about_acontours, 1);
            p_durations{resolution_idx}(:,1) = - varargin{2}(resolution_idx);%fake "previous" duration
         end
      end

   case 'new resolution'%
      p_resolution_idx = p_resolution_idx + 1;
      p_duration_storage = p_storage_per_resolution(p_resolution_idx);

   case 'update'%, acontour index, amplitude, duration
      if ~any(p_mean_amplitudes{p_resolution_idx}(:,end) < 0)
         p_mean_amplitudes{p_resolution_idx}(:,end+1) = -1;
         if p_duration_storage
            p_durations{p_resolution_idx}(:,end+1) = 0;
         end
      end
      p_mean_amplitudes{p_resolution_idx}(about_acontours,end) = mean(abs(varargin{1}));
      if p_duration_storage
         p_durations{p_resolution_idx}(about_acontours,end) = varargin{2};
      end

   case 'evolution rate'%
      varargout{1} = mean(p_mean_amplitudes{p_resolution_idx}(:,end));

   case 'durations'%, acontour index
      if p_duration_storage
         varargout{1} = p_durations{p_resolution_idx}(about_acontours,:);
      else
         varargout{1} = [];
      end

   case 'durations (str)'%, acontour index
      if p_duration_storage
         varargout{1} = num2str(p_durations{p_resolution_idx}(about_acontours,2:end), '%.3g, ');%the fake duration is not output
         varargout{1}([end-1 end]) = [];
      else
         varargout{1} = 'constant step';
      end

   case 'plot'%, acontour index
      if nargin < 2
         about_acontours = 1;
      end
      figure('Name', ['Evolution of acontour ' int2str(about_acontours)])
      subplot(2, 1, 1);
      if p_duration_storage
         plot(p_durations{p_resolution_idx}(about_acontours,2:end), 'LineWidth', 1.5)%the fake duration is not plotted
      else
         plot(ones(1, size(p_mean_amplitudes{p_resolution_idx},2)-1), 'LineWidth', 1.5)
      end
      set(get(gca, 'XLabel'), 'String', 'Iterations')
      set(get(gca, 'YLabel'), 'String', 'Durations')
      set(gca, 'XLim', [1, size(p_mean_amplitudes{p_resolution_idx},2)-1])
      subplot(2, 1, 2);
      plot(p_mean_amplitudes{p_resolution_idx}(about_acontours,2:end), 'LineWidth', 1.5)%the fake mean amplitude is not plotted
      set(get(gca, 'XLabel'), 'String', 'Iterations')
      set(get(gca, 'YLabel'), 'String', 'Mean amplitudes')
      set(gca, 'XLim', [1, size(p_mean_amplitudes{p_resolution_idx},2)-1])

   case 'clear', clear(mfilename)
   otherwise,    help(mfilename)
end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
制服丝袜亚洲播放| 在线视频亚洲一区| 日日骚欧美日韩| 亚洲日本免费电影| 中文字幕乱码日本亚洲一区二区| 2欧美一区二区三区在线观看视频| 4438亚洲最大| 欧美一区二区三区四区视频| 欧美一级搡bbbb搡bbbb| 91精品国产色综合久久不卡电影| 欧美猛男gaygay网站| 欧美日韩大陆在线| 日韩精品在线一区二区| 日韩精品一区二区三区视频 | 成人午夜在线视频| 国产成人8x视频一区二区| 成人免费高清视频在线观看| av在线不卡观看免费观看| 91久久精品日日躁夜夜躁欧美| 91麻豆123| 欧美日韩国产小视频| 欧美电影免费观看高清完整版在线 | 91丨porny丨蝌蚪视频| 色婷婷亚洲综合| 欧美日韩国产高清一区二区三区| 欧美一区二区精品在线| 久久久亚洲精品一区二区三区| 国产精品国模大尺度视频| 亚洲综合在线五月| 国产做a爰片久久毛片| 成人美女在线观看| 欧美久久婷婷综合色| wwwwww.欧美系列| 一区二区中文视频| 欧美aⅴ一区二区三区视频| 国产99精品国产| 欧美午夜精品久久久| 91精品一区二区三区久久久久久| 久久婷婷一区二区三区| 亚洲男同性恋视频| 麻豆国产91在线播放| 91丨九色丨尤物| 欧美不卡一区二区| 一二三四社区欧美黄| 日本免费新一区视频| 成人看片黄a免费看在线| 欧美日韩aaa| 中文字幕亚洲一区二区av在线 | 欧美电影一区二区| 国产精品家庭影院| 激情小说亚洲一区| 欧美日韩一区二区三区高清| 国产精品日韩精品欧美在线 | 7777精品伊人久久久大香线蕉经典版下载| 精品国产污污免费网站入口| 亚洲一区二区三区四区的| 久久精品99久久久| 欧美乱妇一区二区三区不卡视频| 久久精品亚洲一区二区三区浴池| 日韩成人av影视| 日本韩国欧美一区二区三区| 国产亲近乱来精品视频| 免费在线一区观看| 欧美猛男gaygay网站| 亚洲免费三区一区二区| 成人av电影免费在线播放| 久久综合色天天久久综合图片| 午夜电影一区二区三区| 91蜜桃免费观看视频| 国产精品少妇自拍| 国产电影精品久久禁18| 精品国产乱码久久久久久免费 | 日韩欧美色综合| 午夜精品久久久久久久| 91高清视频在线| 亚洲一区二区三区中文字幕 | 欧美日韩中文精品| 亚洲另类中文字| 99久久伊人网影院| 一区免费观看视频| 91视频一区二区三区| 亚洲日本成人在线观看| 成人av电影在线网| 亚洲天堂精品在线观看| 91免费看视频| 亚洲午夜羞羞片| 91精品国产91久久久久久一区二区| 亚洲小说欧美激情另类| 欧美日韩一二三区| 久久综合综合久久综合| 久久日韩精品一区二区五区| 国产精品自拍av| 18成人在线观看| 欧美日韩久久不卡| 免费在线看成人av| 久久久99久久精品欧美| 国产精品一二一区| 国产精品灌醉下药二区| 欧美在线短视频| 日本一道高清亚洲日美韩| 日韩精品一区二区三区swag| 国产激情视频一区二区三区欧美| 欧美经典三级视频一区二区三区| 99精品桃花视频在线观看| 亚洲永久免费av| 欧美大黄免费观看| aaa亚洲精品| 日韩高清在线观看| 欧美激情中文字幕一区二区| 色婷婷久久99综合精品jk白丝| 亚洲国产中文字幕| 久久久精品国产99久久精品芒果| 成人app下载| 日本不卡一区二区三区高清视频| 国产三级精品视频| 欧美电影一区二区三区| 成人三级在线视频| 秋霞午夜鲁丝一区二区老狼| 国产欧美精品区一区二区三区| 91日韩在线专区| 国产一区二区三区香蕉| 夜夜嗨av一区二区三区中文字幕| 亚洲精品在线观看网站| 在线观看日韩国产| 成人免费视频免费观看| 日韩va欧美va亚洲va久久| 亚洲欧美综合色| 久久精品一区二区三区av| 欧美日韩国产大片| 91亚洲国产成人精品一区二区三 | 成人一道本在线| 免费观看在线色综合| 亚洲视频资源在线| 国产日韩av一区| 日韩欧美激情一区| 欧美日韩国产在线观看| 91色视频在线| av成人老司机| 成人黄色免费短视频| 国产麻豆视频精品| 久久精品久久精品| 日韩av中文字幕一区二区三区 | 三级一区在线视频先锋| 亚洲美女精品一区| 亚洲欧美中日韩| 国产欧美日本一区二区三区| 精品区一区二区| 日韩午夜av一区| 在线综合亚洲欧美在线视频| 在线视频综合导航| 欧美在线不卡视频| 欧美日韩国产大片| 欧美一区二区日韩一区二区| 欧美女孩性生活视频| 欧美午夜电影网| 9191国产精品| 精品久久人人做人人爱| 精品粉嫩aⅴ一区二区三区四区| 日韩亚洲欧美一区二区三区| 欧美一区二区在线看| 日韩一区二区三区免费看 | 麻豆精品久久久| 裸体健美xxxx欧美裸体表演| 日韩av午夜在线观看| 久久精品免费看| 国产制服丝袜一区| www.视频一区| 在线免费亚洲电影| 91麻豆精品久久久久蜜臀 | 久久欧美一区二区| 国产欧美日本一区二区三区| 国产精品麻豆网站| 亚洲综合色丁香婷婷六月图片| 亚洲成人777| 狠狠色丁香久久婷婷综合丁香| 国产一区视频网站| 91在线一区二区三区| 欧美日韩在线直播| 日韩午夜激情免费电影| 久久综合一区二区| 亚洲电影欧美电影有声小说| 亚洲成人福利片| 国产一二精品视频| 日本丰满少妇一区二区三区| 欧美一区二区三区白人| 国产日产欧美一区| 亚洲一区二区三区四区的| 久久福利视频一区二区| 99精品一区二区| 日韩欧美在线123| 亚洲欧洲国产专区| 美国毛片一区二区| 色噜噜狠狠色综合中国| 欧美一区二区性放荡片| 国产精品久99| 美腿丝袜亚洲三区| 色av一区二区| 中文子幕无线码一区tr| 青青草原综合久久大伊人精品| 成人一区二区三区中文字幕|