You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function takes an RGB image as input and gives the FWHM and 1/e^2 radius of Gaussian-assumed speckles in the horizontal and vertical directions in pixel units.
The function is heavily commented for very easy use, and all mathematical steps are explained in the comments. Briefly, the autocovariance of each row (column) is averaged; the resulting plot is fitted to a Gaussian, from which the horizontal (vertical) FWHM and 1/e^2 values are calculated.
In addition, the function outputs the goodness-of-fit statistics for this Gaussian fit. These should always be checked to ensure proper functioning.
Cite As
Joel (2026). Speckle Size via Autocorrelation (https://www.mathworks.com/matlabcentral/fileexchange/25046-speckle-size-via-autocorrelation), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (2.77 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
