Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vifa_histogram.cxx File Reference


Detailed Description

Definition in file vifa_histogram.cxx.

#include <vifa/vifa_histogram.h>
#include <vcl_cmath.h>
#include <vcl_iostream.h>
#include <vcl_fstream.h>
#include <vcl_cstdio.h>

Go to the source code of this file.

Functions

float GetExtendedCount (int bin, int n_bins, float *cnts, bool cyclic)
 Provides the correct values for histogram counts when the bin index extends outside the valid range of the counts array.


Function Documentation

float GetExtendedCount int  bin,
int  n_bins,
float *  cnts,
bool  cyclic
[inline]
 

Provides the correct values for histogram counts when the bin index extends outside the valid range of the counts array.

This function permits easy array access logic for the NonMaximumSuppression algorithm. The cyclic flag indicates that the counts array index is circular, i.e, cnts[0] equivalent to cnts[n_bins]

Definition at line 504 of file vifa_histogram.cxx.


Generated on Thu Jan 10 14:47:31 2008 for contrib/gel/vifa by  doxygen 1.4.4