Universal Edge Detection Function
A versatile edge detection function that implements Sobel, Prewitt, Roberts, Marr, and Canny operators through parameter configuration, featuring gradient-based and zero-crossing algorithms for comprehensive edge extraction.