Metadata-Version: 2.1
Name: sdd-segmentation
Version: 0.1.0a2
Summary: 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.
Home-page: https://gitlab.com/digiratory/sdd-segmentation
License: BSD-3-Clause
Author: Aleksandr Sinitca
Author-email: siniza.s.94@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: numpy (>=1.19.0,<2.0.0)
Requires-Dist: scipy (>=1.7.0,<2.0.0)
Project-URL: Repository, https://gitlab.com/digiratory/sdd-segmentation
Description-Content-Type: text/markdown

# 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``:

```bash
    pip install sdd-segmentation
```

## Usage

```python
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:

```bibtex

```

AND original [work](https://doi.org/10.1109/TII.2016.2542043):
```bibtex
@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}
}
```

