pyrametric 0.0.1__py3-none-any.whl
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.
- pyrametric/__init__.py +26 -0
- pyrametric/object_features.py +952 -0
- pyrametric/pyramid.py +288 -0
- pyrametric/write.py +121 -0
- pyrametric-0.0.1.dist-info/METADATA +219 -0
- pyrametric-0.0.1.dist-info/RECORD +9 -0
- pyrametric-0.0.1.dist-info/WHEEL +5 -0
- pyrametric-0.0.1.dist-info/licenses/LICENSE +21 -0
- pyrametric-0.0.1.dist-info/top_level.txt +1 -0
pyrametric/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""pyrametric: connected-components labeling for OME-Zarr pyramids.
|
|
2
|
+
|
|
3
|
+
The array-level labeling algorithm lives in the standalone, storage-agnostic
|
|
4
|
+
`tilewise-ccl` package; `label_array` is re-exported here for convenience.
|
|
5
|
+
|
|
6
|
+
`label_pyramid` is the OME-Zarr-aware layer: it labels a `Pyramid`'s level-0
|
|
7
|
+
binary mask and propagates the labels down the multiscale levels, returning a
|
|
8
|
+
lazy label `Pyramid` aligned to the source.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
__version__ = "0.0.1"
|
|
12
|
+
__author__ = "Bugra Oezdemir"
|
|
13
|
+
|
|
14
|
+
from tilewise_ccl import label_array
|
|
15
|
+
|
|
16
|
+
from pyrametric.object_features import ObjectFeatures, extract_features
|
|
17
|
+
from pyrametric.pyramid import label_pyramid
|
|
18
|
+
from pyrametric.write import write_label_pyramid
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"label_array",
|
|
22
|
+
"label_pyramid",
|
|
23
|
+
"write_label_pyramid",
|
|
24
|
+
"extract_features",
|
|
25
|
+
"ObjectFeatures", # filtering is now ObjectFeatures.filter_by_size / .filter_by_feature
|
|
26
|
+
]
|