📄 filters_8cpp.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>SaliencyToolbox: Filters.cpp File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.2 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div><h1>Filters.cpp File Reference</h1><code>#include "<a class="el" href="mexLog_8h-source.html">mexLog.h</a>"</code><br><code>#include "<a class="el" href="Image_8h-source.html">Image.h</a>"</code><br><code>#include "<a class="el" href="Filters_8h-source.html">Filters.h</a>"</code><br><code>#include <algorithm></code><br><code>#include <cmath></code><br><code>#include <limits></code><br><p>Include dependency graph for Filters.cpp:<p><center><img src="Filters_8cpp__incl.png" border="0" usemap="#Filters.cpp_map" alt=""></center><map name="Filters.cpp_map"><area shape="rect" href="mexLog_8h.html" title="mexLog.h" alt="" coords="140,56,220,83"><area shape="rect" href="Image_8h.html" title="Image.h" alt="" coords="145,107,215,133"><area shape="rect" href="Filters_8h.html" title="Filters.h" alt="" coords="145,157,215,184"></map><p><a href="Filters_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classImage.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Filters_8cpp.html#36928c645d464b6dfed7dfd50a5e2d28">lowPass6yDecY</a> (const <a class="el" href="classImage.html">Image</a> &src)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Low-pass with a 6x6 separable kernel in Y and decimate in Y by factor 2. <a href="#36928c645d464b6dfed7dfd50a5e2d28"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classImage.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Filters_8cpp.html#fd05058fad5d4735eef3352b93dcce30">lowPass6xDecX</a> (const <a class="el" href="classImage.html">Image</a> &src)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Low-pass with a 6x6 separable kernel in X and decimate in X by factor 2. <a href="#fd05058fad5d4735eef3352b93dcce30"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classImage.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="Filters_8cpp.html#40cfbd12584dfa6a575c85c97a03aa18">conv2PreserveEnergy</a> (const <a class="el" href="classImage.html">Image</a> &src, const <a class="el" href="classImage.html">Image</a> &f)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">2d convolution that avoids bleeding energy over the edge. <a href="#40cfbd12584dfa6a575c85c97a03aa18"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>various filter functions. <p>Definition in file <a class="el" href="Filters_8cpp-source.html">Filters.cpp</a>.<hr><h2>Function Documentation</h2><a class="anchor" name="40cfbd12584dfa6a575c85c97a03aa18"></a><!-- doxytag: member="Filters.cpp::conv2PreserveEnergy" ref="40cfbd12584dfa6a575c85c97a03aa18" args="(const Image &src, const Image &f)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classImage.html">Image</a> conv2PreserveEnergy </td> <td>(</td> <td class="paramtype">const <a class="el" href="classImage.html">Image</a> & </td> <td class="paramname"> <em>src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classImage.html">Image</a> & </td> <td class="paramname"> <em>f</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>2d convolution that avoids bleeding energy over the edge. <p><p>Definition at line <a class="el" href="Filters_8cpp-source.html#l00168">168</a> of file <a class="el" href="Filters_8cpp-source.html">Filters.cpp</a>.<p>References <a class="el" href="mexLog_8h-source.html#l00017">ASSERT</a>, <a class="el" href="Image_8cpp-source.html#l00082">Image::begin()</a>, <a class="el" href="Image_8cpp-source.html#l00094">Image::beginw()</a>, <a class="el" href="Filters_8h-source.html#l00027">ecx</a>, <a class="el" href="Filters_8h-source.html#l00028">ecxStr</a>, <a class="el" href="Image_8cpp-source.html#l00068">Image::getHeight()</a>, <a class="el" href="Image_8cpp-source.html#l00061">Image::getWidth()</a>, and <a class="el" href="Image_8cpp-source.html#l00106">Image::isInitialized()</a>.<p>Referenced by <a class="el" href="mexConv2PreserveEnergy_8cpp-source.html#l00022">mexFunction()</a>.<p>Here is the call graph for this function:<p><center><img src="Filters_8cpp_40cfbd12584dfa6a575c85c97a03aa18_cgraph.png" border="0" usemap="#Filters_8cpp_40cfbd12584dfa6a575c85c97a03aa18_cgraph_map" alt=""></center><map name="Filters_8cpp_40cfbd12584dfa6a575c85c97a03aa18_cgraph_map"><area shape="rect" href="classImage.html#e0666b33daa7ba55e3348d4fff02356f" title="Returns a read-only iterator to the beginning of the Image data." alt="" coords="221,5,320,32"><area shape="rect" href="classImage.html#9987bf538358f25470af7d628e97694a" title="Returns a read/write iterator to the beginning of the Image data." alt="" coords="216,208,325,235"><area shape="rect" href="classImage.html#1cd7587f88b6932b5269051d1ba08ff9" title="Returns the height of the Image." alt="" coords="209,107,332,133"><area shape="rect" href="classImage.html#b87bf4b103cb5a9cf090f8729f362335" title="Returns whether the Image is initialized." alt="" coords="392,107,523,133"><area shape="rect" href="classImage.html#36bcae4838228d574738249a87dc4464" title="Returns the width of the Image." alt="" coords="211,56,331,83"><area shape="rect" href="classImage.html#35612d5fc9961d1096fcafbccabe5d0e" title="Returns a constant pointer to the underlying Matlab array." alt="" coords="381,56,533,83"><area shape="rect" href="classImage.html#eef0da5d895782bbb9ce3a17b538cf1b" title="Returns a pointer to the underlying Matlab array." alt="" coords="399,208,516,235"></map></div></div><p><a class="anchor" name="fd05058fad5d4735eef3352b93dcce30"></a><!-- doxytag: member="Filters.cpp::lowPass6xDecX" ref="fd05058fad5d4735eef3352b93dcce30" args="(const Image &src)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classImage.html">Image</a> lowPass6xDecX </td> <td>(</td> <td class="paramtype">const <a class="el" href="classImage.html">Image</a> & </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Low-pass with a 6x6 separable kernel in X and decimate in X by factor 2. <p><p>Definition at line <a class="el" href="Filters_8cpp-source.html#l00090">90</a> of file <a class="el" href="Filters_8cpp-source.html">Filters.cpp</a>.<p>References <a class="el" href="mexLog_8h-source.html#l00017">ASSERT</a>, <a class="el" href="Image_8cpp-source.html#l00082">Image::begin()</a>, <a class="el" href="Image_8cpp-source.html#l00094">Image::beginw()</a>, <a class="el" href="Filters_8h-source.html#l00027">ecx</a>, <a class="el" href="Filters_8h-source.html#l00028">ecxStr</a>, <a class="el" href="Image_8cpp-source.html#l00068">Image::getHeight()</a>, and <a class="el" href="Image_8cpp-source.html#l00061">Image::getWidth()</a>.<p>Referenced by <a class="el" href="mexGaussianSubsample_8cpp-source.html#l00023">mexFunction()</a>.<p>Here is the call graph for this function:<p><center><img src="Filters_8cpp_fd05058fad5d4735eef3352b93dcce30_cgraph.png" border="0" usemap="#Filters_8cpp_fd05058fad5d4735eef3352b93dcce30_cgraph_map" alt=""></center><map name="Filters_8cpp_fd05058fad5d4735eef3352b93dcce30_cgraph_map"><area shape="rect" href="classImage.html#e0666b33daa7ba55e3348d4fff02356f" title="Returns a read-only iterator to the beginning of the Image data." alt="" coords="187,5,285,32"><area shape="rect" href="classImage.html#9987bf538358f25470af7d628e97694a" title="Returns a read/write iterator to the beginning of the Image data." alt="" coords="181,157,291,184"><area shape="rect" href="classImage.html#1cd7587f88b6932b5269051d1ba08ff9" title="Returns the height of the Image." alt="" coords="175,56,297,83"><area shape="rect" href="classImage.html#36bcae4838228d574738249a87dc4464" title="Returns the width of the Image." alt="" coords="176,107,296,133"><area shape="rect" href="classImage.html#35612d5fc9961d1096fcafbccabe5d0e" title="Returns a constant pointer to the underlying Matlab array." alt="" coords="347,56,499,83"><area shape="rect" href="classImage.html#eef0da5d895782bbb9ce3a17b538cf1b" title="Returns a pointer to the underlying Matlab array." alt="" coords="364,157,481,184"><area shape="rect" href="classImage.html#b87bf4b103cb5a9cf090f8729f362335" title="Returns whether the Image is initialized." alt="" coords="357,107,488,133"></map></div></div><p><a class="anchor" name="36928c645d464b6dfed7dfd50a5e2d28"></a><!-- doxytag: member="Filters.cpp::lowPass6yDecY" ref="36928c645d464b6dfed7dfd50a5e2d28" args="(const Image &src)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classImage.html">Image</a> lowPass6yDecY </td> <td>(</td> <td class="paramtype">const <a class="el" href="classImage.html">Image</a> & </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Low-pass with a 6x6 separable kernel in Y and decimate in Y by factor 2. <p><p>Definition at line <a class="el" href="Filters_8cpp-source.html#l00020">20</a> of file <a class="el" href="Filters_8cpp-source.html">Filters.cpp</a>.<p>References <a class="el" href="mexLog_8h-source.html#l00017">ASSERT</a>, <a class="el" href="Image_8cpp-source.html#l00082">Image::begin()</a>, <a class="el" href="Image_8cpp-source.html#l00094">Image::beginw()</a>, <a class="el" href="Filters_8h-source.html#l00027">ecx</a>, <a class="el" href="Filters_8h-source.html#l00028">ecxStr</a>, <a class="el" href="Image_8cpp-source.html#l00068">Image::getHeight()</a>, and <a class="el" href="Image_8cpp-source.html#l00061">Image::getWidth()</a>.<p>Referenced by <a class="el" href="mexGaussianSubsample_8cpp-source.html#l00023">mexFunction()</a>.<p>Here is the call graph for this function:<p><center><img src="Filters_8cpp_36928c645d464b6dfed7dfd50a5e2d28_cgraph.png" border="0" usemap="#Filters_8cpp_36928c645d464b6dfed7dfd50a5e2d28_cgraph_map" alt=""></center><map name="Filters_8cpp_36928c645d464b6dfed7dfd50a5e2d28_cgraph_map"><area shape="rect" href="classImage.html#e0666b33daa7ba55e3348d4fff02356f" title="Returns a read-only iterator to the beginning of the Image data." alt="" coords="187,5,285,32"><area shape="rect" href="classImage.html#9987bf538358f25470af7d628e97694a" title="Returns a read/write iterator to the beginning of the Image data." alt="" coords="181,157,291,184"><area shape="rect" href="classImage.html#1cd7587f88b6932b5269051d1ba08ff9" title="Returns the height of the Image." alt="" coords="175,56,297,83"><area shape="rect" href="classImage.html#36bcae4838228d574738249a87dc4464" title="Returns the width of the Image." alt="" coords="176,107,296,133"><area shape="rect" href="classImage.html#35612d5fc9961d1096fcafbccabe5d0e" title="Returns a constant pointer to the underlying Matlab array." alt="" coords="347,56,499,83"><area shape="rect" href="classImage.html#eef0da5d895782bbb9ce3a17b538cf1b" title="Returns a pointer to the underlying Matlab array." alt="" coords="364,157,481,184"><area shape="rect" href="classImage.html#b87bf4b103cb5a9cf090f8729f362335" title="Returns whether the Image is initialized." alt="" coords="357,107,488,133"></map></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 7 13:09:49 2007 for SaliencyToolbox by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -