12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- /**
- * @file Quantization1DAequiDist0ToMax.h
- * @brief Quantization of one-dimensional signals with a standard range of [0,1] (Interface)
- * @author Erik Rodner, Alexander Freytag
- * @date 01/09/2012
- */
- #ifndef _NICE_QUANTIZATIONINCLUDE
- #define _NICE_QUANTIZATIONINCLUDE
- // NICE-core includes
- #include <core/basics/types.h>
- #include <core/basics/Persistent.h>
- #include "gp-hik-core/Quantization.h"
- namespace NICE {
-
- /**
- * @class Quantization
- * @brief Quantization of one-dimensional signals with a standard range of [0,1]
- * @author Erik Rodner, Alexander Freytag
- */
-
- class Quantization1DAequiDist0ToMax : public NICE::Quantization
- {
- /** TODO
- * The current implementation only provides uniform quantization. We could extend this
- * by giving a ParameterizedFunction object to the constructor, which would allow us to inverse transform function values
- * before performing the binning.
- */
- protected:
- public:
- /**
- * @brief default constructor
- * @author Alexander Freytag
- * @date 06-02-2014
- */
-
- Quantization1DAequiDist0ToMax( );
-
- /**
- * @brief simple constructor
- * @author Erik Rodner
- * @date
- */
- Quantization1DAequiDist0ToMax( uint _numBins,
- NICE::Vector * v_upperBounds = NULL
- );
-
- /** simple destructor */
- virtual ~Quantization1DAequiDist0ToMax();
-
- ///////////////////// INTERFACE PERSISTENT /////////////////////
- // interface specific methods for store and restore
- ///////////////////// INTERFACE PERSISTENT /////////////////////
- virtual void restore ( std::istream & _is,
- int _format = 0
- );
- virtual void store ( std::ostream & _os,
- int _format = 0
- ) const;
- virtual void clear () {};
-
- };
- }
- #endif
|