Skip to main content

Simple watershed and agglomeration for affinity graphs.

Project description

Build Status PyPI version

waterz

Pronounced water-zed. A simple watershed and region agglomeration library for affinity graphs.

Based on the watershed implementation of Aleksandar Zlateski and Chandan Singh.

Installation

Install c++ dependencies:

sudo apt install libboost-dev

Install from pipy

pip install waterzed

install manually

pip install -r requirements.txt
python setup.py install

Usage

import waterz
import numpy as np

# affinities is a [3,depth,height,width] numpy array of float32
affinities = ...

thresholds = [0, 100, 200]

segmentations = waterz.agglomerate(affinities, thresholds)

Development

Release to pypi

We use travis to create release

upgrade the version number in the setup.py file, then

git commit -a -m "my comments"
git push origin v0.9.5

the travis build system will get a TRAVIS_TAG variable, and triger the twine upload command.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

waterz-0.9.4-cp38-cp38-manylinux2010_x86_64.whl (284.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp38-cp38-manylinux1_i686.whl (249.3 kB view details)

Uploaded CPython 3.8

waterz-0.9.4-cp37-cp37m-manylinux2010_x86_64.whl (241.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp37-cp37m-manylinux1_i686.whl (247.8 kB view details)

Uploaded CPython 3.7m

waterz-0.9.4-cp36-cp36m-manylinux2010_x86_64.whl (277.8 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp36-cp36m-manylinux1_x86_64.whl (247.0 kB view details)

Uploaded CPython 3.6m

waterz-0.9.4-cp36-cp36m-manylinux1_i686.whl (246.5 kB view details)

Uploaded CPython 3.6m

waterz-0.9.4-cp35-cp35m-manylinux2010_x86_64.whl (275.4 kB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp35-cp35m-manylinux1_x86_64.whl (245.7 kB view details)

Uploaded CPython 3.5m

waterz-0.9.4-cp35-cp35m-manylinux1_i686.whl (244.5 kB view details)

Uploaded CPython 3.5m

waterz-0.9.4-cp34-cp34m-manylinux1_x86_64.whl (242.5 kB view details)

Uploaded CPython 3.4m

waterz-0.9.4-cp34-cp34m-manylinux1_i686.whl (243.4 kB view details)

Uploaded CPython 3.4m

waterz-0.9.4-cp27-cp27mu-manylinux2010_x86_64.whl (298.5 kB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp27-cp27mu-manylinux1_x86_64.whl (261.2 kB view details)

Uploaded CPython 2.7mu

waterz-0.9.4-cp27-cp27mu-manylinux1_i686.whl (260.3 kB view details)

Uploaded CPython 2.7mu

waterz-0.9.4-cp27-cp27m-manylinux2010_x86_64.whl (298.5 kB view details)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

waterz-0.9.4-cp27-cp27m-manylinux1_x86_64.whl (261.2 kB view details)

Uploaded CPython 2.7m

waterz-0.9.4-cp27-cp27m-manylinux1_i686.whl (260.4 kB view details)

Uploaded CPython 2.7m

File details

Details for the file waterz-0.9.4-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 284.8 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6400a85da308100fa09bc556c2e586de1b229b4a07af75094d1bbd1d23ef825f
MD5 10b5a635af99196b6812f5a3e4d7d50f
BLAKE2b-256 42a856042dbb5c9b499e371e5a46b1065322d6c4b517109cbcd5773b878e27e7

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 249.3 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 992fc7108e5838397efe0330f64caa991171f4b26560b193f9e47c8909ceaaa2
MD5 9f6f946b33e5157217b3b70effc5b314
BLAKE2b-256 2c487b23c868a00a3157973fe0d6b7c0ba5388e5cc41a8501f8571a0ceab8b5d

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 241.5 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 26b950fd47e105cd372e969556bca6a18f2a19637c4d3abd8b09c6ae725049de
MD5 87cdef9eaccc16300e93b8c3e6b6ced9
BLAKE2b-256 06ae0229e40c47e86fa42c6ce7e02d2bfc6a47ec99286bfb908bc766162fd219

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 247.8 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 638c45558606f2a07410d2fd15655dcb1e39a1d73c1b113161fa6d239ca8c592
MD5 b17cfef401b0e7c501831169189a22d8
BLAKE2b-256 38a7f72ff39e065492ceae1999c755e1ff056f62636437c5b77b5195185ff148

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 277.8 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 288bb3379835337982adb8975666add962f563f871132b1fc1bb7b919a2767ac
MD5 9a81e9ed56a75ddce3cc45dda7079086
BLAKE2b-256 154f59cfd4216a18e011a22f76edc224a53eceecd0d1c4ac207d1ec946476a29

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 247.0 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6887000a12d23a2f06092fdd927c0a3c9df17d87af0bddb7355361ff47d38660
MD5 b9aecd5c0c544db2944031dee98c56b0
BLAKE2b-256 959fa703178c9113c1270f513714fa5d9d7c024a121e23d38a5efcd481cd3b42

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 246.5 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 dd27963484f3ddba82599410dd0777016e12d45c60e5510bc279b743ce504cba
MD5 24b70d2a1fc68a0cf3439f4fe8821f16
BLAKE2b-256 786d1d8e0530dbdbe47b3f3c3a1faf9700d6227fc0e120f48537c0d5296cd607

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 275.4 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 64151a7ac0c3da1eda2121492e3904745e78d5370bdbad0e27631cd634a9ff41
MD5 22412b048642df2b8b7970a70ab69a3c
BLAKE2b-256 39dffb082f2e929ab31e3f58978fbeb2bf5314be6514a7dbab3f3d4c2b4919ad

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 245.7 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bbe6a48f2a9c96b1ecc9fdb9e83abbfff83f229e51b3f87b3222bfeb850e5591
MD5 0a9de9bb1e0c452d1301d7d583d4166b
BLAKE2b-256 9e0a4a96e8f1696a5c565486ee0d0ba1bb7ae9e2e5932fdcbacccb53d1ed7a2d

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2e5f71d6f820ec891ee5751242aa3e6f38106dce16a0b31b4f18403c237d0030
MD5 1769a9b5d3d6905c652b83e547855327
BLAKE2b-256 b6fafe5da9769cc3ef6fb7fccc4faecd32c15bb36bb3e33e232ab30144766a30

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 242.5 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 96dc14b29c47d0fd62f3bb5055ccaa63e33e0997190f80c446b18a3fbfee9fd0
MD5 8d361cf7c7eee48e3ebe789db90a910a
BLAKE2b-256 6578da2014837de300db663f2ddbadfd7fddecd1cc3aa292c1761f2e70133291

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 243.4 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f62329df783cbd0c61ad91cff6c75fc85ff0dbdff0632bc64f452eaa677c6838
MD5 b8a3cfeee8853cac1e524446e92b3baa
BLAKE2b-256 e1b9b6ca1b39b5e96855314ca2a6f2580fbbd0c23f15e637270a81661ee8cd54

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 298.5 kB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d8413b37df53a7e50c14b4d0051b9831cc362da837cde0cef5d899fb84774212
MD5 ccfa9fabc06fc6bbcc1b33732bd24de5
BLAKE2b-256 ce43d1a034433ce77bb143fd427072d80d88ef6c7c0d62c77540e3f110f14825

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 261.2 kB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c36c956c555421384adfe73aac005926a3bffb4cc103392dda346d71e7a29525
MD5 276490c353e19deea77d47baf3c9675e
BLAKE2b-256 8e16442b694dfa8977e80163861d85955b56c5ac9fe8262cf22aff15b05449b0

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27mu-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27mu-manylinux1_i686.whl
  • Upload date:
  • Size: 260.3 kB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 27948345edb0d40c55bb42ce292e3d33f98fb3851034dbfa3163f00962d2b29f
MD5 b754af46d34f4547f5516bc1e8d0c0d0
BLAKE2b-256 c2a19c077b009fbc7284f7c5a8a721b4df2bb8557cd4b023d2709898a82e3c0e

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 298.5 kB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 37b7ef9a3f0f9a34e887fb8e729b8e8054abc9f1d0241f7a3ceeb84c007a060d
MD5 fbaa9fe140a96bd3d72f00ff6c045859
BLAKE2b-256 cbf13905c1945ec91affbad6dbfef94d878dcb7d641582cccbb1b3a9ae9fc4ea

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 261.2 kB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0073bc4ce65f2bb93d36f07ac8bd70bfd3a8f31824315b5cc3d01a0f58ab853f
MD5 705fb69e5399c7c1395a2e58f52915ee
BLAKE2b-256 f6cc7ccb0791d6bce2b521f69b43da675f70bfc3585ecf08f30a9b23b4cb54c9

See more details on using hashes here.

File details

Details for the file waterz-0.9.4-cp27-cp27m-manylinux1_i686.whl.

File metadata

  • Download URL: waterz-0.9.4-cp27-cp27m-manylinux1_i686.whl
  • Upload date:
  • Size: 260.4 kB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6+

File hashes

Hashes for waterz-0.9.4-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c6853542de73ce65683ac24055bcf43fb839b9ef907055b217b227fb13fb0a84
MD5 eb6b1094628387cfe7de2acc6e51c30d
BLAKE2b-256 3c44b962a3d3df393518cefad3114cf969384a9a1d40e9d6df2a6ad77a2c8a5d

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