如何将高通滤波器应用于复杂矩阵 [英] How to apply a High Pass Filter to a complex matrix

查看:198
本文介绍了如何将高通滤波器应用于复杂矩阵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用FFT转换到频域的图像(即,我有一个复数值矩阵).我想应用高通滤镜来增强边缘.这应该是使用滤镜对每个像素的直接乘法.

如何创建过滤器?我知道这意味着在截止频率以下将所有频率分量归零.但是我的矩阵只是一堆"a + bi"值....

我要清零吗?哪一个?

自从我对信号和系统进行研究以来已经很久了... oi.

I have an image converted to the frequency domain using FFT (i.e. I have a matrix of complex values). I want to apply a High Pass filter to enhance edges. This should be a straight multiplication to every pixel using the Filter.

How do I create the filter? I understand that it means zeroing all frequency components bellow a cutoff frequency. But my Matrix is simply a bunch of "a + bi" values....

What am I zeroing? Which ones?

Been to long since my Signals and Systems studies... oi.

推荐答案

写:
我知道这意味着在截止频率以下将所有频率分量归零.但是我的矩阵只是一堆"a + bi"值....

因此,您可以遍历它们,并将截止值以下的元素归零.
wrote:
I understand that it means zeroing all frequency components bellow a cutoff frequency. But my Matrix is simply a bunch of "a + bi" values....

So you iterate over them and zero the elements below the cutoff.


这篇关于如何将高通滤波器应用于复杂矩阵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆