Installation
Requirements
- Python >= 3.8
- pip or conda
Install via pip
Install from source
Dependencies
swclib requires the following packages, which are installed automatically:
| Package | Purpose |
|---|---|
numpy |
Array operations |
scipy |
Spatial indexing (KDTree), signal processing |
networkx |
Graph-based skeletonization |
anytree |
Tree data structure |
miniball |
Minimum bounding sphere |
rtree |
Spatial index for edge matching |
rasterio |
Tiled TIFF I/O |
tifffile |
TIFF image reading/writing |
scikit-image |
Image skeletonization and filtering |
opencv-python |
Image rasterization |
tqdm |
Progress bars |