Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::MultiFeatureHistogram::Merge Class Reference

#include <Histogram.h>

Inheritance diagram for prapi::MultiFeatureHistogram::Merge:

prapi::MultiFeatureHistogram::LayerCombiner List of all members.

Detailed Description

The Merge combiner merges histograms so that the pixels in all layers are collected to a single histogram.


Public Methods

 Merge (int levels)
 Create a new Merge combiner with the given histogram length.

virtual void modifyHistogram (const List< int > &pixelValues, List< int > &histogram) const
 Modify the histogram.

virtual int getHistogramLength () const
 Get the length of the histogram this combiner will produce.


Member Function Documentation

void prapi::MultiFeatureHistogram::Merge::modifyHistogram const List< int > &    pixelValues,
List< int > &    histogram
const [virtual]
 

Modify the histogram.

Parameters:
pixelValues  a list of integers representing the quantized feature values for each channel.
histogram  the histogram to modify according to the pixel values.

Implements prapi::MultiFeatureHistogram::LayerCombiner.


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.