QuantisePN Class Reference

Convert real floats to quantised ints. More...

#include <QuantisePN.h>

Inheritance diagram for QuantisePN:
Quantise

List of all members.

Public Member Functions

 QuantisePN (int levels, float lower, float upper)
 Intialise the quantiser with the number of level and bounds.
int convertToInt (float value)
 Convert a float to quantised int.
float convertToFloat (int value)
 Convert a quantised int to float.

Detailed Description

Convert real floats to quantised ints.

This class is used to convert a set of real (positive and negative) floats to ints and the quantised ints to floats using a mapping table computed using the set bounds.

Author
lapark
Revision
1.2
Date
2009/10/08 06:41:30
Id
QuantisePN.h,v 1.2 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:16 2009 for textIR by  doxygen 1.6.1