diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index 7bcf445..4c2d528 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -533,7 +533,7 @@ class StitchingScanner: self.log(f"Strip alignment: displacement too large ({dx:.1f}, {dy:.1f}), ignoring") return offset - offset.x_offset = dx + offset.x_offset = dx * -1 offset.y_offset = dy offset.confidence = confidence offset.valid = confidence > 0.1 # Require minimum confidence