Toolbelt for merging and extracting features from geojson masks.
Project description
cellseg_gsontools
Tools for feature extraction in cell and tissue segmentation maps.
Checkout the documentation for tutorials.
Introduction
Cellseg_gsontools is a Python toolset designed to analyze and summarize large cell and tissue segmentation maps created from Whole Slide Images (WSI). The library is built on top of geopandas
and libpysal
. In other words, the library can process geospatial data with GeoJSON-interface.
NOTE: The library is synergetic with the cellseg_models.pytorch segmentation library which enables you to segment your WSI into GeoJSON
format.
Another NOTE: The library expects that the cell type labels are in a field named class_name
in your geojson
. If not, you should rename that field to class_name
.
Installation
pip install cellseg-gsontools
Citation
@misc{cellseg_gsontools2023,
title={{cellseg_gsontools}: Tools for feature extraction in cell and tissue segmentation maps.},
author={Oskari Lehtonen},
howpublished = {\url{https://github.com/okunator/cellseg_gsontools}},
doi={https://zenodo.org/doi/10.5281/zenodo.10617987},
year={2023}
}
Contribute
Any suggestions, feature requests, or bug reports are welcome! Please open a new issue on GitHub for those. If you want to contribute to the codebase, please open a pull request.
Licence
This project is distributed under MIT License
If you find this library useful in your project, it is your responsibility to ensure you comply with the conditions of any dependent licenses. Please create an issue if you think something is missing regarding the licenses.
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
Built Distribution
File details
Details for the file cellseg_gsontools-0.1.8.tar.gz
.
File metadata
- Download URL: cellseg_gsontools-0.1.8.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84bbca882bdb5052edf5a52c74b5747635e54204d3096fbd1461d689344335c4 |
|
MD5 | ad1469ff3c75d77b2860a3f5ca42fbcb |
|
BLAKE2b-256 | 96a92417acdb794c07e8f2a10af6f889275a5b8aa76876772cff3ca190edd821 |
File details
Details for the file cellseg_gsontools-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: cellseg_gsontools-0.1.8-py3-none-any.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a6b9c9b2b228fa1ae5f3ae3ce65911b5953ff6015aa69b2005773f0a76b6b0a |
|
MD5 | f6acb56f27b712ec793fa0e6248cc0b9 |
|
BLAKE2b-256 | b2e4d33662788d00a78d87a5aa5dc708d393b2e1d205009e448e745bb953cd7f |