In this program, you will read and manipulate grayscale images. Download the giv
In this program, you will read and manipulate grayscale images. Download the given
starter_code.c and implement the missing functions.
Program outline:
1. Your C program should read any given grayscale images in pgm format. Grayscale images
have pixel values ranging from 0-255. This pixel values can be treated as unsigned
characters.
2. The image data should be loaded as a 2D matrix.
3. The 2D matrix should be manipulated to threshold the given image and convert it to a
binary image.
4. The 2D matrix should be manipulated to rotate the given image left.
5. The manipulated 2D matrices should be converted back to grayscale image. This image
should be viewable.