Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

One of the properties mentioned in the literature about the lifting wavelet transform is that it can be applied on irregular meshes or grids (i.e. not equally spaced samples); but I don't seem to see that as an option in LiftingWaveletTransform. Any ideas on how to do that using Mathematica's wavelet analysis tools?

share|improve this question

1 Answer 1

Construct an "irregular grid" with a vertical discontinuity:

a = {{ConstantArray[0, {3, 3}], ConstantArray[1, {3, 5}]}, {ConstantArray[0, {5, 3}], 
   ConstantArray[1, {5, 5}]}}

Use ArrayFlatten to get a rectangular matrix:

b = ArrayFlatten@a

WaveletMatrixPlot[LiftingWaveletTransform[b]]

enter image description here

share|improve this answer
    
Thanks @eldo, but b is just a {8,8} array and, therefore, representing a signal/function in a regular grid of $(i/8,j/8)$ points, that is not irregular. –  caya Jun 22 at 19:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.