Fringe Visibility Homework: Obtain Intensity Values in MATLAB

  • Thread starter Thread starter MRL
  • Start date Start date
  • Tags Tags
    Fringe
MRL
Messages
7
Reaction score
0

Homework Statement


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:
Code:
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.

Homework Equations


The fringe visibility is given by:
Visibility = (Imax-Imin)/(Imax+Imin)

The Attempt at a Solution


Above.

Any help would be appreciated,

Thanks.
 
Last edited:
Physics news on Phys.org
Is anyone able to help please?
 
To solve this, I first used the units to work out that a= m* a/m, i.e. t=z/λ. This would allow you to determine the time duration within an interval section by section and then add this to the previous ones to obtain the age of the respective layer. However, this would require a constant thickness per year for each interval. However, since this is most likely not the case, my next consideration was that the age must be the integral of a 1/λ(z) function, which I cannot model.
Back
Top