help for find the phase value of image using MATLAB coding
Mostrar comentarios más antiguos
i want to find the phase value of image and i need the code for that can any help me please?
Respuestas (3)
Subhadeep Koley
el 3 de Nov. de 2020
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 comentarios
moiz shaikh
el 4 de Nov. de 2020
Subhadeep Koley
el 4 de Nov. de 2020
I've already displayed the phase image using imshow(). Can you elaborate what kind of graph you're looking for?
Subhadeep Koley
el 4 de Nov. de 2020
Moiz, can you post the error message, which you're encountering?
moiz shaikh
el 4 de Nov. de 2020
moiz shaikh
el 4 de Nov. de 2020
Subhadeep Koley
el 4 de Nov. de 2020
Can you provide an example image of your "desired output"?
moiz shaikh
el 4 de Nov. de 2020
moiz shaikh
el 4 de Nov. de 2020
moiz shaikh
el 4 de Nov. de 2020
0 votos
moiz shaikh
el 4 de Nov. de 2020
0 votos
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
