core/vil/algo/vil_histogram.h File Reference


Detailed Description

Construct histogram from pixels in given image.

Author:
Tim Cootes

Definition in file vil_histogram.h.

#include <vil/vil_image_view.h>
#include <vcl_vector.h>
#include <vxl_config.h>
#include <vcl_algorithm.h>

Go to the source code of this file.


Functions

template<class T>
void vil_histogram (const vil_image_view< T > &image, vcl_vector< double > &histo, double min, double max, unsigned n_bins)
 Construct histogram from pixels in given image.
void vil_histogram_byte (const vil_image_view< vxl_byte > &image, vcl_vector< double > &histo)
 Construct histogram from pixels in given image of bytes.

Variables

vcl_vector< double > & histo
vcl_vector< double > double min
vcl_vector< double > double
double 
max

Function Documentation

template<class T>
void vil_histogram ( const vil_image_view< T > &  image,
vcl_vector< double > &  histo,
double  min,
double  max,
unsigned  n_bins 
) [inline]

Construct histogram from pixels in given image.

Definition at line 17 of file vil_histogram.h.

void vil_histogram_byte ( const vil_image_view< vxl_byte > &  image,
vcl_vector< double > &  histo 
)

Construct histogram from pixels in given image of bytes.

Resulting histogram has 256 bins

Definition at line 10 of file vil_histogram.cxx.


Variable Documentation

vcl_vector<double>& histo

Definition at line 53 of file vil_histogram.h.

vcl_vector<double> double double max

Definition at line 53 of file vil_histogram.h.

vcl_vector<double> double min

Definition at line 53 of file vil_histogram.h.


Generated on Mon Mar 8 05:08:51 2010 for core/vil by  doxygen 1.5.1