Vargas, JavierRestrepo Gómez, RenéBelenguer Dávila, Tomás2023-06-192023-06-192014-01-271094-408710.1364/OE.22.001319https://hdl.handle.net/20.500.14352/35440En O.A. en la web del editor. © 2014 Optical Society of America. One print or electronic copy may be made for personal use only. Systematic reproduction and distribution, duplication of any material in this paper for a fee or for commercial purposes, or modifications of the content of this paper are prohibited. Received 12 Sep 2013; revised 18 Nov 2013; accepted 10 Dec 2013; published 14 Jan 2014.We present a robust, dense, and accurate Shack-Hartmann spot dislocation map determination method based on a regularized optical flow algorithm that does not require obtaining the spot centroids. The method is capable to measure in presence of strong noise, background illumination and spot modulating signals, which are typical limiting factors of traditional centroid detection algorithms. Moreover, the proposed approach is able to face cases where some of the reference beam spots have not a corresponding one in the distorted Hartmann diagram, and it can expand the dynamic range of the Shack-Hartmann sensor unwrapping the obtained dense dislocation maps. We have tested the algorithm with both simulations and experimental data obtaining satisfactory results. A complete MATLAB package that can reproduce all the results can be downloaded from [http://goo.gl/XbZVOr].engShack-Hartmann spot dislocation map determination using an optical flow methodjournal articlehttps://doi.org/10.1364/OE.22.001319restricted access535.14532.59Image processingPhase measurementOptical flow methodAlgorithmWavefront sensorÓptica (Física)2209.19 Óptica Física