Basic one-edge detection