Improved edge detection effect.