help for find the phase value of image using MATLAB coding
4 ビュー (過去 30 日間)
古いコメントを表示
i want to find the phase value of image and i need the code for that can any help me please?
0 件のコメント
回答 (3 件)
Subhadeep Koley
2020 年 11 月 3 日
Hi Moiz, if you are looking for Fourier phase of an image then the below code might help.
% Read the image
img = imread('pout.tif');
img = im2double(img);
% Calculate Fourier phase map
phaseMap = rescale(angle(fft2(img)));
% Visualize results
figure
subplot(1, 2, 1)
imshow(img)
title('Original image')
subplot(1, 2, 2)
imshow(phaseMap)
title('Fourier phase map')
8 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
