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:
List of all members.Public Methods
-
RGBDistanceTable (T, u_short)
Protected Methods
-
bool computePixelValue (T)
Protected Attributes
- T baseColor
- float bcLength
- u_short distance
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]
|
|
template<classT> |
float RGBDistanceTable<T>::bcLength [protected]
|
|
template<classT> |
u_short RGBDistanceTable<T>::distance [protected]
|
|
The documentation for this class was generated from the following file:
Generated at Thu Mar 29 22:37:28 2001 for XVision by
1.2.0 written by Dimitri van Heesch,
© 1997-2000