How to find phase difference between two images?
17 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I am trying to find the phase difference between two images. These images are from a NIFTI (.nii) file. I had the opportunity to take MRI scans of people who recently underwent multiple concussions and my research is focused on verifying a potential new treatment. However, I'm stuck on this code and I would love any assistance you guys can provide.
Thanks
0 个评论
回答(1 个)
Sindhuja Parimalarangan
2016-11-2
Hi,
A displacement in image space results in linear phase in Fourier space. A possible workflow would be the following:
2. Calculate the phase factor, say "Q" using " fft2 " function (FFT on "image1" and the complex conjugate FFT on "image2"; and then multiply them by each other and divide by the absolute value of them multiplied by each other)
3. Transform "Q" back to image space using inverse Fourier transform (" ifft2 " function). This should give a peak whose position relative to the center of the image will provide the required shifts.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomedical Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!