Public Member Functions | Protected Attributes
alvar::HistogramSubpixel Class Reference

N-dimensional Histograms calculating also the subpixel average for max bin. More...

#include <Util.h>

Inheritance diagram for alvar::HistogramSubpixel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Clear ()
 Clear the histogram.
int GetMax (double *dim0, double *dim1=0, double *dim2=0)
 Get the maximum from the histogram This finds the maximum bin(s) and averages the original values contained there to achieve subpixel accuracy.
void Inc (double dim0, double dim1=0, double dim2=0)
 Increase the histogram for given dimensions.

Protected Attributes

std::map< Index, double > acc_dim0
std::map< Index, double > acc_dim1
std::map< Index, double > acc_dim2

Detailed Description

N-dimensional Histograms calculating also the subpixel average for max bin.

Definition at line 275 of file Util.h.


Member Function Documentation

Clear the histogram.

Reimplemented from alvar::Histogram.

Definition at line 312 of file Util.cpp.

int alvar::HistogramSubpixel::GetMax ( double *  dim0,
double *  dim1 = 0,
double *  dim2 = 0 
)

Get the maximum from the histogram This finds the maximum bin(s) and averages the original values contained there to achieve subpixel accuracy.

Reimplemented from alvar::Histogram.

Definition at line 332 of file Util.cpp.

void alvar::HistogramSubpixel::Inc ( double  dim0,
double  dim1 = 0,
double  dim2 = 0 
)

Increase the histogram for given dimensions.

Reimplemented from alvar::Histogram.

Definition at line 318 of file Util.cpp.


Member Data Documentation

std::map<Index, double> alvar::HistogramSubpixel::acc_dim0 [protected]

Definition at line 277 of file Util.h.

std::map<Index, double> alvar::HistogramSubpixel::acc_dim1 [protected]

Definition at line 278 of file Util.h.

std::map<Index, double> alvar::HistogramSubpixel::acc_dim2 [protected]

Definition at line 279 of file Util.h.


The documentation for this class was generated from the following files:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sun Oct 5 2014 22:16:27