nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
multilevel2.hpp
Go to the documentation of this file.
1
3
// toolboxes/wavelet/include/nk/wavelet/dwt/multilevel2.hpp
4
5
#pragma once
6
7
#include <memory_resource>
8
#include <nk/value/value.hpp>
9
#include <string>
10
11
namespace
nk::wavelet {
12
15
16
24
struct
Wavedec2Result
{
25
Value
c;
26
Value
s;
27
};
28
38
Wavedec2Result
wavedec2
(
const
Value
&X,
int
n,
const
std::string &wname,
39
std::pmr::memory_resource *mr =
nullptr
);
40
45
Value
waverec2
(
const
Value
&C,
const
Value
&S,
const
std::string &wname,
46
std::pmr::memory_resource *mr =
nullptr
);
47
55
Value
appcoef2
(
const
Value
&C,
const
Value
&S,
const
std::string &wname,
56
int
level = -1, std::pmr::memory_resource *mr =
nullptr
);
57
67
Value
detcoef2
(
const
std::string &type,
const
Value
&C,
const
Value
&S,
68
int
level, std::pmr::memory_resource *mr =
nullptr
);
69
70
72
}
// namespace nk::wavelet
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::wavelet::detcoef2
Value detcoef2(const std::string &type, const Value &C, const Value &S, int level, std::pmr::memory_resource *mr=nullptr)
Extract a 2-D detail sub-band (detcoef2(type, C, S, level)).
nk::wavelet::appcoef2
Value appcoef2(const Value &C, const Value &S, const std::string &wname, int level=-1, std::pmr::memory_resource *mr=nullptr)
Extract / reconstruct the approximation coefficients at level (appcoef2(C, S, wname,...
nk::wavelet::waverec2
Value waverec2(const Value &C, const Value &S, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
Full 2-D multilevel reconstruction (waverec2(C, S, wname)), i.e.
nk::wavelet::wavedec2
Wavedec2Result wavedec2(const Value &X, int n, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
2-D multilevel wavelet decomposition.
nk::wavelet::Wavedec2Result
Result of wavedec2 ([C, S] = wavedec2(X, N, wname)).
Definition
multilevel2.hpp:24
src
toolboxes
wavelet
include
nk
wavelet
dwt
multilevel2.hpp
Generated by
1.17.0