From c0277be3a143ad5d4b077f22621bca89e81f98ac Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 23 Dec 2024 01:22:23 +0800 Subject: [PATCH] configure stitcher to work with the new square camera we now have a camera with a square frame which captures more pixels per image step (the rectangular 16:9 one effectively loses the top and bottom rows). --- config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 8482f7f..757e6b4 100644 --- a/config.py +++ b/config.py @@ -1,9 +1,11 @@ # ------ global configs -X_RES = 3840 -Y_RES = 2160 +X_RES = 3536 +Y_RES = 3536 PIX_PER_UM_20X = 3535 / 370 # 20x objective PIX_PER_UM_5X = 2350 / 1000 # 5x objective, 3.94 +/- 0.005 ratio to 20x -PIX_PER_UM_10X = 3330 / 700 # 10x objective, ~4.757 pix/um +# Originally 3330 / 700 +# - Adjusted to 3327 / 700 on 12/19/2024 - 10x with 3840x3840 camera upgrade [bunnie] +PIX_PER_UM_10X = 3327 / 700 # 10x objective, ~4.757 pix/um LAPLACIAN_WINDOW_20X = 27 # 20x objective LAPLACIAN_WINDOW_10X = 5 # needs tweaking LAPLACIAN_WINDOW_5X = 11 # 5x objective (around 7-11 seems to be a good area?)