cr.sparse.lop.dwt2D

cr.sparse.lop.dwt2D(shape, wavelet='haar', level=1, axes=None, basis=False)[source]

Returns a 2D Discrete Wavelet Transform operator

Parameters
  • shape (tuple) – Shape of input image / output coefficients

  • wavelet (string) – Name of the discrete wavelet to be used

  • level (int) – Number of wavelet decompositions (default 1)

  • axes (tuple) – For multi-dimensional array input, the pair of axes along which the linear operator will be applied

  • basis (bool) – If False, the transform operator is returned. If True, the wavelet basis operator is returned instead. Default False.

Returns

A linear operator wrapping 2D DWT transform or basis

Return type

Operator