Skip to content
/ waterz Public
forked from funkey/waterz

Simple watershed and agglomeration library for affinity graphs.

Notifications You must be signed in to change notification settings

htem/waterz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

python setup.py install

Requires numpy and cython.

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)

About

Simple watershed and agglomeration library for affinity graphs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.4%
  • Python 19.6%