On Leica systems markers are sampled at 1MHz, which is not fast enough to accurately align each line at high frame rates. Solution: linear fit to line start marker positions over rolling window of ~50 lines