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

조회 수: 2 (최근 30일)
Hossain Md Shakhawat
Hossain Md Shakhawat 2016년 11월 28일
댓글: Hossain Md Shakhawat 2016년 11월 28일
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 Community

카테고리

Help CenterFile Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by