49 std::vector <size_t> dims,
50 const string &wname,
const string &mode
53 std::vector <size_t> dims,
79 const float *src_arr,
float *dst_arr,
size_t dst_arr_len,
83 const double *src_arr,
double *dst_arr,
size_t dst_arr_len,
138 const float *src_arr,
float *dst_arr,
const vector <size_t> &dst_arr_lens,
139 vector <SignificanceMap > &sigmaps
142 const double *src_arr,
double *dst_arr,
const vector <size_t> &dst_arr_lens,
143 vector <SignificanceMap > &sigmaps
183 const float *src_arr,
float *dst_arr,
184 vector <SignificanceMap > &sigmaps,
int l
187 const double *src_arr,
double *dst_arr,
188 vector <SignificanceMap > &sigmaps,
int l
219 dims.clear(); dims.push_back(_CLen);
361 vector <size_t> dims,
const string wavename,
362 bool keepapp,
size_t &nlevels,
size_t &maxcratio
372 vector <size_t> _dims;
374 vector <void *> _indexvec;
383 bool _clamp_min_flag;
384 bool _clamp_max_flag;
390 void _Compressor(std::vector <size_t> dims);
int Compress(const float *src_arr, float *dst_arr, size_t dst_arr_len, SignificanceMap *sigmap)
size_t GetMinCompression() const
Implements a significance map.
void GetSigMapShape(std::vector< size_t > &dims) const
int Decompress(const float *src_arr, float *dst_arr, SignificanceMap *sigmap)
friend std::ostream & operator<<(std::ostream &o, const Compressor &rhs)
int Reconstruct(const float *src_arr, float *dst_arr, vector< SignificanceMap > &sigmaps, int l)
Compressor(std::vector< size_t > dims, const string &wname, const string &mode)
static bool CompressionInfo(vector< size_t > dims, const string wavename, bool keepapp, size_t &nlevels, size_t &maxcratio)
size_t GetMapSize() const
size_t GetSigMapSize(size_t num_entries) const
int Decompose(const float *src_arr, float *dst_arr, const vector< size_t > &dst_arr_lens, vector< SignificanceMap > &sigmaps)
size_t GetNumWaveCoeffs() const
Implements a multi-level wavelet filter.
A class for managing data set metadata.
void GetDimension(vector< size_t > &dims, int l) const