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

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

?? plotgaborfilters.m

?? MATLAB Functions for Multiple View Geometry
?? M
字號:
% PLOTGABORFILTERS - Plots log-Gabor filters%% The purpose of this code is to see what effect the various parameter% settings have on the formation of a log-Gabor filter bank.%% Usage: [Ffilter, Efilter, Ofilter] = plotgaborfilters(sze,  nscale, norient,...%                                       minWaveLength, mult, sigmaOnf, dThetaOnSigma)%% Arguments:% Many of the parameters relate to the specification of the filters in the frequency plane.  %%   Variable       Suggested   Description%   name           value%  ----------------------------------------------------------%    sze             = 200     Size of image grid on which the filters%                              are calculated.  Note that the actual size%                              of the filter is really specified by its%                              wavelength. %    nscale          = 4;      Number of wavelet scales.%    norient         = 6;      Number of filter orientations.%    minWaveLength   = 3;      Wavelength of smallest scale filter.%    mult            = 2;      Scaling factor between successive filters.%    sigmaOnf        = 0.65;   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.5;    Ratio of angular interval between filter%                              orientations and the standard deviation of%                              the angular Gaussian function used to%                              construct filters in the freq. plane.%% Note regarding the specification of norient: In the default case it is assumed% that the angles of the filters are evenly spaced at intervals of pi/norient% around the frequency plane.  If you want to visualize filters at a specific% set of orientations that are not necessarily evenly spaced you can set the% orientations by passing a CELL array of orientations as the argument to% norient. In this case the value supplied for dThetaOnSigma will be used as% thetaSigma - the angular standard deviation of the filters.  Yes, this is% an ugly abuse of the argument list, but there it is!% Example:% View filters over 3 scales with orientations of -0.3 and +0.3 radians,% minWaveLength of 6, mult of 2, sigmaOnf of 0.65 and thetaSigma of 0.4 %   plotgaborfilters2(200, 3, {-.3 .3}, 6, 2, 0.65, 0.4);%% Returns:%    Ffilter - a 2D cell array of filters defined in the frequency domain.%    Efilter - a 2D cell array of even filters defined in the spatial domain.%    Ofilter - a 2D cell array of odd filters defined in the spatial domain.%%    Ffilter{s,o} = filter for scale s and orientation o.%    The even and odd filters in the spatial domain for scale s,%    orientation o, are obtained using.              %%    Efilter = ifftshift(real(ifft2(fftshift(filter{s,o}))));%    Ofilter = ifftshift(imag(ifft2(fftshift(filter{s,o}))));%% Plots:%    Figure 1         -  Sum of the filters in the frequency domain%    Figure 2         -  Cross sections of Figure 1%    Figures 3 and 4  -  Surface and intensity plots of filters in the%                        spatial domain at the smallest and largest%                        scales respectively.%% See also: GABORCONVOLVE, PHASECONG% Copyright (c) 2001-2008 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.% May 2001      - Original version.% February 2005 - Cleaned up.% August   2005 - Ffilter,Efilter and Ofilter corrected to return with scale%                 varying as the first index in the cell arrays.% July 2008     - Allow specific filter orientations to be specified in%                 norient via a cell array.function [Ffilter, Efilter, Ofilter] = ...	plotgaborfilters(sze, nscale, norient, minWaveLength, mult, ...				   sigmaOnf, dThetaOnSigma)     rows = sze; cols = sze;        if iscell(norient)   % Filter orientations and spread have been specified                         % explicitly        filterOrient = cell2mat(norient);        thetaSigma = dThetaOnSigma;  % Use dThetaOnSigma directly as thetaSigma         norient = length(filterOrient);	    else                 % Usual setup with filters evenly oriented	filterOrient = [0 : pi/norient : pi-pi/norient];		% Calculate the standard deviation of the angular Gaussian function	% used to construct filters in the frequency plane.     	thetaSigma = pi/norient/dThetaOnSigma;      end        % Double up all the filter orientations by adding another set offset by    % pi.  This allows us to see the overall orientation coverage of the    % filters a bit more easily.    filterOrient = [filterOrient filterOrient+pi];          % 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);       % Normalised radius (frequency) values 0.0 - 0.5    % Get rid of the 0 radius value in the middle so that taking the log of    % the radius will not cause trouble.    radius(fix(rows/2+1),fix(cols/2+1)) = 1;         theta = atan2(-y,x);              % Matrix values contain polar angle.				      % (note -ve y is used to give +ve				      % anti-clockwise angles)    sintheta = sin(theta);    costheta = cos(theta);    clear x; clear y; clear theta;    % save a little memory    % Define 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    % that filters are as similar as possible across orientations (Eliminate the    % extra frequencies at the 'corners' of the FFT)    lp = fftshift(lowpassfilter([rows,cols],.45,15));   % Radius .4, 'sharpness' 10    % The main loop...    filtersum = zeros(rows,cols);    for o = 1:2*norient,                   % For each orientation.	angl = filterOrient(o);	wavelength = minWaveLength;        % Initialize filter wavelength.	% Compute filter data specific to this orientation	% 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 = exp((-dtheta.^2) / (2 * thetaSigma^2));  % The angular filter component.		for s = 1:nscale,                  % For each scale.	    	    % Construct the filter - first calculate the radial filter component.	    fo = 1.0/wavelength;                  % Centre frequency of filter.	    	    logGabor = exp((-(log(radius/fo)).^2) / (2 * log(sigmaOnf)^2));  	    logGabor(round(rows/2+1),round(cols/2+1)) = 0; % Set value at center of the filter							   % back to zero (undo the radius fudge).							               logGabor = logGabor.*lp;             % Apply low-pass filter 	    Ffilter{s,o} = logGabor .* spread;   % Multiply by the angular						 % spread to get the filter.					                   filtersum = filtersum + Ffilter{s,o};						 	    Efilter{s,o} = ifftshift(real(ifft2(fftshift(Ffilter{s,o}))));	    Ofilter{s,o} = ifftshift(imag(ifft2(fftshift(Ffilter{s,o}))));    					  	    wavelength = wavelength*mult;	end    end    % Plot sum of filters and slices radially and tangentially    figure(1), clf, show(filtersum,1), title('sum of filters');        figure(2), clf    subplot(2,1,1), plot(filtersum(round(rows/2+1),:))    title('radial slice through sum of filters');        ang = [0:pi/32:2*pi];    r = rows/4;    tslice = improfile(filtersum,r*cos(ang)+cols/2,r*sin(ang)+rows/2);    subplot(2,1,2), plot(tslice), axis([0 length(tslice) 0 1.1*max(tslice)]);    title('tangential slice through sum of filters at f = 0.25');	       % Plot Even and Odd filters at the largest and smallest scales    h = figure(3); clf    set(h,'name',sprintf('Filters: Wavelenth = %.2f',minWaveLength));    subplot(3,2,1), surfl(Efilter{1,1}), shading interp, colormap(gray),     title('Even Filter');    subplot(3,2,2), surfl(Ofilter{1,1}), shading interp, colormap(gray)    title('Odd Filter');    subplot(3,2,3),imagesc(Efilter{1,1}), axis image, colormap(gray)    subplot(3,2,4),imagesc(Ofilter{1,1}), axis image, colormap(gray)    subplot(3,2,5),imagesc(Ffilter{1,1}), axis image, colormap(gray)    title('Frequency Domain');        h = figure(4); clf    set(h,'name',sprintf('Filters: Wavelenth = %.2f',minWaveLength*mult^(nscale-1)));    subplot(3,2,1), surfl(Efilter{nscale,1}), shading interp, colormap(gray)    title('Even Filter');    subplot(3,2,2), surfl(Ofilter{nscale,1}), shading interp, colormap(gray)    title('Odd Filter');    subplot(3,2,3),imagesc(Efilter{nscale,1}), axis image, colormap(gray)    subplot(3,2,4),imagesc(Ofilter{nscale,1}), axis image, colormap(gray)    subplot(3,2,5),imagesc(Ffilter{nscale,1}), axis image, colormap(gray)    title('Frequency Domain');

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91老司机福利 在线| 欧美色涩在线第一页| 麻豆成人91精品二区三区| 国产日韩欧美亚洲| 国产午夜亚洲精品理论片色戒| 欧美一级理论性理论a| 欧美高清视频一二三区 | 91福利资源站| 在线亚洲人成电影网站色www| 色综合欧美在线| 在线免费观看一区| 欧美三级日韩三级| 天堂一区二区在线| 欧美国产一区二区在线观看| 欧美日韩另类一区| 色综合天天做天天爱| 久草这里只有精品视频| 视频一区二区三区在线| 自拍偷拍亚洲欧美日韩| 国产午夜亚洲精品不卡| 久久综合色婷婷| 26uuu精品一区二区在线观看| 欧美日韩国产片| 91精品国产综合久久精品app| 色猫猫国产区一区二在线视频| 91伊人久久大香线蕉| 成人精品免费视频| 国产成人一区二区精品非洲| 国产精品一区专区| 成人免费电影视频| 亚洲免费观看高清在线观看| 欧美一二三四区在线| 国产精品国产三级国产aⅴ中文 | 色吧成人激情小说| 男男gaygay亚洲| 日韩激情一二三区| 蜜桃一区二区三区在线观看| 午夜精品成人在线视频| 久久国产精品99久久人人澡| 国产久卡久卡久卡久卡视频精品| 国产麻豆成人传媒免费观看| 高潮精品一区videoshd| 色综合中文字幕国产| 91在线免费播放| 欧美日韩国产精选| 久久午夜羞羞影院免费观看| 色综合激情久久| 欧美日韩高清一区二区三区| 日韩欧美在线1卡| 亚洲国产岛国毛片在线| 亚洲精品中文字幕在线观看| 免费成人av在线| av影院午夜一区| 久久久一区二区| 天天综合天天做天天综合| 成人福利视频网站| 欧美大片一区二区| 亚洲国产一区视频| 91丨porny丨在线| 亚洲精品日韩一| 粉嫩绯色av一区二区在线观看| 欧美日韩不卡一区| 亚洲欧美日韩一区二区三区在线观看| 免费成人在线网站| 欧美三级三级三级爽爽爽| 亚洲综合在线观看视频| 国产福利不卡视频| 久久免费午夜影院| 国产美女精品在线| 久久久久久久久蜜桃| 麻豆91免费看| 久久久久久久综合| 国产精品一区二区黑丝| 久久久美女毛片| 成人网在线播放| 中文字幕一区视频| 91久久久免费一区二区| 国产精品毛片a∨一区二区三区 | 日韩久久一区二区| 91丨porny丨蝌蚪视频| 亚洲欧美日韩在线| 欧美精品一二三区| 精品影视av免费| 中文字幕中文乱码欧美一区二区| 99国内精品久久| 日韩av电影天堂| 欧美经典一区二区三区| 91丨porny丨中文| 另类小说一区二区三区| 国产精品妹子av| 555www色欧美视频| 国产**成人网毛片九色| 日本va欧美va瓶| 日韩美女视频一区二区| 精品国产乱码久久久久久闺蜜| 成人激情校园春色| 毛片基地黄久久久久久天堂| 亚洲欧洲日韩av| 久久久精品中文字幕麻豆发布| 欧美在线视频你懂得| 99在线精品一区二区三区| 激情图片小说一区| 天天免费综合色| 亚洲电影一区二区三区| 国产精品久久久久久久久免费丝袜 | 欧美一级二级三级乱码| 在线日韩一区二区| 欧美无乱码久久久免费午夜一区| 丁香婷婷综合色啪| 国产91富婆露脸刺激对白| 久久国产精品99久久人人澡| 偷拍亚洲欧洲综合| 日韩高清欧美激情| 日本一区中文字幕| 激情文学综合丁香| 国产大片一区二区| 99国产精品视频免费观看| gogogo免费视频观看亚洲一| 成人性生交大片免费| 成人福利在线看| 欧美色成人综合| 日韩三级伦理片妻子的秘密按摩| 日韩欧美国产不卡| 国产日韩av一区| 亚洲一区二区中文在线| 久国产精品韩国三级视频| 粉嫩aⅴ一区二区三区四区| 色综合久久综合网欧美综合网| 色噜噜狠狠色综合欧洲selulu| 欧美伊人久久大香线蕉综合69| 欧美一区二区三区成人| 国产欧美日韩另类一区| 日韩成人免费电影| www.日本不卡| 欧美成人vps| 亚洲自拍欧美精品| www.欧美日韩国产在线| 精品久久久久久久久久久久久久久 | 国产精品女上位| 日本美女视频一区二区| 成人丝袜高跟foot| 日韩视频一区二区在线观看| 一区二区三区在线看| 福利91精品一区二区三区| 91精品国产美女浴室洗澡无遮挡| 亚洲视频一区二区在线| 国产传媒久久文化传媒| 日韩美女在线视频| 91精品国产综合久久久久久久久久| eeuss鲁一区二区三区| 精品国产乱码久久久久久图片| 欧美一二三区在线观看| 国产精品乱码一区二区三区软件 | 亚洲色图在线播放| 国产精品久久久久精k8 | 日韩一区二区在线观看| 久久久久久亚洲综合| 亚洲精品国产一区二区精华液 | 国产一区二区精品在线观看| 色久优优欧美色久优优| 久久亚洲一区二区三区明星换脸| 国产精品网站在线| 青青草视频一区| 国产在线视频不卡二| 波多野结衣欧美| 亚洲欧洲成人自拍| 激情五月激情综合网| 亚洲精品视频在线| 日韩一区二区精品在线观看| 秋霞电影一区二区| 欧美群妇大交群的观看方式| 欧美激情艳妇裸体舞| 免费成人结看片| 日韩欧美国产wwwww| 色老汉av一区二区三区| av亚洲产国偷v产偷v自拍| 久久精品人人做人人综合 | 亚洲三级久久久| 久久奇米777| 欧美日韩电影一区| 视频一区免费在线观看| 久久久亚洲高清| 成人国产精品视频| 免费在线观看日韩欧美| 国产精品乱子久久久久| 3d成人动漫网站| 国产成人在线视频网址| 亚洲精品日日夜夜| 久久久亚洲精品石原莉奈| 国产**成人网毛片九色| 麻豆成人av在线| 久久97超碰色| 久久精品国产免费| 调教+趴+乳夹+国产+精品| 一级特黄大欧美久久久| 亚洲精品视频在线| 夜夜夜精品看看| 五月婷婷综合网| 丝袜美腿亚洲色图| 久久99蜜桃精品|