diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index d5866e3..e3fef1a 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -271,8 +271,8 @@ class StitchingScanner: frame_top = frame[:vertical_overlap, :] # Get the X range - centered on where transition strips are - x_start = x_offset - x_end = min(x_offset + fw, mw) + x_end = x_offset + x_start = min(x_offset - fw, mw) compare_width = x_end - x_start if transition_compare_y_start >= 0 and compare_width >= min_overlap: