increase max adjustment
This commit is contained in:
parent
e2b7fa70fe
commit
e6871620f4
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ class StitchingScanner:
|
||||||
dx, dy, confidence = self._detect_displacement_with_confidence(mosaic_region, frame_region)
|
dx, dy, confidence = self._detect_displacement_with_confidence(mosaic_region, frame_region)
|
||||||
|
|
||||||
# Sanity check - reject large displacements
|
# 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:
|
if abs(dx) > max_adjust or abs(dy) > max_adjust:
|
||||||
self.log(f"Strip alignment: displacement too large ({dx:.1f}, {dy:.1f}), ignoring")
|
self.log(f"Strip alignment: displacement too large ({dx:.1f}, {dy:.1f}), ignoring")
|
||||||
return offset
|
return offset
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue