#include <saupePredictor.h>


Classes | |
| class | OneRangePredictor |
| Implementation of the one-range-predictor from IStdEncPredictor interface. More... | |
Public Types | |
| typedef float | KDReal |
| The floating point type used in the KD-tree. | |
| typedef KDTree< KDReal > | Tree |
| The version of KDTree in use. | |
Public Member Functions | |
IStdEncPredictor interface | |
| IOneRangePredictor * | newPredictor (const NewPredictorData &data) |
| Creates a predictor (passing the ownership) for a range block. | |
| void | cleanUp () |
| Releases common resources (to be called when encoding is complete). | |
Protected Types | |
| enum | Settings |
| Indices for settings. | |
Protected Member Functions | |
| Real | maxPredCoeff () |
| maxPredCoeff() * "the number of domains" == "max. number of predictions" | |
| ~MSaupePredictor () | |
| Only call cleanUp. | |
| int | getPredLevel (int) const |
| Computes the level for predictions based on the actual level. | |
| Tree * | createTree (const NewPredictorData &data) |
| Builds a new tree for one level of range blocks using passed domain blocks. | |
Static Protected Member Functions | |
| static void | refineDomain (const SummedPixels &pixMatrix, int x0, int y0, bool allowInversion, int realLevel, int predLevel, SReal *pixelResult) |
| Normalizes and possibly shrinks a domain block. | |
| static void | refineRange (const NewPredictorData &data, int predLevel, SReal *pixelResult) |
| Normalizes and possibly shrinks a range block. | |
Protected Attributes | |
| std::vector< Tree * > | levelTrees |
| The predicting Tree for every level (can be missing). | |
It resizes the blocks to 4x4 and normalizes them. Domains for every level are stored in a KDTree instance and searched. The user can set the size of returned chunks of the blocks and the maximal part of domains returned.
Definition at line 13 of file saupePredictor.h.
1.5.8