napari-tmidas 0.1.1__tar.gz → 0.1.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.
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/PKG-INFO +50 -16
- napari_tmidas-0.1.2/README.md +100 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/pyproject.toml +1 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/__init__.py +4 -10
- napari_tmidas-0.1.2/src/napari_tmidas/_file_selector.py +518 -0
- napari_tmidas-0.1.2/src/napari_tmidas/_label_inspection.py +160 -0
- napari_tmidas-0.1.2/src/napari_tmidas/_registry.py +68 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_version.py +2 -2
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/napari.yaml +10 -21
- napari_tmidas-0.1.2/src/napari_tmidas/processing_functions/__init__.py +61 -0
- napari_tmidas-0.1.2/src/napari_tmidas/processing_functions/basic.py +60 -0
- napari_tmidas-0.1.2/src/napari_tmidas/processing_functions/scipy_filters.py +57 -0
- napari_tmidas-0.1.2/src/napari_tmidas/processing_functions/skimage_filters.py +113 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/PKG-INFO +50 -16
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/SOURCES.txt +8 -1
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/requires.txt +1 -0
- napari_tmidas-0.1.1/README.md +0 -67
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.github/dependabot.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.github/workflows/test_and_deploy.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.gitignore +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.napari-hub/DESCRIPTION.md +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.napari-hub/config.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/.pre-commit-config.yaml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/LICENSE +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/MANIFEST.in +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/setup.cfg +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_reader.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_sample_data.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_tests/__init__.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_tests/test_reader.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_tests/test_sample_data.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_tests/test_widget.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_tests/test_writer.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_widget.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas/_writer.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/dependency_links.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/entry_points.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/src/napari_tmidas.egg-info/top_level.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.2}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: napari-tmidas
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Tissue Microscopy Image Data Analysis Suite
|
|
5
5
|
Author: Marco Meer
|
|
6
6
|
Author-email: marco.meer@pm.me
|
|
@@ -57,6 +57,7 @@ Requires-Dist: numpy
|
|
|
57
57
|
Requires-Dist: magicgui
|
|
58
58
|
Requires-Dist: qtpy
|
|
59
59
|
Requires-Dist: scikit-image
|
|
60
|
+
Requires-Dist: pyqt5
|
|
60
61
|
Provides-Extra: testing
|
|
61
62
|
Requires-Dist: tox; extra == "testing"
|
|
62
63
|
Requires-Dist: pytest; extra == "testing"
|
|
@@ -71,34 +72,55 @@ Requires-Dist: pyqt5; extra == "testing"
|
|
|
71
72
|
[](https://pypi.org/project/napari-tmidas)
|
|
72
73
|
[](https://python.org)
|
|
73
74
|
[](https://github.com/macromeer/napari-tmidas/actions)
|
|
74
|
-
[](https://codecov.io/gh/macromeer/napari-tmidas)
|
|
75
75
|
[](https://napari-hub.org/plugins/napari-tmidas)
|
|
76
|
+
<!-- [](https://codecov.io/gh/macromeer/napari-tmidas) -->
|
|
76
77
|
|
|
77
|
-
Tissue Microscopy Image Data Analysis Suite
|
|
78
|
+
The Tissue Microscopy Image Data Analysis Suite (short: T-MIDAS), is a collection of pipelines for batch image preprocessing, segmentation, regions-of-interest (ROI) analysis and other useful features. This is a work in progress (WIP) and an evolutionary step away from the [terminal / command-line version of T-MIDAS](https://github.com/MercaderLabAnatomy/T-MIDAS).
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
## Installation
|
|
80
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
83
|
|
|
83
|
-
<!--
|
|
84
|
-
Don't miss the full getting started guide to set up your new package:
|
|
85
|
-
https://github.com/napari/napari-plugin-template#getting-started
|
|
86
84
|
|
|
87
|
-
|
|
88
|
-
https://napari.org/stable/plugins/index.html
|
|
89
|
-
-->
|
|
85
|
+
After you have activated the environment, you can install `napari-tmidas` via [pip]:
|
|
90
86
|
|
|
91
|
-
|
|
87
|
+
pip install napari-tmidas
|
|
92
88
|
|
|
93
|
-
|
|
89
|
+
To install the latest development version:
|
|
94
90
|
|
|
95
|
-
pip install napari-tmidas
|
|
91
|
+
pip install git+https://github.com/macromeer/napari-tmidas.git
|
|
96
92
|
|
|
93
|
+
## Usage
|
|
97
94
|
|
|
95
|
+
### File inspector
|
|
98
96
|
|
|
99
|
-
|
|
97
|
+
1. You can find the installed plugin here:
|
|
98
|
+
|
|
99
|
+

|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
|
|
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
|
+
|
|
104
|
+

|
|
105
|
+
|
|
106
|
+
5. As a result, a table appears with the found images.
|
|
107
|
+
|
|
108
|
+

|
|
109
|
+
|
|
110
|
+
7. Next, select a processing function, set parameters if applicable and start batch processing.
|
|
111
|
+
|
|
112
|
+

|
|
113
|
+
|
|
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
|
+
|
|
116
|
+

|
|
117
|
+
|
|
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.
|
|
119
|
+
|
|
120
|
+
### 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.
|
|
122
|
+
|
|
123
|
+

|
|
102
124
|
|
|
103
125
|
|
|
104
126
|
## Contributing
|
|
@@ -128,6 +150,18 @@ If you encounter any problems, please [file an issue] along with a detailed desc
|
|
|
128
150
|
|
|
129
151
|
[file an issue]: https://github.com/macromeer/napari-tmidas/issues
|
|
130
152
|
|
|
153
|
+
----------------------------------
|
|
154
|
+
|
|
155
|
+
This [napari] plugin was generated with [copier] using the [napari-plugin-template].
|
|
156
|
+
|
|
157
|
+
<!--
|
|
158
|
+
Don't miss the full getting started guide to set up your new package:
|
|
159
|
+
https://github.com/napari/napari-plugin-template#getting-started
|
|
160
|
+
|
|
161
|
+
and review the napari docs for plugin developers:
|
|
162
|
+
https://napari.org/stable/plugins/index.html
|
|
163
|
+
-->
|
|
164
|
+
|
|
131
165
|
[napari]: https://github.com/napari/napari
|
|
132
166
|
[tox]: https://tox.readthedocs.io/en/latest/
|
|
133
167
|
[pip]: https://pypi.org/project/pip/
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# napari-tmidas
|
|
2
|
+
|
|
3
|
+
[](https://github.com/macromeer/napari-tmidas/raw/main/LICENSE)
|
|
4
|
+
[](https://pypi.org/project/napari-tmidas)
|
|
5
|
+
[](https://python.org)
|
|
6
|
+
[](https://github.com/macromeer/napari-tmidas/actions)
|
|
7
|
+
[](https://napari-hub.org/plugins/napari-tmidas)
|
|
8
|
+
<!-- [](https://codecov.io/gh/macromeer/napari-tmidas) -->
|
|
9
|
+
|
|
10
|
+
The Tissue Microscopy Image Data Analysis Suite (short: T-MIDAS), is a collection of pipelines for batch image preprocessing, segmentation, regions-of-interest (ROI) analysis and other useful features. This is a work in progress (WIP) and an evolutionary step away from the [terminal / command-line version of T-MIDAS](https://github.com/MercaderLabAnatomy/T-MIDAS).
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
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).
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
After you have activated the environment, you can install `napari-tmidas` via [pip]:
|
|
18
|
+
|
|
19
|
+
pip install napari-tmidas
|
|
20
|
+
|
|
21
|
+
To install the latest development version:
|
|
22
|
+
|
|
23
|
+
pip install git+https://github.com/macromeer/napari-tmidas.git
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
### File inspector
|
|
28
|
+
|
|
29
|
+
1. You can find the installed plugin here:
|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
|
|
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
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
5. As a result, a table appears with the found images.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
7. Next, select a processing function, set parameters if applicable and start batch processing.
|
|
43
|
+
|
|
44
|
+

|
|
45
|
+
|
|
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
|
+
|
|
48
|
+

|
|
49
|
+
|
|
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.
|
|
51
|
+
|
|
52
|
+
### 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.
|
|
54
|
+
|
|
55
|
+

|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## Contributing
|
|
59
|
+
|
|
60
|
+
Contributions are very welcome. Tests can be run with [tox], please ensure
|
|
61
|
+
the coverage at least stays the same before you submit a pull request.
|
|
62
|
+
|
|
63
|
+
## License
|
|
64
|
+
|
|
65
|
+
Distributed under the terms of the [BSD-3] license,
|
|
66
|
+
"napari-tmidas" is free and open source software
|
|
67
|
+
|
|
68
|
+
## Issues
|
|
69
|
+
|
|
70
|
+
If you encounter any problems, please [file an issue] along with a detailed description.
|
|
71
|
+
|
|
72
|
+
[napari]: https://github.com/napari/napari
|
|
73
|
+
[copier]: https://copier.readthedocs.io/en/stable/
|
|
74
|
+
[@napari]: https://github.com/napari
|
|
75
|
+
[MIT]: http://opensource.org/licenses/MIT
|
|
76
|
+
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
|
|
77
|
+
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
|
|
78
|
+
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
79
|
+
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
|
|
80
|
+
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
|
|
81
|
+
[napari-plugin-template]: https://github.com/napari/napari-plugin-template
|
|
82
|
+
|
|
83
|
+
[file an issue]: https://github.com/macromeer/napari-tmidas/issues
|
|
84
|
+
|
|
85
|
+
----------------------------------
|
|
86
|
+
|
|
87
|
+
This [napari] plugin was generated with [copier] using the [napari-plugin-template].
|
|
88
|
+
|
|
89
|
+
<!--
|
|
90
|
+
Don't miss the full getting started guide to set up your new package:
|
|
91
|
+
https://github.com/napari/napari-plugin-template#getting-started
|
|
92
|
+
|
|
93
|
+
and review the napari docs for plugin developers:
|
|
94
|
+
https://napari.org/stable/plugins/index.html
|
|
95
|
+
-->
|
|
96
|
+
|
|
97
|
+
[napari]: https://github.com/napari/napari
|
|
98
|
+
[tox]: https://tox.readthedocs.io/en/latest/
|
|
99
|
+
[pip]: https://pypi.org/project/pip/
|
|
100
|
+
[PyPI]: https://pypi.org/
|
|
@@ -3,14 +3,10 @@ try:
|
|
|
3
3
|
except ImportError:
|
|
4
4
|
__version__ = "unknown"
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
from ._label_inspection import label_inspector_widget
|
|
6
8
|
from ._reader import napari_get_reader
|
|
7
9
|
from ._sample_data import make_sample_data
|
|
8
|
-
from ._widget import (
|
|
9
|
-
ExampleQWidget,
|
|
10
|
-
ImageThreshold,
|
|
11
|
-
threshold_autogenerate_widget,
|
|
12
|
-
threshold_magic_widget,
|
|
13
|
-
)
|
|
14
10
|
from ._writer import write_multiple, write_single_image
|
|
15
11
|
|
|
16
12
|
__all__ = (
|
|
@@ -18,8 +14,6 @@ __all__ = (
|
|
|
18
14
|
"write_single_image",
|
|
19
15
|
"write_multiple",
|
|
20
16
|
"make_sample_data",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"threshold_autogenerate_widget",
|
|
24
|
-
"threshold_magic_widget",
|
|
17
|
+
"file_selector",
|
|
18
|
+
"label_inspector_widget",
|
|
25
19
|
)
|