fastremap 1.13.5__cp38-cp38-macosx_10_9_x86_64.whl → 1.15.0__cp38-cp38-macosx_10_9_x86_64.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.
- {fastremap-1.13.5.dist-info → fastremap-1.15.0.dist-info}/METADATA +11 -3
- fastremap-1.15.0.dist-info/RECORD +8 -0
- {fastremap-1.13.5.dist-info → fastremap-1.15.0.dist-info}/WHEEL +1 -1
- fastremap-1.15.0.dist-info/pbr.json +1 -0
- fastremap.cpython-38-darwin.so +0 -0
- fastremap-1.13.5.dist-info/RECORD +0 -8
- fastremap-1.13.5.dist-info/pbr.json +0 -1
- {fastremap-1.13.5.dist-info → fastremap-1.15.0.dist-info}/AUTHORS +0 -0
- {fastremap-1.13.5.dist-info → fastremap-1.15.0.dist-info}/LICENSE +0 -0
- {fastremap-1.13.5.dist-info → fastremap-1.15.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fastremap
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.15.0
|
4
4
|
Summary: Remap, mask, renumber, unique, and in-place transposition of 3D labeled images. Point cloud too.
|
5
5
|
Home-page: https://github.com/seung-lab/fastremap/
|
6
6
|
Author: William Silversmith
|
@@ -16,13 +16,13 @@ Classifier: Programming Language :: Python :: 3.9
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
18
18
|
Classifier: Topic :: Utilities
|
19
|
-
Requires-Python: >=3.
|
19
|
+
Requires-Python: >=3.8,<4.0
|
20
20
|
Description-Content-Type: text/markdown
|
21
21
|
License-File: LICENSE
|
22
22
|
License-File: AUTHORS
|
23
23
|
Requires-Dist: numpy
|
24
24
|
|
25
|
-
[](https://badge.fury.io/py/fastremap)
|
26
26
|
|
27
27
|
# fastremap
|
28
28
|
|
@@ -56,6 +56,13 @@ minval, maxval = fastremap.minmax(labels) # faster version of (np.min(labels), n
|
|
56
56
|
# computes number of matching adjacent pixel pairs in an image
|
57
57
|
num_pairs = fastremap.pixel_pairs(labels)
|
58
58
|
n_foreground = fastremap.foreground(labels) # number of nonzero voxels
|
59
|
+
|
60
|
+
# computes the cutout.tobytes(order) of each chunk and returns
|
61
|
+
# the binaries indexed by fortran order in the order specified (C or F)
|
62
|
+
# If the input image is F contiguous and F is requested, or C and C order,
|
63
|
+
# and the image is larger than a single chunk, this will be significantly
|
64
|
+
# faster than iterating and using tobytes.
|
65
|
+
binaries = fastremap.tobytes(labels, (64,64,64), order="F")
|
59
66
|
```
|
60
67
|
|
61
68
|
## All Available Functions
|
@@ -75,6 +82,7 @@ n_foreground = fastremap.foreground(labels) # number of nonzero voxels
|
|
75
82
|
- **pixel_pairs:** Computes the number of adjacent matching memory locations in an image. A quick heuristic for understanding if the image statistics are roughly similar to a connectomics segmentation.
|
76
83
|
- **foreground:** Count the number of non-zero voxels rapidly.
|
77
84
|
- **point_cloud:** Get the X,Y,Z locations of each foreground voxel grouped by label.
|
85
|
+
- **tobytes**: Compute the tobytes of an image divided into a grid and return the resultant binaries indexed by their gridpoint in fortran order with the binary in the order requested (C or F).
|
78
86
|
|
79
87
|
## `pip` Installation
|
80
88
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
fastremap.cpython-38-darwin.so,sha256=uyrK7AV26r0njjID3RjouR5rr8WmevmoQyAHxcGKhZ0,2535600
|
2
|
+
fastremap-1.15.0.dist-info/RECORD,,
|
3
|
+
fastremap-1.15.0.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
4
|
+
fastremap-1.15.0.dist-info/AUTHORS,sha256=Aa4H7O3dtmfq0lF_eATudy11i8K6QAI8LykzASr9bL0,52
|
5
|
+
fastremap-1.15.0.dist-info/WHEEL,sha256=fhCMyw-Z4YemYdI5aiRJ5o0UGX9IJTLJ6UtWrTpLlnI,108
|
6
|
+
fastremap-1.15.0.dist-info/pbr.json,sha256=IF2avLM9-O2y2CxH3mesM-TRiHIjg8t5pFQi735SJm4,47
|
7
|
+
fastremap-1.15.0.dist-info/top_level.txt,sha256=D-q4-YJbbk7QpuU8fxH9rFQEjV_W6wpdruzTTDV4N5s,10
|
8
|
+
fastremap-1.15.0.dist-info/METADATA,sha256=oBRRccRNpLH1avttODjtgdp01Em5JI42hOSMexRb360,9561
|
@@ -0,0 +1 @@
|
|
1
|
+
{"git_version": "80ce9fc", "is_release": false}
|
fastremap.cpython-38-darwin.so
CHANGED
Binary file
|
@@ -1,8 +0,0 @@
|
|
1
|
-
fastremap.cpython-38-darwin.so,sha256=BN48wat22ssPa5xZ5xFelV3wrTnzFoKVTDQiwEn-XtU,2433232
|
2
|
-
fastremap-1.13.5.dist-info/RECORD,,
|
3
|
-
fastremap-1.13.5.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
4
|
-
fastremap-1.13.5.dist-info/AUTHORS,sha256=Aa4H7O3dtmfq0lF_eATudy11i8K6QAI8LykzASr9bL0,52
|
5
|
-
fastremap-1.13.5.dist-info/WHEEL,sha256=OOTYupkuadsOBNcmIpTe_EvGtr1zYFgqZVRG6LiVU0c,109
|
6
|
-
fastremap-1.13.5.dist-info/pbr.json,sha256=Y5R5JUMJgumCPSwtyg1ZB_u-GLlmUnKwUauW6QyB-Gs,47
|
7
|
-
fastremap-1.13.5.dist-info/top_level.txt,sha256=D-q4-YJbbk7QpuU8fxH9rFQEjV_W6wpdruzTTDV4N5s,10
|
8
|
-
fastremap-1.13.5.dist-info/METADATA,sha256=5_yfMYw3yzerjSalVaYr8XSXRPZiZtsfoOAwD8xS7ys,9101
|
@@ -1 +0,0 @@
|
|
1
|
-
{"git_version": "68e3b49", "is_release": false}
|
File without changes
|
File without changes
|
File without changes
|