Skip to content

DWT Common Utility functions

Module: Transform Functions

More...

Functions

Name
uint32_t plp_dwt_max_level(uint32_t sig_len, uint32_t wavelet_len)
Computes maximum available decomposition level for a signal length and wavelet length.
uint32_t plp_dwt_dec_len(uint32_t sig_len, uint32_t wavelet_len, uint32_t level)
Calculates decomposition output length given a level.

Detailed Description

This module contains the helper code for the DWT transforms.

Functions Documentation

function plp_dwt_max_level

uint32_t plp_dwt_max_level(
    uint32_t sig_len,
    uint32_t wavelet_len
)

Computes maximum available decomposition level for a signal length and wavelet length.

Parameters:

  • sig_len length of input signal
  • wavelet_len wavelet length

Return: Maximal decomposition level

function plp_dwt_dec_len

uint32_t plp_dwt_dec_len(
    uint32_t sig_len,
    uint32_t wavelet_len,
    uint32_t level
)

Calculates decomposition output length given a level.

Parameters:

  • sig_len length of input signal
  • wavelet_len wavelet length
  • level decomposition level (0 for maximal decomposition)

Return: Length of decomposition output buffer


Updated on 2023-03-01 at 16:16:32 +0000