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

Plot::PixelAverage Template Class Reference

Averages a series of pixels in HSV space. More...

#include <pixel.h>

List of all members.

Public Methods

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

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


Detailed Description

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

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 320 of file pixel.h.


Constructor & Destructor Documentation

template<classHSVPixelType = HSVPixel<>>
Plot::PixelAverage<HSVPixelType>::PixelAverage<HSVPixelType> ( )
 

Definition at line 325 of file pixel.h.


Member Function Documentation

template<classHSVPixelType = HSVPixel<>>
HSVPixelType Plot::PixelAverage<HSVPixelType>::operator() ( ) const [inline]
 

Returns the average of the pixels seen so far.

Definition at line 338 of file pixel.h.

template<classHSVPixelType = HSVPixel<>>
void Plot::PixelAverage<HSVPixelType>::operator+= ( HSVPixelType p ) [inline]
 

Adds the given pixel to the internal totals.

Definition at line 328 of file pixel.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:21 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000