How can I get the DC/AC for an image?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hossain Md Shakhawat
le 28 Nov 2016
Commenté : Hossain Md Shakhawat
le 28 Nov 2016
I want to get DC and AC component of Fourier transform of an image. And calculate their ratio.
0 commentaires
Réponse acceptée
Walter Roberson
le 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()
Plus de réponses (0)
Communautés
Plus de réponses dans Power Electronics Control
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!