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

📄 gfcreateinformationdiagram2.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 gfcreateinformationdiagram2</title>  <meta name="keywords" content="gfcreateinformationdiagram2">  <meta name="description" content="GFCREATEINFORMATIONDIAGRAM2 Information diagram of 2-D signal">  <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; gfcreateinformationdiagram2.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>gfcreateinformationdiagram2</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>GFCREATEINFORMATIONDIAGRAM2 Information diagram of 2-D signal</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 [resps,freqs,orients] = gfcreateinformationdiagram2(img_, f0_,theta_, gamma_,eta_, varargin); </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">GFCREATEINFORMATIONDIAGRAM2 Information diagram of 2-D signal      [RESPS FREQS ORIENTS] =        GFCREATEINFORMATIONDIAGRAM2(IMG, F0, THETA, GAMMA, ETA, x0, y0)   Creates an information diagram for 2-D signal IMG at locations   X0, Y0, using frequencies F0 (diagram Y-axis), orientations   THETA (x-axis), and sharpness values GAMMA, ETA. Function   return the MxN diagram matrix RESPS, Mx1 vector of frequencies,   1xN vector of orientations.   Examples   See also <a href="gfequalorientations.html" class="code" title="function [o]=gfequalorientations(n)">GFEQUALORIENTATIONS</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   [2] Kamarainen, J.-K., Kyrki, V., Kalviainen, H.,       Fundamental Frequency Gabor Filters for Object Recognition,       Proceedings of ICPR2002 16th Internationa Conference       on Pattern Recognition, Vol. 1 pp. 628-631, Quebec City,       Canada, 2002. 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.5 $  $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="gfcreatefilterf2.html" class="code" title="function [g]=gfcreatefilterf2(f0, theta, gamma, eta, N,varargin)">gfcreatefilterf2</a>	GFCREATEFILTERF2 Create normalized 2-D Gabor filter in the frequency domain.</li><li><a href="gfrespf2.html" class="code" title="function [r]=gfrespf2(gf_, s_, varargin);">gfrespf2</a>	GFRESPF2 2-D filter response using frequency domain filters.</li></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"><li><a href="gffindfundamentalfreqs.html" class="code" title="function [fundFreqs,orients,vals,indeces] =gffindfundamentalfreqs(img_, x0_, y0_, f0_, theta_, gamma_, eta_);">gffindfundamentalfreqs</a>	GFFINDFUNDAMENTALFREQS Find fundamental frequencies of an image.</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">%GFCREATEINFORMATIONDIAGRAM2 Information diagram of 2-D signal</span>0002 <span class="comment">%</span>0003 <span class="comment">%   [RESPS FREQS ORIENTS] =</span>0004 <span class="comment">%        GFCREATEINFORMATIONDIAGRAM2(IMG, F0, THETA, GAMMA, ETA, x0, y0)</span>0005 <span class="comment">%   Creates an information diagram for 2-D signal IMG at locations</span>0006 <span class="comment">%   X0, Y0, using frequencies F0 (diagram Y-axis), orientations</span>0007 <span class="comment">%   THETA (x-axis), and sharpness values GAMMA, ETA. Function</span>0008 <span class="comment">%   return the MxN diagram matrix RESPS, Mx1 vector of frequencies,</span>0009 <span class="comment">%   1xN vector of orientations.</span>0010 <span class="comment">%</span>0011 <span class="comment">%   Examples</span>0012 <span class="comment">%</span>0013 <span class="comment">%   See also GFEQUALORIENTATIONS.</span>0014 <span class="comment">%</span>0015 <span class="comment">% References:</span>0016 <span class="comment">%   [1] Kamarainen, J.-K., Kyrki, V., Kalviainen, H., Gabor</span>0017 <span class="comment">%       Features for Invariant Object Recognition, Research</span>0018 <span class="comment">%       report 79, Department of Information Technology,</span>0019 <span class="comment">%       Lappeenranta University of Technology</span>0020 <span class="comment">%   [2] Kamarainen, J.-K., Kyrki, V., Kalviainen, H.,</span>0021 <span class="comment">%       Fundamental Frequency Gabor Filters for Object Recognition,</span>0022 <span class="comment">%       Proceedings of ICPR2002 16th Internationa Conference</span>0023 <span class="comment">%       on Pattern Recognition, Vol. 1 pp. 628-631, Quebec City,</span>0024 <span class="comment">%       Canada, 2002.</span>0025 <span class="comment">%</span>0026 <span class="comment">% Author(s):</span>0027 <span class="comment">%    Joni Kamarainen &lt;Joni.Kamarainen@lut.fi&gt;</span>0028 <span class="comment">%    Ville Kyrki &lt;Ville.Kyrki@lut.fi&gt;</span>0029 <span class="comment">%</span>0030 <span class="comment">% Copyright:</span>0031 <span class="comment">%</span>0032 <span class="comment">%   The Gabor Features in Signal and Image Processing Toolbox is</span>0033 <span class="comment">%   Copyright (C) 2000 by Joni Kamarainen and Ville Kyrki.</span>0034 <span class="comment">%</span>0035 <span class="comment">%</span>0036 <span class="comment">%   $Name:  $ $Revision: 1.5 $  $Date: 2003-02-23 16:27:44 $</span>0037 <span class="comment">%</span>0038 <a name="_sub0" href="#_subfunctions" class="code">function [resps,freqs,orients] = gfcreateinformationdiagram2(img_, f0_, </a><span class="keyword">...</span>0039                           theta_, gamma_, <span class="keyword">...</span>0040                           eta_, varargin);0041 0042 freqs = diag(diag(f0_))'; <span class="comment">% Mx1</span>0043 orients = diag(diag(theta_)); <span class="comment">% 1xN</span>0044 0045 <span class="keyword">if</span> (nargin &gt; 5) <span class="comment">% coordinates given</span>0046   x0 = varargin{1};0047   y0 = varargin{2};0048   resps = zeros(length(freqs), length(orients));0049   0050   <span class="keyword">for</span> n = 1:length(orients)0051     <span class="keyword">for</span> m = 1:length(freqs)0052       filt = <a href="gfcreatefilterf2.html" class="code" title="function [g]=gfcreatefilterf2(f0, theta, gamma, eta, N,varargin)">gfcreatefilterf2</a>(freqs(m), orients(n), gamma_, eta_, [size(img_,2) size(img_,1)]);0053       resps(m, n) = <a href="gfrespf2.html" class="code" title="function [r]=gfrespf2(gf_, s_, varargin);">gfrespf2</a>(filt, img_, x0, y0);0054     <span class="keyword">end</span>;0055   <span class="keyword">end</span>;0056 <span class="keyword">else</span>0057   resps = zeros(length(freqs), length(orients), size(img_,1), size(img_,2));0058 0059   <span class="keyword">for</span> n = 1:length(orients)0060     <span class="keyword">for</span> m = 1:length(freqs)0061       filt = <a href="gfcreatefilterf2.html" class="code" title="function [g]=gfcreatefilterf2(f0, theta, gamma, eta, N,varargin)">gfcreatefilterf2</a>(freqs(m), orients(n), gamma_, eta_, [size(img_,2) size(img_,1)]);0062       resps(m,n,:,:) = <a href="gfrespf2.html" class="code" title="function [r]=gfrespf2(gf_, s_, varargin);">gfrespf2</a>(filt, img_);0063     <span class="keyword">end</span>;0064   <span class="keyword">end</span>;0065 <span class="keyword">end</span>;0066 0067 0068 0069 0070 0071 0072 0073 0074</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 + -