This program loads an image file, calculates the gradient of the pixel values to highlight edges, and displays the original image and gradient image in separate subplots for comparison. The gradient is calculated by applying an operator to the double converted pixel values of the original image, then the results are displayed side by side with titles to identify each image.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views1 page
AIM: To Display The Gradient of An Image
This program loads an image file, calculates the gradient of the pixel values to highlight edges, and displays the original image and gradient image in separate subplots for comparison. The gradient is calculated by applying an operator to the double converted pixel values of the original image, then the results are displayed side by side with titles to identify each image.