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

📄 gfplotfiltersf.html

📁 外国人写matlab 的gobor特征运算工具箱
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"                "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head>  <title>Description of gfplotfiltersf</title>  <meta name="keywords" content="gfplotfiltersf">  <meta name="description" content="GFPLOTFILTERSF Plot 1-D normalized Gabor filters in the frequency domain.">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">  <meta name="robots" content="index, follow">  <link type="text/css" rel="stylesheet" href="../m2html.css"></head><body><a name="_top"></a><div><a href="../index.html">Home</a> &gt;  <a href="index.html">gabortb-v0.4.1</a> &gt; gfplotfiltersf.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png">&nbsp;Master index</a></td><td align="right"><a href="index.html">Index for gabortb-v0.4.1&nbsp;<img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>gfplotfiltersf</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>GFPLOTFILTERSF Plot 1-D normalized Gabor filters in the frequency domain.</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>function []=gfplotfiltersf(f0,gamma,N) </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre class="comment">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 <a href="gfcreatefilterf.html" class="code" title="function [g]=gfcreatefilterf(f0,gamma,N,varargin)">GFCREATEFILTERF</a>, <a href="gfcheckfilter.html" class="code" title="function []=gfcheckfilter(f0,gamma,N,PT,PF)">GFCHECKFILTER</a>. 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 &lt;Joni.Kamarainen@lut.fi&gt;    Ville Kyrki &lt;Ville.Kyrki@lut.fi&gt; Copyright:   The Gabor Features in Signal and Image Processing Toolbox is   Copyright (C) 2000 by Joni Kamarainen and Ville Kyrki.   $Name:  $ $Revision: 1.4 $  $Date: 2003-02-23 16:27:44 $</pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../matlabicon.gif)"><li><a href="gfcreatefilterf.html" class="code" title="function [g]=gfcreatefilterf(f0,gamma,N,varargin)">gfcreatefilterf</a>	GFCREATEFILTERF Create normalized 1-D Gabor filter in the frequency domain.</li></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"><li><a href="gfdemo01.html" class="code" title="function [] = gfdemo01;">gfdemo01</a>	1DDEMO01 Demonstrate 1-D Gabor functionality</li></ul><!-- crossreference --><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre>0001 <span class="comment">%GFPLOTFILTERSF Plot 1-D normalized Gabor filters in the frequency domain.</span>0002 <span class="comment">%</span>0003 <span class="comment">%   GFPLOTFILTERS(F0,GAMMA,N) creates a normalized Gabor</span>0004 <span class="comment">%   filters 1..K for parameters (F0(1),GAMMA(1))...(F0(K),GAMMA(K))</span>0005 <span class="comment">%   and of size N and plots the filters in the frequency domain.</span>0006 <span class="comment">%</span>0007 <span class="comment">%   Examples</span>0008 <span class="comment">%</span>0009 <span class="comment">%   See also GFCREATEFILTERF, GFCHECKFILTER.</span>0010 <span class="comment">%</span>0011 <span class="comment">% References:</span>0012 <span class="comment">%   [1] Kamarainen, J.-K., Kyrki, V., Kalviainen, H., Gabor</span>0013 <span class="comment">%       Features for Invariant Object Recognition, Research</span>0014 <span class="comment">%       report 79, Department of Information Technology,</span>0015 <span class="comment">%       Lappeenranta University of Technology</span>0016 <span class="comment">%</span>0017 <span class="comment">% Author(s):</span>0018 <span class="comment">%    Joni Kamarainen &lt;Joni.Kamarainen@lut.fi&gt;</span>0019 <span class="comment">%    Ville Kyrki &lt;Ville.Kyrki@lut.fi&gt;</span>0020 <span class="comment">%</span>0021 <span class="comment">% Copyright:</span>0022 <span class="comment">%</span>0023 <span class="comment">%   The Gabor Features in Signal and Image Processing Toolbox is</span>0024 <span class="comment">%   Copyright (C) 2000 by Joni Kamarainen and Ville Kyrki.</span>0025 <span class="comment">%</span>0026 <span class="comment">%</span>0027 <span class="comment">%   $Name:  $ $Revision: 1.4 $  $Date: 2003-02-23 16:27:44 $</span>0028 <span class="comment">%</span>0029 <a name="_sub0" href="#_subfunctions" class="code">function []=gfplotfiltersf(f0,gamma,N)</a>0030 0031 <span class="comment">% Creating the bank</span>0032 n = -N:1:N;0033 nyqf = 0.5; <span class="comment">% Nyquist frequency</span>0034 u = n/N; <span class="comment">% frequencies that bank contains</span>0035 0036 <span class="keyword">for</span> ind = 1:length(f0)0037   g = <a href="gfcreatefilterf.html" class="code" title="function [g]=gfcreatefilterf(f0,gamma,N,varargin)">gfcreatefilterf</a>(f0(ind), gamma(ind), N);0038   plot(g);0039   hold on;0040 <span class="keyword">end</span>;0041 hold off;0042 0043 <span class="comment">%% plot frequencies in more nicer form</span>0044 <span class="comment">%xticks = [];</span>0045 <span class="comment">%for i = 0:N/10:N</span>0046 <span class="comment">%  xticks = [xticks; sprintf('%5d/%5d\n', i, N)];</span>0047 <span class="comment">%end;</span>0048 <span class="comment">%set(gca, 'XTickLabel',xticks)</span>0049 <span class="comment">%yticks = [];</span>0050 <span class="comment">%for i = 30:20:200</span>0051 <span class="comment">%  yticks = [yticks; sprintf('1/%3d\n', i)];</span>0052 <span class="comment">%end;</span>0053 <span class="comment">%set(gca, 'YTickLabel',yticks)</span>0054 0055 xlabel(<span class="string">'discrete frequency  [u]'</span>);0056 ylabel(<span class="string">'magnitude'</span>);0057 0058</pre></div><hr><address>Generated on Fri 23-Nov-2007 14:52:42 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address></body></html>

⌨️ 快捷键说明

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