Reference no: EM133829547
Question
Pre-Lab Assignment Using Matlab, obtain RGB and HSV values for the images found in the Lab 2 directory on Canvas and answer the questions below. (Note: You do not need to submit the specific RGB and HSV values. Matlab will output very large arrays. Only look for trends in these arrays.)
1. Based on your reading above, what are RGB and HSV values and what are they used for?
2. Suppose two colors differ in HSV space in the V dimension. How do these two colors differ visually?
3. Suppose two colors differ in RGB space in the R dimension. How do these two colors differ visually?
4. Obtain histograms of RGB and HSV values of the mid light image and qualitatively describe how the histogram of each channel (R,G,B,H,S,V) is different. With respect to the three different lighting conditions:
5. How do the RGB values of the scene change as light conditions change from min, mid to max?
6. How do the HSV values of the scene change as light conditions change from min, mid to max?
7. Do these changes you observe agree with what you've read about the two color spaces? Explain your answer.