Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道类似于 Photoshop 高通滤镜的算法吗?我正在使用这个。但它看起来不同,只是“切断”低信号,我想只留下高信号和低信号而没有中间信号。
我知道我应该使用卷积,但实际上我不知道如何正确地做到这一点。
有什么建议么?
也许只是取高通和低通滤波器输出之和的平均值。它将以非常简单的方式为您提供低频和高频的组合。类似 Matlab 的伪代码如下:
img_low = low_pass(img) img_hight = high_pass(img) img_lo_hi = (img_low + img_high) / 2