napari-tmidas 0.2.0__tar.gz → 0.2.1__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.
Files changed (53) hide show
  1. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/PKG-INFO +15 -8
  2. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/README.md +14 -7
  3. napari_tmidas-0.2.1/src/napari_tmidas/_crop_anything.py +2532 -0
  4. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_file_selector.py +87 -6
  5. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_version.py +2 -2
  6. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/basic.py +760 -0
  7. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/careamics_denoising.py +324 -0
  8. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/careamics_env_manager.py +339 -0
  9. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/cellpose_env_manager.py +55 -20
  10. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/cellpose_segmentation.py +105 -218
  11. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/sam2_mp4.py +283 -0
  12. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/skimage_filters.py +31 -1
  13. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/timepoint_merger.py +490 -0
  14. napari_tmidas-0.2.1/src/napari_tmidas/processing_functions/trackastra_tracking.py +303 -0
  15. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/PKG-INFO +15 -8
  16. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/SOURCES.txt +6 -1
  17. napari_tmidas-0.2.0/src/napari_tmidas/_crop_anything.py +0 -1245
  18. napari_tmidas-0.2.0/src/napari_tmidas/processing_functions/basic.py +0 -289
  19. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.github/dependabot.yml +0 -0
  20. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.github/workflows/test_and_deploy.yml +0 -0
  21. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.gitignore +0 -0
  22. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.napari-hub/DESCRIPTION.md +0 -0
  23. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.napari-hub/config.yml +0 -0
  24. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/.pre-commit-config.yaml +0 -0
  25. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/LICENSE +0 -0
  26. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/MANIFEST.in +0 -0
  27. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/pyproject.toml +0 -0
  28. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/setup.cfg +0 -0
  29. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/__init__.py +0 -0
  30. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_file_conversion.py +0 -0
  31. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_label_inspection.py +0 -0
  32. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_reader.py +0 -0
  33. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_registry.py +0 -0
  34. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_roi_colocalization.py +0 -0
  35. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_sample_data.py +0 -0
  36. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_tests/__init__.py +0 -0
  37. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_tests/test_reader.py +0 -0
  38. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_tests/test_sample_data.py +0 -0
  39. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_tests/test_widget.py +0 -0
  40. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_tests/test_writer.py +0 -0
  41. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_widget.py +0 -0
  42. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/_writer.py +0 -0
  43. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/napari.yaml +0 -0
  44. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/__init__.py +0 -0
  45. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/colocalization.py +0 -0
  46. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/file_compression.py +0 -0
  47. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/sam2_env_manager.py +0 -0
  48. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas/processing_functions/scipy_filters.py +0 -0
  49. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/dependency_links.txt +0 -0
  50. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/entry_points.txt +0 -0
  51. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/requires.txt +0 -0
  52. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/src/napari_tmidas.egg-info/top_level.txt +0 -0
  53. {napari_tmidas-0.2.0 → napari_tmidas-0.2.1}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: napari-tmidas
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A plugin for batch processing of confocal and whole-slide microscopy images of biological tissues
5
5
  Author: Marco Meer
6
6
  Author-email: marco.meer@pm.me
@@ -100,7 +100,7 @@ Now you can install `napari-tmidas` via [pip]:
100
100
 
101
101
  pip install napari-tmidas
102
102
 
103
- It is recommended to install the latest development version:
103
+ It is recommended to install the latest development version. Please also regularly execute this command in the activated environment:
104
104
 
105
105
  pip install git+https://github.com/macromeer/napari-tmidas.git
106
106
 
@@ -108,19 +108,26 @@ It is recommended to install the latest development version:
108
108
 
109
109
  To use the Batch Microscopy Image Conversion pipeline, we need some libraries to read microscopy formats:
110
110
 
111
+ # mamba activate napari-tmidas
111
112
  pip install nd2 readlif tiffslide pylibCZIrw acquifer-napari
112
113
 
113
- For the Batch Crop Anything pipeline, we need to install MobileSAM and its dependencies:
114
-
115
- pip install git+https://github.com/ChaoningZhang/MobileSAM.git
116
-
117
-
118
114
  If you want to batch compress images using [Zstandard](https://github.com/facebook/zstd), use the package manager of your operating system to install it:
119
115
 
120
116
  sudo apt-get install zstd # for Linux
121
117
  brew install zstd # for macOS
122
118
  choco install zstandard # for Windows
123
119
 
120
+ To use the Batch Crop Anything pipeline, we need to install SAM2 in the napari-tmidas environment:
121
+
122
+ # mamba activate napari-tmidas
123
+ cd /opt
124
+ git clone https://github.com/facebookresearch/sam2.git && cd sam2
125
+ pip install -e .
126
+ wget https://dl.fbaipublicfiles.com/segment_anything_2/092824/sam2.1_hiera_large.pt -P checkpoints/
127
+ pip install decord
128
+
129
+
130
+
124
131
 
125
132
  ## Usage
126
133
 
@@ -153,7 +160,7 @@ You can start this pipeline via `Plugins > T-MIDAS > Batch Microscopy Image Conv
153
160
  ![image](https://github.com/user-attachments/assets/05929660-6672-4f76-89da-4f17749ccfad)
154
161
 
155
162
  4. You can click on the images in the table to show them in the viewer. For example first click on one of the `Original Files`, and then the corresponding `Processed File` to see an overlay.
156
-
163
+
157
164
  <img src="https://github.com/user-attachments/assets/cfe84828-c1cc-4196-9a53-5dfb82d5bfce" alt="Image Processing Widget" style="width:75%; height:auto;">
158
165
 
159
166
 
@@ -23,7 +23,7 @@ Now you can install `napari-tmidas` via [pip]:
23
23
 
24
24
  pip install napari-tmidas
25
25
 
26
- It is recommended to install the latest development version:
26
+ It is recommended to install the latest development version. Please also regularly execute this command in the activated environment:
27
27
 
28
28
  pip install git+https://github.com/macromeer/napari-tmidas.git
29
29
 
@@ -31,19 +31,26 @@ It is recommended to install the latest development version:
31
31
 
32
32
  To use the Batch Microscopy Image Conversion pipeline, we need some libraries to read microscopy formats:
33
33
 
34
+ # mamba activate napari-tmidas
34
35
  pip install nd2 readlif tiffslide pylibCZIrw acquifer-napari
35
36
 
36
- For the Batch Crop Anything pipeline, we need to install MobileSAM and its dependencies:
37
-
38
- pip install git+https://github.com/ChaoningZhang/MobileSAM.git
39
-
40
-
41
37
  If you want to batch compress images using [Zstandard](https://github.com/facebook/zstd), use the package manager of your operating system to install it:
42
38
 
43
39
  sudo apt-get install zstd # for Linux
44
40
  brew install zstd # for macOS
45
41
  choco install zstandard # for Windows
46
42
 
43
+ To use the Batch Crop Anything pipeline, we need to install SAM2 in the napari-tmidas environment:
44
+
45
+ # mamba activate napari-tmidas
46
+ cd /opt
47
+ git clone https://github.com/facebookresearch/sam2.git && cd sam2
48
+ pip install -e .
49
+ wget https://dl.fbaipublicfiles.com/segment_anything_2/092824/sam2.1_hiera_large.pt -P checkpoints/
50
+ pip install decord
51
+
52
+
53
+
47
54
 
48
55
  ## Usage
49
56
 
@@ -76,7 +83,7 @@ You can start this pipeline via `Plugins > T-MIDAS > Batch Microscopy Image Conv
76
83
  ![image](https://github.com/user-attachments/assets/05929660-6672-4f76-89da-4f17749ccfad)
77
84
 
78
85
  4. You can click on the images in the table to show them in the viewer. For example first click on one of the `Original Files`, and then the corresponding `Processed File` to see an overlay.
79
-
86
+
80
87
  <img src="https://github.com/user-attachments/assets/cfe84828-c1cc-4196-9a53-5dfb82d5bfce" alt="Image Processing Widget" style="width:75%; height:auto;">
81
88
 
82
89