📄 gffindfundamentalfreqs.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 gffindfundamentalfreqs</title> <meta name="keywords" content="gffindfundamentalfreqs"> <meta name="description" content="GFFINDFUNDAMENTALFREQS Find fundamental frequencies of an image."> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="m2html © 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> > <a href="index.html">gabortb-v0.4.1</a> > gffindfundamentalfreqs.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td><td align="right"><a href="index.html">Index for gabortb-v0.4.1 <img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>gffindfundamentalfreqs</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>GFFINDFUNDAMENTALFREQS Find fundamental frequencies of an image.</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 [fundFreqs,orients,vals,indeces] =gffindfundamentalfreqs(img_, x0_, y0_, f0_, theta_, gamma_, eta_); </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">GFFINDFUNDAMENTALFREQS Find fundamental frequencies of an image. [FF O V I] = GFFINDFUNDAMENTALFREQS(IMG, X0, Y0, F0, THETA, GAMMA, ETA) finds fundamental frequencies of the image IMG at spatial location (X0,Y0). Frequencies F0 (1xM) and orientations THETA (1xN) will be under inspection for normalized Gabor functions for sharpness values GAMMA and ETA. Function returns the fundmental frequencies FF, at every orientation O (=THETA), normalized values V of Gabor filter responses r_img(x0,y0) and indeces I to frequencies F0(I) at every angle O. Examples See also <a href="gfcreateinformationdiagram2.html" class="code" title="function [resps,freqs,orients] = gfcreateinformationdiagram2(img_, f0_,theta_, gamma_,eta_, varargin);">GFCREATEINFORMATIONDIAGRAM2</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 <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. $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="gfcreateinformationdiagram2.html" class="code" title="function [resps,freqs,orients] = gfcreateinformationdiagram2(img_, f0_,theta_, gamma_,eta_, varargin);">gfcreateinformationdiagram2</a> GFCREATEINFORMATIONDIAGRAM2 Information diagram of 2-D signal</li></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"></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">%GFFINDFUNDAMENTALFREQS Find fundamental frequencies of an image.</span>0002 <span class="comment">%</span>0003 <span class="comment">% [FF O V I] =</span>0004 <span class="comment">% GFFINDFUNDAMENTALFREQS(IMG, X0, Y0, F0, THETA, GAMMA, ETA)</span>0005 <span class="comment">% finds fundamental frequencies of the image IMG at spatial</span>0006 <span class="comment">% location (X0,Y0). Frequencies F0 (1xM) and orientations THETA</span>0007 <span class="comment">% (1xN) will be under inspection for normalized Gabor functions</span>0008 <span class="comment">% for sharpness values GAMMA and ETA. Function returns the</span>0009 <span class="comment">% fundmental frequencies FF, at every orientation O (=THETA),</span>0010 <span class="comment">% normalized values V of Gabor filter responses r_img(x0,y0) and</span>0011 <span class="comment">% indeces I to frequencies F0(I) at every angle O.</span>0012 <span class="comment">%</span>0013 <span class="comment">% Examples</span>0014 <span class="comment">%</span>0015 <span class="comment">% See also GFCREATEINFORMATIONDIAGRAM2.</span>0016 <span class="comment">%</span>0017 <span class="comment">% References:</span>0018 <span class="comment">% [1] Kamarainen, J.-K., Kyrki, V., Kalviainen, H., Gabor</span>0019 <span class="comment">% Features for Invariant Object Recognition, Research</span>0020 <span class="comment">% report 79, Department of Information Technology,</span>0021 <span class="comment">% Lappeenranta University of Technology</span>0022 <span class="comment">% [2] Kamarainen, J.-K., Kyrki, V., Kalviainen, H.,</span>0023 <span class="comment">% Fundamental Frequency Gabor Filters for Object Recognition,</span>0024 <span class="comment">% Proceedings of ICPR2002 16th Internationa Conference</span>0025 <span class="comment">% on Pattern Recognition, Vol. 1 pp. 628-631, Quebec City,</span>0026 <span class="comment">% Canada, 2002.</span>0027 <span class="comment">%</span>0028 <span class="comment">% Author(s):</span>0029 <span class="comment">% Joni Kamarainen <Joni.Kamarainen@lut.fi></span>0030 <span class="comment">% Ville Kyrki <Ville.Kyrki@lut.fi></span>0031 <span class="comment">%</span>0032 <span class="comment">% Copyright:</span>0033 <span class="comment">%</span>0034 <span class="comment">% The Gabor Features in Signal and Image Processing Toolbox is</span>0035 <span class="comment">% Copyright (C) 2000 by Joni Kamarainen and Ville Kyrki.</span>0036 <span class="comment">%</span>0037 <span class="comment">%</span>0038 <span class="comment">% $Name: $ $Revision: 1.5 $ $Date: 2003-02-23 16:27:44 $</span>0039 <span class="comment">%</span>0040 <a name="_sub0" href="#_subfunctions" class="code">function [fundFreqs,orients,vals,indeces] = </a><span class="keyword">...</span>0041 gffindfundamentalfreqs(img_, x0_, y0_, f0_, theta_, gamma_, eta_); 0042 0043 [resps freqs orients] = <a href="gfcreateinformationdiagram2.html" class="code" title="function [resps,freqs,orients] = gfcreateinformationdiagram2(img_, f0_,theta_, gamma_,eta_, varargin);">gfcreateinformationdiagram2</a>(img_, f0_, theta_, <span class="keyword">...</span>0044 gamma_, eta_, x0_, y0_);0045 0046 <span class="comment">% return everything as row vectors</span>0047 [vals indeces] = max(abs(resps));0048 fundFreqs = diag(diag(f0_(indeces)))';0049 orients = diag(diag(theta_))';</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> © 2003</address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -