From e6871620f4c551cc888a3841a3fac141624afac0 Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Mon, 12 Jan 2026 00:59:40 -0600 Subject: [PATCH] increase max adjustment --- src/stitching_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index 5d38176..7bcf445 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -528,7 +528,7 @@ class StitchingScanner: dx, dy, confidence = self._detect_displacement_with_confidence(mosaic_region, frame_region) # Sanity check - reject large displacements - max_adjust = 50 # Max pixels to adjust + max_adjust = 500 # Max pixels to adjust if abs(dx) > max_adjust or abs(dy) > max_adjust: self.log(f"Strip alignment: displacement too large ({dx:.1f}, {dy:.1f}), ignoring") return offset