Classes
contrib/brl/bbas/bsta/bsta_int_histogram_1d.h File Reference

1D integer Histograms with bucket width = 1 More...

#include <vcl_vector.h>

Go to the source code of this file.

Classes

class  bsta_int_histogram_1d

Detailed Description

1D integer Histograms with bucket width = 1

This simple histogram class is an integer version of gel/vifa/vifa_histogram.h which was a port from Targetjr. Also borrowed from bsta_histogram. Only the features needed for integer histograms of images with bucket_width = 1 are included. The class is defined to create a histogram with long int buckets (4 bytes).

The original Targetjr class had methods like ::scale(...) which were needed (for example) for the edgel strength algorithm in which bucket widths needed to be rescaled, etc, so all floats were used. Here we just use integers. Also included are some useful methods for finding properties of these histograms, like the min and max value, largest value, locations of these, etc.

It is initially placed in bbas/bsta for now. If others think it useful, it can be moved to a permanent home later.

Author:
James E. Green
Date:
23 April, 2007
    Modifications
     2007/04/23 Initial Version
   

Definition in file bsta_int_histogram_1d.h.