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">
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);
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(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
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" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.05</span>
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');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related 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 Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
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>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_c_l_h_o_g_detector.xhtml','');});
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)">
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">
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>
123 <div class="contents">
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>
128 <p><code>#include <<a class="el" href="_c_l_h_o_g_detector_8h_source.xhtml">CLHOGDetector.h</a>></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>
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"> </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"> </td><td class="mdescRight">Default constructor. <a href="#a14d6ed372966f76fa5ed23877afc3228">More...</a><br /></td></tr>
140 <tr class="separator:a14d6ed372966f76fa5ed23877afc3228"><td class="memSeparator" colspan="2"> </td></tr>
141 <tr class="memitem:a2ad1bc7dbf6ac2d1438617d9619cbc5b"><td class="memItemLeft" align="right" valign="top"> </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> &)=delete</td></tr>
142 <tr class="memdesc:a2ad1bc7dbf6ac2d1438617d9619cbc5b"><td class="mdescLeft"> </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"> </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> & </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> &)=delete</td></tr>
145 <tr class="memdesc:abec8de5d26dba14703efc9f1e49e1053"><td class="mdescLeft"> </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"> </td></tr>
147 <tr class="memitem:a19e205b5604209c3b2a5332d6eae6da1"><td class="memItemLeft" align="right" valign="top"> </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> &&)=default</td></tr>
148 <tr class="memdesc:a19e205b5604209c3b2a5332d6eae6da1"><td class="mdescLeft"> </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"> </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> & </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> &&)=default</td></tr>
151 <tr class="memdesc:aa2d5fe72d2db4b034a829c0a92c80783"><td class="mdescLeft"> </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"> </td></tr>
153 <tr class="memitem:a0afb7ef9fbe6f4711284df081a88779b"><td class="memItemLeft" align="right" valign="top"> </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"> </td><td class="mdescRight">Default destructor. <a href="#a0afb7ef9fbe6f4711284df081a88779b">More...</a><br /></td></tr>
155 <tr class="separator:a0afb7ef9fbe6f4711284df081a88779b"><td class="memSeparator" colspan="2"> </td></tr>
156 <tr class="memitem:af3f7d04fe1de62ddbed7bf165c9d7ec8"><td class="memItemLeft" align="right" valign="top">void </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> &detection_window_stride, float threshold=0.0f, size_t idx_class=0)</td></tr>
157 <tr class="memdesc:af3f7d04fe1de62ddbed7bf165c9d7ec8"><td class="mdescLeft"> </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"> </td></tr>
159 <tr class="memitem:ad1717410afd0be936c6213a63c8005fb"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </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="-"/> 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 </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"> </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"> </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 </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"> </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"> </td></tr>
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>
174 <li><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector_kernel.xhtml">CLHOGDetectorKernel</a> </li>
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 & Destructor Documentation</h2>
179 <a class="anchor" id="a14d6ed372966f76fa5ed23877afc3228"></a>
180 <div class="memitem">
181 <div class="memproto">
182 <table class="memname">
184 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
186 <td class="paramname"></td><td>)</td>
190 </div><div class="memdoc">
192 <p>Default constructor. </p>
196 <a class="anchor" id="a2ad1bc7dbf6ac2d1438617d9619cbc5b"></a>
197 <div class="memitem">
198 <div class="memproto">
199 <table class="mlabels">
201 <td class="mlabels-left">
202 <table class="memname">
204 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
206 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> & </td>
207 <td class="paramname"></td><td>)</td>
212 <td class="mlabels-right">
213 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
216 </div><div class="memdoc">
218 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
222 <a class="anchor" id="a19e205b5604209c3b2a5332d6eae6da1"></a>
223 <div class="memitem">
224 <div class="memproto">
225 <table class="mlabels">
227 <td class="mlabels-left">
228 <table class="memname">
230 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
232 <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> && </td>
233 <td class="paramname"></td><td>)</td>
238 <td class="mlabels-right">
239 <span class="mlabels"><span class="mlabel">default</span></span> </td>
242 </div><div class="memdoc">
244 <p>Allow instances of this class to be moved. </p>
248 <a class="anchor" id="a0afb7ef9fbe6f4711284df081a88779b"></a>
249 <div class="memitem">
250 <div class="memproto">
251 <table class="mlabels">
253 <td class="mlabels-left">
254 <table class="memname">
256 <td class="memname">~<a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> </td>
258 <td class="paramname"></td><td>)</td>
263 <td class="mlabels-right">
264 <span class="mlabels"><span class="mlabel">default</span></span> </td>
267 </div><div class="memdoc">
269 <p>Default destructor. </p>
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">
279 <td class="memname">void configure </td>
281 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
282 <td class="paramname"><em>input</em>, </td>
285 <td class="paramkey"></td>
287 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_h_o_g.xhtml">ICLHOG</a> * </td>
288 <td class="paramname"><em>hog</em>, </td>
291 <td class="paramkey"></td>
293 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a4cc908807b0a45ccc6ce7ba340ae2259">ICLDetectionWindowArray</a> * </td>
294 <td class="paramname"><em>detection_windows</em>, </td>
297 <td class="paramkey"></td>
299 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> & </td>
300 <td class="paramname"><em>detection_window_stride</em>, </td>
303 <td class="paramkey"></td>
305 <td class="paramtype">float </td>
306 <td class="paramname"><em>threshold</em> = <code>0.0f</code>, </td>
309 <td class="paramkey"></td>
311 <td class="paramtype">size_t </td>
312 <td class="paramname"><em>idx_class</em> = <code>0</code> </td>
320 </div><div class="memdoc">
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>
338 <a class="anchor" id="abec8de5d26dba14703efc9f1e49e1053"></a>
339 <div class="memitem">
340 <div class="memproto">
341 <table class="mlabels">
343 <td class="mlabels-left">
344 <table class="memname">
346 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a>& operator= </td>
348 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> & </td>
349 <td class="paramname"></td><td>)</td>
354 <td class="mlabels-right">
355 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
358 </div><div class="memdoc">
360 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
364 <a class="anchor" id="aa2d5fe72d2db4b034a829c0a92c80783"></a>
365 <div class="memitem">
366 <div class="memproto">
367 <table class="mlabels">
369 <td class="mlabels-left">
370 <table class="memname">
372 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a>& operator= </td>
374 <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector.xhtml">CLHOGDetector</a> && </td>
375 <td class="paramname"></td><td>)</td>
380 <td class="mlabels-right">
381 <span class="mlabels"><span class="mlabel">default</span></span> </td>
384 </div><div class="memdoc">
386 <p>Allow instances of this class to be moved. </p>
390 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
391 <div class="memitem">
392 <div class="memproto">
393 <table class="mlabels">
395 <td class="mlabels-left">
396 <table class="memname">
398 <td class="memname">void run </td>
400 <td class="paramname"></td><td>)</td>
405 <td class="mlabels-right">
406 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
409 </div><div class="memdoc">
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>
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>
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>
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>
425 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
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>
432 </div><!-- contents -->
433 </div><!-- doc-content -->
434 <!-- start footer part -->
435 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
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>