Detail explanation and code are in main.ipynb
(a) Describe how you generate yourfour images. Show the images together with the corresponding histograms
I used python with opencv library to create four different images from a base image. How I adjusted the image brightness is by adding a integer value called beta to each pixels. The value of alpha should be within -100 ~ 100 or the image after adjusted will be too bright or too dark. How I adjusted the image contrast is by multiplying a float value called alpha to each pixels. If alpha value is within (0 ~ 1.0) then the output image will have lower contrast compared to original image. If alpha value is bigger than 1.0 then the output image will have higher contrast compared to original image.