https://github.com/scikit-image/scikit-image/blob/master/skimage/morphology/__init__.py