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

RGBDistanceTable Template Class Reference

The RGBDistanceTable class allows for fast lookup to find the distance between any color and a given color. More...

#include <XVColorSeg.h>

Inheritance diagram for RGBDistanceTable:

LookupTable List of all members.

Public Methods

Protected Methods

Protected Attributes


Detailed Description

template<class T> template class RGBDistanceTable

The RGBDistanceTable class allows for fast lookup to find the distance between any color and a given color.

The distance is given as the sine of the angle between the two colors, or the length of their cross product divided by their lengths.

Definition at line 109 of file XVColorSeg.h.


Member Data Documentation

template<classT>
T RGBDistanceTable<T>::baseColor [protected]
 

Definition at line 113 of file XVColorSeg.h.

template<classT>
float RGBDistanceTable<T>::bcLength [protected]
 

Definition at line 114 of file XVColorSeg.h.

template<classT>
u_short RGBDistanceTable<T>::distance [protected]
 

Definition at line 115 of file XVColorSeg.h.


The documentation for this class was generated from the following file:
Generated at Thu Mar 29 22:37:28 2001 for XVision by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000