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

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

?? nonmaxsup.m

?? hopfield neural network for binary image recognition
?? M
字號:
% NONMAXSUP - Non-maxima suppression%% Usage:%          [im,location] = nonmaxsup(inimage, orient, radius);%% Function for performing non-maxima suppression on an image using an% orientation image.  It is assumed that the orientation image gives % feature normal orientation angles in degrees (0-180).%% Input:%   inimage - Image to be non-maxima suppressed.% %   orient  - Image containing feature normal orientation angles in degrees%             (0-180), angles positive anti-clockwise.% %   radius  - Distance in pixel units to be looked at on each side of each%             pixel when determining whether it is a local maxima or not.%             This value cannot be less than 1.%             (Suggested value about 1.2 - 1.5)%% Returns:%   im        - Non maximally suppressed image.%   location  - Complex valued image holding subpixel locations of edge%               points. For any pixel the real part holds the subpixel row%               coordinate of that edge point and the imaginary part holds%               the column coordinate.  (If a pixel value is 0+0i then it%               is not an edgepoint.)%               (Note that if this function is called without 'location'%               being specified as an output argument is not computed)%% Notes:%% The suggested radius value is 1.2 - 1.5 for the following reason. If the% radius parameter is set to 1 there is a chance that a maxima will not be% identified on a broad peak where adjacent pixels have the same value.  To% overcome this one typically uses a radius value of 1.2 to 1.5.  However% under these conditions there will be cases where two adjacent pixels will% both be marked as maxima.  Accordingly there is a final morphological% thinning step to correct this.%% This function is slow.  It uses bilinear interpolation to estimate% intensity values at ideal, real-valued pixel locations on each side of% pixels to determine if they are local maxima.% Copyright (c) 1996-2005 Peter Kovesi% School of Computer Science & Software Engineering% The University of Western Australia% http://www.csse.uwa.edu.au/% % Permission is hereby granted, free of charge, to any person obtaining a copy% of this software and associated documentation files (the "Software"), to deal% in the Software without restriction, subject to the following conditions:% % The above copyright notice and this permission notice shall be included in all% copies or substantial portions of the Software.%% The Software is provided "as is", without warranty of any kind.% December  1996 - Original version% September 2004 - Subpixel localization added% August    2005 - Made Octave compatiblefunction [im, location] = nonmaxsup(inimage, orient, radius)if any(size(inimage) ~= size(orient))  error('image and orientation image are of different sizes');endif radius < 1  error('radius must be >= 1');endOctave = exist('OCTAVE_VERSION') ~= 0;  % Are we running under Octave?[rows,cols] = size(inimage);im = zeros(rows,cols);        % Preallocate memory for output imageif nargout == 2    location = zeros(rows,cols);endiradius = ceil(radius);% Precalculate x and y offsets relative to centre pixel for each orientation angle angle = [0:180].*pi/180;    % Array of angles in 1 degree increments (but in radians).xoff = radius*cos(angle);   % x and y offset of points at specified radius and angleyoff = radius*sin(angle);   % from each reference position.hfrac = xoff - floor(xoff); % Fractional offset of xoff relative to integer locationvfrac = yoff - floor(yoff); % Fractional offset of yoff relative to integer locationorient = fix(orient)+1;     % Orientations start at 0 degrees but arrays start                            % with index 1.% Now run through the image interpolating grey values on each side% of the centre pixel to be used for the non-maximal suppression.for row = (iradius+1):(rows - iradius)  for col = (iradius+1):(cols - iradius)     or = orient(row,col);   % Index into precomputed arrays    x = col + xoff(or);     % x, y location on one side of the point in question    y = row - yoff(or);    fx = floor(x);          % Get integer pixel locations that surround location x,y    cx = ceil(x);    fy = floor(y);    cy = ceil(y);    tl = inimage(fy,fx);    % Value at top left integer pixel location.    tr = inimage(fy,cx);    % top right    bl = inimage(cy,fx);    % bottom left    br = inimage(cy,cx);    % bottom right    upperavg = tl + hfrac(or) * (tr - tl);  % Now use bilinear interpolation to    loweravg = bl + hfrac(or) * (br - bl);  % estimate value at x,y    v1 = upperavg + vfrac(or) * (loweravg - upperavg);  if inimage(row, col) > v1 % We need to check the value on the other side...    x = col - xoff(or);     % x, y location on the `other side' of the point in question    y = row + yoff(or);    fx = floor(x);    cx = ceil(x);    fy = floor(y);    cy = ceil(y);    tl = inimage(fy,fx);    % Value at top left integer pixel location.    tr = inimage(fy,cx);    % top right    bl = inimage(cy,fx);    % bottom left    br = inimage(cy,cx);    % bottom right    upperavg = tl + hfrac(or) * (tr - tl);    loweravg = bl + hfrac(or) * (br - bl);    v2 = upperavg + vfrac(or) * (loweravg - upperavg);    if inimage(row,col) > v2            % This is a local maximum.      im(row, col) = inimage(row, col); % Record value in the output                                        % image.					      % Code for sub-pixel localization if it was requested					      if nargout == 2         % Solve for coefficients of parabola that passes through 	 % [-1, v1]  [0, inimage] and [1, v2]. 	 % v = a*r^2 + b*r + c	 c = inimage(row,col);	 a = (v1 + v2)/2 - c;	 b = a + c - v1;	 	 % location where maxima of fitted parabola occurs	 r = -b/(2*a);	 location(row,col) = complex(row + r*yoff(or), col - r*xoff(or));            end          end   end  endend% Finally thin the 'nonmaximally suppressed' image by pointwise% multiplying itself with a morphological skeletonization of itself.%% I know it is oxymoronic to thin a nonmaximally supressed image but % fixes the multiple adjacent peaks that can arise from using a radius% value > 1.if Octave    skel = bwmorph(im>0,'thin',Inf);   % Octave bwmorph only works on binary                                       % images and 'thin' seems to produce                                       % better results.else    skel = bwmorph(im,'skel',Inf);endim = im.*skel;if nargout == 2    location = location.*skel;end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
波多野结衣亚洲| 亚洲福利视频一区| 精品人在线二区三区| 91精品国模一区二区三区| 欧美日韩亚州综合| 欧美日韩国产中文| 91精品国产丝袜白色高跟鞋| 欧美日本一区二区三区| 91麻豆精品国产91久久久使用方法| 欧美日韩国产乱码电影| 91精品国产福利| 精品久久久久久久久久久久久久久久久 | 欧美成人a在线| 欧美sm极限捆绑bd| 国产午夜精品美女毛片视频| 欧美韩日一区二区三区| 亚洲欧美日本在线| 午夜精品久久久久久久99水蜜桃 | 国产一区二区三区在线观看免费视频| 久久电影网电视剧免费观看| 日日摸夜夜添夜夜添亚洲女人| 日韩av中文字幕一区二区三区| 激情成人综合网| 99视频热这里只有精品免费| 精品污污网站免费看| 欧美一级精品在线| 国产精品网站在线| 亚洲成人在线观看视频| 久久精品国产精品亚洲红杏| 成人精品视频一区二区三区尤物| 在线区一区二视频| 日韩美女天天操| 1024精品合集| 看国产成人h片视频| 不卡的av网站| 精品嫩草影院久久| 亚洲一区av在线| 成人免费毛片a| 欧美高清视频www夜色资源网| 国产午夜精品一区二区三区视频| 午夜日韩在线观看| 91论坛在线播放| 2014亚洲片线观看视频免费| 亚洲一区成人在线| 成av人片一区二区| 精品欧美一区二区三区精品久久| 亚洲精品国产a久久久久久 | 亚洲综合免费观看高清完整版| 麻豆91精品91久久久的内涵| 色av一区二区| 欧美国产精品一区二区| 美日韩一区二区| 欧美三级中文字幕| 一区二区三区美女| 不卡欧美aaaaa| 欧美经典一区二区| 国产一区在线视频| 精品久久国产老人久久综合| 五月婷婷色综合| 91免费看片在线观看| 亚洲最大色网站| 成人性生交大片免费| 欧美不卡一区二区三区四区| 日韩和欧美的一区| 欧美探花视频资源| 一区二区三区日韩| 色哟哟国产精品| 亚洲美女视频在线| 91官网在线免费观看| 亚洲人吸女人奶水| 一本色道久久综合精品竹菊| 亚洲乱码中文字幕| 在线观看亚洲成人| 亚洲精品在线免费观看视频| 成人永久免费视频| 精品国产网站在线观看| 免费成人性网站| 日韩精品一区二区三区蜜臀| 免费一级欧美片在线观看| 欧美一级二级在线观看| 麻豆国产精品视频| 久久久天堂av| 成人免费观看男女羞羞视频| 中文字幕欧美一区| 日本久久精品电影| 亚洲成av人**亚洲成av**| 欧美精品777| 国产一区二区三区视频在线播放| 国产亚洲va综合人人澡精品 | 亚洲欧洲国产日韩| 91久久精品一区二区三| 午夜精品久久久久久| 欧美一区二区精品| 久久久久高清精品| 精东粉嫩av免费一区二区三区| 欧美一区二区性放荡片| 国产一区福利在线| 欧美国产日韩a欧美在线观看| 91美女在线视频| 奇米综合一区二区三区精品视频| 久久香蕉国产线看观看99| 不卡大黄网站免费看| 午夜伦理一区二区| 久久蜜桃av一区精品变态类天堂 | 日韩欧美综合在线| jizzjizzjizz欧美| 日产国产欧美视频一区精品| 中文字幕免费不卡在线| 欧美日韩国产一区二区三区地区| 国产一区不卡精品| 日韩激情av在线| 国产精品视频一区二区三区不卡 | 曰韩精品一区二区| 欧美tickling网站挠脚心| 成人av中文字幕| 日韩福利视频网| 亚洲人吸女人奶水| 久久精品视频免费| 6080日韩午夜伦伦午夜伦| 成人性生交大片免费看中文网站| 午夜电影网一区| 国产精品第13页| 久久精品夜色噜噜亚洲a∨| 日本精品视频一区二区| 国产精品一区二区黑丝| 五月天激情综合| 国产精品成人午夜| 国产亚洲欧美色| 555www色欧美视频| 欧美日韩精品免费观看视频| eeuss鲁一区二区三区| 国产一区二区三区av电影| 婷婷六月综合网| 一区二区在线观看av| 中文成人av在线| 久久久久免费观看| 久久综合精品国产一区二区三区| 91麻豆精品国产91久久久久| 欧美视频完全免费看| 色综合久久天天| 97se亚洲国产综合在线| 99久久婷婷国产| av成人老司机| av电影在线观看一区| 粉嫩av一区二区三区粉嫩| 国产精品一二三四五| 国产美女主播视频一区| 国产又黄又大久久| 国产一区视频导航| 国产美女在线观看一区| 国产成人免费视频一区| 国产成人免费xxxxxxxx| 国产大陆精品国产| youjizz国产精品| 97超碰欧美中文字幕| 91高清视频免费看| 欧美专区亚洲专区| 在线播放亚洲一区| 欧美一级黄色录像| 久久精品视频一区二区三区| 国产欧美日韩视频一区二区 | 日韩精品一区第一页| 青青草97国产精品免费观看无弹窗版 | 久久久综合网站| 中文一区二区在线观看| 国产精品白丝在线| 亚洲综合男人的天堂| 日韩av电影天堂| 国产高清不卡一区二区| www.亚洲激情.com| 在线观看国产91| 日韩欧美三级在线| 韩国v欧美v日本v亚洲v| 国产电影一区二区三区| 国产精品亚洲第一区在线暖暖韩国 | 在线国产亚洲欧美| 欧美一区二区三区在线观看| 精品国产露脸精彩对白| 国产精品二区一区二区aⅴ污介绍| 亚洲一区二区三区四区中文字幕| 日本aⅴ精品一区二区三区 | 久久机这里只有精品| 成人精品一区二区三区四区| 在线观看视频一区| 欧美不卡一区二区三区| 欧美专区日韩专区| 日韩午夜精品电影| 亚洲少妇30p| 免费高清视频精品| 91美女片黄在线观看91美女| 欧美日韩国产不卡| 亚洲欧洲99久久| 美腿丝袜亚洲综合| 色婷婷综合五月| 久久精品日韩一区二区三区| 亚洲一二三级电影| 成人免费视频国产在线观看| 在线成人免费观看| 亚洲欧美国产毛片在线| 精品一区二区三区香蕉蜜桃|