Robert Bosch Interview Question

How edge detection is performed in image processing?