Input lena image

Part 1: Inverse gamma correction, gamma = 2.5

Part 2: Histograms of the Lena image before gamma correction

Histogram of the original image, 2 bins. The values for the histogram bins are 128144 and 134000

Histogram of the original image, 128 bins.

Histogram of the original image, 256 bins.

Part 2: Histograms of the Lena image after gamma correction

Histogram of the original image, 2 bins. The values for the histogram bins are 239372 and 22772.

Histogram of the original image, 128 bins.

Histogram of the original image, 256 bins.

Part 3: Histogram equalization for the synthetic image

The original synthetic image The values for the histogram (bins=256) are H(254)=64, H(255)=262080, vanishing everywhere else.

Histogram equalized synthetic image. The values for the histogram (bins=256) are H(0) = 64, H(255) = 262080, vanishing everywhere else.

Part 3: Histogram equalization for the lena image

Histogram equalized lena image

Resulting histogram