nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
dwt2.hpp
Go to the documentation of this file.
1
3
// toolboxes/wavelet/include/nk/wavelet/dwt/dwt2.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
Dwt2Result
{
25
Value
cA;
26
Value
cH;
27
Value
cV;
28
Value
cD;
29
};
30
49
Dwt2Result
dwt2
(
const
Value
&X,
const
std::string &wname,
50
std::pmr::memory_resource *mr =
nullptr
);
51
70
Value
idwt2
(
const
Value
&cA,
const
Value
&cH,
71
const
Value
&cV,
const
Value
&cD,
72
const
std::string &wname,
73
long
long
outRows
/* = -1 */
,
long
long
outCols
/* = -1 */
,
74
std::pmr::memory_resource *mr =
nullptr
);
75
76
78
}
// namespace nk::wavelet
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::wavelet::dwt2
Dwt2Result dwt2(const Value &X, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
2-D separable single-level wavelet transform.
nk::wavelet::idwt2
Value idwt2(const Value &cA, const Value &cH, const Value &cV, const Value &cD, const std::string &wname, long long outRows, long long outCols, std::pmr::memory_resource *mr=nullptr)
2-D inverse single-level wavelet transform.
nk::wavelet::Dwt2Result
Result of dwt2 ([cA, cH, cV, cD] = dwt2(X, wname)).
Definition
dwt2.hpp:24
src
toolboxes
wavelet
include
nk
wavelet
dwt
dwt2.hpp
Generated by
1.17.0