How can I get the DC/AC for an image?

2 次查看(过去 30 天)
I want to get DC and AC component of Fourier transform of an image. And calculate their ratio.

采纳的回答

Walter Roberson
Walter Roberson 2016-11-28
fft of a vector returns a vector. The first element of that output vector is the sum of the DC component over vector. The other elements are the AC components.
Another way of calculating the DC component is mean()

更多回答(0 个)

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by