FCam::HistogramConfig Class Reference

The configuration of the histogram generator. More...

#include <Base.h>

Inheritance diagram for FCam::HistogramConfig:

Inheritance graph
[legend]
Collaboration diagram for FCam::HistogramConfig:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HistogramConfig ()
 The default constructor disables the histogram generator.
bool operator== (const HistogramConfig &other) const
 Compare two requested configurations to see if they would return the same data.
bool operator!= (const HistogramConfig &other) const
 Compare two requested configurations to see if they would return the same data.

Public Attributes

Rect region [4]
 Rectangles specifying the locations of the four regions (with respect to the output image).
unsigned char buckets
 The requested number of buckets in the histogram.
unsigned char regions
 The number of active histograms.


Detailed Description

The configuration of the histogram generator.

Up to four histograms can be configured, over overlapping regions of the image. A pixel will only count for the lowest number histogram region in which it lives.

Definition at line 108 of file Base.h.


Constructor & Destructor Documentation

FCam::HistogramConfig::HistogramConfig (  )  [inline]

The default constructor disables the histogram generator.

Definition at line 112 of file Base.h.


Member Function Documentation

bool FCam::HistogramConfig::operator== ( const HistogramConfig other  )  const [inline]

Compare two requested configurations to see if they would return the same data.

Definition at line 129 of file Base.h.

bool FCam::HistogramConfig::operator!= ( const HistogramConfig other  )  const [inline]

Compare two requested configurations to see if they would return the same data.

Definition at line 140 of file Base.h.


Member Data Documentation

The requested number of buckets in the histogram.

Current this will be ignored and set to 64.

Definition at line 120 of file Base.h.

The number of active histograms.

Can be up to four. Setting this to zero disables the histogram generator.

Definition at line 125 of file Base.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 18 20:48:13 2010 for FCam by  doxygen 1.5.6