Skip to main content

Post-processing function used in 'Segmentation of Nuclei in Histopathology Images by deep regression of the distance map'.

Project description

dynamic_watershed
=================

Package description
--------------

We implement the splitting algorithm for splitting nuclei nucleas described in in 'Nuclei segmentation in histopathology images using deep neural networks'. This algorithm is essentially a dynamic watershed.
The main function is named: `post_process`.


Installation
--------------

dynamic_watershed can be installed by unzipping the source code in one directory and using this command: ::

python setup.py install

You can also install it directly from the Python Package Index with this command (not working yet): ::

pip install dynamic_watershed

Example
--------------
```python
>>> from dynamic_watershed import post_process
>>> from skimage.io import imread
>>> probability_image = imread('example.png')
>>> p1, p2 = 7, 0.5
>>> result_segmentation = post_process(probability_image, p1, thresh=p2)
```

Licence
--------

See file LICENCE.txt in this folder.


Contribute
-----------
dynamic_watershed is an open-source software. Everyone is welcome to contribute !


Cite
-----------

If you use this work please cite our paper.

BibTeX:
```
@inproceedings{naylor2017nuclei,
title={Nuclei segmentation in histopathology images using deep neural networks},
author={Naylor, Peter and La{\'e}, Marick and Reyal, Fabien and Walter, Thomas},
booktitle={Biomedical Imaging (ISBI 2017), 2017 IEEE 14th International Symposium on},
pages={933--936},
year={2017},
organization={IEEE}
}
```

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

dynamic_watershed-1.1.0.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file dynamic_watershed-1.1.0.tar.gz.

File metadata

  • Download URL: dynamic_watershed-1.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/27.2.0 requests-toolbelt/0.9.1 tqdm/4.19.1 CPython/3.5.2

File hashes

Hashes for dynamic_watershed-1.1.0.tar.gz
Algorithm Hash digest
SHA256 243d08d3a57fdd6ac2b26b1e0538a046ecb56088acc0e8368ce222d2cf851b3a
MD5 5471e48546a1acd43a71b587c48afb4f
BLAKE2b-256 90a2d6240ceca692140102ffa919985eb4bacb1b27f0427b2d22a5aee321c7a9

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