This document discusses edge detection in images. It defines edges as areas of abrupt change in pixel intensity that often correspond to object boundaries. Several edge detection techniques are covered, including gradient-based methods using the Sobel and Prewitt operators to calculate the gradient magnitude and direction at each pixel and identify edges. The key steps of edge detection are described as smoothing, enhancement, thresholding and localization. Examples of edge detection code in C language using the Sobel operator are provided. Applications of edge detection include image enhancement, text detection and video surveillance.