Or maybe doing histogram equalisation for pairs of adjacent frames before the seam cutting might help.
Or maybe doing histogram equalisation for pairs of adjacent frames before the seam cutting might help.