/
s2let_synthesis.h
82 lines (65 loc) · 2.03 KB
/
s2let_synthesis.h
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// S2LET package
// Copyright (C) 2012
// Boris Leistedt & Jason McEwen
#ifndef S2LET_SYNTHESIS
#define S2LET_SYNTHESIS
#include <ssht/ssht.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Harmonic-space wavelet transform **/
void s2let_synthesis_lmn2lm(
S2LET_COMPLEX(double) * flm,
const S2LET_COMPLEX(double) * f_wav_lmn,
const S2LET_COMPLEX(double) * f_scal_lm,
const S2LET_COMPLEX(double) * wav_lm,
const double* scal_l,
const s2let_parameters_t* parameters);
/** Harmonic-space wavelet transform for real signals **/
void s2let_synthesis_lmn2lm_real(
S2LET_COMPLEX(double) * flm,
const S2LET_COMPLEX(double) * f_wav_lmn,
const S2LET_COMPLEX(double) * f_scal_lm,
const S2LET_COMPLEX(double) * wav_lm,
const double* scal_l,
const s2let_parameters_t* parameters);
/** Harmonic-space wavelet transform, manual tiling **/
void s2let_synthesis_wav2lm_manual(
S2LET_COMPLEX(double) * flm,
const S2LET_COMPLEX(double) * f_wav,
const S2LET_COMPLEX(double) * f_scal,
const double* scal_l,
const S2LET_COMPLEX(double) * wav_lm,
const int scal_bandlimit,
const int* wav_bandlimits,
int J,
int L,
int spin,
int N);
void s2let_synthesis_wav2lm(
S2LET_COMPLEX(double) * flm,
const S2LET_COMPLEX(double) * f_wav,
const S2LET_COMPLEX(double) * f_scal,
const s2let_parameters_t* parameters);
/** Harmonic-space wavelet transform for real signals **/
void s2let_synthesis_wav2lm_real(
S2LET_COMPLEX(double) * flm,
const double* f_wav,
const double* f_scal,
const s2let_parameters_t* parameters);
/** Pixel-space wavelet transform **/
void s2let_synthesis_wav2px(
S2LET_COMPLEX(double) * f,
const S2LET_COMPLEX(double) * f_wav,
const S2LET_COMPLEX(double) * f_scal,
const s2let_parameters_t* parameters);
/** Pixel-space wavelet transform for real signals**/
void s2let_synthesis_wav2px_real(
double* f,
const double* f_wav,
const double* f_scal,
const s2let_parameters_t* parameters);
#ifdef __cplusplus
}
#endif
#endif