My work is focused on the study of near field diffraction of gratings. I have recorded images of fringe patterns found after the gratings with a CCD camera and I would like to measure the contrast or visibility of the fringes.
As I said in my first answer, you can easily deduce the fringe profile using software like ImageJ, which is open source.
I did this for a particularly poor image of a fringe pattern found on the internet and the result is attached. This data could then be exported and analysed in a software of your choosing, where you could then plot an appropriate fit, whether it be a sinc function, cos function with a sinc envelope or whatever depending on what type of grating you are using.
This is one method. But, I think that the method based in histogram of the iimage are better for my experiments. Exactly the method described in reference [3] in that paper. But I cannot download that reference.