<p dir="auto">It would be great to see the <a href="https://en.wikipedia.org/wiki/Canny_edge_detector" rel="nofollow">Canny edge detector</a> available in <code class="notranslate">scipy.ndimage</code>.</p>
<p dir="auto">Implementations exist in</p>
<ul dir="auto">
<li><code class="notranslate">cv2</code> (<a href="https://github.com/opencv/opencv/blob/master/modules/imgproc/src/canny.cpp">https://github.com/opencv/opencv/blob/master/modules/imgproc/src/canny.cpp</a>)</li>
<li><code class="notranslate">scikit-image</code> (<a href="https://github.com/scikit-image/scikit-image/blob/master/skimage/feature/_canny.py">https://github.com/scikit-image/scikit-image/blob/master/skimage/feature/_canny.py</a>)</li>
</ul>
<p dir="auto">Perhaps one of these could be ported here?</p>
<p dir="auto">When a wav file contains 24-bit audio, wavfile tries to read it via <code class="notranslate">dtype('&lt;i3')</code>. However, there is no such native integer type, and it ends up trying to read <code class="notranslate">dtype('&lt;i4')</code>, which of course doesn't work as the byte counts don't match.</p>
<p dir="auto">This should be fixed in <code class="notranslate">wavfile</code>.</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/19780983/scipy-wavfile-music-in-garbage-out" rel="nofollow">http://stackoverflow.com/questions/19780983/scipy-wavfile-music-in-garbage-out</a></p>