For a grayscale input image, write a code that;
- flips the image vertically
- flips the image horizontally
- rotates the image 90 deg counterclockwise
- rotates the image 90 deg clockwise
- resizes the image to the half by keeping the aspect ratio
- applies negative transformation on the image
- applies gamma transformation on the image
- computes the histogram of the image
- Develop a program performing histogram equalization on the input (grayscale) image:
a. First, write your own algorithm for histogram equalization.
b. Then, use built-in histogram equalization function.
c. Finally, display outputs of both your and built-in function.
- Develop a program applying NxN averaging filter to the input (grayscale) image:
a. First, write your own algorithm for filtering. Size of the output image should be equal to size of the input image.
b. Then, use built-in filtering function for filtering.
c. Finally, display outputs of both your and built-in function.