N-dimensional Histograms calculating also the subpixel average for max bin.
More...
#include <Util.h>
|
void | Clear () |
| Clear the histogram. More...
|
|
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. More...
|
|
void | Inc (double dim0, double dim1=0, double dim2=0) |
| Increase the histogram for given dimensions. More...
|
|
void | AddDimension (int binsize) |
| Add dimension with a binsize. More...
|
|
void | Clear () |
| Clear the histogram. More...
|
|
int | GetMax (double *dim0, double *dim1=0, double *dim2=0) |
| Get the maximum from the histogram This returns the value in the middle of the 'bin' instead of bin-number. More...
|
|
void | Inc (double dim0, double dim1=0, double dim2=0) |
| Increase the histogram for given dimensions. More...
|
|
N-dimensional Histograms calculating also the subpixel average for max bin.
Definition at line 276 of file Util.h.
◆ Clear()
void alvar::HistogramSubpixel::Clear |
( |
| ) |
|
Clear the histogram.
Definition at line 312 of file Util.cpp.
◆ GetMax()
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.
Definition at line 332 of file Util.cpp.
◆ Inc()
void alvar::HistogramSubpixel::Inc |
( |
double |
dim0, |
|
|
double |
dim1 = 0 , |
|
|
double |
dim2 = 0 |
|
) |
| |
Increase the histogram for given dimensions.
Definition at line 318 of file Util.cpp.
◆ acc_dim0
std::map<Index, double> alvar::HistogramSubpixel::acc_dim0 |
|
protected |
◆ acc_dim1
std::map<Index, double> alvar::HistogramSubpixel::acc_dim1 |
|
protected |
◆ acc_dim2
std::map<Index, double> alvar::HistogramSubpixel::acc_dim2 |
|
protected |
The documentation for this class was generated from the following files: