Intensity Values

9 views (last 30 days)
Luke
Luke on 13 Mar 2011
Hi. I'm attempting to find the fringe visibility of an interference pattern from a diffraction grating, using MATLAB. I have an image of this pattern, and have used the following code so far in MATLAB:
myimage = imread('IMG_0166.JPG') image = rgb2gray(myimage); imshow(image)
I'm struggling to find a way in which i can go about obtaining the intensity values from this image.
Any help would be appreciated,
Thanks.

Answers (2)

Walter Roberson
Walter Roberson on 13 Mar 2011
Please clarify what you mean by the "intensity values". The grayscale version of the image is already the relative intensity where intensity means luminosity under the presumption of linear response of the sensors. If you are looking for absolute luminosity then you need a calibration.

Luke
Luke on 13 Mar 2011
So the 2d array which i get as a result of the grayscale function, represents the intensity?
The image i have is very similar to the following: http://www.exo.net/~pauld/workshops/Atoms/doubleslitdiffraction.jpg
From the diffraction pattern i have, i have to find the minimum and maximum intensity of the waveform.

Tags

Community Treasure Hunt

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

Start Hunting!