Choose a correlation resize factor rounded to an int

This commit is contained in:
jaknapper 2026-03-13 12:22:59 +00:00 committed by Joe Knapper
parent 9149121d4b
commit 96d67672d9
3 changed files with 46 additions and 3 deletions

View file

@ -23,7 +23,10 @@ from openflexure_microscope_server.utilities import is_path_safe
IS_WINDOWS = os.name == "nt"
STITCHING_CMD = "openflexure-stitch"
STITCHING_RESOLUTION = (820, 616)
# The target width and height to correlate images. Used to choose
# a suitable correlation_resize factor in scan_workflows
TARGET_STITCHING_DIMENSION = 700
STITCH_TILE_SIZE = 8192
DEFAULT_OVERLAP = 0.1