This release is a pre-release and may not be stable for production use.
Slope Difference Distribution Segmentation
The python implementation of algorithm proposed by Z. Wang, "A New Approach for Segmentation and Quantification of Cells or Nanoparticles," in IEEE Transactions on Industrial Informatics, vol. 12, no. 3, pp. 962-971, June 2016, DOI: 10.1109/TII.2016.
Description
Badges
TODO: Add bagdes https://shields.io/
Installation
You can install sdd-segmentation directly from PyPi via pip:
pip install sdd-segmentation
Usage
import cv2
from sdd_segmentation.sdd import sdd_threshold_selection
img_np = cv2.imread("image.png")
T = sdd_threshold_selection(img_np.astype(float), 15)
print(T)
th_image_np = img_np > T[-1]
License
This software is licensed under the BSD 3-Clause License.
If you use this software in your scientific research, please cite our paper:
AND original work:
@ARTICLE{Wang2016,
author={Wang, ZhenZhou},
journal={IEEE Transactions on Industrial Informatics},
title={A New Approach for Segmentation and Quantification of Cells or Nanoparticles},
year={2016},
volume={12},
number={3},
pages={962-971},
doi={10.1109/TII.2016.2542043}
}
Metadata
Release files for sdd-segmentation 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdd-segmentation-0.1.0a2.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdd_segmentation-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / sdd-segmentation-0.1.0a2.tar.gz
| Download URL | sdd-segmentation-0.1.0a2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bb45cfedd7506145df3f7b81e30781bfd7e1e3b97f94e67e8ab513951421609
|
|
BLAKE2b-256 checksum How to use checksums |
030b65ee044e7a3284b66bb7e3ab23bc1bb1c577a75c742fe0dad333caad0f9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.10 Linux/5.4.0-107-generic
|
Release files / sdd_segmentation-0.1.0a2-py3-none-any.whl
| Download URL | sdd_segmentation-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99f0a5d5d06430481251b7a884803ab8c0a4d327a4249c88a85ea8ff71546b8d
|
|
BLAKE2b-256 checksum How to use checksums |
98dffb034aee1b79ebe031d9c28a316b9a830fe64b2c684175fedb7ab26fb8fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.10 Linux/5.4.0-107-generic
|