Question: Description When taking a picture in a low-light environment, it is possible that you need to adjust the brightness of the photo. In our class,

Description When taking a picture in a low-light environment, it is possible that you need to adjust the brightness of the photo. In our class, we have demonstrated how to display a set of images with different brightness and their corresponding histogram side-by-side. In this assignment, you will need to complete the following tasks

Questions 1. (90 points) You need to create a MATLAB script named hw08.m to demonstrate the usage of the subplot and how to adjust the brightness level. In particular, in the script you need to a. Taking a picture from your mobile device or download a color image from the Internet. b. Read the color image mentioned in step a and store pixel values in a variable (imC) c. Convert the color image to gray-level image and store in a variable (imG) d. Adjust the brightness level of the original image stored in imG as follows: 1) reducing the brightness by 20, 2) reducing the brightness by 10, 3) increasing the brightness by 10, 4) increasing the brightness by 20. e. Use subplot to show the original image and the brightness adjusted images with their corresponding histograms in a Figure window. You need to show the images on the top row and display the corresponding histogram at the bottom. The original image should be at the center and the image with the lowest brightness should be on the left and the image with the highest brightness should be on the right. f. Save the figure window as a PNG file (or take a screen shot).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!