power spectral density of image

Hallo every one i need your help please
i want to calculate the power spectral density of an image (my image size is 256*256 und their pixel values between 0 and 2^8=256). i did not find in matlab how to calculate that for an image?
thank you for your help.

回答 (1 件)

Vieniava
Vieniava 2011 年 2 月 12 日

0 投票

Try this:
imagesc( log10(abs(fftshift(fft2(Picture))).^2 ))

3 件のコメント

Sai Chandra Sekhar Reddy Nallamilli
Sai Chandra Sekhar Reddy Nallamilli 2017 年 12 月 19 日
Yes thank you, it's working
OLGA BARRERA
OLGA BARRERA 2018 年 12 月 6 日
Hi,
I am having problem with the power spectral density of this image (circ2.tif), this is a 1024*1024
A = imread('circ2.tif');
imagesc( log10(abs(fftshift(fft2(A))).^2 ))
I only get an emply windows..
Thank you in advance for your help
Anitha Thomas
Anitha Thomas 2019 年 1 月 16 日
change the code like this
A = imread('circ2.tif');
A1=rgb2gray(A);
imagesc( log10(abs(fftshift(fft2(A1))).^2 ))

サインインしてコメントする。

カテゴリ

質問済み:

2011 年 2 月 12 日

コメント済み:

2019 年 1 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by