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

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

?? nonmaxsup.m

?? Peter Kovesi 編制的Harris角點檢測Matlab程序
?? 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一区二区三区免费野_久草精品视频
亚洲欧美日韩系列| 国产美女精品人人做人人爽| 久久99这里只有精品| 9久草视频在线视频精品| 欧美人体做爰大胆视频| 欧美激情一区二区三区蜜桃视频| 亚洲精品国产精品乱码不99| 久久国产精品第一页| 欧美日韩在线播| 亚洲视频小说图片| 国产精品一二三四区| 日韩三级视频在线看| 亚洲图片欧美色图| 91视视频在线直接观看在线看网页在线看| 日韩手机在线导航| 日韩激情一二三区| 色狠狠色狠狠综合| 中文字幕亚洲在| 成人美女在线视频| 国产欧美日韩三级| 国产剧情一区二区| 日韩欧美你懂的| 日韩专区中文字幕一区二区| 在线免费观看成人短视频| 国产精品久久久一本精品| 国产aⅴ综合色| 国产午夜精品一区二区 | 国产乱码精品一区二区三| 欧美日韩国产美女| 日韩成人dvd| 欧美电影免费观看高清完整版在| 亚洲电影一级片| 欧美日韩在线电影| 日韩在线a电影| 欧美大片在线观看一区| 蜜桃一区二区三区在线观看| 日韩免费视频一区二区| 六月丁香综合在线视频| 日韩三级精品电影久久久| 国内精品视频一区二区三区八戒| 国产精品伦一区| 97se亚洲国产综合自在线不卡| **性色生活片久久毛片| 欧美综合一区二区三区| 亚洲成人777| 欧美大度的电影原声| 国产一区福利在线| 国产欧美日韩精品一区| 91麻豆swag| 日韩精品每日更新| 久久影院午夜片一区| www.av精品| 性感美女极品91精品| 精品乱人伦小说| eeuss鲁一区二区三区| 亚洲国产另类av| 欧美tk丨vk视频| av综合在线播放| 首页欧美精品中文字幕| 久久亚洲一级片| 91日韩精品一区| 日本大胆欧美人术艺术动态| 2021久久国产精品不只是精品| 成人动漫一区二区| 亚洲电影一级黄| 国产欧美日韩在线视频| 欧美日韩在线一区二区| 欧美日韩国产一二三| 国产91清纯白嫩初高中在线观看| 一区二区激情小说| 久久这里都是精品| 欧美日韩精品一区二区| 国产成人精品亚洲日本在线桃色 | 日韩精品乱码免费| 欧美高清一级片在线观看| 欧美日韩高清在线| 成人av网址在线| 日韩成人伦理电影在线观看| 中文字幕视频一区二区三区久| 欧美精品久久久久久久久老牛影院| 国产不卡视频在线观看| 秋霞午夜鲁丝一区二区老狼| 日韩码欧中文字| 国产亚洲欧美色| 91精品久久久久久久99蜜桃| 色综合久久综合网| 国产a视频精品免费观看| 美女视频黄免费的久久 | 中文字幕一区二区三中文字幕| 6080日韩午夜伦伦午夜伦| jlzzjlzz欧美大全| 国产激情一区二区三区桃花岛亚洲| 日韩va欧美va亚洲va久久| 一区二区三区在线视频观看58| 亚洲国产岛国毛片在线| 久久美女艺术照精彩视频福利播放| 欧美军同video69gay| 在线亚洲高清视频| 91网站最新地址| 波多野结衣的一区二区三区| 国产精品一区二区91| 国产一区二区三区精品欧美日韩一区二区三区 | 成人免费在线观看入口| 日本一区二区三区在线不卡| 精品国产一区二区三区久久久蜜月 | 欧美高清www午色夜在线视频| av成人免费在线| 成人久久久精品乱码一区二区三区| 国精产品一区一区三区mba桃花 | 亚洲 欧美综合在线网络| 亚洲欧美国产三级| 中文字幕一区二区三区在线不卡 | 三级亚洲高清视频| 性做久久久久久久免费看| 亚洲福利国产精品| 亚洲成人激情自拍| 日产精品久久久久久久性色| 国产精品久久久久久久久免费相片| 色婷婷狠狠综合| 色综合久久久久综合体桃花网| 成人av网站在线观看免费| aa级大片欧美| 一本久久a久久精品亚洲| 色婷婷av一区二区三区大白胸| 日本韩国视频一区二区| 在线观看亚洲精品视频| 欧美无砖专区一中文字| 在线91免费看| wwwwxxxxx欧美| 国产精品乱码久久久久久| 亚洲精品中文在线| 天天综合色天天综合| 蜜桃视频一区二区三区在线观看| 精品综合久久久久久8888| 懂色av噜噜一区二区三区av| 99久久精品国产麻豆演员表| 日本电影欧美片| 在线成人高清不卡| 精品国产乱码久久久久久1区2区| 久久久久久麻豆| 久久99精品视频| 成人毛片在线观看| 欧美日韩一区二区三区在线看| 欧美电影免费观看高清完整版在线| 国产欧美精品一区二区色综合朱莉| 国产精品国产精品国产专区不蜜| 亚洲成a人在线观看| 蓝色福利精品导航| 99综合电影在线视频| 欧美日韩高清一区二区三区| 国产亚洲精品超碰| 亚洲高清免费观看高清完整版在线观看| 麻豆精品精品国产自在97香蕉| 风间由美一区二区av101| 欧美日本精品一区二区三区| 久久免费视频色| 午夜精品一区二区三区免费视频| 国产精品一级片在线观看| 欧美性色aⅴ视频一区日韩精品| 久久综合九色综合欧美就去吻| 亚洲免费在线看| 狠狠色狠狠色综合系列| 欧洲av一区二区嗯嗯嗯啊| 久久美女艺术照精彩视频福利播放| 亚洲国产一区二区三区青草影视| 韩国一区二区视频| 欧美日韩国产123区| |精品福利一区二区三区| 国模一区二区三区白浆 | 99久久夜色精品国产网站| 欧美一区二区视频在线观看| 中文字幕亚洲视频| 国产精品一区二区黑丝| 日韩一级片网址| 午夜影院在线观看欧美| 色94色欧美sute亚洲线路一ni | 国产91富婆露脸刺激对白| 337p亚洲精品色噜噜| 亚洲乱码一区二区三区在线观看| 国产一区二区在线免费观看| 欧美日韩国产片| 亚洲综合激情另类小说区| 成a人片国产精品| 国产欧美精品区一区二区三区| 奇米888四色在线精品| 欧美日韩中文字幕一区| 亚洲九九爱视频| 91浏览器打开| 亚洲特黄一级片| 波多野结衣的一区二区三区| 日本一二三不卡| 成人激情免费网站| 久久这里都是精品| 国产精品99精品久久免费| 国产亚洲婷婷免费| 国产精品一线二线三线| 久久青草国产手机看片福利盒子| 经典三级在线一区| 2欧美一区二区三区在线观看视频| 青娱乐精品视频在线|