python - How to perform lowpass filtering in RGB images with Discrete Wavelet Transform in Python
问题描述
I am trying to implement the following paper: https://link.springer.com/article/10.1007/s11042-011-0835-9
In this paper, the authors say the following:
It seems that the authors filter the image with a lowpass DWT filter and then subtract the original image with the filtered one, the outputs are supposed to be the following:
So, my questions are:
How to perform DWT 2D lowpass filtering with Python? should I generate a mask with DWT coefficients and convolve it with images? if yes, how to generate such a mask and do this operation? I checked this previous question but it does not help me. Basically the approximation of the DWT has a lower resolution than the input image and therefore I cant subtract them. So, the topic of this previous question is useless to my problem here.
I need that the filtered image must be in RGB too. How can I achieve that? filtering channel by channel or there is another smart way to do that?
解决方案
推荐阅读
- c# - 为什么 C# 中的 async/await 会返回可为空的值,即使被告知不要这样做?
- java - java.net.ConnectException:无法连接到 /10.0.2.2:443
- html - 有谁知道为什么 css 在我的 html 中不起作用?
- javascript - 如何打印文本区域值?
- intellij-idea - IntelliJ Idea 2020.2 中插件 Lombok 中的异常
- python - 如何在 Selenium Python 中“克隆”包含 IMG、JS.... 的完整 HTML 页面?
- python - python在组合字符串时返回变量值
- android - 如何防止自助服务终端应用在重启后启动两次
- angular - 如何通过单击 Angular 上的按钮打开引导模式
- c++ - winsock2 中的接收或发送不发送数据