coherent WaveBurst
Library Reference Guide
home
cWB_docker
git
cWB
library
wat
Haar.hh
Go to the documentation of this file.
1
/*
2
# Copyright (C) 2019 Sergey Klimenko
3
#
4
# This program is free software: you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation, either version 3 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
19
// Wavelet Analysis Tool
20
//--------------------------------------------------------------------
21
// Implementation of
22
// the Haar wavelet transform using lifting scheme
23
// References:
24
// A.Cohen, I.Daubechies, J.Feauveau Bases of compactly supported wavelets
25
// Comm. Pure. Appl. Math. 45, 485-560, 1992
26
//--------------------------------------------------------------------
27
28
//$Id: Haar.hh,v 0.2 2001/08/06 19:37:00 klimenko Exp $
29
#ifndef HAAR_HH
30
#define HAAR_HH
31
32
#include "
WaveDWT.hh
"
33
34
//namespace datacondAPI {
35
//namespace wat {
36
37
template
<
class
DataType_t>
38
class
Haar
:
public
WaveDWT
<DataType_t>
39
{
40
public
:
41
42
//: construct from wavelet parameters
43
Haar
(
int
tree
=0);
44
45
//: construct from the base class
46
Haar
(
const
Wavelet
&);
47
48
//: copy constructors
49
Haar
(
const
Haar<DataType_t>
&);
50
51
//: destructor
52
53
virtual
~Haar
();
54
55
//: Duplicate on heap
56
virtual
Haar
*
Clone
()
const
;
57
58
//: decomposition method
59
void
forward
(
int
level,
int
layer);
60
//: reconstruction method
61
void
inverse
(
int
level,
int
layer);
62
63
ClassDef(
Haar
,1)
64
65
};
// class Haar
66
67
//}; // namespace wat
68
//}; // namespace datacondAPI
69
70
#endif // HAAR_HH
71
72
73
74
75
76
77
78
79
80
81
82
tree
TTree * tree
Definition:
TimeSortTree.C:20
Haar::Haar
Haar(int tree=0)
Definition:
Haar.cc:56
WaveDWT
Definition:
WaveDWT.hh:44
Haar::inverse
void inverse(int level, int layer)
Definition:
Haar.cc:114
Wavelet
Definition:
Wavelet.hh:51
Haar::~Haar
virtual ~Haar()
Definition:
Haar.cc:64
WaveDWT.hh
Haar::Clone
virtual Haar * Clone() const
return: Wavelet* - duplicate of *this, allocated on heap
Definition:
Haar.cc:69
Haar
Definition:
Haar.hh:38
Haar::forward
void forward(int level, int layer)
Definition:
Haar.cc:78