AutoMorphoTrack 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {automorphotrack-2.0.1/automorphotrack.egg-info → automorphotrack-2.0.2}/PKG-INFO +1 -1
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/__init__.py +1 -1
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/colocalization.py +13 -6
- {automorphotrack-2.0.1 → automorphotrack-2.0.2/automorphotrack.egg-info}/PKG-INFO +1 -1
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/setup.py +1 -1
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/LICENSE.md +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/MANIFEST.in +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/README.md +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/.___init__.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._colocalization.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._detection.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._lyso_count.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._morphology.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._motility.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._shape_features.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._shape_profiling.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._summary.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._tracking.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._tracking_overlay.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/._utils.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/detection.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/lyso_count.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/morphology.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/motility.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/shape_features.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/shape_profiling.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/summary.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/tracking.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/tracking_overlay.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack/utils.py +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack.egg-info/SOURCES.txt +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack.egg-info/dependency_links.txt +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack.egg-info/requires.txt +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack.egg-info/top_level.txt +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/pyproject.toml +0 -0
- {automorphotrack-2.0.1 → automorphotrack-2.0.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: automorphotrack
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Automated pipeline for mitochondrial and lysosomal detection, tracking, morphology, and colocalization analysis in microscopy images.
|
|
5
5
|
Home-page: https://github.com/abayatibrain/AMTpackage
|
|
6
6
|
Author: Armin Bayati, Ph.D.
|
|
@@ -77,15 +77,22 @@ def analyze_colocalization(
|
|
|
77
77
|
mito_sum.append(mito.sum())
|
|
78
78
|
lyso_sum.append(lyso.sum())
|
|
79
79
|
|
|
80
|
-
# Visualization with
|
|
81
|
-
mito_norm = (mito / mito.max() * 255).astype(np.uint8)
|
|
82
|
-
lyso_norm = (lyso / lyso.max() * 255).astype(np.uint8)
|
|
80
|
+
# Visualization with CB-safe blue (mito) / orange (lyso) overlay
|
|
81
|
+
mito_norm = (mito / (mito.max() + 1e-12) * 255).astype(np.uint8)
|
|
82
|
+
lyso_norm = (lyso / (lyso.max() + 1e-12) * 255).astype(np.uint8)
|
|
83
83
|
rgb = np.zeros((*mito.shape, 3), np.uint8)
|
|
84
|
-
|
|
84
|
+
# Mito → blue (1, 115, 178)
|
|
85
|
+
rgb[..., 0] = (mito_norm * (1 / 255)).astype(np.uint8)
|
|
86
|
+
rgb[..., 1] = (mito_norm * (115 / 255)).astype(np.uint8)
|
|
87
|
+
rgb[..., 2] = (mito_norm * (178 / 255)).astype(np.uint8)
|
|
88
|
+
# Lyso → orange (222, 143, 5) added on top
|
|
89
|
+
rgb[..., 0] = np.clip(rgb[..., 0].astype(int) + (lyso_norm * (222 / 255)).astype(int), 0, 255).astype(np.uint8)
|
|
90
|
+
rgb[..., 1] = np.clip(rgb[..., 1].astype(int) + (lyso_norm * (143 / 255)).astype(int), 0, 255).astype(np.uint8)
|
|
91
|
+
rgb[..., 2] = np.clip(rgb[..., 2].astype(int) + (lyso_norm * (5 / 255)).astype(int), 0, 255).astype(np.uint8)
|
|
85
92
|
|
|
86
93
|
mask = overlap_mask.astype(bool)
|
|
87
|
-
|
|
88
|
-
rgb[mask] = cv2.addWeighted(rgb[mask], 1 - overlay_alpha,
|
|
94
|
+
white_overlay = np.full_like(rgb[mask], (255, 255, 255), dtype=np.uint8)
|
|
95
|
+
rgb[mask] = cv2.addWeighted(rgb[mask], 1 - overlay_alpha, white_overlay, overlay_alpha, 0)
|
|
89
96
|
|
|
90
97
|
frames_out.append(upscale_frame(rgb))
|
|
91
98
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: automorphotrack
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Automated pipeline for mitochondrial and lysosomal detection, tracking, morphology, and colocalization analysis in microscopy images.
|
|
5
5
|
Home-page: https://github.com/abayatibrain/AMTpackage
|
|
6
6
|
Author: Armin Bayati, Ph.D.
|
|
@@ -10,7 +10,7 @@ if os.path.exists(readme_path):
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="automorphotrack",
|
|
13
|
-
version="2.0.
|
|
13
|
+
version="2.0.2",
|
|
14
14
|
author="Armin Bayati, Ph.D.",
|
|
15
15
|
author_email="a.bayati.brain@gmail.com",
|
|
16
16
|
description="Automated pipeline for mitochondrial and lysosomal detection, tracking, morphology, and colocalization analysis in microscopy images.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{automorphotrack-2.0.1 → automorphotrack-2.0.2}/automorphotrack.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|