为什么我们将零频率分量转移到图像的频谱中心? [英] Why we shift zero-frequency component to center of spectrum of an image?
问题描述
F = round(fftshift(abs(fft2(A))))
其中A是图像。
我正在研究数字图像处理中的对比度拉伸。我不明白零频率成分。我搜索了它但我无法理解它,请参考一些关于零频率分量的文档。
I am studying contrast stretching in Digital Image Processing. I don't understand zero frequency component. I searched for it but I couldn't understand it, kindly refer some documentation about zero frequency component.
推荐答案
零频率在音频和图像频谱中转移到中心,仅仅因为这是人们通常期望看到频谱的方式。即这是按照惯例。频谱内容不会以任何方式改变,你可以在转变之后得到的一切,你可以在转变之前得出。
The zero-frequency is shift to the center in both audio and image spectrums, simply because this is how people normally expect to see a spectrum. I.e. it is per convention. The spectrum content is not change in any way, and everything you can derive after the shift, you can derive before the shift.
奥利弗是对的 - 所有频率都被转移零频率(DC)就是最终在中心的那个。
And Oliver is right - all frequencies are shifted and the zero-frequency (DC) just is the one ending up in the center.
问候
这篇关于为什么我们将零频率分量转移到图像的频谱中心?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!