From 7782a90755f58b9fe9720c662cf6b35ea97de306 Mon Sep 17 00:00:00 2001 From: Antoine Weisrock Date: Mon, 2 Oct 2023 10:34:03 +0200 Subject: [PATCH 1/4] perf: make segmentation sharper nuclei detection is now sharper after adjusting the parameters of the underlying AI module Signed-off-by: Antoine Weisrock --- src/myofinder/image_segmentation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/myofinder/image_segmentation.py b/src/myofinder/image_segmentation.py index 7cdffcb..a2da762 100644 --- a/src/myofinder/image_segmentation.py +++ b/src/myofinder/image_segmentation.py @@ -67,16 +67,16 @@ def __call__(self, del image - # Default parameters - radius = 10 - maxima_threshold = 0.1 - interior_threshold = 0.01 + # Segmentation parameters + radius = 2 + maxima_threshold = 0.05 + interior_threshold = 0.3 maxima_smooth = 0 - interior_smooth = 0 + interior_smooth = 2 maxima_index = 0 interior_index = -1 label_erosion = 0 - fill_holes_threshold = 0 + fill_holes_threshold = 15 pixel_expansion = None maxima_algorith = 'h_maxima' From 34877a4b510ca2ac8619147f3cd6b5e9f3099c35 Mon Sep 17 00:00:00 2001 From: Antoine Weisrock Date: Mon, 2 Oct 2023 10:39:11 +0200 Subject: [PATCH 2/4] build: update the version to 1.0.5 --- src/myofinder/__version__.py | 2 +- src/windows_installer/config.aip | 2 +- src/windows_installer/start_myofinder.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/myofinder/__version__.py b/src/myofinder/__version__.py index 9fb71f3..8d7414f 100644 --- a/src/myofinder/__version__.py +++ b/src/myofinder/__version__.py @@ -1,3 +1,3 @@ # coding: utf-8 -__version__ = '1.0.4' +__version__ = '1.0.5' diff --git a/src/windows_installer/config.aip b/src/windows_installer/config.aip index e391bf3..8def804 100644 --- a/src/windows_installer/config.aip +++ b/src/windows_installer/config.aip @@ -15,7 +15,7 @@ - + diff --git a/src/windows_installer/start_myofinder.bat b/src/windows_installer/start_myofinder.bat index 0432ed4..81f8ebd 100644 --- a/src/windows_installer/start_myofinder.bat +++ b/src/windows_installer/start_myofinder.bat @@ -41,7 +41,7 @@ echo Checking if the dependencies are installed echo The dependencies are installed ) || ( echo The dependencies are not installed, installing them - %base_path%\venv\Scripts\python -m pip install myofinder==1.0.4 + %base_path%\venv\Scripts\python -m pip install myofinder==1.0.5 ) echo. From 7f0f4750862edfa18822e58cbcea7c86a113fddf Mon Sep 17 00:00:00 2001 From: Antoine Weisrock Date: Mon, 2 Oct 2023 10:41:13 +0200 Subject: [PATCH 3/4] docs: improve style of description on PyPI --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index eaabd06..465b785 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ of them, visualizing the output, and manually correcting it if needed. It relies on the DeepCell library for performing the image segmentation. """, - long_description_content_type='text/plain', + long_description_content_type='text/x-rst', keywords='segmentation,fusion index,automation,muscle culture', license='GPL V3', classifiers=['Development Status :: 5 - Production/Stable ', From d5ee3e106de9ba0d7d685808e96202673689ed0b Mon Sep 17 00:00:00 2001 From: WeisLeDocto Date: Mon, 2 Oct 2023 10:43:22 +0200 Subject: [PATCH 4/4] build: update Windows installer after version update to 1.0.5 --- bin/myofinder.msi | Bin 2477568 -> 2477568 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/bin/myofinder.msi b/bin/myofinder.msi index 3931151e5f1371cb882a850e4df6220295143db4..59454fbdc5f16a14eca80ccd1ab7692e7e933076 100644 GIT binary patch delta 798 zcmZpeGo7&kh&SZ0uqjwxP3QUAT*T5|#KH)~OhC*G#2`K^5VHX>I}mdKF((jn0Wmia z^8hg~5c2^sKM)H5u^n0kJd?%K)(~5X%9vJP<1Y zu_6#F0kJX=t86b~QGJ-rXu3V5Kvh&i+|A6$(AnI~Sl86W*+|#K!rWBX$<4)Wdqan6 zqau&Fp`p2ng`tzHg|X>&-c_pi<)I#%{^_KuOTAOLN2mfraYZKRJjwI(qxH?+*T?)G|GF&s`tIKEfBddrFHl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