/usr/include/sopt/wavelets/wavelet_data.h is in libsopt-dev 2.0.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #ifndef SOPT_WAVELET_WAVELET_DATA_H
#define SOPT_WAVELET_WAVELET_DATA_H
#include "sopt/config.h"
#include "sopt/types.h"
#include "sopt/wavelets/innards.impl.h"
namespace sopt {
namespace wavelets {
//! Holds wavelets coefficients
struct WaveletData {
//! Type of the underlying scalar
typedef t_real t_scalar;
//! Type of the underlying vector
typedef Array<t_real> t_vector;
//! Wavelet coefficient per-se
t_vector const coefficients;
//! Holds filters for direct transform
struct DirectFilter {
//! Low-pass filter for direct transform
t_vector low;
//! High-pass filter for direct transform
t_vector high;
} const direct_filter;
//! Holds filters for indirect transform
struct {
//! High-pass filter for direct transform
t_vector low_even;
t_vector low_odd;
t_vector high_even;
t_vector high_odd;
} const indirect_filter;
//! Constructs from initializers
WaveletData(std::initializer_list<t_scalar> const &coefs);
//! Constructs from vector
WaveletData(t_vector const &coefs);
};
//! Factory function returning specific daubechie wavelet data
WaveletData const &daubechies_data(t_uint);
}
}
#endif
|