From 24e28d88ff0e8a49aebd2460534f87c13c776d26 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Fri, 29 Oct 2021 13:49:20 +0200 Subject: [PATCH] segmenter: fix typo in process_pixel --- scripts/planktoscope/segmenter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/planktoscope/segmenter/__init__.py b/scripts/planktoscope/segmenter/__init__.py index 89b1d09..cf5f83a 100644 --- a/scripts/planktoscope/segmenter/__init__.py +++ b/scripts/planktoscope/segmenter/__init__.py @@ -460,7 +460,7 @@ class SegmenterProcess(multiprocessing.Process): minMesh = self.__global_metadata.get("acq_minimum_mesh", 20) # microns minESD = minMesh * 2 minArea = math.pi * (minESD / 2) * (minESD / 2) - pixel_size = self.__global_metadata.get("process_pixels", 1.0) + pixel_size = self.__global_metadata.get("process_pixel", 1.0) # minsizepix = minArea / pixel_size / pixel_size minsizepix = (minESD / pixel_size) ** 2