$25
1. Carry out the following operations on an image of your choice: ]
(a) Histogram computation.
(b) Histogram equalization. Show the histogram before and after.
(c) Intensity transformations. Show the transformation function as well.
(d) Gamma correction. State γ.
(e) Gaussian smoothing. State kernel size and σ.
(f) Unsharp masking.
(g) Median filtering. State kernel size.
(h) Bilateral filtering. Explain the theory of this as well.
2. Countthe ricegrainsintherice image (given). Show thecomponents (after connected-component analysis) using a color map.
3. Write a program to zoom images by a given factor in (0,10]. You must use a function to zoom the image,which can handle
(a) nearest-neighbor, and(b) bilinear interpolation.
I have included four images, two large originals, and there zoomed-out versions. Test you algorithm by computing the sum of squared difference (SSD) when you scale-up the given small images by a factor of 4 by comparing with the original images.