Skip to main content

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.

Project description

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}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdd-segmentation-0.1.0a1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

sdd_segmentation-0.1.0a1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file sdd-segmentation-0.1.0a1.tar.gz.

File metadata

  • Download URL: sdd-segmentation-0.1.0a1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.10 Linux/5.4.0-107-generic

File hashes

Hashes for sdd-segmentation-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 edf835c76e2c494d9f5a03fcba81e1f7505272b29c3b44696da1f46fe0637832
MD5 a9ad6efbcf8b713a74f85b426ef40e83
BLAKE2b-256 b94a6153684f9d4ec35f1a85674b00d8f58689f5b368c5f5e556e9ebca057b65

See more details on using hashes here.

File details

Details for the file sdd_segmentation-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: sdd_segmentation-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.10 Linux/5.4.0-107-generic

File hashes

Hashes for sdd_segmentation-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c5da19ad34aefca4f176a46d642ebc934a54a65bddc861185d70519b5567bc6
MD5 c84a4e5f7d33b24346cd6829db94c7bf
BLAKE2b-256 a260d56736ee1de58f41b88f05e5151c451dab515339eeb9859f1ac793be6b7b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page