Phase of an image, fft

조회 수: 7 (최근 30일)
Arya Gopan
Arya Gopan 2021년 3월 6일
댓글: Image Analyst 2021년 3월 9일
Can anyone please help me find the phase of this image?This is the fourier transform of another image.

답변 (1개)

Image Analyst
Image Analyst 2021년 3월 6일
No. You cannot get the phase of a Fourier transform from only the magnitude of the Fourier Transform.
And of course getting the phase of "this" image from the transform of a different "another" image is completely out of the question.
  댓글 수: 6
Arya Gopan
Arya Gopan 2021년 3월 9일
Sir my project work is based on measuring the temperature profile of a canle flame. For that I use Mach Zender interferometer and I got 2 images using CCD Camera. one of the burnt candle alone and the other with a background with candle. Now I have to find the phase of the image for which I would crop both the images so as to get a lobule having max intensity. Then I would take the ifft of both the images.Now they have asked me to find the phase by eliminating the background intensity that is by subtracting them. How shall I do it?
Image Analyst
Image Analyst 2021년 3월 9일
You can call imabsdiff with the background image and the flame image. But you cannot use that as your final answer. Why not? Because in the flame itself, it's obscuring the background. The background in the actual flame is not visible and so subtracting it there would not make any sense. So what you can do is to threshold the difference image and create a mask where the difference is less than some value.
mask = imabsdiff(refImage, testImage) < 5; % Or whatever.
Then subtract only within the mask area:
testImage(mask) = testImage(mask) - refImage(mask);
or probably better, just set it to zero there since that's what you're attempting to do anyway.
testImage(mask) = 0;

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by