Process experimental images
Once the Interfero object (array) is created, the interferogram(s) can be converted into intensity and wavefront images using the QLSIprocess method of the class Interfero. Here is the synthax:
1IM = QLSIprocess(Itf,IL);
IM is an ImageQLSI object (see The ImageQLSI class section)
A large number of keywords can be specified in the QLSIprocess method. The comprehensive list is provided in The QLSIprocess method section. To name just a few, one can use the keyword 'saveGradients' to make sure the gradients are saved, and embedded within IM:
1IM = QLSIprocess(Itf,IL,'saveGradients',true);
2dynamicFigure('ph', {IM.DWx}, 'ph', {IM.DWy})
One can also choose between high-definition or low-definition image processing, using the keyword 'definition':
1IM_high = QLSIprocess(Itf,IL,'definition','high');
2IM_low = QLSIprocess(Itf,IL,'definition','low');
The QLSI algorithm involves a crop in the Fourier space, centered on the 1st diffraction orders. The crop is made automatically. However, one may want to click oneself on the 1st diffraction order in the Fourier space. In that case, one has to use the keyword 'auto' and set it to false:
1IM = QLSIprocess(Itf,IL,'auto',false);
In this case, a figure is displayed, waiting for the user to click, several times:
The first figure displays the circular crop around the zero order. If the radius is ok, press enter, if not, click on a point of the image to define a more appropriate radius.
The zoom mode is turned on, and the user must zoom in to help clicking on a 1st order spot. When the zoom is ok, press enter.
Click on a first order pixel.
Click to define the radius of the crop, or press enter to leave the default value.
Click on a first order spot.
When a computation has been done for a given interferogram, the crop parameters in the Fourier space are saved within the Interfero object, and any other Interfero image associated with the same reference will use these predefined crop parameters, unless the size of the subsequent images is different. In that case, PhaseLAB proposes again the manual selection procedure to determine the new spot locations.
For more information on how to process Interfero objects, refer to The QLSIprocess method section.