gsl_wavelet.hh
Go to the documentation of this file.
1
/* -*- mia-c++ -*-
2
*
3
* This file is part of MIA - a toolbox for medical image analysis
4
* Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
5
*
6
* MIA is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with MIA; if not, see <http://www.gnu.org/licenses/>.
18
*
19
*/
20
21
#ifndef gslpp_wavelet_hh
22
#define gslpp_wavelet_hh
23
24
#include <
mia/core/gsl_defines.hh
>
25
#include <cstdlib>
26
#include <vector>
27
28
namespace
gsl
{
29
30
enum
EWaveletType
{
31
wt_haar
,
32
wt_haar_centered
,
33
wt_daubechies
,
34
wt_daubechies_centered
,
35
wt_bspline
,
36
wt_bspline_centered
,
37
wt_none
38
};
39
40
class
EXPORT_GSL
C1DWavelet
{
41
public
:
42
C1DWavelet
(
EWaveletType
wt,
size_t
k);
43
44
~
C1DWavelet
();
45
46
std::vector<double> backward(
const
std::vector<double>& x)
const
;
47
std::vector<double> forward(
const
std::vector<double>& x)
const
;
48
std::vector<double> forward(
const
std::vector<float>& x)
const
;
49
50
private
:
51
struct
C1DWaveletImpl *impl;
52
};
53
54
}
55
56
#endif
gsl::wt_bspline
Definition:
gsl_wavelet.hh:35
gsl::EWaveletType
EWaveletType
Definition:
gsl_wavelet.hh:30
gsl
Definition:
gsl_iterator.hh:28
gsl::C1DWavelet
Definition:
gsl_wavelet.hh:40
gsl::wt_haar
Definition:
gsl_wavelet.hh:31
gsl_defines.hh
gsl::wt_bspline_centered
Definition:
gsl_wavelet.hh:36
gsl::wt_daubechies_centered
Definition:
gsl_wavelet.hh:34
gsl::wt_haar_centered
Definition:
gsl_wavelet.hh:32
gsl::wt_none
Definition:
gsl_wavelet.hh:37
EXPORT_GSL
#define EXPORT_GSL
Definition:
gsl_defines.hh:38
gsl::wt_daubechies
Definition:
gsl_wavelet.hh:33
mia
core
gsl_wavelet.hh
Generated by
1.8.13