Frame selection

We were wondering whether the algorithm is robust to the initial few frames being included (especially if there are charging or other big differences in the first few frames). Is it good standard practice to exclude the initial frames of the movie when processing with unblur? Does the algorithm use the middle frames as the reference?

The initial frames may not be aligned properly. In many cases there is blurring even within a single frame. However, there may not be much of a difference in the final result with and without the initial frames, so the decision to leave them in or take them out is not that critical. The middle frame is arbitrarily set to have zero shifts. However, the reference for frame alignment is the sum of all frames, determined iteratively in several alignment-summing cycles.