Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::color::ColorCubeExtractor< T, comps > Class Template Reference

#include <ColorCubeExtractor.h>

Inheritance diagram for prapi::color::ColorCubeExtractor< T, comps >:

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

Detailed Description

template<class T, int comps>
class prapi::color::ColorCubeExtractor< T, comps >

ColorCubeExtractor creates a multi-dimensional histogram out of any color matrix.


Public Methods

 ColorCubeExtractor (Quantizer *quantizer)
 Create a new ColorCubeExtractor that uses the given Quantizer for all color channels.

 ColorCubeExtractor (Quantizer *quantizers[comps])
 Create a new ColorCubeExtractor that uses different quantizers for different channels.

List< int > getFeatureVector (const Matrix< Color< T, comps > > &mat)


Constructor & Destructor Documentation

template<class T, int comps>
prapi::color::ColorCubeExtractor< T, comps >::ColorCubeExtractor Quantizer   quantizer
 

Create a new ColorCubeExtractor that uses the given Quantizer for all color channels.

Parameters:
quantizer  the quantizer

template<class T, int comps>
prapi::color::ColorCubeExtractor< T, comps >::ColorCubeExtractor Quantizer   quantizers[comps]
 

Create a new ColorCubeExtractor that uses different quantizers for different channels.

Parameters:
quantizers  an array of Quantizer*'s that are used for the color channels. The array length must equal to the number of color components in the matrices to be processed.


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