[SciPy-user] canny1d filter?

Davide Cittaro davide.cittaro@ifom-ieo-campus...
Sat Apr 25 01:59:02 CDT 2009

Hi Zach,

On Apr 25, 2009, at 1:30 AM, Zachary Pincus wrote:

> Hi Davide,
> I can send you code for a 2D Canny filter that uses numpy and
> scipy.ndimage to good effect. It's a decent demonstration of the
> filter, and of how to make good use out of the tools in ndimage.

Can you send it, please? I would really appreciate...

> However, I don't think that Canny edge-detection, as I understand it,
> is applicable to 1D signaling. Basically, Canny filtering finds the
> gradient magnitude and direction in an image, and then uses the
> direction information to thin out edges except along their "ridges".
> It then uses a hysteresis thresholding approach to link the edges (by
> finding seeds with a stringent threshold, and then extending the seeds
> out along the edges using a less-stringent threshold). None of this
> stuff makes sense in the 1D case -- there's no "edge direction", etc.

I see... I still have to read the original Canny paper, but AFAIK he  
used a 1d example in it (but I may be wrong...).



More information about the SciPy-user mailing list