Power spectrum of an image

5 ビュー (過去 30 日間)
Marco Lupo
Marco Lupo 2021 年 1 月 12 日
回答済み: Rohit Pappu 2021 年 1 月 27 日
Hello,
I have binary images (black and white). I have some questions:
1) How can I get the power spectrum of these images? I need to have the power spectrum of the image as function of the position, i.e. along the length of the image. Is there any code?
2) Is it possible to create the power spectrum of images with a length different from the height? example length= 5 mm and height= 1mm
Thanks and regard,
Marco

回答 (1 件)

Rohit Pappu
Rohit Pappu 2021 年 1 月 27 日
To plot the power spectrum of an image, periodogram can be used.
An example usage
I = imread('dummy.jpg');
% Plots the periodogram
periodogram(I);

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by