Simple LSD and affinity graph computation
Project description
lsd-lite
Simple LSD and affinity graph computation
Install: pip install lsd-lite
Example:
from lsd_lite import get_affs, get_lsds
# 2d short range affs example
affs = get_affs(segmentation, neighborhood=[[1,0],[0,1]])
# 2d long range affs example
affs = get_affs(
segmentation,
neighborhood=[
[1,0],
[0,1],
[3,0],
[0,3],
[6,0],
[0,6]
]
)
# 3d long range adds example
affs = get_affs(
segmentation,
neighborhood=[
[1,0,0],
[0,1,0],
[3,0,0],
[0,3,0],
[0,0,3],
[6,0,0],
[0,6,0],
[0,0,6]
]
)
# lsds example
lsds = get_lsds(segmentation, sigma=10, downsample=2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lsd_lite-1.0.1.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lsd_lite-1.0.1.tar.gz.
File metadata
- Download URL: lsd_lite-1.0.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af3b775625b4ffa6b29fa486507bde478c9505902f68f873451b06206a93f79c
|
|
| MD5 |
ea34bd0db2b3868c19e65be1bb28db5e
|
|
| BLAKE2b-256 |
85108141f7ec9bd2346f771fc28007e876973a13a91e4537d49964b9f83b68a2
|
File details
Details for the file lsd_lite-1.0.1-py3-none-any.whl.
File metadata
- Download URL: lsd_lite-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc25b8cbc745a5dc84304a33c266e126d260ee0b6e07c88414ef8a4f879cae9
|
|
| MD5 |
eb20aeed9ab7643740aa918cdd689b3a
|
|
| BLAKE2b-256 |
bc68619ed63d34e85c3ead350c67c8b5f13e9b76a42a00fcba1324f03c0fc0c8
|