VTK-m  2.2
Public Member Functions | List of all members
vtkm::worklet::WaveletCompressor Class Reference

#include <WaveletCompressor.h>

Inheritance diagram for vtkm::worklet::WaveletCompressor:

Public Member Functions

 WaveletCompressor (wavelets::WaveletName name)
 
template<typename SignalArrayType , typename CoeffArrayType >
vtkm::Id WaveDecompose (const SignalArrayType &sigIn, vtkm::Id nLevels, CoeffArrayType &coeffOut, std::vector< vtkm::Id > &L)
 
template<typename CoeffArrayType , typename SignalArrayType >
vtkm::Id WaveReconstruct (const CoeffArrayType &coeffIn, vtkm::Id nLevels, std::vector< vtkm::Id > &L, SignalArrayType &sigOut)
 
template<typename InArrayType , typename OutArrayType >
vtkm::Float64 WaveDecompose3D (InArrayType &sigIn, vtkm::Id nLevels, vtkm::Id inX, vtkm::Id inY, vtkm::Id inZ, OutArrayType &coeffOut, bool discardSigIn)
 
template<typename InArrayType , typename OutArrayType >
vtkm::Float64 WaveReconstruct3D (InArrayType &arrIn, vtkm::Id nLevels, vtkm::Id inX, vtkm::Id inY, vtkm::Id inZ, OutArrayType &arrOut, bool discardArrIn)
 
template<typename InArrayType , typename OutArrayType >
vtkm::Float64 WaveDecompose2D (const InArrayType &sigIn, vtkm::Id nLevels, vtkm::Id inX, vtkm::Id inY, OutArrayType &coeffOut, std::vector< vtkm::Id > &L)
 
template<typename InArrayType , typename OutArrayType >
vtkm::Float64 WaveReconstruct2D (const InArrayType &arrIn, vtkm::Id nLevels, vtkm::Id inX, vtkm::Id inY, OutArrayType &arrOut, std::vector< vtkm::Id > &L)
 
template<typename CoeffArrayType >
vtkm::Id SquashCoefficients (CoeffArrayType &coeffIn, vtkm::Float64 ratio)
 
template<typename ArrayType >
vtkm::Id EvaluateReconstruction (const ArrayType &original, const ArrayType &reconstruct)
 
void ComputeL (vtkm::Id sigInLen, vtkm::Id nLev, std::vector< vtkm::Id > &L)
 
void ComputeL2 (vtkm::Id inX, vtkm::Id inY, vtkm::Id nLev, std::vector< vtkm::Id > &L)
 
void ComputeL3 (vtkm::Id inX, vtkm::Id inY, vtkm::Id inZ, vtkm::Id nLev, std::vector< vtkm::Id > &L)
 
vtkm::Id ComputeCoeffLength (std::vector< vtkm::Id > &L, vtkm::Id nLevels)
 
vtkm::Id ComputeCoeffLength2 (std::vector< vtkm::Id > &L, vtkm::Id nLevels)
 
vtkm::Id GetApproxLengthLevN (vtkm::Id sigInLen, vtkm::Id levN)
 

Constructor & Destructor Documentation

◆ WaveletCompressor()

vtkm::worklet::WaveletCompressor::WaveletCompressor ( wavelets::WaveletName  name)
inline

Member Function Documentation

◆ ComputeCoeffLength()

vtkm::Id vtkm::worklet::WaveletCompressor::ComputeCoeffLength ( std::vector< vtkm::Id > &  L,
vtkm::Id  nLevels 
)
inline

◆ ComputeCoeffLength2()

vtkm::Id vtkm::worklet::WaveletCompressor::ComputeCoeffLength2 ( std::vector< vtkm::Id > &  L,
vtkm::Id  nLevels 
)
inline

◆ ComputeL()

void vtkm::worklet::WaveletCompressor::ComputeL ( vtkm::Id  sigInLen,
vtkm::Id  nLev,
std::vector< vtkm::Id > &  L 
)
inline

◆ ComputeL2()

void vtkm::worklet::WaveletCompressor::ComputeL2 ( vtkm::Id  inX,
vtkm::Id  inY,
vtkm::Id  nLev,
std::vector< vtkm::Id > &  L 
)
inline

◆ ComputeL3()

void vtkm::worklet::WaveletCompressor::ComputeL3 ( vtkm::Id  inX,
vtkm::Id  inY,
vtkm::Id  inZ,
vtkm::Id  nLev,
std::vector< vtkm::Id > &  L 
)
inline

◆ EvaluateReconstruction()

template<typename ArrayType >
vtkm::Id vtkm::worklet::WaveletCompressor::EvaluateReconstruction ( const ArrayType &  original,
const ArrayType &  reconstruct 
)
inline

◆ GetApproxLengthLevN()

vtkm::Id vtkm::worklet::WaveletCompressor::GetApproxLengthLevN ( vtkm::Id  sigInLen,
vtkm::Id  levN 
)
inline

◆ SquashCoefficients()

template<typename CoeffArrayType >
vtkm::Id vtkm::worklet::WaveletCompressor::SquashCoefficients ( CoeffArrayType &  coeffIn,
vtkm::Float64  ratio 
)
inline

◆ WaveDecompose()

template<typename SignalArrayType , typename CoeffArrayType >
vtkm::Id vtkm::worklet::WaveletCompressor::WaveDecompose ( const SignalArrayType &  sigIn,
vtkm::Id  nLevels,
CoeffArrayType &  coeffOut,
std::vector< vtkm::Id > &  L 
)
inline

◆ WaveDecompose2D()

template<typename InArrayType , typename OutArrayType >
vtkm::Float64 vtkm::worklet::WaveletCompressor::WaveDecompose2D ( const InArrayType &  sigIn,
vtkm::Id  nLevels,
vtkm::Id  inX,
vtkm::Id  inY,
OutArrayType &  coeffOut,
std::vector< vtkm::Id > &  L 
)
inline

◆ WaveDecompose3D()

template<typename InArrayType , typename OutArrayType >
vtkm::Float64 vtkm::worklet::WaveletCompressor::WaveDecompose3D ( InArrayType &  sigIn,
vtkm::Id  nLevels,
vtkm::Id  inX,
vtkm::Id  inY,
vtkm::Id  inZ,
OutArrayType &  coeffOut,
bool  discardSigIn 
)
inline

◆ WaveReconstruct()

template<typename CoeffArrayType , typename SignalArrayType >
vtkm::Id vtkm::worklet::WaveletCompressor::WaveReconstruct ( const CoeffArrayType &  coeffIn,
vtkm::Id  nLevels,
std::vector< vtkm::Id > &  L,
SignalArrayType &  sigOut 
)
inline

◆ WaveReconstruct2D()

template<typename InArrayType , typename OutArrayType >
vtkm::Float64 vtkm::worklet::WaveletCompressor::WaveReconstruct2D ( const InArrayType &  arrIn,
vtkm::Id  nLevels,
vtkm::Id  inX,
vtkm::Id  inY,
OutArrayType &  arrOut,
std::vector< vtkm::Id > &  L 
)
inline

◆ WaveReconstruct3D()

template<typename InArrayType , typename OutArrayType >
vtkm::Float64 vtkm::worklet::WaveletCompressor::WaveReconstruct3D ( InArrayType &  arrIn,
vtkm::Id  nLevels,
vtkm::Id  inX,
vtkm::Id  inY,
vtkm::Id  inZ,
OutArrayType &  arrOut,
bool  discardArrIn 
)
inline

The documentation for this class was generated from the following file: