Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::MultiDimensionalHistogram Class Reference

#include <Histogram.h>

Inheritance diagram for prapi::MultiDimensionalHistogram:

prapi::FeatureExtractor< int, List< Matrix< int > > > Object List of all members.

Detailed Description

A feature extractor that produces multi-dimensional histogram out of a list of matrixs.

Input matrices are treated as quantized feature matrixs, and corresponding entries (pixels) are treated as coordinates in the histogram. That is, if you have two feature matrices, say LBP and contrast, each pixel is placed into the histogram using the LBP value as the first coordinate and contrast value as the second one.

Deprecated:
Use MultiFeatureHistogram instead


Public Methods

 MultiDimensionalHistogram (List< int > dimensions)
 Create a new MuldiDimensionalHistogram feature extractor with the given maximum values for each dimension.

List< int > getFeatureVector (const List< Matrix< int > > &lst) throw (FeatureExtractionException&)
 Generate a multi-dimensional histogram using feature values as coordinates in the histogram.


Constructor & Destructor Documentation

prapi::MultiDimensionalHistogram::MultiDimensionalHistogram List< int >    dimensions
 

Create a new MuldiDimensionalHistogram feature extractor with the given maximum values for each dimension.

Parameters:
dimensions  the maximum value for each histogram dimension. The minimum value for each dimension is zero. If values larger than those provided as maximum values are encountered during feature vector calculation, the result will be undefined. An error may also occur.


Member Function Documentation

List< int > prapi::MultiDimensionalHistogram::getFeatureVector const List< Matrix< int > > &    lst throw (FeatureExtractionException&) [virtual]
 

Generate a multi-dimensional histogram using feature values as coordinates in the histogram.

The length of the matrix list must be equal to the length of the dimensions list given in the constructor.

Implements prapi::FeatureExtractor< int, List< Matrix< int > > >.


The documentation for this class was generated from the following files:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.