Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Plot::PixelAverage< HSVPixelType > Class Template Reference

#include <pixel.h>

List of all members.


Detailed Description

template<class HSVPixelType = HSVPixel<>>
class Plot::PixelAverage< HSVPixelType >

Averages a series of pixels in HSV space.

Each hue,saturation pair forms a vector, averaged with others using vector addition, while the values are averaged arithmetically. PixelType must be an HSVPixel, or at least one supporting that interface.

Definition at line 321 of file pixel.h.

Public Methods

void operator+= (HSVPixelType p)
 Adds the given pixel to the internal totals.

HSVPixelType operator() () const
 Returns the average of the pixels seen so far.


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:43 2003 for RF-LISSOM by doxygen1.3-rc2