/usr/share/doc/mia-2.0/libdoc/classTHistogram.html is in libmia-2.0-doc 2.0.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 | <!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"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>THistogram< Feeder > Class Template Reference</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! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<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 class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">THistogram< Feeder > Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>a simple histogram that uses an instance of <a class="el" href="classTHistogramFeeder.html" title="A class to normalize and quantizize input data to a given histogram range with its given number of bi...">THistogramFeeder</a> as input converter
<a href="classTHistogram.html#details">More...</a></p>
<p><code>#include <<a class="el" href="histogram_8hh_source.html">mia/core/histogram.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4e23159944c2124c4b8608a9e8c3567a"><td class="memItemLeft" align="right" valign="top">typedef std::vector< size_t ><br class="typebreak"/>
::<a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a></td></tr>
<tr class="memdesc:a4e23159944c2124c4b8608a9e8c3567a"><td class="mdescLeft"> </td><td class="mdescRight">STL iterator. <a href="#a4e23159944c2124c4b8608a9e8c3567a">More...</a><br/></td></tr>
<tr class="separator:a4e23159944c2124c4b8608a9e8c3567a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe657aef3224922ef93af3f6b06a4fab"><td class="memItemLeft" align="right" valign="top">typedef std::pair< typename <br class="typebreak"/>
Feeder::value_type, typename <br class="typebreak"/>
Feeder::value_type > </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#afe657aef3224922ef93af3f6b06a4fab">range_type</a></td></tr>
<tr class="separator:afe657aef3224922ef93af3f6b06a4fab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ec5c599a059dac2fc3597c13c8a9cfa"><td class="memItemLeft" align="right" valign="top">typedef std::pair< typename <br class="typebreak"/>
Feeder::value_type, size_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a9ec5c599a059dac2fc3597c13c8a9cfa">value_type</a></td></tr>
<tr class="memdesc:a9ec5c599a059dac2fc3597c13c8a9cfa"><td class="mdescLeft"> </td><td class="mdescRight">A type for the value-index pair. <a href="#a9ec5c599a059dac2fc3597c13c8a9cfa">More...</a><br/></td></tr>
<tr class="separator:a9ec5c599a059dac2fc3597c13c8a9cfa"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5e914809b9591f0e144b977861bcee38"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTHistogram.html#a9ec5c599a059dac2fc3597c13c8a9cfa">value_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a5e914809b9591f0e144b977861bcee38">at</a> (size_t idx) const </td></tr>
<tr class="separator:a5e914809b9591f0e144b977861bcee38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19a2ee02acac3d9d7ef17f61a004d585"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a19a2ee02acac3d9d7ef17f61a004d585">average</a> () const </td></tr>
<tr class="separator:a19a2ee02acac3d9d7ef17f61a004d585"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03068d28da78b95c20c4ea5471ffd35d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a03068d28da78b95c20c4ea5471ffd35d">begin</a> () const </td></tr>
<tr class="separator:a03068d28da78b95c20c4ea5471ffd35d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13c933a39b5cf84ae21129857f219eb6"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a13c933a39b5cf84ae21129857f219eb6">deviation</a> () const </td></tr>
<tr class="separator:a13c933a39b5cf84ae21129857f219eb6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c9763e4f73fb261523e77d68e4b0207"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a3c9763e4f73fb261523e77d68e4b0207">end</a> () const </td></tr>
<tr class="separator:a3c9763e4f73fb261523e77d68e4b0207"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1a27d319e36f30a0c6b0aedef26c932"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTHistogram.html#afe657aef3224922ef93af3f6b06a4fab">range_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#af1a27d319e36f30a0c6b0aedef26c932">get_reduced_range</a> (double remove) const </td></tr>
<tr class="separator:af1a27d319e36f30a0c6b0aedef26c932"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0a40e9877e7ddbab4e83274517bbda2"><td class="memItemLeft" align="right" valign="top">Feeder::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#ab0a40e9877e7ddbab4e83274517bbda2">MAD</a> () const </td></tr>
<tr class="separator:ab0a40e9877e7ddbab4e83274517bbda2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adaa92a08b0caaa47ae37af7110fde3b5"><td class="memItemLeft" align="right" valign="top">Feeder::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#adaa92a08b0caaa47ae37af7110fde3b5">median</a> () const </td></tr>
<tr class="separator:adaa92a08b0caaa47ae37af7110fde3b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af62ed4ee1ba30ccb409647cc9b7185db"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#af62ed4ee1ba30ccb409647cc9b7185db">operator[]</a> (size_t idx) const </td></tr>
<tr class="separator:af62ed4ee1ba30ccb409647cc9b7185db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab22a837ed6dbc77c5368c65a57995c20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#ab22a837ed6dbc77c5368c65a57995c20">push</a> (typename Feeder::value_type x)</td></tr>
<tr class="separator:ab22a837ed6dbc77c5368c65a57995c20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5dfd0034d2040227261466bd6e28b412"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a5dfd0034d2040227261466bd6e28b412">push</a> (typename Feeder::value_type x, size_t count)</td></tr>
<tr class="separator:a5dfd0034d2040227261466bd6e28b412"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88a66bed6992cf3890a965bb9fc724a6"><td class="memTemplParams" colspan="2">template<typename Iterator > </td></tr>
<tr class="memitem:a88a66bed6992cf3890a965bb9fc724a6"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a88a66bed6992cf3890a965bb9fc724a6">push_range</a> (Iterator <a class="el" href="classTHistogram.html#a03068d28da78b95c20c4ea5471ffd35d">begin</a>, Iterator <a class="el" href="classTHistogram.html#a3c9763e4f73fb261523e77d68e4b0207">end</a>)</td></tr>
<tr class="separator:a88a66bed6992cf3890a965bb9fc724a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9459ab96e977f22fdae6896018a6a10d"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a9459ab96e977f22fdae6896018a6a10d">size</a> () const </td></tr>
<tr class="separator:a9459ab96e977f22fdae6896018a6a10d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9e64a60ea824b4929191735267d3b31b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#a9e64a60ea824b4929191735267d3b31b">THistogram</a> (const Feeder &f)</td></tr>
<tr class="separator:a9e64a60ea824b4929191735267d3b31b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec5e6b310133470b2d0e11ee0a1bfdaf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHistogram.html#aec5e6b310133470b2d0e11ee0a1bfdaf">THistogram</a> (const <a class="el" href="classTHistogram.html">THistogram</a>< Feeder > &org, double perc)</td></tr>
<tr class="separator:aec5e6b310133470b2d0e11ee0a1bfdaf"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<typename Feeder><br/>
class THistogram< Feeder ></h3>
<p>a simple histogram that uses an instance of <a class="el" href="classTHistogramFeeder.html" title="A class to normalize and quantizize input data to a given histogram range with its given number of bi...">THistogramFeeder</a> as input converter </p>
<p>This class implements a simple histogram that uses the nearest neighbor approach implemeneted in <a class="el" href="classTHistogramFeeder.html" title="A class to normalize and quantizize input data to a given histogram range with its given number of bi...">THistogramFeeder</a> to fill the histogram and provides some funcionallity to work with the histogram. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">the</td><td>input feeder </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00132">132</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a4e23159944c2124c4b8608a9e8c3567a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname">typedef std::vector<size_t>::<a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>STL iterator. </p>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00136">136</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="afe657aef3224922ef93af3f6b06a4fab"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname">typedef std::pair<typename Feeder::value_type, typename Feeder::value_type> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#afe657aef3224922ef93af3f6b06a4fab">range_type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00141">141</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a9ec5c599a059dac2fc3597c13c8a9cfa"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname">typedef std::pair<typename Feeder::value_type, size_t> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#a9ec5c599a059dac2fc3597c13c8a9cfa">value_type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>A type for the value-index pair. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>change to meaningful name </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00139">139</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a9e64a60ea824b4929191735267d3b31b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html">THistogram</a> </td>
<td>(</td>
<td class="paramtype">const Feeder & </td>
<td class="paramname"><em>f</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor to create the histogram with the given input feeder. </p>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00282">282</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="aec5e6b310133470b2d0e11ee0a1bfdaf"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html">THistogram</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classTHistogram.html">THistogram</a>< Feeder > & </td>
<td class="paramname"><em>org</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>perc</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor to create a histogram by copying another histogram and cutting of part ot the upper tail.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">org</td><td>original histogram to copy from </td></tr>
<tr><td class="paramname">perc</td><td>percentage of the bins to cut off </td></tr>
</table>
</dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>this should actually cut of a percentage of the data and not of the bins </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00290">290</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5e914809b9591f0e144b977861bcee38"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#a9ec5c599a059dac2fc3597c13c8a9cfa">value_type</a> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::at </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>idx</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the count and input range value corresponding to the bin at idx </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">idx</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><value,count> pair </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00385">385</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a19a2ee02acac3d9d7ef17f61a004d585"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::average </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>mean of the histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00394">394</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a03068d28da78b95c20c4ea5471ffd35d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>start of histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00337">337</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a13c933a39b5cf84ae21129857f219eb6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::deviation </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>deviation of the histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00407">407</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a3c9763e4f73fb261523e77d68e4b0207"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#a4e23159944c2124c4b8608a9e8c3567a">const_iterator</a> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>end of histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00343">343</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="af1a27d319e36f30a0c6b0aedef26c932"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::<a class="el" href="classTHistogram.html#afe657aef3224922ef93af3f6b06a4fab">range_type</a> <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::get_reduced_range </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>remove</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>return the histogram range that cuts off the <em>remove</em> percent of pixels from the lower ane upper end of the histogram </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">remove</td><td>the amout of pixels to remove from the upper and lower end of the historam [0,40] </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the pair <low,high> of the resulting histogram range </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00423">423</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
<p>References <a class="el" href="msgstream_8hh_source.html#l00213">cvdebug()</a>.</p>
</div>
</div>
<a class="anchor" id="ab0a40e9877e7ddbab4e83274517bbda2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">Feeder::value_type <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::MAD </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Median Average Distance of the histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00368">368</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
<p>References <a class="el" href="histogram_8hh_source.html#l00356">THistogram< Feeder >::median()</a>, and <a class="el" href="histogram_8hh_source.html#l00313">THistogram< Feeder >::push()</a>.</p>
</div>
</div>
<a class="anchor" id="adaa92a08b0caaa47ae37af7110fde3b5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">Feeder::value_type <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::median </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>median of the histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00356">356</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
<p>Referenced by <a class="el" href="histogram_8hh_source.html#l00368">THistogram< Feeder >::MAD()</a>.</p>
</div>
</div>
<a class="anchor" id="af62ed4ee1ba30ccb409647cc9b7185db"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">size_t <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::operator[] </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>idx</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>value of histogram bin at idx </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00349">349</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="ab22a837ed6dbc77c5368c65a57995c20"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::push </td>
<td>(</td>
<td class="paramtype">typename Feeder::value_type </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a value x to the histogram </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td></td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00313">313</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
<p>Referenced by <a class="el" href="histogram_8hh_source.html#l00368">THistogram< Feeder >::MAD()</a>.</p>
</div>
</div>
<a class="anchor" id="a5dfd0034d2040227261466bd6e28b412"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder> </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::push </td>
<td>(</td>
<td class="paramtype">typename Feeder::value_type </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a value x to the histogram count times </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">count</td><td></td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00330">330</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a88a66bed6992cf3890a965bb9fc724a6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<div class="memtemplate">
template<typename Iterator > </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::push_range </td>
<td>(</td>
<td class="paramtype">Iterator </td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Iterator </td>
<td class="paramname"><em>end</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a range of data to the histogram </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Iterator</td><td>forward iterator </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">begin</td><td>start of input range </td></tr>
<tr><td class="paramname">end</td><td>end of input range (STL convention) </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00321">321</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a9459ab96e977f22fdae6896018a6a10d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Feeder > </div>
<table class="memname">
<tr>
<td class="memname">size_t <a class="el" href="classTHistogram.html">THistogram</a>< Feeder >::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>size of histogram </dd></dl>
<p>Definition at line <a class="el" href="histogram_8hh_source.html#l00307">307</a> of file <a class="el" href="histogram_8hh_source.html">histogram.hh</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="histogram_8hh_source.html">histogram.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:10 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|