scikit-image/scikit-image — pull request #1159 by blink1073 (2014-09-18 02:21:17+00:00)
Title: Add ndim checks in filter.edges

This addresses #1147, treating it the same way `feature.canny` does:

```python
if image.ndim != 2:
raise TypeError("The input 'image' must be a two-dimensional array.")
```