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.
      
        
          | void alvar::HistogramSubpixel::Clear | ( |  | ) |  | 
      
 
Clear the 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. 
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. 
Definition at line 318 of file Util.cpp.
 
 
  
  | 
        
          | std::map<Index, double> alvar::HistogramSubpixel::acc_dim0 |  | protected | 
 
 
  
  | 
        
          | std::map<Index, double> alvar::HistogramSubpixel::acc_dim1 |  | protected | 
 
 
  
  | 
        
          | std::map<Index, double> alvar::HistogramSubpixel::acc_dim2 |  | protected | 
 
 
The documentation for this class was generated from the following files: