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 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
+ ]