napari-tmidas 0.1.1__tar.gz → 0.1.3__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.3}/PKG-INFO +49 -16
- napari_tmidas-0.1.3/README.md +99 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/pyproject.toml +1 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/__init__.py +4 -10
- napari_tmidas-0.1.3/src/napari_tmidas/_file_selector.py +518 -0
- napari_tmidas-0.1.3/src/napari_tmidas/_label_inspection.py +160 -0
- napari_tmidas-0.1.3/src/napari_tmidas/_registry.py +68 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_version.py +2 -2
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/napari.yaml +10 -21
- napari_tmidas-0.1.3/src/napari_tmidas/processing_functions/__init__.py +61 -0
- napari_tmidas-0.1.3/src/napari_tmidas/processing_functions/basic.py +60 -0
- napari_tmidas-0.1.3/src/napari_tmidas/processing_functions/scipy_filters.py +57 -0
- napari_tmidas-0.1.3/src/napari_tmidas/processing_functions/skimage_filters.py +113 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas.egg-info/PKG-INFO +49 -16
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas.egg-info/SOURCES.txt +8 -1
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/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.3}/.github/dependabot.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/.github/workflows/test_and_deploy.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/.gitignore +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/.napari-hub/DESCRIPTION.md +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/.napari-hub/config.yml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/.pre-commit-config.yaml +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/LICENSE +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/MANIFEST.in +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/setup.cfg +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_reader.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_sample_data.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_tests/__init__.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_tests/test_reader.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_tests/test_sample_data.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_tests/test_widget.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_tests/test_writer.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_widget.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas/_writer.py +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas.egg-info/dependency_links.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas.egg-info/entry_points.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/src/napari_tmidas.egg-info/top_level.txt +0 -0
- {napari_tmidas-0.1.1 → napari_tmidas-0.1.3}/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.3
|
|
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,54 @@ 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
|
+
You can find the installed plugin here:
|
|
96
|
+
|
|
97
|
+

|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
### File inspector
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
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.
|
|
102
|
+
|
|
103
|
+

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

|
|
108
|
+
|
|
109
|
+
3. Next, select a processing function, set parameters if applicable and `Start Batch Processing`.
|
|
110
|
+
|
|
111
|
+

|
|
112
|
+
|
|
113
|
+
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.
|
|
114
|
+
|
|
115
|
+

|
|
116
|
+
|
|
117
|
+
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.
|
|
118
|
+
|
|
119
|
+
### Label inspector
|
|
120
|
+
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).
|
|
121
|
+
|
|
122
|
+

|
|
102
123
|
|
|
103
124
|
|
|
104
125
|
## Contributing
|
|
@@ -128,6 +149,18 @@ If you encounter any problems, please [file an issue] along with a detailed desc
|
|
|
128
149
|
|
|
129
150
|
[file an issue]: https://github.com/macromeer/napari-tmidas/issues
|
|
130
151
|
|
|
152
|
+
----------------------------------
|
|
153
|
+
|
|
154
|
+
This [napari] plugin was generated with [copier] using the [napari-plugin-template].
|
|
155
|
+
|
|
156
|
+
<!--
|
|
157
|
+
Don't miss the full getting started guide to set up your new package:
|
|
158
|
+
https://github.com/napari/napari-plugin-template#getting-started
|
|
159
|
+
|
|
160
|
+
and review the napari docs for plugin developers:
|
|
161
|
+
https://napari.org/stable/plugins/index.html
|
|
162
|
+
-->
|
|
163
|
+
|
|
131
164
|
[napari]: https://github.com/napari/napari
|
|
132
165
|
[tox]: https://tox.readthedocs.io/en/latest/
|
|
133
166
|
[pip]: https://pypi.org/project/pip/
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
You can find the installed plugin here:
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
### File inspector
|
|
32
|
+
|
|
33
|
+
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.
|
|
34
|
+
|
|
35
|
+

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

|
|
40
|
+
|
|
41
|
+
3. Next, select a processing function, set parameters if applicable and `Start Batch Processing`.
|
|
42
|
+
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
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.
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
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.
|
|
50
|
+
|
|
51
|
+
### Label inspector
|
|
52
|
+
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).
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## Contributing
|
|
58
|
+
|
|
59
|
+
Contributions are very welcome. Tests can be run with [tox], please ensure
|
|
60
|
+
the coverage at least stays the same before you submit a pull request.
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
Distributed under the terms of the [BSD-3] license,
|
|
65
|
+
"napari-tmidas" is free and open source software
|
|
66
|
+
|
|
67
|
+
## Issues
|
|
68
|
+
|
|
69
|
+
If you encounter any problems, please [file an issue] along with a detailed description.
|
|
70
|
+
|
|
71
|
+
[napari]: https://github.com/napari/napari
|
|
72
|
+
[copier]: https://copier.readthedocs.io/en/stable/
|
|
73
|
+
[@napari]: https://github.com/napari
|
|
74
|
+
[MIT]: http://opensource.org/licenses/MIT
|
|
75
|
+
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
|
|
76
|
+
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
|
|
77
|
+
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
78
|
+
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
|
|
79
|
+
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
|
|
80
|
+
[napari-plugin-template]: https://github.com/napari/napari-plugin-template
|
|
81
|
+
|
|
82
|
+
[file an issue]: https://github.com/macromeer/napari-tmidas/issues
|
|
83
|
+
|
|
84
|
+
----------------------------------
|
|
85
|
+
|
|
86
|
+
This [napari] plugin was generated with [copier] using the [napari-plugin-template].
|
|
87
|
+
|
|
88
|
+
<!--
|
|
89
|
+
Don't miss the full getting started guide to set up your new package:
|
|
90
|
+
https://github.com/napari/napari-plugin-template#getting-started
|
|
91
|
+
|
|
92
|
+
and review the napari docs for plugin developers:
|
|
93
|
+
https://napari.org/stable/plugins/index.html
|
|
94
|
+
-->
|
|
95
|
+
|
|
96
|
+
[napari]: https://github.com/napari/napari
|
|
97
|
+
[tox]: https://tox.readthedocs.io/en/latest/
|
|
98
|
+
[pip]: https://pypi.org/project/pip/
|
|
99
|
+
[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
|
)
|