Quantizer Interface Reference
Quantizer is an interface for classes that serve as data quantizers.
More...
List of all members.
Detailed Description
Quantizer is an interface for classes that serve as data quantizers.
That is, they serve to reduce the effective amount of information in a data set by algorithmically determining a small set of appropriate representatives to which the data items can be translated to. In particular, Quantizer deals with 3D acceleration data. A quantizer should be constructed with a data set with which to develop its "codebook."
- Author:
- Team Better Recognize
Member Function Documentation
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
Sets the data set to use in this Quantizer.
- Parameters:
-
| data | the data set to assign to this Quantizer |
Implemented in Kmeans.
Returns the size of the Quantizer, which corresponds to the size of the image of the quantization mapping.
That is, the size is the total number of representatives determined by this Quantizer for its data set.
- Returns:
- the size of the Quantizer.
Implemented in Kmeans.
Translates a 3D acceleration into its appropriate representative.
- Parameters:
-
| acc | The acceleration vector to translate (quantize) |
- Returns:
- the quantized value (an integer) which the Accel3D is mapped to in this Quantizer
Implemented in Kmeans.
Member Data Documentation
The documentation for this interface was generated from the following file:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/Quantizer.java