⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gfplotfiltersf.m

📁 gaobor滤波工具 先转到频域再转回时域
💻 M
字号:
%GFPLOTFILTERSF Plot 1-D normalized Gabor filters in the frequency domain.%%   GFPLOTFILTERS(F0,GAMMA,N) creates a normalized Gabor%   filters 1..K for parameters (F0(1),GAMMA(1))...(F0(K),GAMMA(K))%   and of size N and plots the filters in the frequency domain.%%   Examples%%   See also GFCREATEFILTERF, GFCHECKFILTER.%% References:%   [1] Kamarainen, J.-K., Kyrki, V., Kalviainen, H., Gabor%       Features for Invariant Object Recognition, Research%       report 79, Department of Information Technology,%       Lappeenranta University of Technology %% Author(s):%    Joni Kamarainen <Joni.Kamarainen@lut.fi>%    Ville Kyrki <Ville.Kyrki@lut.fi>%% Copyright:%%   The Gabor Features in Signal and Image Processing Toolbox is%   Copyright (C) 2000 by Joni Kamarainen and Ville Kyrki.%function []=gfplotfiltersf(f0,gamma,N)% Creating the bankn = -N:1:N;nyqf = 0.5; % Nyquist frequency u = n/N; % frequencies that bank containsfor ind = 1:length(f0)  g = gfcreatefilterf(f0(ind), gamma(ind), N);  plot(g);  hold on;end;hold off;%% plot frequencies in more nicer form%xticks = [];%for i = 0:N/10:N%  xticks = [xticks; sprintf('%5d/%5d\n', i, N)];%end;%set(gca, 'XTickLabel',xticks)   %yticks = [];%for i = 30:20:200%  yticks = [yticks; sprintf('1/%3d\n', i)];%end;%set(gca, 'YTickLabel',yticks)   xlabel('discrete frequency  [u]');ylabel('magnitude');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -