Comments (4)
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
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.
@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.
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.
Yes, it was written in an optimized way, but this makes it somewhat obscure
from pytorch_wavelets.
Related Issues (20)
- Padding for powers of 2 HOT 1
- Reconstructed wavelet HOT 1
- Export DWTForward to onnx HOT 1
- Not preserving spatial dimensions HOT 1
- Make pypi release with 1D DWT
- using dtcwt as a high freq feature extractor HOT 1
- DWTInverse is not the inverse of DWTForward for small image sizes.
- ValueError: step must be greater than zero HOT 1
- Compatiable with torch AMP?
- How does output yl reflect the two approximate subbands?
- How to change default tensor dtype in pytorch_wavelets HOT 2
- Why must kernels be fixed?
- Hints on avoiding the scaled ouput
- Installation error HOT 1
- How to implement DTCWT for 1-D signals? Looking forward to your answer.
- py37_cu102/fused/fused.so
- How to calculate the params of DWT and IDWT?
- something wrong when we use encoder to process the high_frequency component
- 3D wavelet transform HOT 1
- maximum recursion depth exceeded in comparison
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_wavelets.