How can I get the DC/AC for an image?
3 次查看(过去 30 天)
显示 更早的评论
I want to get DC and AC component of Fourier transform of an image. And calculate their ratio.
0 个评论
采纳的回答
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 个)
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!