RTUComputer ScienceYr 2023 · Sem 62023

Q17Digital Image Processing

Question

4 marks

Describe the Robert, Prewitt, and Sobel operators for edge detection.

Answer

Roberts, Prewitt, and Sobel are first-order gradient masks of increasing size and noise robustness, computing horizontal and vertical intensity derivatives to locate edges.

These are first-order derivative (gradient) operators that estimate the gradient at each pixel by convolving the image with a pair of masks, then compute edge magnitude as and edge direction as .

Roberts Cross Operator

Uses two masks that compute diagonal differences: , . It is computationally the cheapest but highly sensitive to noise because it operates on the smallest possible neighborhood.

Prewitt Operator

Uses masks with equal weighting: , . The larger neighborhood gives some averaging/noise suppression compared to Roberts.

Sobel Operator

Uses masks similar to Prewitt but with a weight of 2 on the center row/column: , . This extra weighting gives the center row/column more influence, providing better noise suppression via a smoothing effect while still detecting edges, which is why Sobel is the most widely used of the three in practice.

Back to Paper