FFT of greyscale 1D periodic gratings image

6 次查看(过去 30 天)
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