How can I get the DC/AC for an image?
3 views (last 30 days)
Show older comments
Hossain Md Shakhawat
on 28 Nov 2016
Commented: Hossain Md Shakhawat
on 28 Nov 2016
I want to get DC and AC component of Fourier transform of an image. And calculate their ratio.
0 Comments
Accepted Answer
Walter Roberson
on 28 Nov 2016
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()
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!