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

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

#include <vcl_vector.h>
#include <vcl_cassert.h>
#include <bsta/bsta_int_histogram_1d.h>

Go to the source code of this file.

Classes

class  bsta_int_histogram_2d

Detailed Description

1D and 2D 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).

Note that the 2D version is lacking some of the 1D methods because it isn't obvious that they would be of any use for a 2D histogram

The 2D histogram is a special case useful for isolating similarly colored regions of an image. Probably not very generally useful to the vxl community. But here it is anyway

This 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_2d.h.