What is edge detection in Computer Vision?

Updated May 15, 2026

Short answer

Edge detection identifies sharp intensity changes in images to locate object boundaries.

Deep explanation

Edge detection is a fundamental technique used to identify discontinuities in image intensity. These discontinuities often correspond to object boundaries. Common operators include Sobel, Prewitt, and Canny. The process typically involves smoothing, gradient computation, non-maximum suppression, and thresholding.

Real-world example

Used in autonomous driving to detect lane boundaries and obstacles.

Common mistakes

  • Using raw noisy images without smoothing before edge detection.

Follow-up questions

  • Why is Canny better than Sobel?
  • What role does thresholding play?

More Computer Vision interview questions

View all →