Pymorph works on numpy arrays. You need to be familiar with numpy (fortunately, many good tutorials and books are out there).
PYMORPH: IMAGE MORPHOLOGY IN PYTHON
Frequently Asked Questions
Enter search terms or a module, class or function name.