FFT of greyscale 1D periodic gratings image

5 visualizaciones (últimos 30 días)
James
James el 23 de Mayo de 2014
Comentada: Image Analyst el 24 de Mayo de 2014
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

Respuestas (1)

Image Analyst
Image Analyst el 23 de Mayo de 2014
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 comentarios
James
James el 23 de Mayo de 2014
Also what is the rgbValues improfile(1000) mean?
Image Analyst
Image Analyst el 24 de Mayo de 2014
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by