Giter VIP home page Giter VIP logo

Comments (4)

fbcotter avatar fbcotter commented on August 22, 2024

Hi @CDitzel, thanks for the praise! Sorry it's taken me so long to get back to you.

This part of the code gets a little bit tricky, and I don't know if I can even remember this. I referenced Nick Kingsbury's original implementation a lot as the sample shifts are a little bit painful, especially with padding and remembering that the filters are themselves symmetrical.

These are the 2nd level filters, using the q-shift method: "A dual-tree complex wavelet transform with improved orthogonality and symmetry properties,” in 2000 ICIP.

I think the important part is figure 1
image

I've had a little look just now, but I can't work it out sorry. Perhaps contact Nick directly and he might be able to help out with the sample position logic a bit more?

from pytorch_wavelets.

fbcotter avatar fbcotter commented on August 22, 2024

@CDitzel I forgot to say, I also have another partly-tested implementation of the DTCWT based off of Selesnick's matlab implementation in pytorch_wavelets/dtcwt/lowlevel2.py:DTCWTForward2. You may find this one easier to follow than Kingsbury's one (the main one I use). I think I had difficulty getting the two to match up exactly because of the tricky things like sample shifts.

from pytorch_wavelets.

CDitzel avatar CDitzel commented on August 22, 2024

Hi Fergal, thank you for the detailed response. Yes I saw that, it follows a more traditional approach coding-wise. I will take a closer look. Did Professor Kingsbury introduce this rather obscure implementation that I was asking about?

from pytorch_wavelets.

fbcotter avatar fbcotter commented on August 22, 2024

Yes, it was written in an optimized way, but this makes it somewhat obscure

from pytorch_wavelets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.