Input: A Sample Image.
Output: Detected Edges.
Step 1: Accept the input image.
Step 2: Apply mask Gx,Gy to the input image.
Step 3: Apply Sobel edge detection algorithm and the gradient.
Step 4: Masks manipulation of Gx,Gy separately on the input image.
Step 5: Results combined to find the absolute magnitude of the gradient.
Step 6: The absolute magnitude is the output edges.