arm_compute v18.05
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_c_l_h_o_g_detector.xhtml
1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: CLHOGDetector Class Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18   $(document).ready(initResizable);
19   $(window).load(resizeHeight);
20 </script>
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25   $(document).ready(function() { init_search(); });
26 </script>
27 <script type="text/x-mathjax-config">
28   MathJax.Hub.Config({
29     extensions: ["tex2jax.js"],
30     jax: ["input/TeX","output/HTML-CSS"],
31 });
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
34 </head>
35 <body>
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37 <div id="titlearea">
38 <table cellspacing="0" cellpadding="0">
39  <tbody>
40  <tr style="height: 56px;">
41   <td style="padding-left: 0.5em;">
42    <div id="projectname">Compute Library
43    &#160;<span id="projectnumber">18.05</span>
44    </div>
45   </td>
46  </tr>
47  </tbody>
48 </table>
49 </div>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
54 </script>
55   <div id="navrow1" class="tabs">
56     <ul class="tablist">
57       <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
58       <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
59       <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60       <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
61       <li><a href="files.xhtml"><span>Files</span></a></li>
62       <li>
63         <div id="MSearchBox" class="MSearchBoxInactive">
64         <span class="left">
65           <img id="MSearchSelect" src="search/mag_sel.png"
66                onmouseover="return searchBox.OnSearchSelectShow()"
67                onmouseout="return searchBox.OnSearchSelectHide()"
68                alt=""/>
69           <input type="text" id="MSearchField" value="Search" accesskey="S"
70                onfocus="searchBox.OnSearchFieldFocus(true)" 
71                onblur="searchBox.OnSearchFieldFocus(false)" 
72                onkeyup="searchBox.OnSearchFieldChange(event)"/>
73           </span><span class="right">
74             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
75           </span>
76         </div>
77       </li>
78     </ul>
79   </div>
80   <div id="navrow2" class="tabs2">
81     <ul class="tablist">
82       <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
83       <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
84       <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
85       <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
86     </ul>
87   </div>
88 </div><!-- top -->
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
90   <div id="nav-tree">
91     <div id="nav-tree-contents">
92       <div id="nav-sync" class="sync"></div>
93     </div>
94   </div>
95   <div id="splitbar" style="-moz-user-select:none;" 
96        class="ui-resizable-handle">
97   </div>
98 </div>
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_c_l_h_o_g_detector.xhtml','');});
101 </script>
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105      onmouseover="return searchBox.OnSearchSelectShow()"
106      onmouseout="return searchBox.OnSearchSelectHide()"
107      onkeydown="return searchBox.OnSearchSelectKey(event)">
108 </div>
109
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0" 
113         name="MSearchResults" id="MSearchResults">
114 </iframe>
115 </div>
116
117 <div class="header">
118   <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a>  </div>
120   <div class="headertitle">
121 <div class="title">CLHOGDetector Class Reference</div>  </div>
122 </div><!--header-->
123 <div class="contents">
124
125 <p>Basic function to execute <a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> detector based on linear SVM.  
126  <a href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#details">More...</a></p>
127
128 <p><code>#include &lt;<a class="el" href="_c_l_h_o_g_detector_8h_source.xhtml">CLHOGDetector.h</a>&gt;</code></p>
129 <div class="dynheader">
130 Collaboration diagram for CLHOGDetector:</div>
131 <div class="dyncontent">
132 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_c_l_h_o_g_detector__coll__graph.svg" width="135" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
133 </div>
134 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
135 <table class="memberdecls">
136 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
137 Public Member Functions</h2></td></tr>
138 <tr class="memitem:a14d6ed372966f76fa5ed23877afc3228"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#a14d6ed372966f76fa5ed23877afc3228">CLHOGDetector</a> ()</td></tr>
139 <tr class="memdesc:a14d6ed372966f76fa5ed23877afc3228"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a14d6ed372966f76fa5ed23877afc3228">More...</a><br /></td></tr>
140 <tr class="separator:a14d6ed372966f76fa5ed23877afc3228"><td class="memSeparator" colspan="2">&#160;</td></tr>
141 <tr class="memitem:a2ad1bc7dbf6ac2d1438617d9619cbc5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#a2ad1bc7dbf6ac2d1438617d9619cbc5b">CLHOGDetector</a> (const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;)=delete</td></tr>
142 <tr class="memdesc:a2ad1bc7dbf6ac2d1438617d9619cbc5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#a2ad1bc7dbf6ac2d1438617d9619cbc5b">More...</a><br /></td></tr>
143 <tr class="separator:a2ad1bc7dbf6ac2d1438617d9619cbc5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
144 <tr class="memitem:abec8de5d26dba14703efc9f1e49e1053"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#abec8de5d26dba14703efc9f1e49e1053">operator=</a> (const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;)=delete</td></tr>
145 <tr class="memdesc:abec8de5d26dba14703efc9f1e49e1053"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#abec8de5d26dba14703efc9f1e49e1053">More...</a><br /></td></tr>
146 <tr class="separator:abec8de5d26dba14703efc9f1e49e1053"><td class="memSeparator" colspan="2">&#160;</td></tr>
147 <tr class="memitem:a19e205b5604209c3b2a5332d6eae6da1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#a19e205b5604209c3b2a5332d6eae6da1">CLHOGDetector</a> (<a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&amp;)=default</td></tr>
148 <tr class="memdesc:a19e205b5604209c3b2a5332d6eae6da1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#a19e205b5604209c3b2a5332d6eae6da1">More...</a><br /></td></tr>
149 <tr class="separator:a19e205b5604209c3b2a5332d6eae6da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
150 <tr class="memitem:aa2d5fe72d2db4b034a829c0a92c80783"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#aa2d5fe72d2db4b034a829c0a92c80783">operator=</a> (<a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&amp;)=default</td></tr>
151 <tr class="memdesc:aa2d5fe72d2db4b034a829c0a92c80783"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#aa2d5fe72d2db4b034a829c0a92c80783">More...</a><br /></td></tr>
152 <tr class="separator:aa2d5fe72d2db4b034a829c0a92c80783"><td class="memSeparator" colspan="2">&#160;</td></tr>
153 <tr class="memitem:a0afb7ef9fbe6f4711284df081a88779b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#a0afb7ef9fbe6f4711284df081a88779b">~CLHOGDetector</a> ()=default</td></tr>
154 <tr class="memdesc:a0afb7ef9fbe6f4711284df081a88779b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#a0afb7ef9fbe6f4711284df081a88779b">More...</a><br /></td></tr>
155 <tr class="separator:a0afb7ef9fbe6f4711284df081a88779b"><td class="memSeparator" colspan="2">&#160;</td></tr>
156 <tr class="memitem:af3f7d04fe1de62ddbed7bf165c9d7ec8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#af3f7d04fe1de62ddbed7bf165c9d7ec8">configure</a> (const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *input, const <a class="el" href="classarm__compute_1_1_i_c_l_h_o_g.xhtml">ICLHOG</a> *hog, <a class="el" href="namespacearm__compute.xhtml#a4cc908807b0a45ccc6ce7ba340ae2259">ICLDetectionWindowArray</a> *detection_windows, const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;detection_window_stride, float threshold=0.0f, size_t idx_class=0)</td></tr>
157 <tr class="memdesc:af3f7d04fe1de62ddbed7bf165c9d7ec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise the kernel's input, output, <a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> data object, detection window stride, threshold and index class.  <a href="#af3f7d04fe1de62ddbed7bf165c9d7ec8">More...</a><br /></td></tr>
158 <tr class="separator:af3f7d04fe1de62ddbed7bf165c9d7ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
159 <tr class="memitem:ad1717410afd0be936c6213a63c8005fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml#ad1717410afd0be936c6213a63c8005fb">run</a> () override</td></tr>
160 <tr class="memdesc:ad1717410afd0be936c6213a63c8005fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the kernels contained in the function.  <a href="#ad1717410afd0be936c6213a63c8005fb">More...</a><br /></td></tr>
161 <tr class="separator:ad1717410afd0be936c6213a63c8005fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
162 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_function.xhtml">IFunction</a></td></tr>
163 <tr class="memitem:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">~IFunction</a> ()=default</td></tr>
164 <tr class="memdesc:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">More...</a><br /></td></tr>
165 <tr class="separator:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
166 <tr class="memitem:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26">prepare</a> ()</td></tr>
167 <tr class="memdesc:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepare the function for executing.  <a href="#a820f7291c24155a2980512fae45aac26">More...</a><br /></td></tr>
168 <tr class="separator:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
169 </table>
170 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
171 <div class="textblock"><p>Basic function to execute <a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> detector based on linear SVM. </p>
172 <p>This function calls the following OpenCL kernel:</p>
173 <ol type="1">
174 <li><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector_kernel.xhtml">CLHOGDetectorKernel</a> </li>
175 </ol>
176
177 <p>Definition at line <a class="el" href="_c_l_h_o_g_detector_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_c_l_h_o_g_detector_8h_source.xhtml">CLHOGDetector.h</a>.</p>
178 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
179 <a class="anchor" id="a14d6ed372966f76fa5ed23877afc3228"></a>
180 <div class="memitem">
181 <div class="memproto">
182       <table class="memname">
183         <tr>
184           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
185           <td>(</td>
186           <td class="paramname"></td><td>)</td>
187           <td></td>
188         </tr>
189       </table>
190 </div><div class="memdoc">
191
192 <p>Default constructor. </p>
193
194 </div>
195 </div>
196 <a class="anchor" id="a2ad1bc7dbf6ac2d1438617d9619cbc5b"></a>
197 <div class="memitem">
198 <div class="memproto">
199 <table class="mlabels">
200   <tr>
201   <td class="mlabels-left">
202       <table class="memname">
203         <tr>
204           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
205           <td>(</td>
206           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&#160;</td>
207           <td class="paramname"></td><td>)</td>
208           <td></td>
209         </tr>
210       </table>
211   </td>
212   <td class="mlabels-right">
213 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
214   </tr>
215 </table>
216 </div><div class="memdoc">
217
218 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
219
220 </div>
221 </div>
222 <a class="anchor" id="a19e205b5604209c3b2a5332d6eae6da1"></a>
223 <div class="memitem">
224 <div class="memproto">
225 <table class="mlabels">
226   <tr>
227   <td class="mlabels-left">
228       <table class="memname">
229         <tr>
230           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
231           <td>(</td>
232           <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&amp;&#160;</td>
233           <td class="paramname"></td><td>)</td>
234           <td></td>
235         </tr>
236       </table>
237   </td>
238   <td class="mlabels-right">
239 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
240   </tr>
241 </table>
242 </div><div class="memdoc">
243
244 <p>Allow instances of this class to be moved. </p>
245
246 </div>
247 </div>
248 <a class="anchor" id="a0afb7ef9fbe6f4711284df081a88779b"></a>
249 <div class="memitem">
250 <div class="memproto">
251 <table class="mlabels">
252   <tr>
253   <td class="mlabels-left">
254       <table class="memname">
255         <tr>
256           <td class="memname">~<a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
257           <td>(</td>
258           <td class="paramname"></td><td>)</td>
259           <td></td>
260         </tr>
261       </table>
262   </td>
263   <td class="mlabels-right">
264 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
265   </tr>
266 </table>
267 </div><div class="memdoc">
268
269 <p>Default destructor. </p>
270
271 </div>
272 </div>
273 <h2 class="groupheader">Member Function Documentation</h2>
274 <a class="anchor" id="af3f7d04fe1de62ddbed7bf165c9d7ec8"></a>
275 <div class="memitem">
276 <div class="memproto">
277       <table class="memname">
278         <tr>
279           <td class="memname">void configure </td>
280           <td>(</td>
281           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
282           <td class="paramname"><em>input</em>, </td>
283         </tr>
284         <tr>
285           <td class="paramkey"></td>
286           <td></td>
287           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_h_o_g.xhtml">ICLHOG</a> *&#160;</td>
288           <td class="paramname"><em>hog</em>, </td>
289         </tr>
290         <tr>
291           <td class="paramkey"></td>
292           <td></td>
293           <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a4cc908807b0a45ccc6ce7ba340ae2259">ICLDetectionWindowArray</a> *&#160;</td>
294           <td class="paramname"><em>detection_windows</em>, </td>
295         </tr>
296         <tr>
297           <td class="paramkey"></td>
298           <td></td>
299           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;&#160;</td>
300           <td class="paramname"><em>detection_window_stride</em>, </td>
301         </tr>
302         <tr>
303           <td class="paramkey"></td>
304           <td></td>
305           <td class="paramtype">float&#160;</td>
306           <td class="paramname"><em>threshold</em> = <code>0.0f</code>, </td>
307         </tr>
308         <tr>
309           <td class="paramkey"></td>
310           <td></td>
311           <td class="paramtype">size_t&#160;</td>
312           <td class="paramname"><em>idx_class</em> = <code>0</code>&#160;</td>
313         </tr>
314         <tr>
315           <td></td>
316           <td>)</td>
317           <td></td><td></td>
318         </tr>
319       </table>
320 </div><div class="memdoc">
321
322 <p>Initialise the kernel's input, output, <a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> data object, detection window stride, threshold and index class. </p>
323 <dl class="section attention"><dt>Attention</dt><dd>The function does not reset the number of values in <a class="el" href="namespacearm__compute.xhtml#a52b3b9de6092ae37321159c4c2f1bf40">IDetectionWindowArray</a> so it is caller's responsibility to clear it.</dd></dl>
324 <dl class="params"><dt>Parameters</dt><dd>
325   <table class="params">
326     <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input tensor. It is the output of <a class="el" href="classarm__compute_1_1_c_l_h_o_g_descriptor.xhtml">CLHOGDescriptor</a>. Data type supported: F32 </td></tr>
327     <tr><td class="paramdir">[in]</td><td class="paramname">hog</td><td><a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> data-object that describes the <a class="el" href="classarm__compute_1_1_h_o_g.xhtml" title="CPU implementation of HOG data-object. ">HOG</a> descriptor </td></tr>
328     <tr><td class="paramdir">[out]</td><td class="paramname">detection_windows</td><td><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> of <a class="el" href="struct_detection_window.xhtml">DetectionWindow</a> used to store the detected objects </td></tr>
329     <tr><td class="paramdir">[in]</td><td class="paramname">detection_window_stride</td><td>Distance in pixels between 2 consecutive detection windows in x and y directions. It must be multiple of the block stride stored in hog </td></tr>
330     <tr><td class="paramdir">[in]</td><td class="paramname">threshold</td><td>(Optional) Threshold for the distance between features and SVM classifying plane </td></tr>
331     <tr><td class="paramdir">[in]</td><td class="paramname">idx_class</td><td>(Optional) Index of the class used for evaluating which class the detection window belongs to </td></tr>
332   </table>
333   </dd>
334 </dl>
335
336 </div>
337 </div>
338 <a class="anchor" id="abec8de5d26dba14703efc9f1e49e1053"></a>
339 <div class="memitem">
340 <div class="memproto">
341 <table class="mlabels">
342   <tr>
343   <td class="mlabels-left">
344       <table class="memname">
345         <tr>
346           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a>&amp; operator= </td>
347           <td>(</td>
348           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&#160;</td>
349           <td class="paramname"></td><td>)</td>
350           <td></td>
351         </tr>
352       </table>
353   </td>
354   <td class="mlabels-right">
355 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
356   </tr>
357 </table>
358 </div><div class="memdoc">
359
360 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
361
362 </div>
363 </div>
364 <a class="anchor" id="aa2d5fe72d2db4b034a829c0a92c80783"></a>
365 <div class="memitem">
366 <div class="memproto">
367 <table class="mlabels">
368   <tr>
369   <td class="mlabels-left">
370       <table class="memname">
371         <tr>
372           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a>&amp; operator= </td>
373           <td>(</td>
374           <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> &amp;&amp;&#160;</td>
375           <td class="paramname"></td><td>)</td>
376           <td></td>
377         </tr>
378       </table>
379   </td>
380   <td class="mlabels-right">
381 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
382   </tr>
383 </table>
384 </div><div class="memdoc">
385
386 <p>Allow instances of this class to be moved. </p>
387
388 </div>
389 </div>
390 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
391 <div class="memitem">
392 <div class="memproto">
393 <table class="mlabels">
394   <tr>
395   <td class="mlabels-left">
396       <table class="memname">
397         <tr>
398           <td class="memname">void run </td>
399           <td>(</td>
400           <td class="paramname"></td><td>)</td>
401           <td></td>
402         </tr>
403       </table>
404   </td>
405   <td class="mlabels-right">
406 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
407   </tr>
408 </table>
409 </div><div class="memdoc">
410
411 <p>Run the kernels contained in the function. </p>
412 <p>For NEON kernels:</p><ul>
413 <li>Multi-threading is used for the kernels which are parallelisable.</li>
414 <li>By default std::thread::hardware_concurrency() threads are used.</li>
415 </ul>
416 <dl class="section note"><dt>Note</dt><dd><a class="el" href="classarm__compute_1_1_c_p_p_scheduler.xhtml#ae64eebaa07f4d2da6cc2ba538c3cb095">CPPScheduler::set_num_threads()</a> can be used to manually set the number of threads</dd></dl>
417 <p>For OpenCL kernels:</p><ul>
418 <li>All the kernels are enqueued on the queue associated with <a class="el" href="classarm__compute_1_1_c_l_scheduler.xhtml" title="Provides global access to a CL context and command queue. ">CLScheduler</a>.</li>
419 <li>The queue is then flushed.</li>
420 </ul>
421 <dl class="section note"><dt>Note</dt><dd>The function will not block until the kernels are executed. It is the user's responsibility to wait. </dd>
422 <dd>
423 Will call <a class="el" href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26" title="Prepare the function for executing. ">prepare()</a> on first run if hasn't been done </dd></dl>
424
425 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
426
427 </div>
428 </div>
429 <hr/>The documentation for this class was generated from the following file:<ul>
430 <li>arm_compute/runtime/CL/functions/<a class="el" href="_c_l_h_o_g_detector_8h_source.xhtml">CLHOGDetector.h</a></li>
431 </ul>
432 </div><!-- contents -->
433 </div><!-- doc-content -->
434 <!-- start footer part -->
435 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
436   <ul>
437     <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a></li>
438     <li class="footer">Generated on Wed May 23 2018 11:36:40 for Compute Library by
439     <a href="http://www.doxygen.org/index.html">
440     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
441   </ul>
442 </div>
443 </body>
444 </html>