I have computed magnitude and phase spectrum of cameraman Gray scale image using fft function. Here, we get magnitude and phase spectrum of the whole image. .Please see the reconstruction of image from phase only part from the accepted answer of Image Reconstruction:Phase vs Magnitude which says that in an image neighboring pixels of the edge,lines and corner are in phase . So I want to find phase values on precise pixels
Given an image of dimensions 256*256, how can I find phase values of pixels at locations(100,121),(100,122) and (100,123) ?
Whether it is possible using Fourier Transform or not? If not ,what is the other way to do it? Can anybody explain it with (or without ) code?


clc;
clear all;
close all;
i=imread('C:\Users\RK\Desktop\cameraman.gif');
%i=rgb2gray(i);
i=uint8(i);
figure,
subplot(1,3,1);imshow(i);
title('Cameraman Gray scale Image');
f1=fft2(i);
f2=log(1+fftshift(f1));
m=abs(f2);
subplot(1,3,2);
imshow(m,[]);
title('Magnitude Spectrum');
phase=angle(f2);
subplot(1,3,3);a
imshow(phase,[]);
title('Phase Spectrum');
My question is to you why these basis function phases line up at edges or corner pixel locationonly.?Why not at other pixels location?
Also,are there any mathematical computations available to understand "phase coherent" concept?
– devraj May 01 '15 at 19:17