In drift correction, the stack of images is decomposed in N steps, and correlation between each step is performed.
For improving the cross correlation, the image at each step is weighted by a Gaussian function centered on the position of the drift estimate at the previous step.
However, the computation of the center of the Gaussian function was wrong -> Sometime outside the image.
Now it is fixed.
In drift correction, the stack of images is decomposed in N steps, and correlation between each step is performed. For improving the cross correlation, the image at each step is weighted by a Gaussian function centered on the position of the drift estimate at the previous step. However, the computation of the center of the Gaussian function was wrong -> Sometime outside the image. Now it is fixed.