FFT of greyscale 1D periodic gratings image

조회 수: 4 (최근 30일)
James
James 2014년 5월 23일
댓글: Image Analyst 2014년 5월 24일
I'm trying to relate the size of the pixels in the image to an actual length in a physical unit of measure of the period of the gratings in the image. More specifically, I know the value of the period in microns and I want to relate that to the value for the number of pixels per unit of physical distance.
How can I do this using the fft function in matlab?
Thanks

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 23일
The Fraunhofer diffraction image is the FFT of the grating waveform. The light diffracts out at certain angles and looks pretty close to the Fraunhofer pattern after a short while. So as you move the image plane away from the grating and the Fresnel zone, the pattern expands and gets bigger even though the shape and pattern are pretty much the same. You know the grating equation. The distance between spikes in the scene depends on how far away the image plane is from the grating.
To spatially calibration your image, see the attached demo.
  댓글 수: 3
James
James 2014년 5월 23일
Also what is the rgbValues improfile(1000) mean?
Image Analyst
Image Analyst 2014년 5월 24일
You calculate the distance, using improfile or imdistline(), then tell it how many real world units that is. You have to know that. I'm not going to know if your image was taken from a microscope and the distances are in micrometers or if you took it though a telescope and the distances are in kilometers.
improfile(1000) says to take 1000 intensity samples between the endpoints of the line.

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

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by