FFT of greyscale 1D periodic gratings image

6 vues (au cours des 30 derniers jours)
James
James le 23 Mai 2014
Commenté : Image Analyst le 24 Mai 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

Réponses (1)

Image Analyst
Image Analyst le 23 Mai 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 commentaires
James
James le 23 Mai 2014
Also what is the rgbValues improfile(1000) mean?
Image Analyst
Image Analyst le 24 Mai 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by