banner picture

Greg Twentyman

Edge Detection using the Frei-Chen Filter

1 / 2
Edge detection output
2 / 2
Edge detection input

Last Release:

One afternoon I felt like implementing a javascript version of SLIC image segmentation. Implementing edge detection was one of the steps towards that so I wrote a javascript implementation of Frei-Chen's filter. Below is the working result that you can use in your browser. Humans are naturally pretty good at finding edges so this isn't particularly useful on its own but edge detection is significant to image processing.

Browser version     Source