Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于哈尔小波下采样 #40

Open
zhh99 opened this issue Apr 18, 2022 · 2 comments
Open

关于哈尔小波下采样 #40

zhh99 opened this issue Apr 18, 2022 · 2 comments

Comments

@zhh99
Copy link

zhh99 commented Apr 18, 2022

一般的哈尔小波变换是基于pytorch_wavelets库做的,本文设置一些haar_weight,通过卷积形式来实现,不太明白为什么这样可以,可以解释一下吗,谢谢

@pkuxmq
Copy link
Owner

pkuxmq commented Apr 28, 2022

本代码的实现参考了https://github.com/VLL-HD/FrEIA
Haar变换可以实现为一种卷积操作,即对每个2x2的patch,通过同样的加权运算得到4个通道的1x1的元素,可以实现为输入通道为C,输出通道为4C,stride=2,卷积权值给定的一种卷积运算操作。

@tengqi200
Copy link

想问一下这个卷积核怎么推导?能否将这个2D核推广到3D核?可以查阅哪些文献?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants