Default resize in stitching for scan tab stitching
This commit is contained in:
parent
9f2a131f1e
commit
dbed1c6971
1 changed files with 3 additions and 1 deletions
|
|
@ -733,6 +733,7 @@ class SmartScanThing(Thing):
|
||||||
logger=self._scan_logger,
|
logger=self._scan_logger,
|
||||||
scan_name=self._ongoing_scan_name,
|
scan_name=self._ongoing_scan_name,
|
||||||
overlap=self._scan_data["overlap"],
|
overlap=self._scan_data["overlap"],
|
||||||
|
stitch_resize=self._stitch_resize,
|
||||||
)
|
)
|
||||||
self.promote_stitch_files(self._scan_logger)
|
self.promote_stitch_files(self._scan_logger)
|
||||||
except SubprocessError as e:
|
except SubprocessError as e:
|
||||||
|
|
@ -1086,6 +1087,7 @@ class SmartScanThing(Thing):
|
||||||
logger: InvocationLogger,
|
logger: InvocationLogger,
|
||||||
scan_name: str,
|
scan_name: str,
|
||||||
overlap: float = 0.0,
|
overlap: float = 0.0,
|
||||||
|
stitch_resize: float = 0.25,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Generate a stitched image based on stage position metadata
|
"""Generate a stitched image based on stage position metadata
|
||||||
|
|
||||||
|
|
@ -1132,7 +1134,7 @@ class SmartScanThing(Thing):
|
||||||
"--minimum_overlap",
|
"--minimum_overlap",
|
||||||
f"{round(overlap * 0.9, 2)}",
|
f"{round(overlap * 0.9, 2)}",
|
||||||
"--resize",
|
"--resize",
|
||||||
f"{self._stitch_resize}",
|
f"{stitch_resize}",
|
||||||
images_folder,
|
images_folder,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue