napari-tmidas 0.1.2__tar.gz → 0.1.4__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 (40) hide show
  1. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/PKG-INFO +34 -16
  2. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/README.md +33 -15
  3. napari_tmidas-0.1.4/src/napari_tmidas/_file_conversion.py +1477 -0
  4. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_file_selector.py +357 -60
  5. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_label_inspection.py +87 -26
  6. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_version.py +2 -2
  7. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/napari.yaml +5 -0
  8. napari_tmidas-0.1.4/src/napari_tmidas/processing_functions/basic.py +42 -0
  9. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/processing_functions/skimage_filters.py +60 -43
  10. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/PKG-INFO +34 -16
  11. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/SOURCES.txt +1 -0
  12. napari_tmidas-0.1.2/src/napari_tmidas/processing_functions/basic.py +0 -60
  13. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.github/dependabot.yml +0 -0
  14. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.github/workflows/test_and_deploy.yml +0 -0
  15. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.gitignore +0 -0
  16. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.napari-hub/DESCRIPTION.md +0 -0
  17. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.napari-hub/config.yml +0 -0
  18. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/.pre-commit-config.yaml +0 -0
  19. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/LICENSE +0 -0
  20. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/MANIFEST.in +0 -0
  21. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/pyproject.toml +0 -0
  22. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/setup.cfg +0 -0
  23. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/__init__.py +0 -0
  24. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_reader.py +0 -0
  25. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_registry.py +0 -0
  26. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_sample_data.py +0 -0
  27. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_tests/__init__.py +0 -0
  28. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_tests/test_reader.py +0 -0
  29. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_tests/test_sample_data.py +0 -0
  30. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_tests/test_widget.py +0 -0
  31. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_tests/test_writer.py +0 -0
  32. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_widget.py +0 -0
  33. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/_writer.py +0 -0
  34. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/processing_functions/__init__.py +0 -0
  35. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas/processing_functions/scipy_filters.py +0 -0
  36. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/dependency_links.txt +0 -0
  37. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/entry_points.txt +0 -0
  38. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/requires.txt +0 -0
  39. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/src/napari_tmidas.egg-info/top_level.txt +0 -0
  40. {napari_tmidas-0.1.2 → napari_tmidas-0.1.4}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: napari-tmidas
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Tissue Microscopy Image Data Analysis Suite
5
5
  Author: Marco Meer
6
6
  Author-email: marco.meer@pm.me
@@ -79,10 +79,13 @@ The Tissue Microscopy Image Data Analysis Suite (short: T-MIDAS), is a collectio
79
79
 
80
80
  ## Installation
81
81
 
82
- First install Napari in a virtual environment following the latest [Napari installation instructions](https://github.com/Napari/napari?tab=readme-ov-file#installation).
82
+ First install Napari in a virtual environment:
83
83
 
84
+ mamba create -y -n napari-tmidas -c conda-forge python=3.11
85
+ mamba activate napari-tmidas
86
+ python -m pip install "napari[all]"
84
87
 
85
- After you have activated the environment, you can install `napari-tmidas` via [pip]:
88
+ Now you can install `napari-tmidas` via [pip]:
86
89
 
87
90
  pip install napari-tmidas
88
91
 
@@ -90,39 +93,54 @@ To install the latest development version:
90
93
 
91
94
  pip install git+https://github.com/macromeer/napari-tmidas.git
92
95
 
96
+ ### Dependencies
97
+ For the File converter, we need some libraries to read some microscopy formats and to write ome-zarr:
98
+
99
+ pip install nd2 readlif tiffslide pylibCZIrw ome-zarr
100
+
101
+
93
102
  ## Usage
94
103
 
95
- ### File inspector
104
+ You can find the installed plugin here:
96
105
 
97
- 1. You can find the installed plugin here:
98
-
99
106
  ![image](https://github.com/user-attachments/assets/504db09a-d66e-49eb-90cd-3237024d9d7a)
100
107
 
101
108
 
102
- 3. After opening the plugin, select the folder with the images to be processed (currently supports TIF, later also ZARR). You can also filter for filename suffix.
103
-
109
+ ### File converter
110
+
111
+ You might first want to batch convert microscopy image data. Currently, this plugin supports `.nd2, .lif, .ndpi, .czi`. After launching the file converter, you can scan a folder of your choice for microscopy image data. It will also detect series images that you can preview. Start by selecting an original image in the first column of the table. This allows you to preview or convert.
112
+
113
+ ![image](https://github.com/user-attachments/assets/e377ca71-2f30-447d-825e-d2feebf7061b)
114
+
115
+
116
+
117
+ ### File inspector
118
+
119
+ 1. After opening `Plugins > T-MIDAS > File selector`, enter the path to the folder containing the images to be processed (currently supports TIF, later also ZARR). You can also filter for filename suffix.
120
+
104
121
  ![image](https://github.com/user-attachments/assets/41ecb689-9abe-4371-83b5-9c5eb37069f9)
105
122
 
106
- 5. As a result, a table appears with the found images.
107
-
123
+ 2. As a result, a table appears with the found images.
124
+
108
125
  ![image](https://github.com/user-attachments/assets/8360942a-be8f-49ec-bc25-385ee43bd601)
109
126
 
110
- 7. Next, select a processing function, set parameters if applicable and start batch processing.
111
-
127
+ 3. Next, select a processing function, set parameters if applicable and `Start Batch Processing`.
128
+
112
129
  ![image](https://github.com/user-attachments/assets/05929660-6672-4f76-89da-4f17749ccfad)
113
130
 
114
- 9. You can click on the images 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.
115
-
131
+ 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.
132
+
116
133
  ![image](https://github.com/user-attachments/assets/cfe84828-c1cc-4196-9a53-5dfb82d5bfce)
117
134
 
118
- Whenever you click on an `Original File` or `Processed File` in the table, it will replace the one that is currently shown in the viewer. So naturally, you'd first select the original image, and then the processed image to correctly overlay the image pair that you want to inspect.
135
+ Note that whenever you click on an `Original File` or `Processed File` in the table, it will replace the one that is currently shown in the viewer. So naturally, you'd first select the original image, and then the processed image to correctly see the image pair that you want to inspect.
119
136
 
120
137
  ### Label inspector
121
- If you have already segmented a folder full of images and now you want to maybe inspect and edit each label image, you can use the Label inspector, which automatically saves your changes to the existing label image once you click the `Save and Continue` button.
138
+ If you have already segmented a folder full of images and now you want to maybe inspect and edit each label image, you can use the `Plugins > T-MIDAS > Label inspector`, which automatically saves your changes to the existing label image once you click the `Save Changes and Continue` button (bottom right).
122
139
 
123
140
  ![image](https://github.com/user-attachments/assets/0bf8c6ae-4212-449d-8183-e91b23ba740e)
124
141
 
125
142
 
143
+
126
144
  ## Contributing
127
145
 
128
146
  Contributions are very welcome. Tests can be run with [tox], please ensure
@@ -11,10 +11,13 @@ The Tissue Microscopy Image Data Analysis Suite (short: T-MIDAS), is a collectio
11
11
 
12
12
  ## Installation
13
13
 
14
- First install Napari in a virtual environment following the latest [Napari installation instructions](https://github.com/Napari/napari?tab=readme-ov-file#installation).
14
+ First install Napari in a virtual environment:
15
15
 
16
+ mamba create -y -n napari-tmidas -c conda-forge python=3.11
17
+ mamba activate napari-tmidas
18
+ python -m pip install "napari[all]"
16
19
 
17
- After you have activated the environment, you can install `napari-tmidas` via [pip]:
20
+ Now you can install `napari-tmidas` via [pip]:
18
21
 
19
22
  pip install napari-tmidas
20
23
 
@@ -22,39 +25,54 @@ To install the latest development version:
22
25
 
23
26
  pip install git+https://github.com/macromeer/napari-tmidas.git
24
27
 
28
+ ### Dependencies
29
+ For the File converter, we need some libraries to read some microscopy formats and to write ome-zarr:
30
+
31
+ pip install nd2 readlif tiffslide pylibCZIrw ome-zarr
32
+
33
+
25
34
  ## Usage
26
35
 
27
- ### File inspector
36
+ You can find the installed plugin here:
28
37
 
29
- 1. You can find the installed plugin here:
30
-
31
38
  ![image](https://github.com/user-attachments/assets/504db09a-d66e-49eb-90cd-3237024d9d7a)
32
39
 
33
40
 
34
- 3. After opening the plugin, select the folder with the images to be processed (currently supports TIF, later also ZARR). You can also filter for filename suffix.
35
-
41
+ ### File converter
42
+
43
+ You might first want to batch convert microscopy image data. Currently, this plugin supports `.nd2, .lif, .ndpi, .czi`. After launching the file converter, you can scan a folder of your choice for microscopy image data. It will also detect series images that you can preview. Start by selecting an original image in the first column of the table. This allows you to preview or convert.
44
+
45
+ ![image](https://github.com/user-attachments/assets/e377ca71-2f30-447d-825e-d2feebf7061b)
46
+
47
+
48
+
49
+ ### File inspector
50
+
51
+ 1. After opening `Plugins > T-MIDAS > File selector`, enter the path to the folder containing the images to be processed (currently supports TIF, later also ZARR). You can also filter for filename suffix.
52
+
36
53
  ![image](https://github.com/user-attachments/assets/41ecb689-9abe-4371-83b5-9c5eb37069f9)
37
54
 
38
- 5. As a result, a table appears with the found images.
39
-
55
+ 2. As a result, a table appears with the found images.
56
+
40
57
  ![image](https://github.com/user-attachments/assets/8360942a-be8f-49ec-bc25-385ee43bd601)
41
58
 
42
- 7. Next, select a processing function, set parameters if applicable and start batch processing.
43
-
59
+ 3. Next, select a processing function, set parameters if applicable and `Start Batch Processing`.
60
+
44
61
  ![image](https://github.com/user-attachments/assets/05929660-6672-4f76-89da-4f17749ccfad)
45
62
 
46
- 9. You can click on the images 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.
47
-
63
+ 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.
64
+
48
65
  ![image](https://github.com/user-attachments/assets/cfe84828-c1cc-4196-9a53-5dfb82d5bfce)
49
66
 
50
- Whenever you click on an `Original File` or `Processed File` in the table, it will replace the one that is currently shown in the viewer. So naturally, you'd first select the original image, and then the processed image to correctly overlay the image pair that you want to inspect.
67
+ Note that whenever you click on an `Original File` or `Processed File` in the table, it will replace the one that is currently shown in the viewer. So naturally, you'd first select the original image, and then the processed image to correctly see the image pair that you want to inspect.
51
68
 
52
69
  ### Label inspector
53
- If you have already segmented a folder full of images and now you want to maybe inspect and edit each label image, you can use the Label inspector, which automatically saves your changes to the existing label image once you click the `Save and Continue` button.
70
+ If you have already segmented a folder full of images and now you want to maybe inspect and edit each label image, you can use the `Plugins > T-MIDAS > Label inspector`, which automatically saves your changes to the existing label image once you click the `Save Changes and Continue` button (bottom right).
54
71
 
55
72
  ![image](https://github.com/user-attachments/assets/0bf8c6ae-4212-449d-8183-e91b23ba740e)
56
73
 
57
74
 
75
+
58
76
  ## Contributing
59
77
 
60
78
  Contributions are very welcome. Tests can be run with [tox], please ensure