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

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

?? phasesym.m

?? MATLAB Functions for Multiple View Geometry
?? M
?? 第 1 頁 / 共 2 頁
字號:
% PHASESYM - Function for computing phase symmetry on an image.%% This function calculates the phase symmetry of points in an image.% This is a contrast invariant measure of symmetry.  This function can be% used as a line and blob detector.  The greyscale 'polarity' of the lines% that you want to find can be specified.%% There are potentially many arguments, here is the full usage:%%   [phaseSym, orientation, totalEnergy] = ...%                phasesym(im, nscale, norient, minWaveLength, mult, ...%                         sigmaOnf, dThetaOnSigma, k, polarity)%% However, apart from the image, all parameters have defaults and the% usage can be as simple as:%%    phaseSym = phasesym(im);% % Arguments:%              Default values      Description%%    nscale           5    - Number of wavelet scales, try values 3-6%    norient          6    - Number of filter orientations.%    minWaveLength    3    - Wavelength of smallest scale filter.%    mult             2.1  - Scaling factor between successive filters.%    sigmaOnf         0.55 - Ratio of the standard deviation of the Gaussian %                            describing the log Gabor filter's transfer function %                            in the frequency domain to the filter center frequency.%    dThetaOnSigma    1.2  - Ratio of angular interval between filter orientations%                            and the standard deviation of the angular Gaussian%                            function used to construct filters in the%                            freq. plane.%    k                2.0  - No of standard deviations of the noise energy beyond%                            the mean at which we set the noise threshold point.%                            You may want to vary this up to a value of 10 or%                            20 for noisy images %    polarity         0    - Controls 'polarity' of symmetry features to find.%                             1 - just return 'bright' points%                            -1 - just return 'dark' points%                             0 - return bright and dark points.%% Return values:%    phaseSym              - Phase symmetry image (values between 0 and 1).%    orientation           - Orientation image. Orientation in which local%                            symmetry energy is a maximum, in degrees%                            (0-180), angles positive anti-clockwise.%    totalEnergy           - Un-normalised raw symmetry energy which may be%                            more to your liking.%%% Notes on specifying parameters:  %% The parameters can be specified as a full list eg.%  >> phaseSym = phasesym(im, 5, 6, 3, 2.5, 0.55, 1.2, 2.0, 0);%% or as a partial list with unspecified parameters taking on default values%  >> phaseSym = phasesym(im, 5, 6, 3);%% or as a partial list of parameters followed by some parameters specified via a% keyword-value pair, remaining parameters are set to defaults, for example:%  >> phaseSym = phasesym(im, 5, 6, 3, 'polarity',-1, 'k', 2.5);% % The convolutions are done via the FFT.  Many of the parameters relate to the% specification of the filters in the frequency plane.  The values do not seem% to be very critical and the defaults are usually fine.  You may want to% experiment with the values of 'nscales' and 'k', the noise compensation factor.%% Notes on filter settings to obtain even coverage of the spectrum% dthetaOnSigma 1.2    norient 6% sigmaOnf       .85   mult 1.3% sigmaOnf       .75   mult 1.6     (filter bandwidth ~1 octave)% sigmaOnf       .65   mult 2.1  % sigmaOnf       .55   mult 3       (filter bandwidth ~2 octaves)%% For maximum speed the input image should have dimensions that correspond to% powers of 2, but the code will operate on images of arbitrary size.%% See Also:  PHASECONG, PHASECONG2, GABORCONVOLVE, PLOTGABORFILTERS% References:%     Peter Kovesi, "Symmetry and Asymmetry From Local Phase" AI'97, Tenth%     Australian Joint Conference on Artificial Intelligence. 2 - 4 December%     1997. http://www.cs.uwa.edu.au/pub/robvis/papers/pk/ai97.ps.gz.%%     Peter Kovesi, "Image Features From Phase Congruency". Videre: A%     Journal of Computer Vision Research. MIT Press. Volume 1, Number 3,%     Summer 1999 http://mitpress.mit.edu/e-journals/Videre/001/v13.html% April 1996     Original Version written % August 1998    Noise compensation corrected. % October 1998   Noise compensation corrected.   - Again!!!% September 1999 Modified to operate on non-square images of arbitrary size. % February 2001  Specialised from phasecong.m to calculate phase symmetry % July 2005      Better argument handling + general cleanup and speed improvements% August 2005    Made Octave compatible.% January 2007   Small correction and cleanup of radius calculation for odd%                image sizes.% 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.function[phaseSym, orientation, totalEnergy] = phasesym(varargin)    % Get arguments and/or default values        [im, nscale, norient, minWaveLength, mult, sigmaOnf,  dThetaOnSigma,k, ...     polarity] = checkargs(varargin(:));      Octave = exist('OCTAVE_VERSION') ~= 0;  % Are we running under Octave?        epsilon         = .0001;         % Used to prevent division by zero.    % Calculate the standard deviation of the angular Gaussian function    % used to construct filters in the frequency plane.         thetaSigma = pi/norient/dThetaOnSigma;          [rows,cols] = size(im);    imagefft = fft2(im);                % Fourier transform of image    zero = zeros(rows,cols);        totalEnergy = zero;                 % Matrix for accumulating weighted phase                                         % congruency values (energy).    totalSumAn  = zero;                 % Matrix for accumulating filter response                                        % amplitude values.    orientation = zero;                 % Matrix storing orientation with greatest                                        % energy for each pixel.    estMeanE2n = [];    EO = cell(nscale, norient);         % Cell array of convolution results    ifftFilterArray = cell(1, nscale);  % Cell array of inverse FFTs of filters        % Pre-compute some stuff to speed up filter construction    % Set up X and Y matrices with ranges normalised to +/- 0.5    % The following code adjusts things appropriately for odd and even values    % of rows and columns.    if mod(cols,2)	xrange = [-(cols-1)/2:(cols-1)/2]/(cols-1);    else	xrange = [-cols/2:(cols/2-1)]/cols;	    end        if mod(rows,2)	yrange = [-(rows-1)/2:(rows-1)/2]/(rows-1);    else	yrange = [-rows/2:(rows/2-1)]/rows;	    end        [x,y] = meshgrid(xrange, yrange);                          radius = sqrt(x.^2 + y.^2);       % Matrix values contain *normalised* radius from centre.    theta = atan2(-y,x);              % Matrix values contain polar angle.                                      % (note -ve y is used to give +ve                                      % anti-clockwise angles)    radius = ifftshift(radius);       % Quadrant shift radius and theta so that filters    theta  = ifftshift(theta);        % are constructed with 0 frequency at the corners.    radius(1,1) = 1;                  % Get rid of the 0 radius value at the 0				      % frequency point (now at top-left corner)				      % so that taking the log of the radius will 				      % not cause trouble.				           sintheta = sin(theta);    costheta = cos(theta);    clear x; clear y; clear theta;    % save a little memory    % Filters are constructed in terms of two components.    % 1) The radial component, which controls the frequency band that the filter    %    responds to    % 2) The angular component, which controls the orientation that the filter    %    responds to.    % The two components are multiplied together to construct the overall filter.        % Construct the radial filter components...        % First construct a low-pass filter that is as large as possible, yet falls    % away to zero at the boundaries.  All log Gabor filters are multiplied by    % this to ensure no extra frequencies at the 'corners' of the FFT are    % incorporated as this seems to upset the normalisation process when    % calculating phase congrunecy.    lp = lowpassfilter([rows,cols],.4,10);   % Radius .4, 'sharpness' 10    logGabor = cell(1,nscale);        for s = 1:nscale        wavelength = minWaveLength*mult^(s-1);        fo = 1.0/wavelength;                  % Centre frequency of filter.        logGabor{s} = exp((-(log(radius/fo)).^2) / (2 * log(sigmaOnf)^2));          logGabor{s} = logGabor{s}.*lp;        % Apply low-pass filter        logGabor{s}(1,1) = 0;                 % Set the value at the 0 frequency point of the filter                                              % back to zero (undo the radius fudge).    end    % Then construct the angular filter components...    spread = cell(1,norient);        for o = 1:norient        angl = (o-1)*pi/norient;           % Filter angle.                % For each point in the filter matrix calculate the angular distance from        % the specified filter orientation.  To overcome the angular wrap-around        % problem sine difference and cosine difference values are first computed        % and then the atan2 function is used to determine angular distance.                ds = sintheta * cos(angl) - costheta * sin(angl);    % Difference in sine.        dc = costheta * cos(angl) + sintheta * sin(angl);    % Difference in cosine.        dtheta = abs(atan2(ds,dc));                          % Absolute angular distance.        spread{o} = exp((-dtheta.^2) / (2 * thetaSigma^2));  % Calculate the                                                             % angular filter component.    end    % The main loop...    for o = 1:norient,                   % For each orientation.        fprintf('Processing orientation %d \r', o);         if Octave fflush(1); end	        sumAn_ThisOrient  = zero;              Energy_ThisOrient = zero;              for s = 1:nscale,                  % For each scale.            filter = logGabor{s} .* spread{o};  % Multiply radial and angular                                                % components to get filter.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美精品在线视频| 99re成人精品视频| 国产91丝袜在线观看| 欧美吞精做爰啪啪高潮| 国产午夜精品久久久久久久| 亚洲无人区一区| 国产成人精品免费在线| 欧美人牲a欧美精品| 久久久国际精品| 五月天一区二区三区| 色综合婷婷久久| 久久久电影一区二区三区| 国模娜娜一区二区三区| 欧美一区二区啪啪| 亚洲第一主播视频| 99久久久久免费精品国产| 亚洲免费观看高清在线观看| 国产精品一二三在| 日韩精品一区二区三区视频播放| 开心九九激情九九欧美日韩精美视频电影 | 日韩欧美在线123| 一区二区高清视频在线观看| 成人免费的视频| 精品日韩一区二区三区免费视频| 亚洲成人精品一区二区| 精品国精品自拍自在线| 久久狠狠亚洲综合| 1024成人网| www.日韩精品| 亚洲欧美在线另类| 日韩一区二区三区在线| 高潮精品一区videoshd| 亚洲午夜精品网| 国产亚洲1区2区3区| 欧美日韩一区二区三区视频| 亚洲精品视频在线观看免费 | 久久国内精品自在自线400部| 国产精品欧美久久久久一区二区| 国产尤物一区二区在线| 久久蜜臀中文字幕| 色婷婷激情综合| 亚洲国产精品久久久久秋霞影院| 日韩一区二区精品葵司在线 | 亚洲影视资源网| 欧美三级电影网| 国产91在线|亚洲| 毛片一区二区三区| 久久久久久久综合日本| 欧美日韩精品三区| 色婷婷av一区二区三区gif| 狠狠色丁香久久婷婷综| 亚洲va韩国va欧美va| 中文字幕一区二区在线播放 | 国产精品毛片a∨一区二区三区| 91精品久久久久久蜜臀| 免费成人美女在线观看| 久久久久久久久久美女| 欧美精品一级二级| 国产毛片一区二区| 日韩av一二三| 国产亚洲欧美日韩日本| 91精品国产高清一区二区三区 | 一区二区三区国产精华| 国产精品视频一二三| 精品美女一区二区三区| 欧美精品第1页| 欧美久久久久久久久久 | 欧美日韩视频在线第一区| 色综合色综合色综合色综合色综合 | 欧美精品三级日韩久久| 欧美在线视频日韩| 精品亚洲免费视频| 亚洲色图在线视频| 精品日产卡一卡二卡麻豆| 911精品国产一区二区在线| 欧美视频在线不卡| 欧美网站大全在线观看| 欧美色区777第一页| 欧美亚洲国产bt| 欧美日韩一区二区三区视频 | 日韩精品一区二| 国产精品网站一区| 国产精品美女久久久久高潮| 久久精品亚洲麻豆av一区二区| 久久网站最新地址| 欧美亚洲一区三区| 欧美日韩欧美一区二区| 欧美日韩成人综合天天影院 | 九九九久久久精品| 久久精品国产99久久6| 久久成人综合网| 国产一区二区主播在线| 国产精品系列在线观看| 国产+成+人+亚洲欧洲自线| 成人黄色小视频| 精品一区中文字幕| 国产经典欧美精品| 91女人视频在线观看| 久久99九九99精品| 国产成人亚洲综合a∨婷婷| eeuss国产一区二区三区| 在线免费观看日韩欧美| 欧美剧情片在线观看| 精品福利在线导航| 国产精品国产馆在线真实露脸 | 欧美日韩在线观看一区二区| 91精品国产入口| 久久亚洲一级片| 国产精品嫩草久久久久| 一区二区免费在线| 另类中文字幕网| 99视频热这里只有精品免费| 欧美网站一区二区| 精品日韩成人av| 亚洲精品成人a在线观看| 91久久精品网| 色伊人久久综合中文字幕| 欧美电影在哪看比较好| 欧美激情在线一区二区| 久久九九影视网| 一区二区三区高清| 国产乱淫av一区二区三区| 99re8在线精品视频免费播放| 日韩三级在线观看| 国产精品福利一区| 美女视频黄 久久| 一本到高清视频免费精品| 日韩视频在线永久播放| 成人免费小视频| 精品一区中文字幕| 欧美剧情电影在线观看完整版免费励志电影| 欧美v日韩v国产v| 一区二区三区精品在线| 国产成人亚洲综合a∨猫咪| 欧美片网站yy| 亚洲欧美精品午睡沙发| 国产综合色在线视频区| 7777精品伊人久久久大香线蕉| 国产精品丝袜久久久久久app| 美女久久久精品| 欧美丝袜丝交足nylons图片| 中文幕一区二区三区久久蜜桃| 日本vs亚洲vs韩国一区三区| 色婷婷国产精品久久包臀| 国产精品久久久久久久久图文区 | 一级女性全黄久久生活片免费| 国产福利精品导航| 欧美一区二区三区视频免费播放| 亚洲精品中文字幕在线观看| 粉嫩在线一区二区三区视频| 欧美岛国在线观看| 日本aⅴ亚洲精品中文乱码| 欧日韩精品视频| 一区二区免费视频| 91蝌蚪国产九色| 成人欧美一区二区三区白人| 国产99精品国产| 中文在线一区二区 | 国产一区二区中文字幕| 日韩欧美中文一区| 日韩高清在线电影| 欧美精品久久一区二区三区 | 日韩av在线发布| 欧美一区二区三区播放老司机| 性做久久久久久久免费看| 欧美亚洲另类激情小说| 亚洲精品中文在线| 在线观看亚洲专区| 一区二区三区在线观看动漫| av激情亚洲男人天堂| 国产精品午夜在线| 成人免费视频app| 激情六月婷婷久久| 精品国产成人在线影院| 九九在线精品视频| 欧美tickling挠脚心丨vk| 裸体健美xxxx欧美裸体表演| 欧美日韩国产综合久久| 亚洲高清免费视频| 欧美精品久久久久久久多人混战| 亚洲成va人在线观看| 91精品久久久久久蜜臀| 蜜臀91精品一区二区三区| 日韩精品自拍偷拍| 国产成人亚洲综合a∨猫咪| 亚洲视频中文字幕| 欧美日韩一区二区三区视频| 青青草原综合久久大伊人精品优势| 91精品国产综合久久久久久久久久 | 久久疯狂做爰流白浆xx| 久久久青草青青国产亚洲免观| 懂色av一区二区在线播放| 亚洲欧洲精品天堂一级| 欧洲日韩一区二区三区| 日本亚洲最大的色成网站www| 日韩美女主播在线视频一区二区三区| 韩国女主播一区| 国产精品福利一区二区| 欧美疯狂做受xxxx富婆| 韩国一区二区视频|